Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- l/mouse = game.Players.LocalPlayer:GetMouse()
- plr = game.Players.LocalPlayer
- plr.Character.Humanoid.WalkSpeed = 100
- sg = Instance.new('ScreenGui',game.Players.LocalPlayer.PlayerGui)
- sg.Name = 'Mod'
- tl = Instance.new('TextLabel',game.Players.LocalPlayer.PlayerGui.Mod)
- tl.Name = 'OnOff'
- tl.Size = UDim2.new(0,60,0,20)
- tl.Position = UDim2.new(0,370,0,5)
- tl.TextWrapped = true
- tl.Text = 'FREEZE'
- tl.TextScaled = false
- tl.FontSize = 'Size9'
- tl.Font = 'Arial'
- tl.BackgroundColor3 = Color3.new(0.434254,0.5443214,0.8744244)
- tb = {game.Players:GetChildren()}
- local mouse = game.Players.LocalPlayer:GetMouse()
- mouse.KeyDown:connect(function (key)
- for i, v in pairs(tb) do
- if key == "q" then
- tl.Text = 'FREEZE'
- end
- end
- end)
- tb = {game.Players:GetChildren()}
- local mouse = game.Players.LocalPlayer:GetMouse()
- mouse.KeyDown:connect(function (key)
- for i, v in pairs(tb) do
- if key == "e" then
- tl.Text = 'UNFREEZE'
- end
- end
- end)
- mouse.Button1Up:connect(function()
- if mouse.Target.Size.X <200 then
- if plr.PlayerGui.Mod.OnOff.Text == 'FREEZE' then
- print(mouse.Target.Parent.Name,('.'),mouse.Target.Name,": FREEZED")
- mouse.Target.Anchored = true
- elseif plr.PlayerGui.Mod.OnOff.Text == 'UNFREEZE' then
- print(mouse.Target.Parent.Name,('.'),mouse.Target.Name,": UNFREEZED")
- mouse.Target.Anchored = false
- end
- end
- end)
Add Comment
Please, Sign In to add comment