Guest User

SOWRD SIMULATOR GUI

a guest
May 7th, 2019
2,843
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.99 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. --equip your sword first in order for it to work............
  4. -- Instances:
  5. local ScreenGui = Instance.new("ScreenGui")
  6. local Frame = Instance.new("Frame")
  7. local TextLabel = Instance.new("TextLabel")
  8. local kill = Instance.new("TextButton")
  9. local power = Instance.new("TextButton")
  10. local close = Instance.new("TextButton")
  11. local e = Instance.new("TextLabel")
  12. local TextLabel_2 = Instance.new("TextLabel")
  13. local TextLabel_3 = Instance.new("TextLabel")
  14. local TextLabel_4 = Instance.new("TextLabel")
  15. local TextLabel_5 = Instance.new("TextLabel")
  16. local TextLabel_6 = Instance.new("TextLabel")
  17. local open = Instance.new("TextButton")
  18. --Properties:
  19. ScreenGui.Parent = game.CoreGui
  20. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  21.  
  22. Frame.Parent = ScreenGui
  23. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  24. Frame.BackgroundTransparency = 0.31000000238419
  25. Frame.BorderSizePixel = 3
  26. Frame.Position = UDim2.new(0.321611732, 0, 0.260756195, 0)
  27. Frame.Size = UDim2.new(0, 348, 0, 196)
  28.  
  29. Frame.Active = true
  30. Frame.Draggable = true
  31.  
  32. TextLabel.Parent = Frame
  33. TextLabel.BackgroundColor3 = Color3.new(0.584314, 0.552941, 0.572549)
  34. TextLabel.BackgroundTransparency = 0.40000000596046
  35. TextLabel.BorderSizePixel = 0
  36. TextLabel.Size = UDim2.new(0, 348, 0, 50)
  37. TextLabel.Font = Enum.Font.SciFi
  38. TextLabel.Text = "Sword Sim"
  39. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  40. TextLabel.TextSize = 14
  41.  
  42. kill.Name = "kill"
  43. kill.Parent = Frame
  44. kill.BackgroundColor3 = Color3.new(0.258824, 0.329412, 0.313726)
  45. kill.Position = UDim2.new(0.0497387424, 0, 0.596938789, 0)
  46. kill.Size = UDim2.new(0, 120, 0, 43)
  47. kill.Font = Enum.Font.SciFi
  48. kill.Text = "Kill All"
  49. kill.TextColor3 = Color3.new(0, 0, 0)
  50. kill.TextSize = 14
  51.  
  52. power.Name = "power"
  53. power.Parent = Frame
  54. power.BackgroundColor3 = Color3.new(0.258824, 0.329412, 0.313726)
  55. power.Position = UDim2.new(0.590595424, 0, 0.596938789, 0)
  56. power.Size = UDim2.new(0, 120, 0, 43)
  57. power.Font = Enum.Font.SciFi
  58. power.Text = "Power"
  59. power.TextColor3 = Color3.new(0, 0, 0)
  60. power.TextSize = 14
  61.  
  62. close.Name = "close"
  63. close.Parent = Frame
  64. close.BackgroundColor3 = Color3.new(1, 1, 1)
  65. close.BackgroundTransparency = 1
  66. close.Position = UDim2.new(0.892946601, 0, 0, 0)
  67. close.Size = UDim2.new(0, 37, 0, 35)
  68. close.Font = Enum.Font.GothamSemibold
  69. close.Text = "x"
  70. close.TextColor3 = Color3.new(0.784314, 0, 0)
  71. close.TextSize = 30
  72.  
  73. e.Name = "e"
  74. e.Parent = Frame
  75. e.BackgroundColor3 = Color3.new(1, 1, 1)
  76. e.BackgroundTransparency = 1
  77. e.Position = UDim2.new(0.212643683, 0, 0.163265303, 0)
  78. e.Size = UDim2.new(0, 200, 0, 50)
  79. e.Font = Enum.Font.Highway
  80. e.Text = "Credits to"
  81. e.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  82. e.TextSize = 14
  83.  
  84. TextLabel_2.Parent = Frame
  85. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  86. TextLabel_2.BackgroundTransparency = 1
  87. TextLabel_2.Position = UDim2.new(0.212643683, 0, 0.418367296, 0)
  88. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
  89. TextLabel_2.Font = Enum.Font.Highway
  90. TextLabel_2.Text = "shark - helping out"
  91. TextLabel_2.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  92. TextLabel_2.TextSize = 14
  93.  
  94. TextLabel_3.Parent = Frame
  95. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  96. TextLabel_3.BackgroundTransparency = 1
  97. TextLabel_3.Position = UDim2.new(0.221264362, 0, 0.326530635, 0)
  98. TextLabel_3.Size = UDim2.new(0, 200, 0, 25)
  99. TextLabel_3.Font = Enum.Font.Highway
  100. TextLabel_3.Text = "Heccy/Qwertz - making the gui"
  101. TextLabel_3.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  102. TextLabel_3.TextSize = 14
  103.  
  104. TextLabel_4.Parent = Frame
  105. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  106. TextLabel_4.BackgroundTransparency = 1
  107. TextLabel_4.Position = UDim2.new(0.18965517, 0, 0.341836751, 0)
  108. TextLabel_4.Size = UDim2.new(0, 200, 0, 50)
  109. TextLabel_4.Font = Enum.Font.Highway
  110. TextLabel_4.Text = "xGhxst - scripts"
  111. TextLabel_4.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  112. TextLabel_4.TextSize = 14
  113.  
  114. TextLabel_5.Parent = Frame
  115. TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  116. TextLabel_5.BackgroundTransparency = 1
  117. TextLabel_5.Position = UDim2.new(0.212643668, 0, 0.673469365, 0)
  118. TextLabel_5.Size = UDim2.new(0, 200, 0, 50)
  119. TextLabel_5.Font = Enum.Font.SciFi
  120. TextLabel_5.Text = "Warning:"
  121. TextLabel_5.TextColor3 = Color3.new(0.807843, 0.141176, 0.0235294)
  122. TextLabel_5.TextSize = 14
  123.  
  124. TextLabel_6.Parent = Frame
  125. TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
  126. TextLabel_6.BackgroundTransparency = 1
  127. TextLabel_6.Position = UDim2.new(0.212643683, 0, 0.816326559, 0)
  128. TextLabel_6.Size = UDim2.new(0, 200, 0, 50)
  129. TextLabel_6.Font = Enum.Font.SciFi
  130. TextLabel_6.Text = "You have to equip your sword for both of thes to work!"
  131. TextLabel_6.TextColor3 = Color3.new(0.807843, 0.141176, 0.0235294)
  132. TextLabel_6.TextSize = 14
  133.  
  134. open.Name = "open"
  135. open.Parent = ScreenGui
  136. open.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  137. open.BackgroundTransparency = 0.20000000298023
  138. open.Position = UDim2.new(-0.0109890113, 0, 0.799217761, 0)
  139. open.Size = UDim2.new(0, 200, 0, 50)
  140. open.Visible = false
  141. open.Font = Enum.Font.GothamBold
  142. open.Text = "OPEN"
  143. open.TextColor3 = Color3.new(0.823529, 0.882353, 0.180392)
  144. open.TextSize = 14
  145.  
  146. kill.MouseButton1Down:Connect(function()
  147. local name = game.Players.LocalPlayer.Name
  148. for _,v in pairs(game.Players:GetChildren()) do
  149. if v.Name ~= game.Players.LocalPlayer.Name then
  150. local A_1 = game:GetService("Workspace")[v.Name].Humanoid
  151. local A_2 = 10140000000
  152. local Event = game:GetService("Workspace")[name].sword.Handle.dmg.RemoteEvent:FireServer(A_1, A_2)
  153. else
  154. print'equip your sword'
  155. end
  156. end
  157. end)
  158.  
  159. power.MouseButton1Down:Connect(function()
  160. function power()
  161. local name = game.Players.LocalPlayer.Name
  162. local Event = game:GetService("Workspace")[name].sword.Handle.up.RemoteEvent:FireServer()
  163. end
  164. game:GetService("RunService").stepped:connect(power)
  165. end)
  166.  
  167. close.MouseButton1Down:Connect(function()
  168. Frame.Visible = false
  169. open.Visible = true
  170. end)
  171.  
  172. open.MouseButton1Down:Connect(function()
  173. Frame.Visible = true
  174. open.Visible = false
  175. end)
  176. -- Scripts:
Add Comment
Please, Sign In to add comment