R

kraxkhead walking

public
rrixh Jan 22, 2024 Never 113
Clone
Plaintext kraxkhead_lulaslollipop 18 lines (15 loc) | 570 Bytes
1
game.Players.LocalPlayer.Character.Humanoid.Running:Connect(function(speed)
2
if speed > 0 then
3
local Spin = Instance.new("BodyAngularVelocity")
4
Spin.Name = "Spinning"
5
Spin.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
6
Spin.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
7
Spin.AngularVelocity = Vector3.new(0,10,0)
8
9
10
else
11
12
for i,v in next, game.Players.LocalPlayer.Character.HumanoidRootPart:GetChildren() do
13
if v.Name == "Spinning" then
14
v:Destroy()
15
end
16
end
17
end
18
end)