Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Commands
- -- 1 <superfarm
- -- 2 <speed me 100 or 200
- -- 3 <megafarm
- -- 4 <godmode
- -- 5 <freezeanimation
- -- 6 <partsword
- -- 7 <punch
- -- 8 <kill me
- -- Thanks for using!
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Sword Simulator Admin ";
- Text = "Script made by Xaxiier, enjoy";})
- --sword simulator admin made by Xaxiier >:)
- -- better admin than the other admin. sksksk and i oop
- -- Command 1: Super Farm
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- if string.lower(msg):sub(1) =="<superfarm" then
- while true do
- wait()
- for i = 1,50 do
- if game.Players.LocalPlayer.Character:FindFirstChild("sword") then
- game.Players.LocalPlayer.Character.sword.Handle.up.RemoteEvent:FireServer()
- else
- game.Players.LocalPlayer.Backpack.sword.Handle.up.RemoteEvent:FireServer()
- end
- end
- end
- end
- end)
- -- Command 2: <speed me 100
- -- /
- -- <speed me 200
- local speed100 = "<speed me 100"
- local speed200 = "<speed me 200"
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- if string.lower(msg):sub(1) == speed100 then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
- elseif
- string.lower(msg):sub(1) == speed200 then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 200
- end
- end)
- -- Command 3: <megafarm
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- if string.lower(msg):sub(1) =="<megafarm" then
- while true do
- wait()
- for i = 1,500 do
- if game.Players.LocalPlayer.Character:FindFirstChild("sword") then
- game.Players.LocalPlayer.Character.sword.Handle.up.RemoteEvent:FireServer()
- else
- game.Players.LocalPlayer.Backpack.sword.Handle.up.RemoteEvent:FireServer()
- end
- end
- end
- end
- end)
- -- Command 4: <godmode
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- if string.lower(msg):sub(1) =="<godmode" then
- game.Players.LocalPlayer.Character.pvp:Destroy()
- end
- end)
- -- Command 5: <freezeanimation
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- if string.lower(msg):sub(1) =="<freezeanimation" then
- game.Players.LocalPlayer.Character.Humanoid.Animator:Destroy()
- end
- end)
- -- Command 6: <partsword
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- if string.lower(msg):sub(1) =="<partsword" then
- if game.Players.LocalPlayer.Character:FindFirstChild("sword") then
- game.Players.LocalPlayer.Character.sword.Handle.Mesh:Destroy()
- else
- game.Players.LocalPlayer.Backpack.sword.Handle.Mesh:Destroy()
- end
- end
- end)
- -- Command 7: <punch
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- if string.lower(msg):sub(1) =="<punch" then
- if game.Players.LocalPlayer.Character:FindFirstChild("sword") then
- game.Players.LocalPlayer.Character.sword.Handle.Transparency = 1
- else
- game.Players.LocalPlayer.Backpack.sword.Handle.Transparency = 1
- end
- end
- end)
- -- Command 8: <kill me
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- if string.lower(msg):sub(1) =="<kill me" then
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- end
- end)
- -- shid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement