Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Compass script for exploiting --
- -- by Valualty --
- root = game:GetService('Players').LocalPlayer.Character.HumanoidRootPart
- function arrowme(color,angle)
- local ar = Instance.new('Part')
- ar.Name = 'compass arrow'
- ar.Size = Vector3.new(2, 0.4, 4)
- ar.CanCollide = false
- ar.Anchored = true
- ar.BrickColor = BrickColor.new(color)
- ar.Transparency = .1
- local mesh = Instance.new('SpecialMesh',ar)
- mesh.MeshId = "http://www.roblox.com/asset/?id=14656345"
- mesh.Scale = Vector3.new(.1,.1,.3)
- ar.CFrame = CFrame.new(root.Position) * angle * CFrame.new(0,0,-10)
- ar.Parent = workspace
- spawn(function()
- for i = 1,360*8/10 do -- it will spin 8 times, each time will increase by 10 degrees
- ar.CFrame = ar.CFrame * CFrame.Angles(0,0,math.rad(10))
- if i >= 360*8/10/2 then
- ar.Transparency = i / (360*8/10)
- end
- wait()
- end
- ar:Destroy()
- end)
- end
- arrowme('Really red', CFrame.Angles(0,math.rad(-90),math.rad(180)))
- arrowme('Really blue', CFrame.Angles(0,math.rad(180),math.rad(180)))
- arrowme('Lime green', CFrame.Angles(math.rad(90),0,0))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement