Advertisement
toonrun123

SkyBlock 2 Gui

Nov 20th, 2018
15,569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 16.43 KB | None | 0 0
  1. --If you Found Bug Told Me Discord toonrun123#8729
  2. --If you want Click To Teleport Tool U need [FE] Enable Inventory.
  3. -- Objects:
  4. local SkyBlockGui = Instance.new("ScreenGui")
  5. local Main = Instance.new("Frame")
  6. local SkyBlock = Instance.new("TextLabel")
  7. local GetMoney = Instance.new("TextButton")
  8. local ValueMoney = Instance.new("TextBox")
  9. local ValueSpeed = Instance.new("TextBox")
  10. local SetSpeed = Instance.new("TextButton")
  11. local ValueJumpPower = Instance.new("TextBox")
  12. local SetJumpPower = Instance.new("TextButton")
  13. local Island1 = Instance.new("TextButton")
  14. local Island2 = Instance.new("TextButton")
  15. local Island3 = Instance.new("TextButton")
  16. local Island4 = Instance.new("TextButton")
  17. local BlackSmith = Instance.new("TextButton")
  18. local Sawmill = Instance.new("TextButton")
  19. local Bakery = Instance.new("TextButton")
  20. local Goto = Instance.new("TextButton")
  21. local NamePlayers = Instance.new("TextBox")
  22. local ClicktoTeleportTool = Instance.new("TextButton")
  23. local ValueWood = Instance.new("TextBox")
  24. local ValueIronCrop = Instance.new("TextBox")
  25. local ValueStone = Instance.new("TextBox")
  26. local GetWood = Instance.new("TextButton")
  27. local GetStone = Instance.new("TextButton")
  28. local GetIronCrop = Instance.new("TextButton")
  29. --Functions:
  30. SkyBlockGui.Name = "SkyBlock Gui"
  31. SkyBlockGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  32. SkyBlockGui.ResetOnSpawn = false
  33.  
  34. Main.Name = "Main"
  35. Main.Parent = SkyBlockGui
  36. Main.Active = true
  37. Main.BackgroundColor3 = Color3.new(0.0627451, 0.0627451, 0.0627451)
  38. Main.BackgroundTransparency = 0.5
  39. Main.BorderSizePixel = 0
  40. Main.Position = UDim2.new(0.0738544539, 0, 0.105678231, 0)
  41. Main.Selectable = true
  42. Main.Size = UDim2.new(0, 800, 0, 481)
  43.  
  44. SkyBlock.Name = "SkyBlock"
  45. SkyBlock.Parent = Main
  46. SkyBlock.BackgroundColor3 = Color3.new(1, 1, 1)
  47. SkyBlock.BackgroundTransparency = 1
  48. SkyBlock.BorderSizePixel = 0
  49. SkyBlock.Position = UDim2.new(0.35775739, 0, -0.00332456641, 0)
  50. SkyBlock.Size = UDim2.new(0, 226, 0, 50)
  51. SkyBlock.Font = Enum.Font.SourceSans
  52. SkyBlock.Text = "SkyBlock Gui"
  53. SkyBlock.TextColor3 = Color3.new(1, 1, 1)
  54. SkyBlock.TextSize = 30
  55. SkyBlock.TextStrokeColor3 = Color3.new(1, 1, 1)
  56. SkyBlock.TextStrokeTransparency = 0
  57.  
  58. GetMoney.Name = "GetMoney"
  59. GetMoney.Parent = Main
  60. GetMoney.Active = false
  61. GetMoney.BackgroundColor3 = Color3.new(1, 1, 1)
  62. GetMoney.BackgroundTransparency = 1
  63. GetMoney.BorderSizePixel = 0
  64. GetMoney.Position = UDim2.new(0.276442945, 0, 0.410932213, 0)
  65. GetMoney.Size = UDim2.new(0, 200, 0, 50)
  66. GetMoney.Font = Enum.Font.SourceSans
  67. GetMoney.Text = "GetMoney"
  68. GetMoney.TextColor3 = Color3.new(1, 1, 1)
  69. GetMoney.TextSize = 30
  70. GetMoney.TextStrokeColor3 = Color3.new(1, 1, 1)
  71. GetMoney.TextStrokeTransparency = 0
  72. GetMoney.MouseButton1Down:connect(function()
  73.     game.Workspace.Events.Trading.Seller:InvokeServer(ValueMoney.Text, "Wood", -0)
  74. end)
  75.  
  76. ValueMoney.Name = "ValueMoney"
  77. ValueMoney.Parent = Main
  78. ValueMoney.BackgroundColor3 = Color3.new(1, 1, 1)
  79. ValueMoney.BackgroundTransparency = 1
  80. ValueMoney.BorderSizePixel = 0
  81. ValueMoney.Position = UDim2.new(-0.000223651528, 0, 0.41402331, 0)
  82. ValueMoney.Size = UDim2.new(0, 200, 0, 50)
  83. ValueMoney.Font = Enum.Font.SourceSans
  84. ValueMoney.Text = "ValueMoney"
  85. ValueMoney.TextColor3 = Color3.new(1, 1, 1)
  86. ValueMoney.TextSize = 30
  87. ValueMoney.TextStrokeColor3 = Color3.new(1, 1, 1)
  88. ValueMoney.TextStrokeTransparency = 0
  89.  
  90. ValueSpeed.Name = "ValueSpeed"
  91. ValueSpeed.Parent = Main
  92. ValueSpeed.BackgroundColor3 = Color3.new(1, 1, 1)
  93. ValueSpeed.BackgroundTransparency = 1
  94. ValueSpeed.BorderSizePixel = 0
  95. ValueSpeed.Position = UDim2.new(-0.000223651528, 0, 0.514583349, 0)
  96. ValueSpeed.Size = UDim2.new(0, 200, 0, 50)
  97. ValueSpeed.Font = Enum.Font.SourceSans
  98. ValueSpeed.Text = "ValueSpeed"
  99. ValueSpeed.TextColor3 = Color3.new(1, 1, 1)
  100. ValueSpeed.TextSize = 30
  101. ValueSpeed.TextStrokeColor3 = Color3.new(1, 1, 1)
  102. ValueSpeed.TextStrokeTransparency = 0
  103.  
  104. SetSpeed.Name = "SetSpeed"
  105. SetSpeed.Parent = Main
  106. SetSpeed.Active = false
  107. SetSpeed.BackgroundColor3 = Color3.new(1, 1, 1)
  108. SetSpeed.BackgroundTransparency = 1
  109. SetSpeed.BorderSizePixel = 0
  110. SetSpeed.Position = UDim2.new(0.276443005, 0, 0.513939142, 0)
  111. SetSpeed.Size = UDim2.new(0, 200, 0, 50)
  112. SetSpeed.Font = Enum.Font.SourceSans
  113. SetSpeed.Text = "SetSpeed"
  114. SetSpeed.TextColor3 = Color3.new(1, 1, 1)
  115. SetSpeed.TextSize = 30
  116. SetSpeed.TextStrokeColor3 = Color3.new(1, 1, 1)
  117. SetSpeed.TextStrokeTransparency = 0
  118. SetSpeed.MouseButton1Down:connect(function()
  119.          game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = ValueSpeed.Text
  120. end)
  121.  
  122. ValueJumpPower.Name = "ValueJumpPower"
  123. ValueJumpPower.Parent = Main
  124. ValueJumpPower.BackgroundColor3 = Color3.new(1, 1, 1)
  125. ValueJumpPower.BackgroundTransparency = 1
  126. ValueJumpPower.BorderSizePixel = 0
  127. ValueJumpPower.Position = UDim2.new(-0.000223636627, 0, 0.617014289, 0)
  128. ValueJumpPower.Size = UDim2.new(0, 200, 0, 50)
  129. ValueJumpPower.Font = Enum.Font.SourceSans
  130. ValueJumpPower.Text = "ValueJumpPower"
  131. ValueJumpPower.TextColor3 = Color3.new(1, 1, 1)
  132. ValueJumpPower.TextSize = 30
  133. ValueJumpPower.TextStrokeColor3 = Color3.new(1, 1, 1)
  134. ValueJumpPower.TextStrokeTransparency = 0
  135.  
  136. SetJumpPower.Name = "SetJumpPower"
  137. SetJumpPower.Parent = Main
  138. SetJumpPower.Active = false
  139. SetJumpPower.BackgroundColor3 = Color3.new(1, 1, 1)
  140. SetJumpPower.BackgroundTransparency = 1
  141. SetJumpPower.BorderSizePixel = 0
  142. SetJumpPower.Position = UDim2.new(0.276442945, 0, 0.617855906, 0)
  143. SetJumpPower.Size = UDim2.new(0, 200, 0, 50)
  144. SetJumpPower.Font = Enum.Font.SourceSans
  145. SetJumpPower.Text = "SetJumpPower"
  146. SetJumpPower.TextColor3 = Color3.new(1, 1, 1)
  147. SetJumpPower.TextSize = 30
  148. SetJumpPower.TextStrokeColor3 = Color3.new(1, 1, 1)
  149. SetJumpPower.TextStrokeTransparency = 0
  150. SetJumpPower.MouseButton1Down:connect(function()
  151.              game.Players.LocalPlayer.Character.Humanoid.JumpPower = ValueJumpPower.Text
  152. end)
  153.  
  154. Island1.Name = "Island 1"
  155. Island1.Parent = Main
  156. Island1.Active = false
  157. Island1.BackgroundColor3 = Color3.new(1, 1, 1)
  158. Island1.BackgroundTransparency = 1
  159. Island1.BorderSizePixel = 0
  160. Island1.Position = UDim2.new(0.110192969, 0, 0.0990819409, 0)
  161. Island1.Size = UDim2.new(0, 200, 0, 50)
  162. Island1.Font = Enum.Font.SourceSans
  163. Island1.Text = "Island 1"
  164. Island1.TextColor3 = Color3.new(1, 1, 1)
  165. Island1.TextSize = 30
  166. Island1.TextStrokeColor3 = Color3.new(1, 1, 1)
  167. Island1.TextStrokeTransparency = 0
  168. Island1.MouseButton1Down:connect(function()
  169.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(55.0234566, 147.800369, -98.4645844)
  170. end)
  171.  
  172. Island2.Name = "Island 2"
  173. Island2.Parent = Main
  174. Island2.Active = false
  175. Island2.BackgroundColor3 = Color3.new(1, 1, 1)
  176. Island2.BackgroundTransparency = 1
  177. Island2.BorderSizePixel = 0
  178. Island2.Position = UDim2.new(0.37519297, 0, 0.0990819409, 0)
  179. Island2.Size = UDim2.new(0, 200, 0, 50)
  180. Island2.Font = Enum.Font.SourceSans
  181. Island2.Text = "Island 2"
  182. Island2.TextColor3 = Color3.new(1, 1, 1)
  183. Island2.TextSize = 30
  184. Island2.TextStrokeColor3 = Color3.new(1, 1, 1)
  185. Island2.TextStrokeTransparency = 0
  186. Island2.MouseButton1Down:connect(function()
  187.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-127.368889, 147.8004, -241.99469)
  188. end)
  189.  
  190. Island3.Name = "Island 3"
  191. Island3.Parent = Main
  192. Island3.Active = false
  193. Island3.BackgroundColor3 = Color3.new(1, 1, 1)
  194. Island3.BackgroundTransparency = 1
  195. Island3.BorderSizePixel = 0
  196. Island3.Position = UDim2.new(0.623942971, 0, 0.0990819409, 0)
  197. Island3.Size = UDim2.new(0, 200, 0, 50)
  198. Island3.Font = Enum.Font.SourceSans
  199. Island3.Text = "Island 3"
  200. Island3.TextColor3 = Color3.new(1, 1, 1)
  201. Island3.TextSize = 30
  202. Island3.TextStrokeColor3 = Color3.new(1, 1, 1)
  203. Island3.TextStrokeTransparency = 0
  204. Island3.MouseButton1Down:connect(function()
  205.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-114.476311, 148.808701, 166.490677)
  206. end)
  207.  
  208. Island4.Name = "Island 4"
  209. Island4.Parent = Main
  210. Island4.Active = false
  211. Island4.BackgroundColor3 = Color3.new(1, 1, 1)
  212. Island4.BackgroundTransparency = 1
  213. Island4.BorderSizePixel = 0
  214. Island4.Position = UDim2.new(0.110192969, 0, 0.203032061, 0)
  215. Island4.Size = UDim2.new(0, 200, 0, 50)
  216. Island4.Font = Enum.Font.SourceSans
  217. Island4.Text = "Island 4"
  218. Island4.TextColor3 = Color3.new(1, 1, 1)
  219. Island4.TextSize = 30
  220. Island4.TextStrokeColor3 = Color3.new(1, 1, 1)
  221. Island4.TextStrokeTransparency = 0
  222. Island4.MouseButton1Down:connect(function()
  223.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-114.476311, 148.808701, 166.490677)
  224. end)
  225.  
  226. BlackSmith.Name = "BlackSmith"
  227. BlackSmith.Parent = Main
  228. BlackSmith.Active = false
  229. BlackSmith.BackgroundColor3 = Color3.new(1, 1, 1)
  230. BlackSmith.BackgroundTransparency = 1
  231. BlackSmith.BorderSizePixel = 0
  232. BlackSmith.Position = UDim2.new(0.360192984, 0, 0.203032047, 0)
  233. BlackSmith.Size = UDim2.new(0, 200, 0, 50)
  234. BlackSmith.Font = Enum.Font.SourceSans
  235. BlackSmith.Text = "BlackSmith"
  236. BlackSmith.TextColor3 = Color3.new(1, 1, 1)
  237. BlackSmith.TextSize = 30
  238. BlackSmith.TextStrokeColor3 = Color3.new(1, 1, 1)
  239. BlackSmith.TextStrokeTransparency = 0
  240. BlackSmith.MouseButton1Down:connect(function()
  241.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-143.009018, 153.801666, 166.490677)
  242. end)
  243.  
  244. Sawmill.Name = "Sawmill"
  245. Sawmill.Parent = Main
  246. Sawmill.Active = false
  247. Sawmill.BackgroundColor3 = Color3.new(1, 1, 1)
  248. Sawmill.BackgroundTransparency = 1
  249. Sawmill.BorderSizePixel = 0
  250. Sawmill.Position = UDim2.new(0.610192955, 0, 0.203032047, 0)
  251. Sawmill.Size = UDim2.new(0, 200, 0, 50)
  252. Sawmill.Font = Enum.Font.SourceSans
  253. Sawmill.Text = "Sawmill"
  254. Sawmill.TextColor3 = Color3.new(1, 1, 1)
  255. Sawmill.TextSize = 30
  256. Sawmill.TextStrokeColor3 = Color3.new(1, 1, 1)
  257. Sawmill.TextStrokeTransparency = 0
  258. Sawmill.MouseButton1Down:connect(function()
  259.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-86.1570816, 153.000076, -28.9484367)
  260. end)
  261.  
  262. Bakery.Name = "Bakery"
  263. Bakery.Parent = Main
  264. Bakery.Active = false
  265. Bakery.BackgroundColor3 = Color3.new(1, 1, 1)
  266. Bakery.BackgroundTransparency = 1
  267. Bakery.BorderSizePixel = 0
  268. Bakery.Position = UDim2.new(0.107692972, 0, 0.30698216, 0)
  269. Bakery.Size = UDim2.new(0, 200, 0, 50)
  270. Bakery.Font = Enum.Font.SourceSans
  271. Bakery.Text = "Bakery"
  272. Bakery.TextColor3 = Color3.new(1, 1, 1)
  273. Bakery.TextSize = 30
  274. Bakery.TextStrokeColor3 = Color3.new(1, 1, 1)
  275. Bakery.TextStrokeTransparency = 0
  276. Bakery.MouseButton1Down:connect(function()
  277.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-154.459854, 153.000153, 21.7941151)
  278. end)
  279.  
  280. Goto.Name = "Goto"
  281. Goto.Parent = Main
  282. Goto.Active = false
  283. Goto.BackgroundColor3 = Color3.new(1, 1, 1)
  284. Goto.BackgroundTransparency = 1
  285. Goto.BorderSizePixel = 0
  286. Goto.Position = UDim2.new(0.466442943, 0, 0.720703483, 0)
  287. Goto.Size = UDim2.new(0, 200, 0, 50)
  288. Goto.Font = Enum.Font.SourceSans
  289. Goto.Text = "Goto"
  290. Goto.TextColor3 = Color3.new(1, 1, 1)
  291. Goto.TextSize = 30
  292. Goto.TextStrokeColor3 = Color3.new(1, 1, 1)
  293. Goto.TextStrokeTransparency = 0
  294. Goto.MouseButton1Down:connect(function()
  295.     local me = game.Players.LocalPlayer.Character
  296.  
  297. local targetplayer = game.Workspace[NamePlayers.Text].HumanoidRootPart
  298.  
  299. me.HumanoidRootPart.CFrame = CFrame.new(targetplayer.Position.X, targetplayer.Position.Y, targetplayer.Position.Z)
  300.  
  301. end)
  302.  
  303. NamePlayers.Name = "NamePlayers"
  304. NamePlayers.Parent = Main
  305. NamePlayers.BackgroundColor3 = Color3.new(1, 1, 1)
  306. NamePlayers.BackgroundTransparency = 1
  307. NamePlayers.BorderSizePixel = 0
  308. NamePlayers.Position = UDim2.new(-0.000223655705, 0, 0.72379458, 0)
  309. NamePlayers.Size = UDim2.new(0, 373, 0, 50)
  310. NamePlayers.Font = Enum.Font.SourceSans
  311. NamePlayers.Text = "NamePlayers"
  312. NamePlayers.TextColor3 = Color3.new(1, 1, 1)
  313. NamePlayers.TextSize = 30
  314. NamePlayers.TextStrokeColor3 = Color3.new(1, 1, 1)
  315. NamePlayers.TextStrokeTransparency = 0
  316.  
  317. ClicktoTeleportTool.Name = "Click to Teleport Tool"
  318. ClicktoTeleportTool.Parent = Main
  319. ClicktoTeleportTool.Active = false
  320. ClicktoTeleportTool.BackgroundColor3 = Color3.new(1, 1, 1)
  321. ClicktoTeleportTool.BackgroundTransparency = 1
  322. ClicktoTeleportTool.BorderSizePixel = 0
  323. ClicktoTeleportTool.Position = UDim2.new(0.716443002, 0, 0.720703483, 0)
  324. ClicktoTeleportTool.Size = UDim2.new(0, 222, 0, 50)
  325. ClicktoTeleportTool.Font = Enum.Font.SourceSans
  326. ClicktoTeleportTool.Text = "Click to Teleport Tool"
  327. ClicktoTeleportTool.TextColor3 = Color3.new(1, 1, 1)
  328. ClicktoTeleportTool.TextSize = 15
  329. ClicktoTeleportTool.TextStrokeColor3 = Color3.new(1, 1, 1)
  330. ClicktoTeleportTool.TextStrokeTransparency = 0
  331. ClicktoTeleportTool.MouseButton1Down:connect(function()
  332.     tool = Instance.new("Tool")
  333. tool.RequiresHandle = false
  334. tool.Name = "Click Teleport"
  335. tool.Activated:connect(function()
  336. local pos = mouse.Hit+Vector3.new(0,2.5,0)
  337. pos = CFrame.new(pos.X,pos.Y,pos.Z)
  338. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  339. end)
  340. tool.Parent = game.Players.LocalPlayer.Backpack
  341. end)
  342.  
  343. ValueWood.Name = "ValueWood"
  344. ValueWood.Parent = Main
  345. ValueWood.BackgroundColor3 = Color3.new(1, 1, 1)
  346. ValueWood.BackgroundTransparency = 1
  347. ValueWood.BorderSizePixel = 0
  348. ValueWood.Position = UDim2.new(0.526026368, 0, 0.386996269, 0)
  349. ValueWood.Size = UDim2.new(0, 200, 0, 50)
  350. ValueWood.Font = Enum.Font.SourceSans
  351. ValueWood.Text = "ValueWood"
  352. ValueWood.TextColor3 = Color3.new(1, 1, 1)
  353. ValueWood.TextSize = 30
  354. ValueWood.TextStrokeColor3 = Color3.new(1, 1, 1)
  355. ValueWood.TextStrokeTransparency = 0
  356.  
  357.  
  358. ValueIronCrop.Name = "ValueIron+Crop"
  359. ValueIronCrop.Parent = Main
  360. ValueIronCrop.BackgroundColor3 = Color3.new(1, 1, 1)
  361. ValueIronCrop.BackgroundTransparency = 1
  362. ValueIronCrop.BorderSizePixel = 0
  363. ValueIronCrop.Position = UDim2.new(0.526026368, 0, 0.589987278, 0)
  364. ValueIronCrop.Size = UDim2.new(0, 200, 0, 50)
  365. ValueIronCrop.Font = Enum.Font.SourceSans
  366. ValueIronCrop.Text = "ValueIron+Crop"
  367. ValueIronCrop.TextColor3 = Color3.new(1, 1, 1)
  368. ValueIronCrop.TextSize = 30
  369. ValueIronCrop.TextStrokeColor3 = Color3.new(1, 1, 1)
  370. ValueIronCrop.TextStrokeTransparency = 0
  371.  
  372. ValueStone.Name = "ValueStone"
  373. ValueStone.Parent = Main
  374. ValueStone.BackgroundColor3 = Color3.new(1, 1, 1)
  375. ValueStone.BackgroundTransparency = 1
  376. ValueStone.BorderSizePixel = 0
  377. ValueStone.Position = UDim2.new(0.526026368, 0, 0.487556309, 0)
  378. ValueStone.Size = UDim2.new(0, 200, 0, 50)
  379. ValueStone.Font = Enum.Font.SourceSans
  380. ValueStone.Text = "ValueStone"
  381. ValueStone.TextColor3 = Color3.new(1, 1, 1)
  382. ValueStone.TextSize = 30
  383. ValueStone.TextStrokeColor3 = Color3.new(1, 1, 1)
  384. ValueStone.TextStrokeTransparency = 0
  385.  
  386. GetWood.Name = "GetWood"
  387. GetWood.Parent = Main
  388. GetWood.Active = false
  389. GetWood.BackgroundColor3 = Color3.new(1, 1, 1)
  390. GetWood.BackgroundTransparency = 1
  391. GetWood.BorderSizePixel = 0
  392. GetWood.Position = UDim2.new(0.802693009, 0, 0.383905172, 0)
  393. GetWood.Size = UDim2.new(0, 158, 0, 50)
  394. GetWood.Font = Enum.Font.SourceSans
  395. GetWood.Text = "GetWood"
  396. GetWood.TextColor3 = Color3.new(1, 1, 1)
  397. GetWood.TextSize = 30
  398. GetWood.TextStrokeColor3 = Color3.new(1, 1, 1)
  399. GetWood.TextStrokeTransparency = 0
  400. GetWood.MouseButton1Down:connect(function()
  401.     game.Workspace.Events.Trading.Seller:InvokeServer(0, "Wood", -ValueWood.Text)
  402. end)
  403.  
  404. GetStone.Name = "GetStone"
  405. GetStone.Parent = Main
  406. GetStone.Active = false
  407. GetStone.BackgroundColor3 = Color3.new(1, 1, 1)
  408. GetStone.BackgroundTransparency = 1
  409. GetStone.BorderSizePixel = 0
  410. GetStone.Position = UDim2.new(0.802693009, 0, 0.486912072, 0)
  411. GetStone.Size = UDim2.new(0, 158, 0, 50)
  412. GetStone.Font = Enum.Font.SourceSans
  413. GetStone.Text = "GetStone"
  414. GetStone.TextColor3 = Color3.new(1, 1, 1)
  415. GetStone.TextSize = 30
  416. GetStone.TextStrokeColor3 = Color3.new(1, 1, 1)
  417. GetStone.TextStrokeTransparency = 0
  418. GetStone.MouseButton1Down:connect(function()
  419.     game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Stone", ValueStone.Text , MinedStone)
  420. end)
  421.  
  422. GetIronCrop.Name = "Get Iron+Crop"
  423. GetIronCrop.Parent = Main
  424. GetIronCrop.Active = false
  425. GetIronCrop.BackgroundColor3 = Color3.new(1, 1, 1)
  426. GetIronCrop.BackgroundTransparency = 1
  427. GetIronCrop.BorderSizePixel = 0
  428. GetIronCrop.Position = UDim2.new(0.802693009, 0, 0.590828896, 0)
  429. GetIronCrop.Size = UDim2.new(0, 158, 0, 50)
  430. GetIronCrop.Font = Enum.Font.SourceSans
  431. GetIronCrop.Text = "Get Iron+Crop"
  432. GetIronCrop.TextColor3 = Color3.new(1, 1, 1)
  433. GetIronCrop.TextSize = 30
  434. GetIronCrop.TextStrokeColor3 = Color3.new(1, 1, 1)
  435. GetIronCrop.TextStrokeTransparency = 0
  436. GetIronCrop.MouseButton1Down:connect(function()
  437.     game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Iron", ValueIronCrop.Text , MinedIron)
  438. game.Workspace.Events.ItemPlacing.RewardOrHarvest:InvokeServer("Crops", ValueIronCrop.Text, Crop)
  439.  
  440. end)
  441. -- Script Gui
  442. Main.Active = true
  443. Main.Selectable = true
  444. Main.Draggable = true
  445. --End Line...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement