Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. local speedMultiplier = 2;
  2.  
  3. hook.Add("SetupMove", "CustomNoclipSpeed", function(player, moveData, userCommand)
  4.     if (player:SteamID() == "This Steam ID" and player:GetMoveType() == MOVETYPE_NOCLIP) then
  5.         local velocity = moveData:GetVelocity();
  6.  
  7.         moveData:SetVelocity(velocity * speedMultiplier);
  8.     end;
  9. end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement