Advertisement
Upscalefanatic3

Sword Simulator Script GUI (Kill All | Power Sword)

Sep 19th, 2019
10,712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Game Link: https://www.roblox.com/games/1142908823/Sword-Simulator
  2. -- Farewell Infortality.
  3. -- Version: 2.82
  4. --equip your sword first in order for it to work............
  5. -- Instances:
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local kill = Instance.new("TextButton")
  10. local power = Instance.new("TextButton")
  11. local close = Instance.new("TextButton")
  12. local e = Instance.new("TextLabel")
  13. local TextLabel_2 = Instance.new("TextLabel")
  14. local TextLabel_3 = Instance.new("TextLabel")
  15. local TextLabel_4 = Instance.new("TextLabel")
  16. local TextLabel_5 = Instance.new("TextLabel")
  17. local TextLabel_6 = Instance.new("TextLabel")
  18. local open = Instance.new("TextButton")
  19. --Properties:
  20. ScreenGui.Parent = game.CoreGui
  21. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  22.  
  23. Frame.Parent = ScreenGui
  24. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  25. Frame.BackgroundTransparency = 0.31000000238419
  26. Frame.BorderSizePixel = 3
  27. Frame.Position = UDim2.new(0.321611732, 0, 0.260756195, 0)
  28. Frame.Size = UDim2.new(0, 348, 0, 196)
  29.  
  30. Frame.Active = true
  31. Frame.Draggable = true
  32.  
  33. TextLabel.Parent = Frame
  34. TextLabel.BackgroundColor3 = Color3.new(0.584314, 0.552941, 0.572549)
  35. TextLabel.BackgroundTransparency = 0.40000000596046
  36. TextLabel.BorderSizePixel = 0
  37. TextLabel.Size = UDim2.new(0, 348, 0, 50)
  38. TextLabel.Font = Enum.Font.SciFi
  39. TextLabel.Text = "Sword Sim"
  40. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  41. TextLabel.TextSize = 14
  42.  
  43. kill.Name = "kill"
  44. kill.Parent = Frame
  45. kill.BackgroundColor3 = Color3.new(0.258824, 0.329412, 0.313726)
  46. kill.Position = UDim2.new(0.0497387424, 0, 0.596938789, 0)
  47. kill.Size = UDim2.new(0, 120, 0, 43)
  48. kill.Font = Enum.Font.SciFi
  49. kill.Text = "Kill All"
  50. kill.TextColor3 = Color3.new(0, 0, 0)
  51. kill.TextSize = 14
  52.  
  53. power.Name = "power"
  54. power.Parent = Frame
  55. power.BackgroundColor3 = Color3.new(0.258824, 0.329412, 0.313726)
  56. power.Position = UDim2.new(0.590595424, 0, 0.596938789, 0)
  57. power.Size = UDim2.new(0, 120, 0, 43)
  58. power.Font = Enum.Font.SciFi
  59. power.Text = "Power"
  60. power.TextColor3 = Color3.new(0, 0, 0)
  61. power.TextSize = 14
  62.  
  63. close.Name = "close"
  64. close.Parent = Frame
  65. close.BackgroundColor3 = Color3.new(1, 1, 1)
  66. close.BackgroundTransparency = 1
  67. close.Position = UDim2.new(0.892946601, 0, 0, 0)
  68. close.Size = UDim2.new(0, 37, 0, 35)
  69. close.Font = Enum.Font.GothamSemibold
  70. close.Text = "x"
  71. close.TextColor3 = Color3.new(0.784314, 0, 0)
  72. close.TextSize = 30
  73.  
  74. e.Name = "e"
  75. e.Parent = Frame
  76. e.BackgroundColor3 = Color3.new(1, 1, 1)
  77. e.BackgroundTransparency = 1
  78. e.Position = UDim2.new(0.212643683, 0, 0.163265303, 0)
  79. e.Size = UDim2.new(0, 200, 0, 50)
  80. e.Font = Enum.Font.Highway
  81. e.Text = "Credits to"
  82. e.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  83. e.TextSize = 14
  84.  
  85. TextLabel_2.Parent = Frame
  86. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  87. TextLabel_2.BackgroundTransparency = 1
  88. TextLabel_2.Position = UDim2.new(0.212643683, 0, 0.418367296, 0)
  89. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
  90. TextLabel_2.Font = Enum.Font.Highway
  91. TextLabel_2.Text = "Subscribe to Chhev YT"
  92. TextLabel_2.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  93. TextLabel_2.TextSize = 14
  94.  
  95. TextLabel_3.Parent = Frame
  96. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  97. TextLabel_3.BackgroundTransparency = 1
  98. TextLabel_3.Position = UDim2.new(0.221264362, 0, 0.326530635, 0)
  99. TextLabel_3.Size = UDim2.new(0, 200, 0, 25)
  100. TextLabel_3.Font = Enum.Font.Highway
  101. TextLabel_3.Text = "Chhev YT - making the gui"
  102. TextLabel_3.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  103. TextLabel_3.TextSize = 14
  104.  
  105. TextLabel_4.Parent = Frame
  106. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  107. TextLabel_4.BackgroundTransparency = 1
  108. TextLabel_4.Position = UDim2.new(0.18965517, 0, 0.341836751, 0)
  109. TextLabel_4.Size = UDim2.new(0, 200, 0, 50)
  110. TextLabel_4.Font = Enum.Font.Highway
  111. TextLabel_4.Text = "Chhev YT - scripts"
  112. TextLabel_4.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  113. TextLabel_4.TextSize = 14
  114.  
  115. TextLabel_5.Parent = Frame
  116. TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  117. TextLabel_5.BackgroundTransparency = 1
  118. TextLabel_5.Position = UDim2.new(0.212643668, 0, 0.673469365, 0)
  119. TextLabel_5.Size = UDim2.new(0, 200, 0, 50)
  120. TextLabel_5.Font = Enum.Font.SciFi
  121. TextLabel_5.Text = "Warning:"
  122. TextLabel_5.TextColor3 = Color3.new(0.807843, 0.141176, 0.0235294)
  123. TextLabel_5.TextSize = 14
  124.  
  125. TextLabel_6.Parent = Frame
  126. TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
  127. TextLabel_6.BackgroundTransparency = 1
  128. TextLabel_6.Position = UDim2.new(0.212643683, 0, 0.816326559, 0)
  129. TextLabel_6.Size = UDim2.new(0, 200, 0, 50)
  130. TextLabel_6.Font = Enum.Font.SciFi
  131. TextLabel_6.Text = "You have to equip your sword for both of thes to work!"
  132. TextLabel_6.TextColor3 = Color3.new(0.807843, 0.141176, 0.0235294)
  133. TextLabel_6.TextSize = 14
  134.  
  135. open.Name = "open"
  136. open.Parent = ScreenGui
  137. open.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  138. open.BackgroundTransparency = 0.20000000298023
  139. open.Position = UDim2.new(-0.0109890113, 0, 0.799217761, 0)
  140. open.Size = UDim2.new(0, 200, 0, 50)
  141. open.Visible = false
  142. open.Font = Enum.Font.GothamBold
  143. open.Text = "OPEN"
  144. open.TextColor3 = Color3.new(0.823529, 0.882353, 0.180392)
  145. open.TextSize = 14
  146.  
  147. kill.MouseButton1Down:Connect(function()
  148. local name = game.Players.LocalPlayer.Name
  149. for _,v in pairs(game.Players:GetChildren()) do
  150. if v.Name ~= game.Players.LocalPlayer.Name then
  151. local A_1 = game:GetService("Workspace")[v.Name].Humanoid
  152. local A_2 = 10140000000
  153. local Event = game:GetService("Workspace")[name].sword.Handle.dmg.RemoteEvent:FireServer(A_1, A_2)
  154. else
  155. print'equip your sword'
  156. end
  157. end
  158. end)
  159.  
  160. power.MouseButton1Down:Connect(function()
  161. function power()
  162. local name = game.Players.LocalPlayer.Name
  163. local Event = game:GetService("Workspace")[name].sword.Handle.up.RemoteEvent:FireServer()
  164. end
  165. game:GetService("RunService").stepped:connect(power)
  166. end)
  167.  
  168. close.MouseButton1Down:Connect(function()
  169. Frame.Visible = false
  170. open.Visible = true
  171. end)
  172.  
  173. open.MouseButton1Down:Connect(function()
  174. Frame.Visible = true
  175. open.Visible = false
  176. end)
  177. -- Scripts:
  178. -- RAW Paste Data
  179. -- Farewell Infortality.
  180. -- Version: 2.82
  181. --equip your sword first in order for it to work............
  182. -- Instances:
  183. local ScreenGui = Instance.new("ScreenGui")
  184. local Frame = Instance.new("Frame")
  185. local TextLabel = Instance.new("TextLabel")
  186. local kill = Instance.new("TextButton")
  187. local power = Instance.new("TextButton")
  188. local close = Instance.new("TextButton")
  189. local e = Instance.new("TextLabel")
  190. local TextLabel_2 = Instance.new("TextLabel")
  191. local TextLabel_3 = Instance.new("TextLabel")
  192. local TextLabel_4 = Instance.new("TextLabel")
  193. local TextLabel_5 = Instance.new("TextLabel")
  194. local TextLabel_6 = Instance.new("TextLabel")
  195. local open = Instance.new("TextButton")
  196. --Properties:
  197. ScreenGui.Parent = game.CoreGui
  198. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  199.  
  200. Frame.Parent = ScreenGui
  201. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  202. Frame.BackgroundTransparency = 0.31000000238419
  203. Frame.BorderSizePixel = 3
  204. Frame.Position = UDim2.new(0.321611732, 0, 0.260756195, 0)
  205. Frame.Size = UDim2.new(0, 348, 0, 196)
  206.  
  207. Frame.Active = true
  208. Frame.Draggable = true
  209.  
  210. TextLabel.Parent = Frame
  211. TextLabel.BackgroundColor3 = Color3.new(0.584314, 0.552941, 0.572549)
  212. TextLabel.BackgroundTransparency = 0.40000000596046
  213. TextLabel.BorderSizePixel = 0
  214. TextLabel.Size = UDim2.new(0, 348, 0, 50)
  215. TextLabel.Font = Enum.Font.SciFi
  216. TextLabel.Text = "Sword Sim"
  217. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  218. TextLabel.TextSize = 14
  219.  
  220. kill.Name = "kill"
  221. kill.Parent = Frame
  222. kill.BackgroundColor3 = Color3.new(0.258824, 0.329412, 0.313726)
  223. kill.Position = UDim2.new(0.0497387424, 0, 0.596938789, 0)
  224. kill.Size = UDim2.new(0, 120, 0, 43)
  225. kill.Font = Enum.Font.SciFi
  226. kill.Text = "Kill All"
  227. kill.TextColor3 = Color3.new(0, 0, 0)
  228. kill.TextSize = 14
  229.  
  230. power.Name = "power"
  231. power.Parent = Frame
  232. power.BackgroundColor3 = Color3.new(0.258824, 0.329412, 0.313726)
  233. power.Position = UDim2.new(0.590595424, 0, 0.596938789, 0)
  234. power.Size = UDim2.new(0, 120, 0, 43)
  235. power.Font = Enum.Font.SciFi
  236. power.Text = "Power"
  237. power.TextColor3 = Color3.new(0, 0, 0)
  238. power.TextSize = 14
  239.  
  240. close.Name = "close"
  241. close.Parent = Frame
  242. close.BackgroundColor3 = Color3.new(1, 1, 1)
  243. close.BackgroundTransparency = 1
  244. close.Position = UDim2.new(0.892946601, 0, 0, 0)
  245. close.Size = UDim2.new(0, 37, 0, 35)
  246. close.Font = Enum.Font.GothamSemibold
  247. close.Text = "x"
  248. close.TextColor3 = Color3.new(0.784314, 0, 0)
  249. close.TextSize = 30
  250.  
  251. e.Name = "e"
  252. e.Parent = Frame
  253. e.BackgroundColor3 = Color3.new(1, 1, 1)
  254. e.BackgroundTransparency = 1
  255. e.Position = UDim2.new(0.212643683, 0, 0.163265303, 0)
  256. e.Size = UDim2.new(0, 200, 0, 50)
  257. e.Font = Enum.Font.Highway
  258. e.Text = "Credits to"
  259. e.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  260. e.TextSize = 14
  261.  
  262. TextLabel_2.Parent = Frame
  263. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  264. TextLabel_2.BackgroundTransparency = 1
  265. TextLabel_2.Position = UDim2.new(0.212643683, 0, 0.418367296, 0)
  266. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
  267. TextLabel_2.Font = Enum.Font.Highway
  268. TextLabel_2.Text = "Subscribe to Chhev YT"
  269. TextLabel_2.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  270. TextLabel_2.TextSize = 14
  271.  
  272. TextLabel_3.Parent = Frame
  273. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  274. TextLabel_3.BackgroundTransparency = 1
  275. TextLabel_3.Position = UDim2.new(0.221264362, 0, 0.326530635, 0)
  276. TextLabel_3.Size = UDim2.new(0, 200, 0, 25)
  277. TextLabel_3.Font = Enum.Font.Highway
  278. TextLabel_3.Text = "Chhev YT - making the gui"
  279. TextLabel_3.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  280. TextLabel_3.TextSize = 14
  281.  
  282. TextLabel_4.Parent = Frame
  283. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  284. TextLabel_4.BackgroundTransparency = 1
  285. TextLabel_4.Position = UDim2.new(0.18965517, 0, 0.341836751, 0)
  286. TextLabel_4.Size = UDim2.new(0, 200, 0, 50)
  287. TextLabel_4.Font = Enum.Font.Highway
  288. TextLabel_4.Text = "Chhev YT - scripts"
  289. TextLabel_4.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  290. TextLabel_4.TextSize = 14
  291.  
  292. TextLabel_5.Parent = Frame
  293. TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  294. TextLabel_5.BackgroundTransparency = 1
  295. TextLabel_5.Position = UDim2.new(0.212643668, 0, 0.673469365, 0)
  296. TextLabel_5.Size = UDim2.new(0, 200, 0, 50)
  297. TextLabel_5.Font = Enum.Font.SciFi
  298. TextLabel_5.Text = "Warning:"
  299. TextLabel_5.TextColor3 = Color3.new(0.807843, 0.141176, 0.0235294)
  300. TextLabel_5.TextSize = 14
  301.  
  302. TextLabel_6.Parent = Frame
  303. TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
  304. TextLabel_6.BackgroundTransparency = 1
  305. TextLabel_6.Position = UDim2.new(0.212643683, 0, 0.816326559, 0)
  306. TextLabel_6.Size = UDim2.new(0, 200, 0, 50)
  307. TextLabel_6.Font = Enum.Font.SciFi
  308. TextLabel_6.Text = "You have to equip your sword for both of thes to work!"
  309. TextLabel_6.TextColor3 = Color3.new(0.807843, 0.141176, 0.0235294)
  310. TextLabel_6.TextSize = 14
  311.  
  312. open.Name = "open"
  313. open.Parent = ScreenGui
  314. open.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  315. open.BackgroundTransparency = 0.20000000298023
  316. open.Position = UDim2.new(-0.0109890113, 0, 0.799217761, 0)
  317. open.Size = UDim2.new(0, 200, 0, 50)
  318. open.Visible = false
  319. open.Font = Enum.Font.GothamBold
  320. open.Text = "OPEN"
  321. open.TextColor3 = Color3.new(0.823529, 0.882353, 0.180392)
  322. open.TextSize = 14
  323.  
  324. kill.MouseButton1Down:Connect(function()
  325. local name = game.Players.LocalPlayer.Name
  326. for _,v in pairs(game.Players:GetChildren()) do
  327. if v.Name ~= game.Players.LocalPlayer.Name then
  328. local A_1 = game:GetService("Workspace")[v.Name].Humanoid
  329. local A_2 = 10140000000
  330. local Event = game:GetService("Workspace")[name].sword.Handle.dmg.RemoteEvent:FireServer(A_1, A_2)
  331. else
  332. print'equip your sword'
  333. end
  334. end
  335. end)
  336.  
  337. power.MouseButton1Down:Connect(function()
  338. function power()
  339. local name = game.Players.LocalPlayer.Name
  340. local Event = game:GetService("Workspace")[name].sword.Handle.up.RemoteEvent:FireServer()
  341. end
  342. game:GetService("RunService").stepped:connect(power)
  343. end)
  344.  
  345. close.MouseButton1Down:Connect(function()
  346. Frame.Visible = false
  347. open.Visible = true
  348. end)
  349.  
  350. open.MouseButton1Down:Connect(function()
  351. Frame.Visible = true
  352. open.Visible = false
  353. end)
  354. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement