Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr=game.Players.BabyGoatz
- torso=plr.Character.Torso
- mt='Neon'
- clr='Really black'
- sz=1.2
- local part=Instance.new("Part",torso)
- part.Anchored=true
- part.BrickColor=BrickColor.new(clr)
- part.Material=mt
- part.Shape='Ball'
- part.Size=Vector3.new(sz,sz,sz)
- local angle=0
- local speed=0.05
- local radius=5
- local function rot()
- if part then
- local x=math.cos(angle)*radius
- local y=0
- local z=math.sin(angle)*radius
- part.CFrame=torso.CFrame*CFrame.new(x,y,z)
- angle=angle+speed
- end
- end
- game:service'RunService'.Stepped:connect(function() rot() end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement