Advertisement
amongusimposter

WEAPON SIMULATOR 2 GUI

Aug 17th, 2022 (edited)
422
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.36 KB | None | 0 0
  1. -CKS WS2 GUI
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local Farm = Instance.new("TextButton")
  6. local AdminScript = Instance.new("TextButton")
  7. local AntiAfk = Instance.new("TextButton")
  8. local Name = Instance.new("TextBox")
  9.  
  10. --Properties:
  11.  
  12. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  13. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  14. ScreenGui.Parent = Game.CoreGui
  15.  
  16. Frame.Parent = ScreenGui
  17. Frame.BackgroundColor3 = Color3.fromRGB(103, 0, 0)
  18. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  19. Frame.BorderSizePixel = 5
  20. Frame.Position = UDim2.new(0.316885114, 0, 0.240628779, 0)
  21. Frame.Size = UDim2.new(0, 420, 0, 380)
  22. Frame.Active = true
  23. Frame.Draggable = true
  24.  
  25. Farm.Name = "Farm"
  26. Farm.Parent = Frame
  27. Farm.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  28. Farm.BorderColor3 = Color3.fromRGB(0, 0, 0)
  29. Farm.BorderSizePixel = 5
  30. Farm.Position = UDim2.new(0.0429876409, 0, 0.312584728, 0)
  31. Farm.Size = UDim2.new(0, 159, 0, 54)
  32. Farm.Font = Enum.Font.FredokaOne
  33. Farm.Text = "Farm"
  34. Farm.TextColor3 = Color3.fromRGB(0, 0, 0)
  35. Farm.TextScaled = true
  36. Farm.TextSize = 14.000
  37. Farm.TextWrapped = true
  38. Farm.MouseButton1Down:connect(function()
  39. if game:GetService("CoreGui"):FindFirstChild("Dankity") then
  40. game:GetService("CoreGui").Dankity:Destroy()
  41. end
  42.  
  43.  
  44. --//-- VARIABLES --\\--
  45.  
  46. Dankity = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer.PlayerGui)
  47. Main = Instance.new("Frame", Dankity)
  48. Header = Instance.new("Frame", Main)
  49. Text = Instance.new("TextLabel", Header)
  50. Username = Instance.new("TextBox", Main)
  51. Kill = Instance.new("TextButton", Main)
  52. Power = Instance.new("TextButton", Main)
  53. LocalPlayer = game:GetService("Players").LocalPlayer
  54. Backpack = LocalPlayer.Backpack
  55. Character = LocalPlayer.Character
  56. Humanoid = Character.Humanoid
  57.  
  58. --//-- PROPERTIES --\\--
  59.  
  60. Dankity.Name = "Dankity"
  61. Dankity.ResetOnSpawn = false
  62.  
  63. Main.Name = "Main"
  64. Main.BackgroundColor3 = Color3.new(0,255,256)
  65. Main.BorderSizePixel = 0
  66. Main.Active = true
  67. Main.Draggable = true
  68. Main.Selectable = true
  69. Main.Position = UDim2.new(0.321995467, 0, 0.22910662, 0)
  70. Main.Size = UDim2.new(0, 471, 0, 375)
  71.  
  72. Header.Name = "Header"
  73. Header.BackgroundColor3 = Color3.new(0.560784,0,0)
  74. Header.BorderSizePixel = 0
  75. Header.Position = UDim2.new(0, 0, 0.0613333359, 0)
  76. Header.Size = UDim2.new(0, 471, 0, 64)
  77.  
  78. Text.Name = "Text"
  79. Text.BackgroundColor3 = Color3.new(1, 1, 1)
  80. Text.BackgroundTransparency = 1
  81. Text.Position = UDim2.new(0.165605083,0,0)
  82. Text.Size = UDim2.new(0, 315, 0, 50)
  83. Text.Font = Enum.Font.SourceSansBold
  84. Text.Text = "Weapon Simulator 2 Autokill/Farm Gui"
  85. Text.TextColor3 = Color3.new(1, 1, 1)
  86. Text.TextSize = 30
  87.  
  88. Username.Name = "Username"Username.BackgroundColor3 = Color3.new(0,255.256)
  89. Username.BorderSizePixel = 0
  90. Username.Position = UDim2.new(0.17622079, 0, 0.346666723, 0)
  91. Username.Size = UDim2.new(0, 305, 0, 50)
  92. Username.Font = Enum.Font.SourceSansSemibold
  93. Username.Text = "Username"
  94. Username.TextColor3 = Color3.new(1, 1, 1)
  95. Username.TextSize = 20
  96.  
  97. Kill.Name = "Damage/Kill"
  98. Kill.BackgroundColor3 = Color3.new(0,0,0)
  99. Kill.BorderSizePixel = 0
  100. Kill.Position = UDim2.new(0.282377899, 0, 0.519999981, 0)
  101. Kill.Size = UDim2.new(0, 200, 0, 50)
  102. Kill.Font = Enum.Font.SourceSansSemibold
  103. Kill.Text = "Damage/Kill"
  104. Kill.TextColor3 = Color3.new(1, 1, 1)
  105. Kill.TextSize = 20
  106. Kill.TextWrapped = true
  107.  
  108. Power.Name = "Power"
  109. Power.BackgroundColor3 = Color3.new(0.0,0)
  110. Power.BorderSizePixel = 0
  111. Power.Position = UDim2.new(0.282377899, 0, 0.685333312, 0)
  112. Power.Size = UDim2.new(0, 200, 0, 50)
  113. Power.Font = Enum.Font.SourceSansSemibold
  114. Power.Text = "Power, Click 1 time for more!"
  115. Power.TextColor3 = Color3.new(1, 1, 1)
  116. Power.TextSize = 20
  117. Power.TextWrapped = true
  118.  
  119. --//-- FUNCTIONS --\\--
  120.  
  121. function GetPlayers(Name)
  122. if Name:lower() == "me" then
  123. return {Player}
  124. elseif Name:lower() == "all" then
  125. return game:GetService("Players"):GetPlayers()
  126. elseif Name:lower() == "others" then
  127. local t = {}
  128. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  129. if v.Name ~= Player.Name then
  130. t[#t+1] = v
  131. end
  132. end
  133. return t
  134. else
  135. local t = {}
  136. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  137. if v.Name:sub(1, #Name):lower() == Name:lower() then
  138. t[#t+1] = v
  139. end
  140. end
  141. return t
  142. end
  143. end
  144.  
  145. --//-- SCRIPTING --\\--
  146.  
  147. Kill.MouseButton1Click:Connect(function()
  148. for _,v in pairs(Backpack:GetChildren()) do
  149. Humanoid:EquipTool(v)
  150. end
  151.  
  152. local Plrs = GetPlayers(Username.Text)
  153. for i,v in pairs(Plrs) do
  154. for i = 1 , 10 do
  155.  
  156. if Character:FindFirstChild("sword") then
  157.  
  158. Character.sword.Handle.dmg.RemoteEvent:FireServer(game:GetService("Workspace")[v.Name].Humanoid, 99999999999999999999999999999999999999999)
  159. end
  160. end
  161. end
  162. end)
  163.  
  164. Power.MouseButton1Click:Connect(function()
  165. local Event = game:service'Players'.LocalPlayer.Character.sword.Handle.pr.RemoteEvent
  166. game:service'RunService'.RenderStepped:Connect(function()
  167. for i = 1, 10 do
  168. Event:FireServer()
  169. end
  170. end)
  171. if Character:FindFirstChild("sword") then
  172.  
  173. while wait() do
  174. Character.sword.Handle.pr.RemoteEvent:FireServer()
  175. if not Character:FindFirstChild("sword") then
  176. for _,v in pairs(Backpack:GetChildren()) do
  177. Humanoid:EquipTool(v)
  178. end
  179. end
  180. end
  181. end
  182. end)
  183. end)
  184.  
  185. AdminScript.Name = "Admin Script"
  186. AdminScript.Parent = Frame
  187. AdminScript.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  188. AdminScript.BorderColor3 = Color3.fromRGB(0, 0, 0)
  189. AdminScript.BorderSizePixel = 5
  190. AdminScript.Position = UDim2.new(0.576321006, 0, 0.311822563, 0)
  191. AdminScript.Size = UDim2.new(0, 159, 0, 54)
  192. AdminScript.Font = Enum.Font.FredokaOne
  193. AdminScript.Text = "Admin Script"
  194. AdminScript.TextColor3 = Color3.fromRGB(0, 0, 0)
  195. AdminScript.TextScaled = true
  196. AdminScript.TextSize = 14.000
  197. AdminScript.TextWrapped = true
  198. AdminScript.MouseButton1Down:connect(function()
  199. loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
  200. end)
  201.  
  202. AntiAfk.Name = "Anti Afk"
  203. AntiAfk.Parent = Frame
  204. AntiAfk.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  205. AntiAfk.BorderColor3 = Color3.fromRGB(0, 0, 0)
  206. AntiAfk.BorderSizePixel = 5
  207. AntiAfk.Position = UDim2.new(0.0429876409, 0, 0.544854283, 0)
  208. AntiAfk.Size = UDim2.new(0, 159, 0, 54)
  209. AntiAfk.Font = Enum.Font.FredokaOne
  210. AntiAfk.Text = "Anti Afk"
  211. AntiAfk.TextColor3 = Color3.fromRGB(0, 0, 0)
  212. AntiAfk.TextScaled = true
  213. AntiAfk.TextSize = 14.000
  214. AntiAfk.TextWrapped = true
  215. AntiAfk.MouseButton1Down:connect(function()
  216. wait(0.5)local ba=Instance.new("ScreenGui")
  217. local ca=Instance.new("TextLabel")local da=Instance.new("Frame")
  218. local _b=Instance.new("TextLabel")local ab=Instance.new("TextLabel")ba.Parent=game.CoreGui
  219. ba.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;ca.Parent=ba;ca.Active=true
  220. ca.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ca.Draggable=true
  221. ca.Position=UDim2.new(0.698610067,0,0.098096624,0)ca.Size=UDim2.new(0,370,0,52)
  222. ca.Font=Enum.Font.SourceSansSemibold;ca.Text="Anti AFK Script"ca.TextColor3=Color3.new(0,1,1)
  223. ca.TextSize=22;da.Parent=ca
  224. da.BackgroundColor3=Color3.new(0.196078,0.196078,0.196078)da.Position=UDim2.new(0,0,1.0192306,0)
  225. da.Size=UDim2.new(0,370,0,107)_b.Parent=da
  226. _b.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)_b.Position=UDim2.new(0,0,0.800455689,0)
  227. _b.Size=UDim2.new(0,370,0,21)_b.Font=Enum.Font.Arial;_b.Text="made by ur mom "
  228. _b.TextColor3=Color3.new(0,1,1)_b.TextSize=20;ab.Parent=da
  229. ab.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ab.Position=UDim2.new(0,0,0.158377,0)
  230. ab.Size=UDim2.new(0,370,0,44)ab.Font=Enum.Font.ArialBold;ab.Text="Status: Active"
  231. ab.TextColor3=Color3.new(0,1,1)ab.TextSize=20;local bb=game:service'VirtualUser'
  232. game:service'Players'.LocalPlayer.Idled:connect(function()
  233. bb:CaptureController()bb:ClickButton2(Vector2.new())
  234. ab.Text="Roblox tried to kick u but i kicked him instead"wait(2)ab.Text="Status : Active"end)
  235. end)
  236.  
  237. Name.Name = "Name"
  238. Name.Parent = Frame
  239. Name.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  240. Name.BorderColor3 = Color3.fromRGB(0, 0, 0)
  241. Name.BorderSizePixel = 5
  242. Name.Size = UDim2.new(0, 420, 0, 67)
  243. Name.Font = Enum.Font.FredokaOne
  244. Name.Text = " c00ls WS2 Destroyer "
  245. Name.TextColor3 = Color3.fromRGB(0, 0, 0)
  246. Name.TextScaled = true
  247. Name.TextSize = 14.000
  248. Name.TextWrapped = true
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement