Hello, in this tutorial I wanna show you how to make spinning objects like this: Get your Object/Part (i would prefer a gear) Create a Script Inside of the Part Write or paste this inside of the script local part = script.Parent while task.wait() do part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0.05,0) end --we are basically rotating the part on the y axis in a loop which makes it ...
What do you want to achieve? Hello, i want to make a part spin on itself smoothly. What is the issue? I don’t know how to do it. What solutions have you tried so far? I tried myself, looked on forums.
I want to make a script to constantly rotate player character using Torque. One small issue is that I found literally zero information on how this works and no examples. Script: velocity = Instance.new("Torque") velocity.RelativeTo = Enum.ActuatorRelativeTo.Attachment0 velocity.Torque = Vector3.new(0, 10, 0) attach = Instance.new("Attachment") attach.Name = "spin attachment" attach.CFrame ...
So my goal here is to make a part spin. I want a very nice smooth effect. The reason being, I want to make a knife and I want to make it spin towards the target when thrown. If anyone can help me with that, I would appreciate it very much.
Actually i using this script for parts but how can i make one for models? local partspeed = 0.05 local part = script.Parent while task.wait() do part.CFrame = part.CFrame * CFrame.Angles(0,partspeed,0) end
Hello! Im trying to make a spinning part that rotates in the Y axis but I’m running into an issue: As shown in the video above the part rotates and then stutters when it reaches a certain point… This is my c…
Using hingeconstraints you can make it spin very fast smoothly, reaching very high rpms, no scripting required. Torque, rate of accele/deceleration are all controllable right in the same window. With hingeconstraints you can also make it a servo type of motor which will automatically align a part with a certain orientation.
The script continuously updates the planet’s position in a loop, creating the effect of orbiting around the sun. Make sure to place this script in a LocalScript or Script object depending on whether you want it to run on the client or server side. Additionally, ensure that the sun and planet parts are accessible from the script’s context.