Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --@author FiredDusk (aka Previized)
- --// Client
- local Player = game.Players.LocalPlayer
- local Character = Player.Character or Player.CharacterAdded:Wait()
- local Mouse = Player:GetMouse()
- local Camera = workspace.CurrentCamera
- local SpeedTextLabel = Player.PlayerGui:WaitForChild('Main'):WaitForChild('Speed')
- --// Main
- while wait() do
- local HumanoidRootPart = Character:FindFirstChild('HumanoidRootPart')
- if HumanoidRootPart then
- SpeedTextLabel.Text = 'Speed: ' ..math.floor(HumanoidRootPart.Velocity.magnitude)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement