Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.56 KB | None | 0 0
  1. )
  2. local ChangeColor = Instance.new("Frame")
  3. local CurrentColor = Instance.new("ImageButton")
  4. local Picker = Instance.new("ScrollingFrame")
  5. local Birch = Instance.new("ImageButton")
  6. local DropShadow = Instance.new("Frame")
  7. local Grey = Instance.new("ImageButton")
  8. local DropShadow_2 = Instance.new("Frame")
  9. local Walnut = Instance.new("ImageButton")
  10. local DropShadow_3 = Instance.new("Frame")
  11. local Generic = Instance.new("ImageButton")
  12. local DropShadow_4 = Instance.new("Frame")
  13. local Oak = Instance.new("ImageButton")
  14. local DropShadow_5 = Instance.new("Frame")
  15. local Pine = Instance.new("ImageButton")
  16. local DropShadow_6 = Instance.new("Frame")
  17. local Palm = Instance.new("ImageButton")
  18. local DropShadow_7 = Instance.new("Frame")
  19. local Cherry = Instance.new("ImageButton")
  20. local DropShadow_8 = Instance.new("Frame")
  21. local Koa = Instance.new("ImageButton")
  22. local DropShadow_9 = Instance.new("Frame")
  23. local Volcano = Instance.new("ImageButton")
  24. local DropShadow_10 = Instance.new("Frame")
  25. local GreenSwampy = Instance.new("ImageButton")
  26. local DropShadow_11 = Instance.new("Frame")
  27. local GoldSwampy = Instance.new("ImageButton")
  28. local DropShadow_12 = Instance.new("Frame")
  29. local GenericSpecial = Instance.new("ImageButton")
  30. local DropShadow_13 = Instance.new("Frame")
  31. local SnowGlow = Instance.new("ImageButton")
  32. local DropShadow_14 = Instance.new("Frame")
  33. local Frost = Instance.new("ImageButton")
  34. local DropShadow_15 = Instance.new("Frame")
  35. local CaveCrawler = Instance.new("ImageButton")
  36. local DropShadow_16 = Instance.new("Frame")
  37. local LoneCave = Instance.new("ImageButton")
  38. local DropShadow_17 = Instance.new("Frame")
  39. local Spooky = Instance.new("ImageButton")
  40. local DropShadow_18 = Instance.new("Frame")
  41. local SpookyNeon = Instance.new("ImageButton")
  42. local DropShadow_19 = Instance.new("Frame")
  43. --Properties:
  44. ColorPicker.Name = "ColorPicker"
  45. ColorPicker.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  46.  
  47. ChangeColor.Name = "ChangeColor"
  48. ChangeColor.Parent = ColorPicker
  49. ChangeColor.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
  50. ChangeColor.BorderColor3 = Color3.new(0, 0, 0)
  51. ChangeColor.BorderSizePixel = 2
  52. ChangeColor.Position = UDim2.new(0, 10, 1, -110)
  53. ChangeColor.Size = UDim2.new(0, 100, 0, 100)
  54. ChangeColor.ZIndex = 2
  55. ColorPicker.Enabled = false
  56.  
  57. CurrentColor.Name = "CurrentColor"
  58. CurrentColor.Parent = ChangeColor
  59. CurrentColor.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
  60. CurrentColor.BorderColor3 = Color3.new(0, 0, 0)
  61. CurrentColor.BorderSizePixel = 2
  62. CurrentColor.Position = UDim2.new(0, 10, 0, 10)
  63. CurrentColor.Size = UDim2.new(0, 80, 0, 80)
  64. CurrentColor.ZIndex = 2
  65. CurrentColor.Image = "rbxassetid://2712547918"
  66. CurrentColor.ScaleType = Enum.ScaleType.Crop
  67.  
  68. Picker.Name = "Picker"
  69. Picker.Parent = ColorPicker
  70. Picker.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
  71. Picker.BorderColor3 = Color3.new(0, 0, 0)
  72. Picker.BorderSizePixel = 2
  73. Picker.Position = UDim2.new(0, 10, 1, -320)
  74. Picker.Size = UDim2.new(0, 100, 0, 200)
  75. Picker.CanvasPosition = Vector2.new(0, 700)
  76. Picker.CanvasSize = UDim2.new(0, 0, 0, 900)
  77. Picker.ScrollBarThickness = 7
  78. Picker.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
  79. Picker.Visible = false
  80.  
  81. Birch.Name = "Birch"
  82. Birch.Parent = Picker
  83. Birch.BackgroundColor3 = Color3.new(1, 1, 1)
  84. Birch.BorderColor3 = Color3.new(0, 0, 0)
  85. Birch.Position = UDim2.new(0, 10, 0, 5)
  86. Birch.Size = UDim2.new(0, 80, 0, 40)
  87. Birch.ZIndex = 3
  88. Birch.Image = "rbxassetid://2712547918"
  89. Birch.ScaleType = Enum.ScaleType.Crop
  90.  
  91. DropShadow.Name = "DropShadow"
  92. DropShadow.Parent = Birch
  93. DropShadow.BackgroundColor3 = Color3.new(0, 0, 0)
  94. DropShadow.BorderSizePixel = 0
  95. DropShadow.Position = UDim2.new(0, 4, 0, 4)
  96. DropShadow.Size = UDim2.new(1, 0, 1, 0)
  97. DropShadow.ZIndex = 2
  98.  
  99. Grey.Name = "Grey"
  100. Grey.Parent = Picker
  101. Grey.BackgroundColor3 = Color3.new(1, 1, 1)
  102. Grey.BorderColor3 = Color3.new(0, 0, 0)
  103. Grey.Position = UDim2.new(0, 10, 0, 55)
  104. Grey.Size = UDim2.new(0, 80, 0, 40)
  105. Grey.ZIndex = 3
  106. Grey.Image = "rbxassetid://924320031"
  107. Grey.ScaleType = Enum.ScaleType.Crop
  108.  
  109. DropShadow_2.Name = "DropShadow"
  110. DropShadow_2.Parent = Grey
  111. DropShadow_2.BackgroundColor3 = Color3.new(0, 0, 0)
  112. DropShadow_2.BorderSizePixel = 0
  113. DropShadow_2.Position = UDim2.new(0, 4, 0, 4)
  114. DropShadow_2.Size = UDim2.new(1, 0, 1, 0)
  115. DropShadow_2.ZIndex = 2
  116.  
  117. Walnut.Name = "Walnut"
  118. Walnut.Parent = Picker
  119. Walnut.BackgroundColor3 = Color3.new(1, 1, 1)
  120. Walnut.BorderColor3 = Color3.new(0, 0, 0)
  121. Walnut.Position = UDim2.new(0, 10, 0, 105)
  122. Walnut.Size = UDim2.new(0, 80, 0, 40)
  123. Walnut.ZIndex = 3
  124. Walnut.Image = "rbxassetid://2712559790"
  125. Walnut.ScaleType = Enum.ScaleType.Crop
  126.  
  127. DropShadow_3.Name = "DropShadow"
  128. DropShadow_3.Parent = Walnut
  129. DropShadow_3.BackgroundColor3 = Color3.new(0, 0, 0)
  130. DropShadow_3.BorderSizePixel = 0
  131. DropShadow_3.Position = UDim2.new(0, 4, 0, 4)
  132. DropShadow_3.Size = UDim2.new(1, 0, 1, 0)
  133. DropShadow_3.ZIndex = 2
  134.  
  135. Generic.Name = "Generic"
  136. Generic.Parent = Picker
  137. Generic.BackgroundColor3 = Color3.new(1, 1, 1)
  138. Generic.BorderColor3 = Color3.new(0, 0, 0)
  139. Generic.Position = UDim2.new(0, 10, 0, 155)
  140. Generic.Size = UDim2.new(0, 80, 0, 40)
  141. Generic.ZIndex = 3
  142. Generic.Image = "rbxassetid://2712568624"
  143. Generic.ScaleType = Enum.ScaleType.Crop
  144.  
  145. DropShadow_4.Name = "DropShadow"
  146. DropShadow_4.Parent = Generic
  147. DropShadow_4.BackgroundColor3 = Color3.new(0, 0, 0)
  148. DropShadow_4.BorderSizePixel = 0
  149. DropShadow_4.Position = UDim2.new(0, 4, 0, 4)
  150. DropShadow_4.Size = UDim2.new(1, 0, 1, 0)
  151. DropShadow_4.ZIndex = 2
  152.  
  153. Oak.Name = "Oak"
  154. Oak.Parent = Picker
  155. Oak.BackgroundColor3 = Color3.new(1, 1, 1)
  156. Oak.BorderColor3 = Color3.new(0, 0, 0)
  157. Oak.Position = UDim2.new(0, 10, 0, 205)
  158. Oak.Size = UDim2.new(0, 80, 0, 40)
  159. Oak.ZIndex = 3
  160. Oak.Image = "rbxassetid://2712579185"
  161. Oak.ScaleType = Enum.ScaleType.Crop
  162.  
  163. DropShadow_5.Name = "DropShadow"
  164. DropShadow_5.Parent = Oak
  165. DropShadow_5.BackgroundColor3 = Color3.new(0, 0, 0)
  166. DropShadow_5.BorderSizePixel = 0
  167. DropShadow_5.Position = UDim2.new(0, 4, 0, 4)
  168. DropShadow_5.Size = UDim2.new(1, 0, 1, 0)
  169. DropShadow_5.ZIndex = 2
  170.  
  171. Pine.Name = "Pine"
  172. Pine.Parent = Picker
  173. Pine.BackgroundColor3 = Color3.new(1, 1, 1)
  174. Pine.BorderColor3 = Color3.new(0, 0, 0)
  175. Pine.Position = UDim2.new(0, 10, 0, 255)
  176. Pine.Size = UDim2.new(0, 80, 0, 40)
  177. Pine.ZIndex = 3
  178. Pine.Image = "rbxassetid://2712591183"
  179. Pine.ScaleType = Enum.ScaleType.Crop
  180.  
  181. DropShadow_6.Name = "DropShadow"
  182. DropShadow_6.Parent = Pine
  183. DropShadow_6.BackgroundColor3 = Color3.new(0, 0, 0)
  184. DropShadow_6.BorderSizePixel = 0
  185. DropShadow_6.Position = UDim2.new(0, 4, 0, 4)
  186. DropShadow_6.Size = UDim2.new(1, 0, 1, 0)
  187. DropShadow_6.ZIndex = 2
  188.  
  189. Palm.Name = "Palm"
  190. Palm.Parent = Picker
  191. Palm.BackgroundColor3 = Color3.new(1, 1, 1)
  192. Palm.BorderColor3 = Color3.new(0, 0, 0)
  193. Palm.Position = UDim2.new(0, 10, 0, 305)
  194. Palm.Size = UDim2.new(0, 80, 0, 40)
  195. Palm.ZIndex = 3
  196. Palm.Image = "rbxassetid://2712597395"
  197. Palm.ScaleType = Enum.ScaleType.Crop
  198.  
  199. DropShadow_7.Name = "DropShadow"
  200. DropShadow_7.Parent = Palm
  201. DropShadow_7.BackgroundColor3 = Color3.new(0, 0, 0)
  202. DropShadow_7.BorderSizePixel = 0
  203. DropShadow_7.Position = UDim2.new(0, 4, 0, 4)
  204. DropShadow_7.Size = UDim2.new(1, 0, 1, 0)
  205. DropShadow_7.ZIndex = 2
  206.  
  207. Cherry.Name = "Cherry"
  208. Cherry.Parent = Picker
  209. Cherry.BackgroundColor3 = Color3.new(1, 1, 1)
  210. Cherry.BorderColor3 = Color3.new(0, 0, 0)
  211. Cherry.Position = UDim2.new(0, 10, 0, 355)
  212. Cherry.Size = UDim2.new(0, 80, 0, 40)
  213. Cherry.ZIndex = 3
  214. Cherry.Image = "rbxassetid://2712608599"
  215. Cherry.ScaleType = Enum.ScaleType.Crop
  216.  
  217. DropShadow_8.Name = "DropShadow"
  218. DropShadow_8.Parent = Cherry
  219. DropShadow_8.BackgroundColor3 = Color3.new(0, 0, 0)
  220. DropShadow_8.BorderSizePixel = 0
  221. DropShadow_8.Position = UDim2.new(0, 4, 0, 4)
  222. DropShadow_8.Size = UDim2.new(1, 0, 1, 0)
  223. DropShadow_8.ZIndex = 2
  224.  
  225. Koa.Name = "Koa"
  226. Koa.Parent = Picker
  227. Koa.BackgroundColor3 = Color3.new(1, 1, 1)
  228. Koa.BorderColor3 = Color3.new(0, 0, 0)
  229. Koa.Position = UDim2.new(0, 10, 0, 355)
  230. Koa.Size = UDim2.new(0, 80, 0, 40)
  231. Koa.ZIndex = 3
  232. Koa.Image = "rbxassetid://2712612798"
  233. Koa.ScaleType = Enum.ScaleType.Crop
  234.  
  235. DropShadow_9.Name = "DropShadow"
  236. DropShadow_9.Parent = Koa
  237. DropShadow_9.BackgroundColor3 = Color3.new(0, 0, 0)
  238. DropShadow_9.BorderSizePixel = 0
  239. DropShadow_9.Position = UDim2.new(0, 4, 0, 4)
  240. DropShadow_9.Size = UDim2.new(1, 0, 1, 0)
  241. DropShadow_9.ZIndex = 2
  242.  
  243. Volcano.Name = "Volcano"
  244. Volcano.Parent = Picker
  245. Volcano.BackgroundColor3 = Color3.new(1, 1, 1)
  246. Volcano.BorderColor3 = Color3.new(0, 0, 0)
  247. Volcano.Position = UDim2.new(0, 10, 0, 405)
  248. Volcano.Size = UDim2.new(0, 80, 0, 40)
  249. Volcano.ZIndex = 3
  250. Volcano.Image = "rbxassetid://2712618609"
  251. Volcano.ScaleType = Enum.ScaleType.Crop
  252.  
  253. DropShadow_10.Name = "DropShadow"
  254. DropShadow_10.Parent = Volcano
  255. DropShadow_10.BackgroundColor3 = Color3.new(0, 0, 0)
  256. DropShadow_10.BorderSizePixel = 0
  257. DropShadow_10.Position = UDim2.new(0, 4, 0, 4)
  258. DropShadow_10.Size = UDim2.new(1, 0, 1, 0)
  259. DropShadow_10.ZIndex = 2
  260.  
  261. GreenSwampy.Name = "GreenSwampy"
  262. GreenSwampy.Parent = Picker
  263. GreenSwampy.BackgroundColor3 = Color3.new(1, 1, 1)
  264. GreenSwampy.BorderColor3 = Color3.new(0, 0, 0)
  265. GreenSwampy.Position = UDim2.new(0, 10, 0, 455)
  266. GreenSwampy.Size = UDim2.new(0, 80, 0, 40)
  267. GreenSwampy.ZIndex = 3
  268. GreenSwampy.Image = "rbxassetid://2712623896"
  269. GreenSwampy.ScaleType = Enum.ScaleType.Crop
  270.  
  271. DropShadow_11.Name = "DropShadow"
  272. DropShadow_11.Parent = GreenSwampy
  273. DropShadow_11.BackgroundColor3 = Color3.new(0, 0, 0)
  274. DropShadow_11.BorderSizePixel = 0
  275. DropShadow_11.Position = UDim2.new(0, 4, 0, 4)
  276. DropShadow_11.Size = UDim2.new(1, 0, 1, 0)
  277. DropShadow_11.ZIndex = 2
  278.  
  279. GoldSwampy.Name = "GoldSwampy"
  280. GoldSwampy.Parent = Picker
  281. GoldSwampy.BackgroundColor3 = Color3.new(1, 1, 1)
  282. GoldSwampy.BorderColor3 = Color3.new(0, 0, 0)
  283. GoldSwampy.Position = UDim2.new(0, 10, 0, 505)
  284. GoldSwampy.Size = UDim2.new(0, 80, 0, 40)
  285. GoldSwampy.ZIndex = 3
  286. GoldSwampy.Image = "rbxassetid://2712631457"
  287. GoldSwampy.ScaleType = Enum.ScaleType.Crop
  288.  
  289. DropShadow_12.Name = "DropShadow"
  290. DropShadow_12.Parent = GoldSwampy
  291. DropShadow_12.BackgroundColor3 = Color3.new(0, 0, 0)
  292. DropShadow_12.BorderSizePixel = 0
  293. DropShadow_12.Position = UDim2.new(0, 4, 0, 4)
  294. DropShadow_12.Size = UDim2.new(1, 0, 1, 0)
  295. DropShadow_12.ZIndex = 2
  296.  
  297. GenericSpecial.Name = "GenericSpecial"
  298. GenericSpecial.Parent = Picker
  299. GenericSpecial.BackgroundColor3 = Color3.new(1, 1, 1)
  300. GenericSpecial.BorderColor3 = Color3.new(0, 0, 0)
  301. GenericSpecial.Position = UDim2.new(0, 10, 0, 555)
  302. GenericSpecial.Size = UDim2.new(0, 80, 0, 40)
  303. GenericSpecial.ZIndex = 3
  304. GenericSpecial.Image = "rbxassetid://2712639396"
  305. GenericSpecial.ScaleType = Enum.ScaleType.Crop
  306.  
  307. DropShadow_13.Name = "DropShadow"
  308. DropShadow_13.Parent = GenericSpecial
  309. DropShadow_13.BackgroundColor3 = Color3.new(0, 0, 0)
  310. DropShadow_13.BorderSizePixel = 0
  311. DropShadow_13.Position = UDim2.new(0, 4, 0, 4)
  312. DropShadow_13.Size = UDim2.new(1, 0, 1, 0)
  313. DropShadow_13.ZIndex = 2
  314.  
  315. SnowGlow.Name = "SnowGlow"
  316. SnowGlow.Parent = Picker
  317. SnowGlow.BackgroundColor3 = Color3.new(1, 1, 1)
  318. SnowGlow.BorderColor3 = Color3.new(0, 0, 0)
  319. SnowGlow.Position = UDim2.new(0, 10, 0, 605)
  320. SnowGlow.Size = UDim2.new(0, 80, 0, 40)
  321. SnowGlow.ZIndex = 3
  322. SnowGlow.Image = "rbxassetid://2712651454"
  323. SnowGlow.ScaleType = Enum.ScaleType.Crop
  324.  
  325. DropShadow_14.Name = "DropShadow"
  326. DropShadow_14.Parent = SnowGlow
  327. DropShadow_14.BackgroundColor3 = Color3.new(0, 0, 0)
  328. DropShadow_14.BorderSizePixel = 0
  329. DropShadow_14.Position = UDim2.new(0, 4, 0, 4)
  330. DropShadow_14.Size = UDim2.new(1, 0, 1, 0)
  331. DropShadow_14.ZIndex = 2
  332.  
  333. Frost.Name = "Frost"
  334. Frost.Parent = Picker
  335. Frost.BackgroundColor3 = Color3.new(1, 1, 1)
  336. Frost.BorderColor3 = Color3.new(0, 0, 0)
  337. Frost.Position = UDim2.new(0, 10, 0, 655)
  338. Frost.Size = UDim2.new(0, 80, 0, 40)
  339. Frost.ZIndex = 3
  340. Frost.Image = "rbxassetid://2712667804"
  341. Frost.ScaleType = Enum.ScaleType.Crop
  342.  
  343. DropShadow_15.Name = "DropShadow"
  344. DropShadow_15.Parent = Frost
  345. DropShadow_15.BackgroundColor3 = Color3.new(0, 0, 0)
  346. DropShadow_15.BorderSizePixel = 0
  347. DropShadow_15.Position = UDim2.new(0, 4, 0, 4)
  348. DropShadow_15.Size = UDim2.new(1, 0, 1, 0)
  349. DropShadow_15.ZIndex = 2
  350.  
  351. CaveCrawler.Name = "CaveCrawler"
  352. CaveCrawler.Parent = Picker
  353. CaveCrawler.BackgroundColor3 = Color3.new(1, 1, 1)
  354. CaveCrawler.BorderColor3 = Color3.new(0, 0, 0)
  355. CaveCrawler.Position = UDim2.new(0, 10, 0, 705)
  356. CaveCrawler.Size = UDim2.new(0, 80, 0, 40)
  357. CaveCrawler.ZIndex = 3
  358. CaveCrawler.Image = "rbxassetid://2712673980"
  359. CaveCrawler.ScaleType = Enum.ScaleType.Crop
  360.  
  361. DropShadow_16.Name = "DropShadow"
  362. DropShadow_16.Parent = CaveCrawler
  363. DropShadow_16.BackgroundColor3 = Color3.new(0, 0, 0)
  364. DropShadow_16.BorderSizePixel = 0
  365. DropShadow_16.Position = UDim2.new(0, 4, 0, 4)
  366. DropShadow_16.Size = UDim2.new(1, 0, 1, 0)
  367. DropShadow_16.ZIndex = 2
  368.  
  369. LoneCave.Name = "LoneCave"
  370. LoneCave.Parent = Picker
  371. LoneCave.BackgroundColor3 = Color3.new(1, 1, 1)
  372. LoneCave.BorderColor3 = Color3.new(0, 0, 0)
  373. LoneCave.Position = UDim2.new(0, 10, 0, 755)
  374. LoneCave.Size = UDim2.new(0, 80, 0, 40)
  375. LoneCave.ZIndex = 3
  376. LoneCave.Image = "rbxassetid://2712693147"
  377. LoneCave.ScaleType = Enum.ScaleType.Crop
  378.  
  379. DropShadow_17.Name = "DropShadow"
  380. DropShadow_17.Parent = LoneCave
  381. DropShadow_17.BackgroundColor3 = Color3.new(0, 0, 0)
  382. DropShadow_17.BorderSizePixel = 0
  383. DropShadow_17.Position = UDim2.new(0, 4, 0, 4)
  384. DropShadow_17.Size = UDim2.new(1, 0, 1, 0)
  385. DropShadow_17.ZIndex = 2
  386.  
  387. Spooky.Name = "Spooky"
  388. Spooky.Parent = Picker
  389. Spooky.BackgroundColor3 = Color3.new(1, 1, 1)
  390. Spooky.BorderColor3 = Color3.new(0, 0, 0)
  391. Spooky.Position = UDim2.new(0, 10, 0, 805)
  392. Spooky.Size = UDim2.new(0, 80, 0, 40)
  393. Spooky.ZIndex = 3
  394. Spooky.Image = "rbxassetid://2712696822"
  395. Spooky.ScaleType = Enum.ScaleType.Crop
  396.  
  397. DropShadow_18.Name = "DropShadow"
  398. DropShadow_18.Parent = Spooky
  399. DropShadow_18.BackgroundColor3 = Color3.new(0, 0, 0)
  400. DropShadow_18.BorderSizePixel = 0
  401. DropShadow_18.Position = UDim2.new(0, 4, 0, 4)
  402. DropShadow_18.Size = UDim2.new(1, 0, 1, 0)
  403. DropShadow_18.ZIndex = 2
  404.  
  405. SpookyNeon.Name = "SpookyNeon"
  406. SpookyNeon.Parent = Picker
  407. SpookyNeon.BackgroundColor3 = Color3.new(1, 1, 1)
  408. SpookyNeon.BorderColor3 = Color3.new(0, 0, 0)
  409. SpookyNeon.Position = UDim2.new(0, 10, 0, 855)
  410. SpookyNeon.Size = UDim2.new(0, 80, 0, 40)
  411. SpookyNeon.ZIndex = 3
  412. SpookyNeon.Image = "rbxassetid://2712700047"
  413. SpookyNeon.ScaleType = Enum.ScaleType.Crop
  414.  
  415. DropShadow_19.Name = "DropShadow"
  416. DropShadow_19.Parent = SpookyNeon
  417. DropShadow_19.BackgroundColor3 = Color3.new(0, 0, 0)
  418. DropShadow_19.BorderSizePixel = 0
  419. DropShadow_19.Position = UDim2.new(0, 4, 0, 4)
  420. DropShadow_19.Size = UDim2.new(1, 0, 1, 0)
  421. DropShadow_19.ZIndex = 2
  422. -- Scripts:
  423. woodtype = "Birch"
  424.  
  425. local tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  426. tool.RequiresHandle = false
  427. --tool.RobloxLocked = true
  428. tool.Name = "Paint"
  429. tool.ToolTip = "Changes A Stucture's Wood Type"
  430. tool.Equipped:connect(function(Mouse)
  431. ColorPicker.Enabled = true
  432. Mouse.Button1Down:connect(function()
  433. if Mouse.Target.Parent:FindFirstChild("Type") or Mouse.Target.Parent:FindFirstChild("BlueprintWoodClass") then
  434. local Cframe
  435. if Mouse.Target.Parent:FindFirstChild("MainCFrame") then
  436. Cframe = Mouse.Target.Parent.MainCFrame.Value
  437. else
  438. Cframe = Mouse.Target.Parent.PrimaryPart.CFrame
  439. end
  440. if Mouse.Target.Parent ~= nil then
  441. game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(Mouse.Target.Parent.ItemName.Value, Cframe, game.Players.LocalPlayer, woodtype, Mouse.Target.Parent, false)
  442. end
  443. else
  444. --do nothing
  445. end
  446. end)
  447. end)
  448.  
  449. tool.Unequipped:connect(function(mouse)
  450. ColorPicker.Enabled = false
  451. end)
  452.  
  453.  
  454. Birch.MouseButton1Click:Connect(function()
  455. CurrentColor.Image = Birch.Image
  456. woodtype = "Birch"
  457. end)
  458.  
  459. Grey.MouseButton1Click:Connect(function()
  460. CurrentColor.Image = Grey.Image
  461. woodtype = nil
  462. end)
  463.  
  464. Walnut.MouseButton1Click:Connect(function()
  465. CurrentColor.Image = Walnut.Image
  466. woodtype = "Walnut"
  467. end)
  468.  
  469. Generic.MouseButton1Click:Connect(function()
  470. CurrentColor.Image = Generic.Image
  471. woodtype = "Generic"
  472. end)
  473.  
  474. Oak.MouseButton1Click:Connect(function()
  475. CurrentColor.Image = Oak.Image
  476. woodtype = "Oak"
  477. end)
  478.  
  479. Pine.MouseButton1Click:Connect(function()
  480. CurrentColor.Image = Pine.Image
  481. woodtype = "Pine"
  482. end)
  483.  
  484. Palm.MouseButton1Click:Connect(function()
  485. CurrentColor.Image = Palm.Image
  486. woodtype = "Palm"
  487. end)
  488.  
  489. Koa.MouseButton1Click:Connect(function()
  490. CurrentColor.Image = Koa.Image
  491. woodtype = "Koa"
  492. end)
  493.  
  494. Volcano.MouseButton1Click:Connect(function()
  495. CurrentColor.Image = Volcano.Image
  496. woodtype = "Volcano"
  497. end)
  498.  
  499. GreenSwampy.MouseButton1Click:Connect(function()
  500. CurrentColor.Image = GreenSwampy.Image
  501. woodtype = "GreenSwampy"
  502. end)
  503.  
  504. GoldSwampy.MouseButton1Click:Connect(function()
  505. CurrentColor.Image = GoldSwampy.Image
  506. woodtype = "GoldSwampy"
  507. end)
  508.  
  509. GenericSpecial.MouseButton1Click:Connect(function()
  510. CurrentColor.Image = GenericSpecial.Image
  511. woodtype = "GenericSpecial"
  512. end)
  513.  
  514. SnowGlow.MouseButton1Click:Connect(function()
  515. CurrentColor.Image = SnowGlow.Image
  516. woodtype = "SnowGlow"
  517. end)
  518.  
  519. Frost.MouseButton1Click:Connect(function()
  520. CurrentColor.Image = Frost.Image
  521. woodtype = "Frost"
  522. end)
  523.  
  524. CaveCrawler.MouseButton1Click:Connect(function()
  525. CurrentColor.Image = CaveCrawler.Image
  526. woodtype = "CaveCrawler"
  527. end)
  528.  
  529. LoneCave.MouseButton1Click:Connect(function()
  530. CurrentColor.Image = LoneCave.Image
  531. woodtype = "LoneCave"
  532. end)
  533.  
  534. Spooky.MouseButton1Click:Connect(function()
  535. CurrentColor.Image = Spooky.Image
  536. woodtype = "Spooky"
  537. end)
  538.  
  539. SpookyNeon.MouseButton1Click:Connect(function()
  540. CurrentColor.Image = SpookyNeon.Image
  541. woodtype = "SpookyNeon"
  542. end)
  543.  
  544. --bring up menu
  545. CurrentColor.MouseButton1Click:Connect(function()
  546. if Picker.Visible == false then
  547. Picker.Visible = true
  548. else
  549. Picker.Visible = false
  550. end
  551. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement