Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player = game.Players:WaitForChild("ClockworkHorror")
- local RISE = 5
- local TURN = -2.5
- local FOLLOW = true
- P = Instance.new("Part", Player.Character)
- P.FormFactor = "Custom"
- P.Size = Vector3.new(2,2,2)
- P.BrickColor = BrickColor.new("Institutional white")
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.CanCollide = false
- D = Instance.new("Decal", P)
- D.Texture = "http://www.roblox.com/asset/?id=202384125"
- D.Face = "Front"
- D = Instance.new("Decal", P)
- D.Texture = "http://www.roblox.com/asset/?id=202384125"
- D.Face = "Back"
- Partical = Instance.new("ParticleEmitter", P)
- Partical.Rate = 1
- Partical.Rotation = NumberRange.new(90,180)
- Partical.RotSpeed = NumberRange.new(30,50)
- Partical.Texture = "http://www.roblox.com/asset/?id=202384125"
- Mesh = Instance.new("SpecialMesh", P)
- Mesh.MeshType = "Sphere"
- local BP = Instance.new("BodyPosition", P)
- local Levitated = 0
- local LevitateDir = -1
- while true do
- wait(1)
- pcall(function()
- for angle = 11.25, 360, 11.25 do
- -- PARENT THE ORB --
- P.Parent = Player.Character
- -- Levitation --
- Levitated = Levitated + LevitateDir / 20
- if Levitated >= 1 or Levitated <= -1 then
- LevitateDir = -LevitateDir
- end
- TURN = angle
- if (FOLLOW == true) then
- BP.position = (Player.Character.Torso.CFrame * CFrame.Angles(math.rad(20), math.rad(TURN), math.rad(TURN)) * CFrame.new(1, 1.5, 5)).p + Vector3.new(0, Levitated, 0)
- end
- wait(0.1)
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement