Advertisement
otorp2

roblox sine

Dec 29th, 2017
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. model.Parent = workspace
  2. for i = 0, 6.3, .1 do
  3. y = 10*math.sin(i)
  4. local circle = Instance.new("Part")
  5. circle.Size = Vector3.new(.5,.5,.5 )
  6. circle.Parent = model
  7. circle.CFrame = CFrame.new(Vector3.new(i,y,0))
  8. wait(.3)
  9. print(i,y) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement