Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook.Add("Move", "SCPsMove", function(player, moveData)
- if (team.GetName(player:Team()) == "SCP-173") then
- moveData:SetMaxSpeed(0);
- elseif (team.GetName(player:Team()) == "SCP-106") then
- if (player:GetMoveType() != MOVETYPE_NOCLIP) then
- moveData:SetMaxSpeed(50);
- else
- local velocity = Get106Vel(player);
- if (velocity != Vector(0, 0, 0)) then
- moveData:SetOrigin(moveData:GetOrigin() + (velocity * FrameTime()))
- moveData:SetVelocity(velocity);
- return true;
- end;
- end;
- end;
- end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement