#Script problem

1 messages · Page 1 of 1 (latest)

serene oriole
#

local platform = script.Parent -- Reference to the part
local rotationSpeed = 4 -- Rotation speed (degrees per second)

-- Infinite loop to rotate the platform
while true do
-- Rotate the platform on the Y axis
platform.CFrame = platform.CFrame * CFrame.Angles(0, math.rad(rotationSpeed), 0)
wait(0.03) -- Control the smoothness of the rotation
end
anyone can help me with this script? When the player touches the part, the part is supposed to move the player but its not working

torn pollen
#

I ain’t a pro Scripter but why is there no touched event

serene oriole
torn pollen
#

Ok bro 👍

serene oriole
#

its not working ahh

toxic vine
toxic vine
serene oriole
toxic vine