Guest User

Hack Paint LT2 by Mathilda

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