Advertisement
Guest User

Sword Simulator Admin [NEW] BY XAXIIER

a guest
Oct 29th, 2019
11,970
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. -- Commands
  2. -- 1 <superfarm
  3. -- 2 <speed me 100 or 200
  4. -- 3 <megafarm
  5. -- 4 <godmode
  6. -- 5 <freezeanimation
  7. -- 6 <partsword
  8. -- 7 <punch
  9. -- 8 <kill me
  10.  
  11. -- Thanks for using!
  12.  
  13.  
  14.  
  15. game:GetService("StarterGui"):SetCore("SendNotification", {
  16. Title = "Sword Simulator Admin ";
  17. Text = "Script made by Xaxiier, enjoy";})
  18.  
  19. --sword simulator admin made by Xaxiier >:)
  20. -- better admin than the other admin. sksksk and i oop
  21.  
  22. -- Command 1: Super Farm
  23. game.Players.LocalPlayer.Chatted:connect(function(msg)
  24. if string.lower(msg):sub(1) =="<superfarm" then
  25. while true do
  26. wait()
  27. for i = 1,50 do
  28. if game.Players.LocalPlayer.Character:FindFirstChild("sword") then
  29. game.Players.LocalPlayer.Character.sword.Handle.up.RemoteEvent:FireServer()
  30. else
  31. game.Players.LocalPlayer.Backpack.sword.Handle.up.RemoteEvent:FireServer()
  32. end
  33. end
  34. end
  35. end
  36. end)
  37.  
  38.  
  39. -- Command 2: <speed me 100
  40. -- /
  41. -- <speed me 200
  42.  
  43. local speed100 = "<speed me 100"
  44. local speed200 = "<speed me 200"
  45. game.Players.LocalPlayer.Chatted:connect(function(msg)
  46. if string.lower(msg):sub(1) == speed100 then
  47. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
  48. elseif
  49. string.lower(msg):sub(1) == speed200 then
  50. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 200
  51. end
  52. end)
  53.  
  54. -- Command 3: <megafarm
  55.  
  56. game.Players.LocalPlayer.Chatted:connect(function(msg)
  57. if string.lower(msg):sub(1) =="<megafarm" then
  58. while true do
  59. wait()
  60. for i = 1,500 do
  61. if game.Players.LocalPlayer.Character:FindFirstChild("sword") then
  62. game.Players.LocalPlayer.Character.sword.Handle.up.RemoteEvent:FireServer()
  63. else
  64. game.Players.LocalPlayer.Backpack.sword.Handle.up.RemoteEvent:FireServer()
  65. end
  66. end
  67. end
  68. end
  69. end)
  70.  
  71. -- Command 4: <godmode
  72. game.Players.LocalPlayer.Chatted:connect(function(msg)
  73. if string.lower(msg):sub(1) =="<godmode" then
  74. game.Players.LocalPlayer.Character.pvp:Destroy()
  75. end
  76. end)
  77.  
  78. -- Command 5: <freezeanimation
  79. game.Players.LocalPlayer.Chatted:connect(function(msg)
  80. if string.lower(msg):sub(1) =="<freezeanimation" then
  81. game.Players.LocalPlayer.Character.Humanoid.Animator:Destroy()
  82. end
  83. end)
  84.  
  85. -- Command 6: <partsword
  86.  
  87. game.Players.LocalPlayer.Chatted:connect(function(msg)
  88. if string.lower(msg):sub(1) =="<partsword" then
  89. if game.Players.LocalPlayer.Character:FindFirstChild("sword") then
  90. game.Players.LocalPlayer.Character.sword.Handle.Mesh:Destroy()
  91. else
  92. game.Players.LocalPlayer.Backpack.sword.Handle.Mesh:Destroy()
  93. end
  94. end
  95. end)
  96.  
  97. -- Command 7: <punch
  98.  
  99. game.Players.LocalPlayer.Chatted:connect(function(msg)
  100. if string.lower(msg):sub(1) =="<punch" then
  101. if game.Players.LocalPlayer.Character:FindFirstChild("sword") then
  102. game.Players.LocalPlayer.Character.sword.Handle.Transparency = 1
  103. else
  104. game.Players.LocalPlayer.Backpack.sword.Handle.Transparency = 1
  105. end
  106. end
  107. end)
  108.  
  109. -- Command 8: <kill me
  110. game.Players.LocalPlayer.Chatted:connect(function(msg)
  111. if string.lower(msg):sub(1) =="<kill me" then
  112. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  113. end
  114. end)
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124. -- shid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement