So i made a game and i need to use this script:
Pos = script.Parent.Position
Timer = 0
Spd = 10
Radius = 1
while true do
X = Pos.X+Radius*math.cos(Timer-1*Spd*15)*1
Z = Pos.Y+Radius*math.cos(Timer-11*Spd*15)*1
script.Parent.Position = Vector3.new(X,Pos.Y,Z)
Timer = Timer + 0.1
wait(0.1)
end
Basically it makes a star particle emitter move like a circle and make a knock-out effect. But the script doesen't care about the Spd (Speed) variable. As example, when i change the speed to 100, It wont have an effect. Help?
