arfiakbar123

LumberBye me

May 27th, 2019
448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.30 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local shopb = Instance.new("TextButton")
  6. local Frame = Instance.new("Frame")
  7. local Spawn = Instance.new("TextButton")
  8. local NameHere = Instance.new("TextBox")
  9. local TextButton = Instance.new("TextButton")
  10. local Blueprint = Instance.new("TextButton")
  11. local TextLabel = Instance.new("TextLabel")
  12. local TextLabel_2 = Instance.new("TextLabel")
  13. local TextLabel_3 = Instance.new("TextLabel")
  14. local Wood = Instance.new("TextButton")
  15. --Properties:
  16. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17.  
  18. shopb.Name = "shop b"
  19. shopb.Parent = ScreenGui
  20. shopb.BackgroundColor3 = Color3.new(0.164706, 0.176471, 1)
  21. shopb.BorderColor3 = Color3.new(0, 0, 0)
  22. shopb.BorderSizePixel = 4
  23. shopb.Position = UDim2.new(0, 0, 0.247438729, 0)
  24. shopb.Size = UDim2.new(0, 120, 0, 35)
  25. shopb.Modal = true
  26. shopb.Font = Enum.Font.SourceSansBold
  27. shopb.Text = "Close"
  28. shopb.TextColor3 = Color3.new(1, 0.94902, 0.556863)
  29. shopb.TextSize = 36
  30.  
  31. Frame.Parent = ScreenGui
  32. Frame.BackgroundColor3 = Color3.new(0.203922, 0.00392157, 1)
  33. Frame.BorderSizePixel = 4
  34. Frame.Position = UDim2.new(0.22722064, 0, 0.233407587, 0)
  35. Frame.Size = UDim2.new(0, 433, 0, 238)
  36.  
  37. Spawn.Name = "Spawn"
  38. Spawn.Parent = Frame
  39. Spawn.BackgroundColor3 = Color3.new(0, 0.223529, 0.678431)
  40. Spawn.Position = UDim2.new(0.058153607, 0, 0.739186943, 0)
  41. Spawn.Size = UDim2.new(0, 150, 0, 31)
  42. Spawn.Font = Enum.Font.SourceSans
  43. Spawn.Text = "Spawn"
  44. Spawn.TextColor3 = Color3.new(1, 1, 1)
  45. Spawn.TextSize = 24
  46. Spawn.MouseButton1Down:connect(function()
  47. local Item = NameHere.Text
  48. local Quantity = 5
  49.  
  50. local Land = nil
  51. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  52. if v.Owner.Value == game.Players.LocalPlayer then
  53. Land = v
  54. break
  55. end
  56. end
  57. if not Land then
  58. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  59. if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
  60. Land = v
  61. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
  62. break
  63. end
  64. end
  65. end
  66.  
  67. function Spawn(Item)
  68. local Info = {}
  69. Info.Name = Item.Name
  70. Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
  71. Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
  72. local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
  73. game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
  74. end
  75.  
  76. for i=1, Quantity do
  77. Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
  78. end
  79. end)
  80.  
  81. NameHere.Name = "NameHere"
  82. NameHere.Parent = Frame
  83. NameHere.BackgroundColor3 = Color3.new(0.0470588, 0.0470588, 0.0470588)
  84. NameHere.Position = UDim2.new(0.0577367209, 0, 0.478991598, 0)
  85. NameHere.Size = UDim2.new(0, 150, 0, 32)
  86. NameHere.Font = Enum.Font.SourceSans
  87. NameHere.Text = "NameItem"
  88. NameHere.TextColor3 = Color3.new(0.396078, 0.466667, 0.776471)
  89. NameHere.TextSize = 14
  90.  
  91. TextButton.Parent = Frame
  92. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  93. TextButton.Position = UDim2.new(0.812195241, 0, 0.656922042, 0)
  94. TextButton.Size = UDim2.new(0, 66, 0, 50)
  95. TextButton.Font = Enum.Font.SourceSans
  96. TextButton.Text = "ComingSoon"
  97. TextButton.TextColor3 = Color3.new(0, 0, 0)
  98. TextButton.TextSize = 14
  99.  
  100. Blueprint.Name = "Blueprint"
  101. Blueprint.Parent = Frame
  102. Blueprint.BackgroundColor3 = Color3.new(0.0431373, 0.0588235, 1)
  103. Blueprint.Position = UDim2.new(0.458899438, 0, 0.656922042, 0)
  104. Blueprint.Size = UDim2.new(0, 66, 0, 50)
  105. Blueprint.Font = Enum.Font.SourceSans
  106. Blueprint.Text = "Blueprint"
  107. Blueprint.TextColor3 = Color3.new(1, 1, 1)
  108. Blueprint.TextSize = 14
  109. Blueprint.MouseButton1Down:Connect(function()
  110. for i,v in pairs(game.ReplicatedStorage.Purchasables.Structures.BlueprintStructures:GetChildren()) do
  111. local clone = v:Clone()
  112. clone.Parent = game.Players.LocalPlayer.PlayerBlueprints.Blueprints
  113. end
  114. end)
  115.  
  116. TextLabel.Parent = Frame
  117. TextLabel.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  118. TextLabel.Position = UDim2.new(0, 0, -0.00217104354, 0)
  119. TextLabel.Size = UDim2.new(0, 432, 0, 50)
  120. TextLabel.Font = Enum.Font.SourceSans
  121. TextLabel.Text = "LumberTycoon2"
  122. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  123. TextLabel.TextSize = 23
  124.  
  125. TextLabel_2.Parent = Frame
  126. TextLabel_2.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  127. TextLabel_2.Position = UDim2.new(-0.0138568133, 0, 0.99782896, 0)
  128. TextLabel_2.Size = UDim2.new(0, 99, 0, 13)
  129. TextLabel_2.Font = Enum.Font.SourceSans
  130. TextLabel_2.Text = "ArfiakbarYT"
  131. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  132. TextLabel_2.TextSize = 16
  133.  
  134. TextLabel_3.Parent = Frame
  135. TextLabel_3.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  136. TextLabel_3.Position = UDim2.new(0.0184757486, 0, -0.00217103958, 0)
  137. TextLabel_3.Size = UDim2.new(0, 99, 0, 23)
  138. TextLabel_3.Font = Enum.Font.SourceSans
  139. TextLabel_3.Text = "V1"
  140. TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
  141. TextLabel_3.TextSize = 23
  142.  
  143. Wood.Name = "Wood"
  144. Wood.Parent = Frame
  145. Wood.BackgroundColor3 = Color3.new(0.0431373, 0.0588235, 1)
  146. Wood.Position = UDim2.new(0.632109582, 0, 0.656922042, 0)
  147. Wood.Size = UDim2.new(0, 66, 0, 50)
  148. Wood.Font = Enum.Font.SourceSans
  149. Wood.Text = "WoodTools"
  150. Wood.TextColor3 = Color3.new(1, 1, 1)
  151. Wood.TextSize = 14
  152. Wood.MouseButton1Down:Connect(function()
  153. -- Instances:
  154. local ColorPicker = Instance.new("ScreenGui")
  155. local ChangeColor = Instance.new("Frame")
  156. local CurrentColor = Instance.new("ImageButton")
  157. local Picker = Instance.new("ScrollingFrame")
  158. local Birch = Instance.new("ImageButton")
  159. local DropShadow = Instance.new("Frame")
  160. local Grey = Instance.new("ImageButton")
  161. local DropShadow_2 = Instance.new("Frame")
  162. local Walnut = Instance.new("ImageButton")
  163. local DropShadow_3 = Instance.new("Frame")
  164. local Generic = Instance.new("ImageButton")
  165. local DropShadow_4 = Instance.new("Frame")
  166. local Oak = Instance.new("ImageButton")
  167. local DropShadow_5 = Instance.new("Frame")
  168. local Pine = Instance.new("ImageButton")
  169. local DropShadow_6 = Instance.new("Frame")
  170. local Palm = Instance.new("ImageButton")
  171. local DropShadow_7 = Instance.new("Frame")
  172. local Cherry = Instance.new("ImageButton")
  173. local DropShadow_8 = Instance.new("Frame")
  174. local Koa = Instance.new("ImageButton")
  175. local DropShadow_9 = Instance.new("Frame")
  176. local Volcano = Instance.new("ImageButton")
  177. local DropShadow_10 = Instance.new("Frame")
  178. local GreenSwampy = Instance.new("ImageButton")
  179. local DropShadow_11 = Instance.new("Frame")
  180. local GoldSwampy = Instance.new("ImageButton")
  181. local DropShadow_12 = Instance.new("Frame")
  182. local GenericSpecial = Instance.new("ImageButton")
  183. local DropShadow_13 = Instance.new("Frame")
  184. local SnowGlow = Instance.new("ImageButton")
  185. local DropShadow_14 = Instance.new("Frame")
  186. local Frost = Instance.new("ImageButton")
  187. local DropShadow_15 = Instance.new("Frame")
  188. local CaveCrawler = Instance.new("ImageButton")
  189. local DropShadow_16 = Instance.new("Frame")
  190. local LoneCave = Instance.new("ImageButton")
  191. local DropShadow_17 = Instance.new("Frame")
  192. local Spooky = Instance.new("ImageButton")
  193. local DropShadow_18 = Instance.new("Frame")
  194. local SpookyNeon = Instance.new("ImageButton")
  195. local DropShadow_19 = Instance.new("Frame")
  196. --Properties:
  197. ColorPicker.Name = "ColorPicker"
  198. ColorPicker.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  199.  
  200. ChangeColor.Name = "ChangeColor"
  201. ChangeColor.Parent = ColorPicker
  202. ChangeColor.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
  203. ChangeColor.BorderColor3 = Color3.new(0, 0, 0)
  204. ChangeColor.BorderSizePixel = 2
  205. ChangeColor.Position = UDim2.new(0, 10, 1, -110)
  206. ChangeColor.Size = UDim2.new(0, 100, 0, 100)
  207. ChangeColor.ZIndex = 2
  208. ColorPicker.Enabled = false
  209.  
  210. CurrentColor.Name = "CurrentColor"
  211. CurrentColor.Parent = ChangeColor
  212. CurrentColor.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
  213. CurrentColor.BorderColor3 = Color3.new(0, 0, 0)
  214. CurrentColor.BorderSizePixel = 2
  215. CurrentColor.Position = UDim2.new(0, 10, 0, 10)
  216. CurrentColor.Size = UDim2.new(0, 80, 0, 80)
  217. CurrentColor.ZIndex = 2
  218. CurrentColor.Image = "rbxassetid://2712547918"
  219. CurrentColor.ScaleType = Enum.ScaleType.Crop
  220.  
  221. Picker.Name = "Picker"
  222. Picker.Parent = ColorPicker
  223. Picker.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
  224. Picker.BorderColor3 = Color3.new(0, 0, 0)
  225. Picker.BorderSizePixel = 2
  226. Picker.Position = UDim2.new(0, 10, 1, -320)
  227. Picker.Size = UDim2.new(0, 100, 0, 200)
  228. Picker.CanvasPosition = Vector2.new(0, 700)
  229. Picker.CanvasSize = UDim2.new(0, 0, 0, 900)
  230. Picker.ScrollBarThickness = 7
  231. Picker.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
  232. Picker.Visible = false
  233.  
  234. Birch.Name = "Birch"
  235. Birch.Parent = Picker
  236. Birch.BackgroundColor3 = Color3.new(1, 1, 1)
  237. Birch.BorderColor3 = Color3.new(0, 0, 0)
  238. Birch.Position = UDim2.new(0, 10, 0, 5)
  239. Birch.Size = UDim2.new(0, 80, 0, 40)
  240. Birch.ZIndex = 3
  241. Birch.Image = "rbxassetid://2712547918"
  242. Birch.ScaleType = Enum.ScaleType.Crop
  243.  
  244. DropShadow.Name = "DropShadow"
  245. DropShadow.Parent = Birch
  246. DropShadow.BackgroundColor3 = Color3.new(0, 0, 0)
  247. DropShadow.BorderSizePixel = 0
  248. DropShadow.Position = UDim2.new(0, 4, 0, 4)
  249. DropShadow.Size = UDim2.new(1, 0, 1, 0)
  250. DropShadow.ZIndex = 2
  251.  
  252. Grey.Name = "Grey"
  253. Grey.Parent = Picker
  254. Grey.BackgroundColor3 = Color3.new(1, 1, 1)
  255. Grey.BorderColor3 = Color3.new(0, 0, 0)
  256. Grey.Position = UDim2.new(0, 10, 0, 55)
  257. Grey.Size = UDim2.new(0, 80, 0, 40)
  258. Grey.ZIndex = 3
  259. Grey.Image = "rbxassetid://924320031"
  260. Grey.ScaleType = Enum.ScaleType.Crop
  261.  
  262. DropShadow_2.Name = "DropShadow"
  263. DropShadow_2.Parent = Grey
  264. DropShadow_2.BackgroundColor3 = Color3.new(0, 0, 0)
  265. DropShadow_2.BorderSizePixel = 0
  266. DropShadow_2.Position = UDim2.new(0, 4, 0, 4)
  267. DropShadow_2.Size = UDim2.new(1, 0, 1, 0)
  268. DropShadow_2.ZIndex = 2
  269.  
  270. Walnut.Name = "Walnut"
  271. Walnut.Parent = Picker
  272. Walnut.BackgroundColor3 = Color3.new(1, 1, 1)
  273. Walnut.BorderColor3 = Color3.new(0, 0, 0)
  274. Walnut.Position = UDim2.new(0, 10, 0, 105)
  275. Walnut.Size = UDim2.new(0, 80, 0, 40)
  276. Walnut.ZIndex = 3
  277. Walnut.Image = "rbxassetid://2712559790"
  278. Walnut.ScaleType = Enum.ScaleType.Crop
  279.  
  280. DropShadow_3.Name = "DropShadow"
  281. DropShadow_3.Parent = Walnut
  282. DropShadow_3.BackgroundColor3 = Color3.new(0, 0, 0)
  283. DropShadow_3.BorderSizePixel = 0
  284. DropShadow_3.Position = UDim2.new(0, 4, 0, 4)
  285. DropShadow_3.Size = UDim2.new(1, 0, 1, 0)
  286. DropShadow_3.ZIndex = 2
  287.  
  288. Generic.Name = "Generic"
  289. Generic.Parent = Picker
  290. Generic.BackgroundColor3 = Color3.new(1, 1, 1)
  291. Generic.BorderColor3 = Color3.new(0, 0, 0)
  292. Generic.Position = UDim2.new(0, 10, 0, 155)
  293. Generic.Size = UDim2.new(0, 80, 0, 40)
  294. Generic.ZIndex = 3
  295. Generic.Image = "rbxassetid://2712568624"
  296. Generic.ScaleType = Enum.ScaleType.Crop
  297.  
  298. DropShadow_4.Name = "DropShadow"
  299. DropShadow_4.Parent = Generic
  300. DropShadow_4.BackgroundColor3 = Color3.new(0, 0, 0)
  301. DropShadow_4.BorderSizePixel = 0
  302. DropShadow_4.Position = UDim2.new(0, 4, 0, 4)
  303. DropShadow_4.Size = UDim2.new(1, 0, 1, 0)
  304. DropShadow_4.ZIndex = 2
  305.  
  306. Oak.Name = "Oak"
  307. Oak.Parent = Picker
  308. Oak.BackgroundColor3 = Color3.new(1, 1, 1)
  309. Oak.BorderColor3 = Color3.new(0, 0, 0)
  310. Oak.Position = UDim2.new(0, 10, 0, 205)
  311. Oak.Size = UDim2.new(0, 80, 0, 40)
  312. Oak.ZIndex = 3
  313. Oak.Image = "rbxassetid://2712579185"
  314. Oak.ScaleType = Enum.ScaleType.Crop
  315.  
  316. DropShadow_5.Name = "DropShadow"
  317. DropShadow_5.Parent = Oak
  318. DropShadow_5.BackgroundColor3 = Color3.new(0, 0, 0)
  319. DropShadow_5.BorderSizePixel = 0
  320. DropShadow_5.Position = UDim2.new(0, 4, 0, 4)
  321. DropShadow_5.Size = UDim2.new(1, 0, 1, 0)
  322. DropShadow_5.ZIndex = 2
  323.  
  324. Pine.Name = "Pine"
  325. Pine.Parent = Picker
  326. Pine.BackgroundColor3 = Color3.new(1, 1, 1)
  327. Pine.BorderColor3 = Color3.new(0, 0, 0)
  328. Pine.Position = UDim2.new(0, 10, 0, 255)
  329. Pine.Size = UDim2.new(0, 80, 0, 40)
  330. Pine.ZIndex = 3
  331. Pine.Image = "rbxassetid://2712591183"
  332. Pine.ScaleType = Enum.ScaleType.Crop
  333.  
  334. DropShadow_6.Name = "DropShadow"
  335. DropShadow_6.Parent = Pine
  336. DropShadow_6.BackgroundColor3 = Color3.new(0, 0, 0)
  337. DropShadow_6.BorderSizePixel = 0
  338. DropShadow_6.Position = UDim2.new(0, 4, 0, 4)
  339. DropShadow_6.Size = UDim2.new(1, 0, 1, 0)
  340. DropShadow_6.ZIndex = 2
  341.  
  342. Palm.Name = "Palm"
  343. Palm.Parent = Picker
  344. Palm.BackgroundColor3 = Color3.new(1, 1, 1)
  345. Palm.BorderColor3 = Color3.new(0, 0, 0)
  346. Palm.Position = UDim2.new(0, 10, 0, 305)
  347. Palm.Size = UDim2.new(0, 80, 0, 40)
  348. Palm.ZIndex = 3
  349. Palm.Image = "rbxassetid://2712597395"
  350. Palm.ScaleType = Enum.ScaleType.Crop
  351.  
  352. DropShadow_7.Name = "DropShadow"
  353. DropShadow_7.Parent = Palm
  354. DropShadow_7.BackgroundColor3 = Color3.new(0, 0, 0)
  355. DropShadow_7.BorderSizePixel = 0
  356. DropShadow_7.Position = UDim2.new(0, 4, 0, 4)
  357. DropShadow_7.Size = UDim2.new(1, 0, 1, 0)
  358. DropShadow_7.ZIndex = 2
  359.  
  360. Cherry.Name = "Cherry"
  361. Cherry.Parent = Picker
  362. Cherry.BackgroundColor3 = Color3.new(1, 1, 1)
  363. Cherry.BorderColor3 = Color3.new(0, 0, 0)
  364. Cherry.Position = UDim2.new(0, 10, 0, 355)
  365. Cherry.Size = UDim2.new(0, 80, 0, 40)
  366. Cherry.ZIndex = 3
  367. Cherry.Image = "rbxassetid://2712608599"
  368. Cherry.ScaleType = Enum.ScaleType.Crop
  369.  
  370. DropShadow_8.Name = "DropShadow"
  371. DropShadow_8.Parent = Cherry
  372. DropShadow_8.BackgroundColor3 = Color3.new(0, 0, 0)
  373. DropShadow_8.BorderSizePixel = 0
  374. DropShadow_8.Position = UDim2.new(0, 4, 0, 4)
  375. DropShadow_8.Size = UDim2.new(1, 0, 1, 0)
  376. DropShadow_8.ZIndex = 2
  377.  
  378. Koa.Name = "Koa"
  379. Koa.Parent = Picker
  380. Koa.BackgroundColor3 = Color3.new(1, 1, 1)
  381. Koa.BorderColor3 = Color3.new(0, 0, 0)
  382. Koa.Position = UDim2.new(0, 10, 0, 355)
  383. Koa.Size = UDim2.new(0, 80, 0, 40)
  384. Koa.ZIndex = 3
  385. Koa.Image = "rbxassetid://2712612798"
  386. Koa.ScaleType = Enum.ScaleType.Crop
  387.  
  388. DropShadow_9.Name = "DropShadow"
  389. DropShadow_9.Parent = Koa
  390. DropShadow_9.BackgroundColor3 = Color3.new(0, 0, 0)
  391. DropShadow_9.BorderSizePixel = 0
  392. DropShadow_9.Position = UDim2.new(0, 4, 0, 4)
  393. DropShadow_9.Size = UDim2.new(1, 0, 1, 0)
  394. DropShadow_9.ZIndex = 2
  395.  
  396. Volcano.Name = "Volcano"
  397. Volcano.Parent = Picker
  398. Volcano.BackgroundColor3 = Color3.new(1, 1, 1)
  399. Volcano.BorderColor3 = Color3.new(0, 0, 0)
  400. Volcano.Position = UDim2.new(0, 10, 0, 405)
  401. Volcano.Size = UDim2.new(0, 80, 0, 40)
  402. Volcano.ZIndex = 3
  403. Volcano.Image = "rbxassetid://2712618609"
  404. Volcano.ScaleType = Enum.ScaleType.Crop
  405.  
  406. DropShadow_10.Name = "DropShadow"
  407. DropShadow_10.Parent = Volcano
  408. DropShadow_10.BackgroundColor3 = Color3.new(0, 0, 0)
  409. DropShadow_10.BorderSizePixel = 0
  410. DropShadow_10.Position = UDim2.new(0, 4, 0, 4)
  411. DropShadow_10.Size = UDim2.new(1, 0, 1, 0)
  412. DropShadow_10.ZIndex = 2
  413.  
  414. GreenSwampy.Name = "GreenSwampy"
  415. GreenSwampy.Parent = Picker
  416. GreenSwampy.BackgroundColor3 = Color3.new(1, 1, 1)
  417. GreenSwampy.BorderColor3 = Color3.new(0, 0, 0)
  418. GreenSwampy.Position = UDim2.new(0, 10, 0, 455)
  419. GreenSwampy.Size = UDim2.new(0, 80, 0, 40)
  420. GreenSwampy.ZIndex = 3
  421. GreenSwampy.Image = "rbxassetid://2712623896"
  422. GreenSwampy.ScaleType = Enum.ScaleType.Crop
  423.  
  424. DropShadow_11.Name = "DropShadow"
  425. DropShadow_11.Parent = GreenSwampy
  426. DropShadow_11.BackgroundColor3 = Color3.new(0, 0, 0)
  427. DropShadow_11.BorderSizePixel = 0
  428. DropShadow_11.Position = UDim2.new(0, 4, 0, 4)
  429. DropShadow_11.Size = UDim2.new(1, 0, 1, 0)
  430. DropShadow_11.ZIndex = 2
  431.  
  432. GoldSwampy.Name = "GoldSwampy"
  433. GoldSwampy.Parent = Picker
  434. GoldSwampy.BackgroundColor3 = Color3.new(1, 1, 1)
  435. GoldSwampy.BorderColor3 = Color3.new(0, 0, 0)
  436. GoldSwampy.Position = UDim2.new(0, 10, 0, 505)
  437. GoldSwampy.Size = UDim2.new(0, 80, 0, 40)
  438. GoldSwampy.ZIndex = 3
  439. GoldSwampy.Image = "rbxassetid://2712631457"
  440. GoldSwampy.ScaleType = Enum.ScaleType.Crop
  441.  
  442. DropShadow_12.Name = "DropShadow"
  443. DropShadow_12.Parent = GoldSwampy
  444. DropShadow_12.BackgroundColor3 = Color3.new(0, 0, 0)
  445. DropShadow_12.BorderSizePixel = 0
  446. DropShadow_12.Position = UDim2.new(0, 4, 0, 4)
  447. DropShadow_12.Size = UDim2.new(1, 0, 1, 0)
  448. DropShadow_12.ZIndex = 2
  449.  
  450. GenericSpecial.Name = "GenericSpecial"
  451. GenericSpecial.Parent = Picker
  452. GenericSpecial.BackgroundColor3 = Color3.new(1, 1, 1)
  453. GenericSpecial.BorderColor3 = Color3.new(0, 0, 0)
  454. GenericSpecial.Position = UDim2.new(0, 10, 0, 555)
  455. GenericSpecial.Size = UDim2.new(0, 80, 0, 40)
  456. GenericSpecial.ZIndex = 3
  457. GenericSpecial.Image = "rbxassetid://2712639396"
  458. GenericSpecial.ScaleType = Enum.ScaleType.Crop
  459.  
  460. DropShadow_13.Name = "DropShadow"
  461. DropShadow_13.Parent = GenericSpecial
  462. DropShadow_13.BackgroundColor3 = Color3.new(0, 0, 0)
  463. DropShadow_13.BorderSizePixel = 0
  464. DropShadow_13.Position = UDim2.new(0, 4, 0, 4)
  465. DropShadow_13.Size = UDim2.new(1, 0, 1, 0)
  466. DropShadow_13.ZIndex = 2
  467.  
  468. SnowGlow.Name = "SnowGlow"
  469. SnowGlow.Parent = Picker
  470. SnowGlow.BackgroundColor3 = Color3.new(1, 1, 1)
  471. SnowGlow.BorderColor3 = Color3.new(0, 0, 0)
  472. SnowGlow.Position = UDim2.new(0, 10, 0, 605)
  473. SnowGlow.Size = UDim2.new(0, 80, 0, 40)
  474. SnowGlow.ZIndex = 3
  475. SnowGlow.Image = "rbxassetid://2712651454"
  476. SnowGlow.ScaleType = Enum.ScaleType.Crop
  477.  
  478. DropShadow_14.Name = "DropShadow"
  479. DropShadow_14.Parent = SnowGlow
  480. DropShadow_14.BackgroundColor3 = Color3.new(0, 0, 0)
  481. DropShadow_14.BorderSizePixel = 0
  482. DropShadow_14.Position = UDim2.new(0, 4, 0, 4)
  483. DropShadow_14.Size = UDim2.new(1, 0, 1, 0)
  484. DropShadow_14.ZIndex = 2
  485.  
  486. Frost.Name = "Frost"
  487. Frost.Parent = Picker
  488. Frost.BackgroundColor3 = Color3.new(1, 1, 1)
  489. Frost.BorderColor3 = Color3.new(0, 0, 0)
  490. Frost.Position = UDim2.new(0, 10, 0, 655)
  491. Frost.Size = UDim2.new(0, 80, 0, 40)
  492. Frost.ZIndex = 3
  493. Frost.Image = "rbxassetid://2712667804"
  494. Frost.ScaleType = Enum.ScaleType.Crop
  495.  
  496. DropShadow_15.Name = "DropShadow"
  497. DropShadow_15.Parent = Frost
  498. DropShadow_15.BackgroundColor3 = Color3.new(0, 0, 0)
  499. DropShadow_15.BorderSizePixel = 0
  500. DropShadow_15.Position = UDim2.new(0, 4, 0, 4)
  501. DropShadow_15.Size = UDim2.new(1, 0, 1, 0)
  502. DropShadow_15.ZIndex = 2
  503.  
  504. CaveCrawler.Name = "CaveCrawler"
  505. CaveCrawler.Parent = Picker
  506. CaveCrawler.BackgroundColor3 = Color3.new(1, 1, 1)
  507. CaveCrawler.BorderColor3 = Color3.new(0, 0, 0)
  508. CaveCrawler.Position = UDim2.new(0, 10, 0, 705)
  509. CaveCrawler.Size = UDim2.new(0, 80, 0, 40)
  510. CaveCrawler.ZIndex = 3
  511. CaveCrawler.Image = "rbxassetid://2712673980"
  512. CaveCrawler.ScaleType = Enum.ScaleType.Crop
  513.  
  514. DropShadow_16.Name = "DropShadow"
  515. DropShadow_16.Parent = CaveCrawler
  516. DropShadow_16.BackgroundColor3 = Color3.new(0, 0, 0)
  517. DropShadow_16.BorderSizePixel = 0
  518. DropShadow_16.Position = UDim2.new(0, 4, 0, 4)
  519. DropShadow_16.Size = UDim2.new(1, 0, 1, 0)
  520. DropShadow_16.ZIndex = 2
  521.  
  522. LoneCave.Name = "LoneCave"
  523. LoneCave.Parent = Picker
  524. LoneCave.BackgroundColor3 = Color3.new(1, 1, 1)
  525. LoneCave.BorderColor3 = Color3.new(0, 0, 0)
  526. LoneCave.Position = UDim2.new(0, 10, 0, 755)
  527. LoneCave.Size = UDim2.new(0, 80, 0, 40)
  528. LoneCave.ZIndex = 3
  529. LoneCave.Image = "rbxassetid://2712693147"
  530. LoneCave.ScaleType = Enum.ScaleType.Crop
  531.  
  532. DropShadow_17.Name = "DropShadow"
  533. DropShadow_17.Parent = LoneCave
  534. DropShadow_17.BackgroundColor3 = Color3.new(0, 0, 0)
  535. DropShadow_17.BorderSizePixel = 0
  536. DropShadow_17.Position = UDim2.new(0, 4, 0, 4)
  537. DropShadow_17.Size = UDim2.new(1, 0, 1, 0)
  538. DropShadow_17.ZIndex = 2
  539.  
  540. Spooky.Name = "Spooky"
  541. Spooky.Parent = Picker
  542. Spooky.BackgroundColor3 = Color3.new(1, 1, 1)
  543. Spooky.BorderColor3 = Color3.new(0, 0, 0)
  544. Spooky.Position = UDim2.new(0, 10, 0, 805)
  545. Spooky.Size = UDim2.new(0, 80, 0, 40)
  546. Spooky.ZIndex = 3
  547. Spooky.Image = "rbxassetid://2712696822"
  548. Spooky.ScaleType = Enum.ScaleType.Crop
  549.  
  550. DropShadow_18.Name = "DropShadow"
  551. DropShadow_18.Parent = Spooky
  552. DropShadow_18.BackgroundColor3 = Color3.new(0, 0, 0)
  553. DropShadow_18.BorderSizePixel = 0
  554. DropShadow_18.Position = UDim2.new(0, 4, 0, 4)
  555. DropShadow_18.Size = UDim2.new(1, 0, 1, 0)
  556. DropShadow_18.ZIndex = 2
  557.  
  558. SpookyNeon.Name = "SpookyNeon"
  559. SpookyNeon.Parent = Picker
  560. SpookyNeon.BackgroundColor3 = Color3.new(1, 1, 1)
  561. SpookyNeon.BorderColor3 = Color3.new(0, 0, 0)
  562. SpookyNeon.Position = UDim2.new(0, 10, 0, 855)
  563. SpookyNeon.Size = UDim2.new(0, 80, 0, 40)
  564. SpookyNeon.ZIndex = 3
  565. SpookyNeon.Image = "rbxassetid://2712700047"
  566. SpookyNeon.ScaleType = Enum.ScaleType.Crop
  567.  
  568. DropShadow_19.Name = "DropShadow"
  569. DropShadow_19.Parent = SpookyNeon
  570. DropShadow_19.BackgroundColor3 = Color3.new(0, 0, 0)
  571. DropShadow_19.BorderSizePixel = 0
  572. DropShadow_19.Position = UDim2.new(0, 4, 0, 4)
  573. DropShadow_19.Size = UDim2.new(1, 0, 1, 0)
  574. DropShadow_19.ZIndex = 2
  575. -- Scripts:
  576. woodtype = "Birch"
  577.  
  578. local tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  579. tool.RequiresHandle = false
  580. --tool.RobloxLocked = true
  581. tool.Name = "Paint"
  582. tool.ToolTip = "Changes A Stucture's Wood Type"
  583. tool.Equipped:connect(function(Mouse)
  584. ColorPicker.Enabled = true
  585. Mouse.Button1Down:connect(function()
  586. if Mouse.Target.Parent:FindFirstChild("Type") or Mouse.Target.Parent:FindFirstChild("BlueprintWoodClass") then
  587. local Cframe
  588. if Mouse.Target.Parent:FindFirstChild("MainCFrame") then
  589. Cframe = Mouse.Target.Parent.MainCFrame.Value
  590. else
  591. Cframe = Mouse.Target.Parent.PrimaryPart.CFrame
  592. end
  593. if Mouse.Target.Parent ~= nil then
  594. game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(Mouse.Target.Parent.ItemName.Value, Cframe, game.Players.LocalPlayer, woodtype, Mouse.Target.Parent, false)
  595. end
  596. else
  597. --do nothing
  598. end
  599. end)
  600. end)
  601.  
  602. tool.Unequipped:connect(function(mouse)
  603. ColorPicker.Enabled = false
  604. end)
  605.  
  606.  
  607. Birch.MouseButton1Click:Connect(function()
  608. CurrentColor.Image = Birch.Image
  609. woodtype = "Birch"
  610. end)
  611.  
  612. Grey.MouseButton1Click:Connect(function()
  613. CurrentColor.Image = Grey.Image
  614. woodtype = nil
  615. end)
  616.  
  617. Walnut.MouseButton1Click:Connect(function()
  618. CurrentColor.Image = Walnut.Image
  619. woodtype = "Walnut"
  620. end)
  621.  
  622. Generic.MouseButton1Click:Connect(function()
  623. CurrentColor.Image = Generic.Image
  624. woodtype = "Generic"
  625. end)
  626.  
  627. Oak.MouseButton1Click:Connect(function()
  628. CurrentColor.Image = Oak.Image
  629. woodtype = "Oak"
  630. end)
  631.  
  632. Pine.MouseButton1Click:Connect(function()
  633. CurrentColor.Image = Pine.Image
  634. woodtype = "Pine"
  635. end)
  636.  
  637. Palm.MouseButton1Click:Connect(function()
  638. CurrentColor.Image = Palm.Image
  639. woodtype = "Palm"
  640. end)
  641.  
  642. Koa.MouseButton1Click:Connect(function()
  643. CurrentColor.Image = Koa.Image
  644. woodtype = "Koa"
  645. end)
  646.  
  647. Volcano.MouseButton1Click:Connect(function()
  648. CurrentColor.Image = Volcano.Image
  649. woodtype = "Volcano"
  650. end)
  651.  
  652. GreenSwampy.MouseButton1Click:Connect(function()
  653. CurrentColor.Image = GreenSwampy.Image
  654. woodtype = "GreenSwampy"
  655. end)
  656.  
  657. GoldSwampy.MouseButton1Click:Connect(function()
  658. CurrentColor.Image = GoldSwampy.Image
  659. woodtype = "GoldSwampy"
  660. end)
  661.  
  662. GenericSpecial.MouseButton1Click:Connect(function()
  663. CurrentColor.Image = GenericSpecial.Image
  664. woodtype = "GenericSpecial"
  665. end)
  666.  
  667. SnowGlow.MouseButton1Click:Connect(function()
  668. CurrentColor.Image = SnowGlow.Image
  669. woodtype = "SnowGlow"
  670. end)
  671.  
  672. Frost.MouseButton1Click:Connect(function()
  673. CurrentColor.Image = Frost.Image
  674. woodtype = "Frost"
  675. end)
  676.  
  677. CaveCrawler.MouseButton1Click:Connect(function()
  678. CurrentColor.Image = CaveCrawler.Image
  679. woodtype = "CaveCrawler"
  680. end)
  681.  
  682. LoneCave.MouseButton1Click:Connect(function()
  683. CurrentColor.Image = LoneCave.Image
  684. woodtype = "LoneCave"
  685. end)
  686.  
  687. Spooky.MouseButton1Click:Connect(function()
  688. CurrentColor.Image = Spooky.Image
  689. woodtype = "Spooky"
  690. end)
  691.  
  692. SpookyNeon.MouseButton1Click:Connect(function()
  693. CurrentColor.Image = SpookyNeon.Image
  694. woodtype = "SpookyNeon"
  695. end)
  696.  
  697. --bring up menu
  698. CurrentColor.MouseButton1Click:Connect(function()
  699. if Picker.Visible == false then
  700. Picker.Visible = true
  701. else
  702. Picker.Visible = false
  703. end
  704. end)
  705.  
  706. end)
  707. -- Scripts:
  708. function SCRIPT_OBEM70_FAKESCRIPT() -- shopb.Script
  709. local script = Instance.new('Script')
  710. script.Parent = shopb
  711.  
  712. state = true
  713. f = script.Parent.Parent.Frame
  714. f.Visible = false
  715.  
  716.  
  717. function click()
  718. if state == true then
  719. print "Shop gui where used"
  720. script.Parent.Text = "EXIT"
  721. f.Visible = true
  722. state = false
  723. else
  724. print "Shop gui where used"
  725. script.Parent.Text = "Open"
  726. f.Visible = false
  727. state = true
  728. end
  729. end
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740. script.Parent.MouseButton1Down:connect(click)
  741.  
  742. end
  743. coroutine.resume(coroutine.create(SCRIPT_OBEM70_FAKESCRIPT))
  744. function SCRIPT_QZHC84_FAKESCRIPT() -- ScreenGui.any questions on setting up?
  745. local script = Instance.new('Script')
  746. script.Parent = ScreenGui
  747. --[[
  748. Watch my youtube toutorial on how to
  749. setup a item in the store!
  750.  
  751. Link :
  752. https://www.youtube.com/watch?v=xx0u8g5PSsM&feature=youtu.be
  753.  
  754.  
  755. --]]
  756. local message = Instance.new('Message', game.Workspace)
  757. message.Text = "ArfiAkbarYT"
  758. wait(2)
  759. message:Destroy()
  760.  
  761. function onPlayerEntered(newPlayer)
  762. local message = Instance.new('Message', game.Workspace)
  763. message.Text = "By ArfiAkbarYT"
  764. wait(2)
  765. message:Destroy()
  766. end
  767.  
  768. game.Players.ChildAdded:connect(onPlayerEntered)
  769.  
  770. end
  771. coroutine.resume(coroutine.create(SCRIPT_QZHC84_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment