#ROTATION PROBLEM
12 messages · Page 1 of 1 (latest)
wait
local Tool = script.Parent
local Players = game:GetService("Players")
local partToRotate = workspace:FindFirstChild("RotatingPart")
local rotating = false
local rotationConnection
local rotationSpeed = 2
local function onActivated()
if partToRotate then
rotating = not rotating
if rotating then
rotationConnection = game:GetService("RunService").Heartbeat:Connect(function()
partToRotate.CFrame = partToRotate.CFrame * CFrame.Angles(math.rad(rotationSpeed), 0, 0)
end)
else
if rotationConnection then
rotationConnection:Disconnect()
rotationConnection = nil
end
end
end
end
Tool.Activated:Connect(onActivated)
the tool local script
you dont have to make a new post every hour
as if! every 30 seconds will do
INFO Recently jailbreak pushed an update, which utilities the new roblox platform system with its trains. Most of you may know, its not possible to stay on the same platform when jumping, meanwhile jailbreak has fixed this somehow. PROBLEM I have no clue as to how they have achieved this, could they be moving a platform up and down as you ju...
@vestal otter this thread here
wow over 100 responses and a whole bunch of approaches for not a single one of them to get it right
just set assemblylinearvelocity / angularvelocity and then anything touching it when it moves will move with it.
omg please tell me how and il do it
check dms rq
i'm busy, you have to basically tween the velocity along with the cframe. that's roughly how it's done. haven't made one yet but that's the basic principle.