Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local center = workspace.BINO2002.Head.Position + Vector3.new(0,2.5,0)
- local R = 30
- local r = 10
- for t = 0,7.2,0.25 do
- for u = 1,36 do
- local x = math.cos(t)*(R+r*math.cos(u))
- local z = math.sin(t)*(R+r*math.cos(u))
- local y = r*math.sin(u^2)
- local pos = Vector3.new(x,y,z) + center
- local lookAt = center + Vector3.new(math.cos(t)*R,0,math.sin(t)*R)
- local p = Instance.new("Part",workspace)
- p.FormFactor = "Symmetric"
- p.Size = Vector3.new(7,10,1)
- p.TopSurface = "Smooth"
- p.BrickColor = BrickColor.new("Cyan")
- p.BottomSurface = "Smooth"
- p.Anchored = true
- p.CFrame = CFrame.new(pos,lookAt)*CFrame.Angles(0,0,math.rad(90))
- end
- wait(0.1)
- end
Add Comment
Please, Sign In to add comment