R

[lollypophub] gmo toggle OFF

public
rrixh Jul 24, 2024 Never 33
Clone
Rust LH.godmodeToggle-OFF.xlsx 11 lines (11 loc) | 403 Bytes
1
local player=game:GetService("Players").LocalPlayer;
2
local UIS=game:GetService("UserInputService");
3
local skriptgmo=true;
4
UIS.InputBegan:Connect(function(input,GPE)
5
if GPE then return end
6
skriptgmo=not skriptgmo
7
end)
8
local parts=workspace:GetPartBoundsInRadius(player.Character:WaitForChild("HumanoidRootPart").Position,10)
9
for _,part in ipairs(parts) do
10
part.CanTouch=skriptgmo
11
end