Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add("Move", "ice", function(ply, mov)
- if ply:IsOnGround() and ply:GetGroundEntity():IsValid() and ply:GetGroundEntity():GetModel() == "*80" then
- local vel = mov:GetVelocity()
- local len = vel:Length()
- mov:SetVelocity(vel:Normalize() * math.min(len * 1.3, 1000))
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment