Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Command GUI HACK --
- local CMDGUI = Instance.new("ScreenGui")
- local TweenService = game:GetService("TweenService")
- local Tweeninfo = TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0)
- local player = game.Players.LocalPlayer
- local character = player.Character
- local PlayerGui = player.PlayerGui
- local LoadingText = Instance.new("TextLabel")
- CMDGUI.Parent = PlayerGui
- LoadingText.Parent = CMDGUI
- LoadingText.Size = UDim2.new(1,0,1,0) -- full of the Screen.
- LoadingText.Text = "Loading... pls wait."
- LoadingText.TextColor3 = Color3.new(255,255,255)
- LoadingText.BackgroundColor3 = Color3.new(0,0,0)
- LoadingText.TextScaled = true
- wait(2)
- TweenService:Create(LoadingText,Tweeninfo,{Transparency = 1}):Play()
- local TipsText = Instance.new("TextLabel")
- TipsText.Parent = CMDGUI
- TipsText.Position = UDim2.new(0.451, 0,0.422, 0)
- TipsText.Text = "Press Q to Kill target if mouse is at the target."
- game.UserInputService.InputBegan:Connect(function(input)
- if input.KeyCode == Enum.KeyCode.Q then
- local characterTarget = mouse.hit.Parent
- characterTarget:FindFirstChild("Humanoid"):TakeDamage(100)
- end
- end)
- player.Chatted:Connect(function(msg)
- if msg == "give me fast speed" then
- character.Humanoid.WalkSpeed += 10
- end
- if msg == "tp" then
- character:MoveTo(mouse.Target.Position)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement