Advertisement
Jetex_m

patch this stupid code lol

Feb 23rd, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.94 KB | None | 0 0
  1. local Sinoiz7420 = Instance.new("ScreenGui")
  2. local title = Instance.new("TextLabel")
  3. local group = Instance.new("TextLabel")
  4. local multiply = Instance.new("TextButton")
  5. local amount = Instance.new("TextBox")
  6. local Close = Instance.new("TextButton")
  7. local TextLabel = Instance.new("TextLabel")
  8. local TextLabel_2 = Instance.new("TextLabel")
  9. local TextButton777 = Instance.new("TextButton")
  10.  
  11. -- Properties
  12.  
  13. Sinoiz7420.Name = "Sinoiz#7420"
  14. Sinoiz7420.Parent = game.CoreGui
  15.  
  16. TextButton777.Parent = game.CoreGui.RobloxGui.TopBarContainer
  17. TextButton777.BackgroundColor3 = Color3.new(1, 1, 1)
  18. TextButton777.BackgroundTransparency = 1
  19. TextButton777.Position = UDim2.new(0, 860, 0, -20)
  20. TextButton777.Size = UDim2.new(0, 200, 0, 71)
  21. TextButton777.Font = Enum.Font.SourceSansBold
  22. TextButton777.Text = "This was made by Sinoiz#7420"
  23. TextButton777.TextColor3 = Color3.new(1, 1, 1)
  24. TextButton777.TextSize = 18
  25. TextButton777.TextTransparency = 0
  26.  
  27. title.Name = "title"
  28. title.Parent = Sinoiz7420
  29. title.Active = true
  30. title.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.164706)
  31. title.BorderSizePixel = 0
  32. title.Position = UDim2.new(0.0281249993, 0, 0.350935102, 0)
  33. title.Size = UDim2.new(0, 189, 0, 26)
  34. title.Font = Enum.Font.SourceSansLight
  35. title.Text = " ADVENTURE STORY"
  36. title.TextColor3 = Color3.new(0.67451, 0.67451, 0.67451)
  37. title.TextSize = 14
  38. title.TextXAlignment = Enum.TextXAlignment.Left
  39. title.Draggable = true
  40.  
  41. group.Name = "group"
  42. group.Parent = title
  43. group.BackgroundColor3 = Color3.new(0.137255, 0.129412, 0.137255)
  44. group.BorderSizePixel = 0
  45. group.Position = UDim2.new(0, 0, 0.966153681, 0)
  46. group.Size = UDim2.new(0, 189, 0, 85)
  47. group.Font = Enum.Font.SourceSans
  48. group.Text = ""
  49. group.TextColor3 = Color3.new(0, 0, 0)
  50. group.TextSize = 14
  51.  
  52. multiply.Name = "multiply"
  53. multiply.Parent = group
  54. multiply.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.164706)
  55. multiply.BorderSizePixel = 0
  56. multiply.Position = UDim2.new(0.0316130221, 0, 0.49000001, 0)
  57. multiply.Size = UDim2.new(0, 177, 0, 28)
  58. multiply.Font = Enum.Font.SourceSansLight
  59. multiply.Text = "Multiply"
  60. multiply.TextColor3 = Color3.new(0.67451, 0.67451, 0.67451)
  61. multiply.TextSize = 14
  62. multiply.ClipsDescendants = true
  63.  
  64. amount.Name = "amount"
  65. amount.Parent = group
  66. amount.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.164706)
  67. amount.BorderSizePixel = 0
  68. amount.Position = UDim2.new(0.0317460336, 0, 0.0720720738, 0)
  69. amount.Size = UDim2.new(0, 177, 0, 32)
  70. amount.Font = Enum.Font.SourceSansLight
  71. amount.Text = "45"
  72. amount.TextColor3 = Color3.new(0.67451, 0.67451, 0.67451)
  73. amount.TextSize = 14
  74.  
  75. Close.Name = "Close"
  76. Close.Parent = title
  77. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  78. Close.BackgroundTransparency = 1
  79. Close.Position = UDim2.new(0.902095377, 0, -0.0769230798, 0)
  80. Close.Size = UDim2.new(0, 18, 0, 28)
  81. Close.Font = Enum.Font.SourceSansLight
  82. Close.Text = "X"
  83. Close.TextColor3 = Color3.new(1, 1, 1)
  84. Close.TextSize = 20
  85.  
  86. TextLabel.Parent = title
  87. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  88. TextLabel.BorderSizePixel = 0
  89. TextLabel.Position = UDim2.new(0.0317460336, 0, 3.92307711, 0)
  90. TextLabel.Size = UDim2.new(0, 177, 0, 1)
  91. TextLabel.Font = Enum.Font.SourceSans
  92. TextLabel.Text = ""
  93. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  94. TextLabel.TextSize = 14
  95.  
  96. TextLabel_2.Parent = title
  97. TextLabel_2.BackgroundColor3 = Color3.new(0.176471, 0.164706, 0.176471)
  98. TextLabel_2.BorderSizePixel = 0
  99. TextLabel_2.Position = UDim2.new(0, 0, 0.961538434, 0)
  100. TextLabel_2.Size = UDim2.new(0, 189, 0, 2)
  101. TextLabel_2.Font = Enum.Font.SourceSans
  102. TextLabel_2.Text = ""
  103. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  104. TextLabel_2.TextSize = 14
  105.  
  106. -- Functions
  107. game.StarterGui:SetCore("SendNotification", {Title = "ADVENTURE STORY GUI";Text = "Thanks for buying! V0.1";Duration = 10})
  108.  
  109. local function Circle(thing, xpos, ypos)
  110. if not thing:FindFirstChild('circle') then
  111. local C = Instance.new('ImageLabel', thing)
  112. C.BackgroundTransparency = 1
  113. C.ImageTransparency = .5
  114. C.Position = UDim2.new(0, xpos - 0, 0, ypos - 35) - UDim2.new(0, thing.AbsolutePosition.X, 0, thing.AbsolutePosition.Y)
  115. C.Size = UDim2.new(0, 0, 0, 0)
  116. C.ZIndex = thing.ZIndex
  117. C.Image = 'rbxassetidUndecided/200182847'
  118. C.ImageColor3 = Color3.new(255/255, 255/255, 255/255)
  119. C.Name = 'circle'
  120. C:TweenSizeAndPosition(UDim2.new(0, 500, 0, 500), C.Position - UDim2.new(0, 250, 0, 250), 'Out', 'Quart', 3.5)
  121. for i = 0.5, 1, 0.02 do
  122. C.ImageTransparency = i
  123. wait()
  124. end
  125. C:destroy()
  126. end
  127. end
  128.  
  129. multiply.MouseButton1Down:connect(function(x,y)
  130. Circle(multiply, x, y)
  131. for i = 1, amount.Text do
  132. local idunhax = game.Players.LocalPlayer.PlayerScripts.LocalEvents
  133. --
  134. local copy = idunhax:Clone()
  135. copy.Name = "idunhax"
  136. copy.Parent = game.Players.LocalPlayer.PlayerScripts
  137. end
  138. end)
  139.  
  140.  
  141.  
  142. function onKeyPress(inputObject, gameProcessedEvent)
  143. if inputObject.KeyCode == Enum.KeyCode.F4 then
  144. game.StarterGui:SetCore("SendNotification", {
  145. Title = "Adventure Story Gui"; -- the title (ofc)
  146. Text = "Ok done!"; -- what the text says (ofc)
  147. Icon = ""; -- the image if u want.
  148. Duration = 5; -- how long the notification should in secounds
  149. })
  150. for i,v in pairs(game.Players.LocalPlayer.PlayerScripts:GetChildren()) do
  151. if v.Name == 'idunhax' then
  152. vBig Grinestroy()
  153. end
  154. end
  155. end
  156. end
  157.  
  158. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  159.  
  160. Close.MouseButton1Click:Connect(function()
  161. Sinoiz7420Big Grinestroy()
  162. TextButton777Big Grinestroy()
  163. titleBig Grinestroy()
  164. end)
  165.  
  166. TextButton777.MouseButton1Click:Connect(function()
  167. local player = game.Players.LocalPlayer
  168.  
  169. for i,v in pairs(workspace.Enemies:GetChildren()) do
  170. if v:FindFirstChild("HumanoidRootPart") then
  171. distancetoplayer = (player.Character.HumanoidRootPart.Position - v.HumanoidRootPart.Position).magnitude
  172. if distancetoplayer < 70 then
  173. for a,b in pairs(workspace:GetChildren()) do
  174. if b:FindFirstChild("Center") then
  175. centerdistancetoplayer = (player.Character.HumanoidRootPart.Position - b.Center.Position).magnitude
  176. if centerdistancetoplayer < 50 then
  177. for i=1, 20 do
  178. game.ReplicatedStorage.Remotes.AttackFX:FireServer(player.Character, v.Humanoid, "Punch", false, 2)
  179. end
  180. game.ReplicatedStorage.Remotes.EndBattle:FireServer(workspace.BattleCage, player.Character,{v.Humanoid},"rs")
  181. end
  182. end
  183. end
  184. end
  185. end
  186. end
  187. end)
  188.  
  189. local function callback(Text)
  190. if Text == "Yes" then
  191. game.Players.LocalPlayer.Character.Head.Overhead:Remove()
  192. wait(0.5)
  193. game.StarterGui:SetCore("SendNotification", {
  194. Title = "Adventure Story Gui"; -- the title (ofc)
  195. Text = "Name Hidden! Reset to Unhide"; -- what the text says (ofc)
  196. Icon = ""; -- the image if u want.
  197. Duration = 5; -- how long the notification should in secounds
  198. })
  199. elseif Text == "No" then
  200. print("Ok")
  201. wait(0.5)
  202. game.StarterGui:SetCore("SendNotification", {
  203. Title = "Adventure Story Gui"; -- the title (ofc)
  204. Text = "You're dumb xD"; -- what the text says (ofc)
  205. Icon = ""; -- the image if u want.
  206. Duration = 5; -- how long the notification should in secounds
  207. })
  208. end
  209. end
  210. --
  211. local NotificationBindable = Instance.new("BindableFunction")
  212. NotificationBindable.OnInvoke = callback
  213. --
  214. game.StarterGui:SetCore("SendNotification", {
  215. Title = "Adventure Story Gui";
  216. Text = "Do you want to hide your name?";
  217. Icon = "";
  218. Duration = 1000000;
  219. Button1 = "Yes";
  220. Button2 = "No";
  221. Callback = NotificationBindable;
  222. })
  223. --
  224.  
  225.  
  226. function onKeyPress(inputObject, gameProcessedEvent)
  227. if inputObject.KeyCode == Enum.KeyCode.F5 then
  228. local function callback(Text)
  229. if Text == "Yes" then
  230. game.Players.LocalPlayer.Character.Head.Overhead:Remove()
  231. wait(1.2)
  232. game.StarterGui:SetCore("SendNotification", {
  233. Title = "Adventure Story Gui"; -- the title (ofc)
  234. Text = "Name Hidden! Reset to Unhide"; -- what the text says (ofc)
  235. Icon = ""; -- the image if u want.
  236. Duration = 5; -- how long the notification should in secounds
  237. })
  238. elseif Text == "No" then
  239. print("Ok")
  240. wait(1.2)
  241. game.StarterGui:SetCore("SendNotification", {
  242. Title = "Adventure Story Gui"; -- the title (ofc)
  243. Text = "You're dumb xD"; -- what the text says (ofc)
  244. Icon = ""; -- the image if u want.
  245. Duration = 5; -- how long the notification should in secounds
  246. })
  247. end
  248. end
  249. --
  250. local NotificationBindable = Instance.new("BindableFunction")
  251. NotificationBindable.OnInvoke = callback
  252. --
  253. game.StarterGui:SetCore("SendNotification", {
  254. Title = "Adventure Story Gui";
  255. Text = "Do you want to hide your name?";
  256. Icon = "";
  257. Duration = 1000000;
  258. Button1 = "Yes";
  259. Button2 = "No";
  260. Callback = NotificationBindable;
  261. })
  262. end
  263. end
  264.  
  265. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  266.  
  267. warn("You ran the script!")
  268.  
  269. game.Players.PlayerAdded:Connect(function(Player)
  270. if Player:GetRankInGroup(3596833) == 253 or Player:GetRankInGroup(3596833) == 254 or Player:GetRankInGroup(3596833) == 255 then
  271. local function callback(Text)
  272. if Text == "Yes" then
  273. game.Players.LocalPlayer:Kick("There was a admin in your game❗")
  274. elseif Text == "No" then
  275. print("Ok")
  276. end
  277. end
  278.  
  279. local NotificationBindable = Instance.new("BindableFunction")
  280. NotificationBindable.OnInvoke = callback
  281. --
  282. game.StarterGui:SetCore("SendNotification", {
  283. Title = "⚠️ WARNING ⚠️";
  284. Text = "An admin joined your game do you want to leave?";
  285. Icon = "";
  286. Duration = 1000000;
  287. Button1 = "Yes";
  288. Button2 = "No";
  289. Callback = NotificationBindable;
  290. })
  291. else
  292. print(Player.Name .. " has joined the game!")
  293. end
  294. end)
  295.  
  296. --
  297. while wait() do
  298. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  299. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  300. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  301. local color = Color3.new(r, g, b)
  302. TextButton777.TextColor3 = color
  303. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement