Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local cooldown = false
- toggle = true
- chatcommands = true --chat the commands and shit
- local function chat(string)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(string, "All")
- end
- if chatcommands == true then
- chat("C0NTROLLIFY loaded. | Controls: w, a, s, d, jump, die, sit, kill, commit toaster bath, chat, bring. | You can also use /e. | Cooldown: ss1 sec.")
- end
- for i,v in pairs(game.Players:GetPlayers()) do
- v.Chatted:Connect(function(a)
- if a:lower() == 'w' or a:lower() == '/e w' then
- plr.Character.Humanoid:MoveTo(Vector3.new(plr.Character.HumanoidRootPart.Position.X,plr.Character.HumanoidRootPart.Position.Y,plr.Character.HumanoidRootPart.Position.Z+3))
- end
- if a:lower() == 'a' or a:lower() == '/e a' then
- plr.Character.Humanoid:MoveTo(Vector3.new(plr.Character.HumanoidRootPart.Position.X+3,plr.Character.HumanoidRootPart.Position.Y,plr.Character.HumanoidRootPart.Position.Z))
- end
- if a:lower() == 's' or a:lower() == '/e s' then
- plr.Character.Humanoid:MoveTo(Vector3.new(plr.Character.HumanoidRootPart.Position.X,plr.Character.HumanoidRootPart.Position.Y,plr.Character.HumanoidRootPart.Position.Z-3))
- end
- if a:lower() == 'd' or a:lower() == '/e d' then
- plr.Character.Humanoid:MoveTo(Vector3.new(plr.Character.HumanoidRootPart.Position.X-3,plr.Character.HumanoidRootPart.Position.Y,plr.Character.HumanoidRootPart.Position.Z))
- end
- if a:lower() == 'jump' or a:lower() == '/e jump' then
- plr.Character.Humanoid.Jump = true
- end
- if a:lower() == 'die' or a:lower() == '/e die' or a:lower() == 'commit toaster bath' or a:lower() == '/e commit toaster bath' or a:lower() == 'kill' or a:lower() == '/e kill' then
- plr.Character.Humanoid.Health = -math.huge
- end
- if a:lower() == 'bring' or a:lower() == '/e bring' then
- plr.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
- end
- if a:lower() == 'sit' or a:lower() == '/e sit' then
- plr.Character.Humanoid.Sit = true
- end
- if string.sub(a, 1, 5) == 'chat ' or string.sub(a, 1, 8) == '/e chat ' then
- wait(0.1)
- if string.sub(a, 1,5) == 'chat ' then
- chat(string.sub(a,6))
- end
- if string.sub(a, 1,8) == '/e chat ' then
- chat(string.sub(a,9))
- end
- cooldown = true
- wait(1)
- cooldown = false
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement