Gostrondude

Sword Succ Gui

May 11th, 2018
608
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.98 KB | None | 0 0
  1. -- Made By Gostrondude#4930 (Please give me credit if you use any of these scripts, or make a video on the gui)
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local main = Instance.new("Frame")
  5. local sword = Instance.new("TextLabel")
  6. local name = Instance.new("TextBox")
  7. local kill = Instance.new("TextButton")
  8. local dmg1 = Instance.new("TextButton")
  9. local dmg2 = Instance.new("TextButton")
  10. local farm = Instance.new("TextButton")
  11. local credits = Instance.new("TextLabel")
  12. local bar = Instance.new("TextLabel")
  13. local controls = Instance.new("TextLabel")
  14.  
  15. -- Properties
  16.  
  17. ScreenGui.Parent = game.StarterGui
  18.  
  19. main.Name = "main"
  20. main.Parent = ScreenGui
  21. main.BackgroundColor3 = Color3.new(1, 1, 1)
  22. main.BorderColor3 = Color3.new(0, 0.666667, 1)
  23. main.BorderSizePixel = 3
  24. main.Position = UDim2.new(0.36359489, 0, 0.230237156, 0)
  25. main.Size = UDim2.new(0, 299, 0, 273)
  26. main.Visible = false
  27.  
  28. ScreenGui.Parent = game.CoreGui
  29. ScreenGui.Name = "H0t"
  30. ScreenGui.Enabled = true
  31. ScreenGui.ResetOnSpawn = true
  32.  
  33. sword.Name = "sword"
  34. sword.Parent = main
  35. sword.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  36. sword.BorderColor3 = Color3.new(0, 0.666667, 1)
  37. sword.Size = UDim2.new(0, 299, 0, 25)
  38. sword.Font = Enum.Font.SourceSansBold
  39. sword.Text = "Sword Succ Gui"
  40. sword.TextSize = 30
  41.  
  42. name.Name = "name"
  43. name.Parent = main
  44. name.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  45. name.BorderColor3 = Color3.new(0, 0.666667, 1)
  46. name.Position = UDim2.new(0.163299665, 0, 0.230769232, 0)
  47. name.Size = UDim2.new(0, 200, 0, 29)
  48. name.Font = Enum.Font.SourceSans
  49. name.Text = "Name Here (FULL NAME)"
  50. name.TextColor3 = Color3.new(0, 0, 0)
  51. name.TextSize = 23
  52.  
  53. kill.Name = "kill"
  54. kill.Parent = main
  55. kill.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  56. kill.BorderColor3 = Color3.new(0, 0.666667, 1)
  57. kill.Position = UDim2.new(0.053714402, 0, 0.44688645, 0)
  58. kill.Size = UDim2.new(0, 116, 0, 28)
  59. kill.Font = Enum.Font.SourceSans
  60. kill.Text = "Kill"
  61. kill.TextColor3 = Color3.new(0, 0, 0)
  62. kill.TextSize = 25
  63.  
  64. dmg1.Name = "dmg1"
  65. dmg1.Parent = main
  66. dmg1.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  67. dmg1.BorderColor3 = Color3.new(0, 0.666667, 1)
  68. dmg1.Position = UDim2.new(0.565656543, 0, 0.448717952, 0)
  69. dmg1.Size = UDim2.new(0, 116, 0, 28)
  70. dmg1.Font = Enum.Font.SourceSans
  71. dmg1.Text = "Somewhat Damage"
  72. dmg1.TextColor3 = Color3.new(0, 0, 0)
  73. dmg1.TextSize = 17
  74.  
  75. dmg2.Name = "dmg2"
  76. dmg2.Parent = main
  77. dmg2.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  78. dmg2.BorderColor3 = Color3.new(0, 0.666667, 1)
  79. dmg2.Position = UDim2.new(0.053714402, 0, 0.695970714, 0)
  80. dmg2.Size = UDim2.new(0, 116, 0, 28)
  81. dmg2.Font = Enum.Font.SourceSans
  82. dmg2.Text = "Damage Hella Bad"
  83. dmg2.TextColor3 = Color3.new(0, 0, 0)
  84. dmg2.TextSize = 18
  85.  
  86. farm.Name = "farm"
  87. farm.Parent = main
  88. farm.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  89. farm.BorderColor3 = Color3.new(0, 0.666667, 1)
  90. farm.Position = UDim2.new(0.565656543, 0, 0.695970714, 0)
  91. farm.Size = UDim2.new(0, 116, 0, 28)
  92. farm.Font = Enum.Font.SourceSans
  93. farm.Text = "Farm Strength"
  94. farm.TextColor3 = Color3.new(0, 0, 0)
  95. farm.TextScaled = true
  96. farm.TextSize = 23
  97. farm.TextWrapped = true
  98.  
  99. credits.Name = "credits"
  100. credits.Parent = main
  101. credits.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  102. credits.BorderColor3 = Color3.new(0, 0.666667, 1)
  103. credits.Position = UDim2.new(0, 0, 0.0915750936, 0)
  104. credits.Size = UDim2.new(0, 168, 0, 16)
  105. credits.Font = Enum.Font.SourceSans
  106. credits.Text = "Made By Gostrondude"
  107. credits.TextColor3 = Color3.new(0, 0, 0)
  108. credits.TextSize = 16
  109.  
  110. bar.Name = "bar"
  111. bar.Parent = main
  112. bar.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  113. bar.BorderColor3 = Color3.new(0, 0.666667, 1)
  114. bar.Position = UDim2.new(0, 0, 0.941391945, 0)
  115. bar.Size = UDim2.new(0, 299, 0, 16)
  116. bar.Font = Enum.Font.SourceSans
  117. bar.Text = ""
  118. bar.TextColor3 = Color3.new(0, 0, 0)
  119. bar.TextSize = 16
  120.  
  121. controls.Name = "controls"
  122. controls.Parent = main
  123. controls.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  124. controls.BorderColor3 = Color3.new(0, 0.666667, 1)
  125. controls.Position = UDim2.new(0.565217376, 0, 0.0915750936, 0)
  126. controls.Size = UDim2.new(0, 130, 0, 16)
  127. controls.Font = Enum.Font.SourceSans
  128. controls.Text = "Open = Z and Close = X"
  129. controls.TextColor3 = Color3.new(0, 0, 0)
  130. controls.TextSize = 14
  131.  
  132.  
  133. function onKeyPress(inputObject, gameProcessedEvent) --open
  134. if inputObject.KeyCode == Enum.KeyCode.Z then
  135. main:TweenPosition(UDim2.new(0.391, 0,0.23, 0), "Out", "Sine", 1)
  136.  
  137. else
  138.  
  139. if inputObject.KeyCode == Enum.KeyCode.X then --close
  140. main:TweenPosition(UDim2.new(0.391, 0,-0.8, 0), "In", "Sine", 1)
  141. end
  142. end
  143. end
  144.  
  145. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  146.  
  147. kill.MouseButton1Down:connect(function()
  148. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 10.10)
  149. wait(0.1)
  150. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 10.10)
  151. wait(0.1)
  152. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 10.10)
  153. wait(0.1)
  154. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 10.10)
  155. wait(0.1)
  156. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 10.10)
  157. wait(0.1)
  158. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 10.10)
  159. wait(0.1)
  160. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 10.10)
  161. wait(0.1)
  162. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 10.10)
  163. wait(0.1)
  164. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 10.10)
  165. wait(0.1)
  166. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 10.10)
  167. wait(0.1)
  168. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 10.10)
  169. wait(0.1)
  170. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 10.10)
  171. wait(0.1)
  172. end)
  173.  
  174. dmg1.MouseButton1Down:connect(function()
  175. game.ReplicatedStorage.hit:FireServer(Workspace[name.Text])
  176. end)
  177.  
  178. dmg2.MouseButton1Down:connect(function()
  179. game.ReplicatedStorage.hitsword:FireServer(Workspace[name.Text], 8.8)
  180. end)
  181.  
  182. farm.MouseButton1Down:connect(function()
  183. while true do
  184. wait(0.1)
  185. game.ReplicatedStorage.punch:FireServer()
  186. end
  187. end)
Advertisement
Add Comment
Please, Sign In to add comment