Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.65 KB | None | 0 0
  1. --Start
  2. local open = Instance.new("TextButton")
  3. local screengui = Instance.new("ScreenGui")
  4. local frame = Instance.new("Frame")
  5. local scroll = Instance.new("ScrollingFrame")
  6. local input = Instance.new("TextBox")
  7. local exe = Instance.new("TextButton")
  8. local clr = Instance.new("TextButton")
  9. local hub = Instance.new("TextButton")
  10. local hubframe = Instance.new("Frame")
  11. local closehub = Instance.new("TextButton")
  12. local script1 = Instance.new("TextButton")
  13. local script2 = Instance.new("TextButton")
  14.  
  15. --Propetiss
  16. screengui.Parent = game.Players.LocalPlayer.PlayerGui
  17. screengui.Name = "ScriptHub"
  18.  
  19. open.Parent = screengui
  20. open.Position = UDim2.new(0, 0, 0, 500)
  21. open.BackgroundColor3 = Color3.new(255, 0, 0)
  22. open.BorderSizePixel = 10
  23. open.Size = UDim2.new(0, 200, 0, 50)
  24. open.Text = "Open"
  25. open.Name = "Open/Close"
  26. open.MouseButton1Click:connect(function()
  27. if frame.Visible == false then
  28. frame.Visible = true
  29. else
  30. frame.Visible = false
  31. end
  32. end)
  33.  
  34. frame.Parent = screengui
  35. frame.Position = UDim2.new(0, 450, 0, 250)
  36. frame.BackgroundColor3 = Color3.new(255, 255, 255)
  37. frame.BorderSizePixel = 10
  38. frame.Size = UDim2.new(0, 450, 0, 350)
  39. frame.Draggable = true
  40. frame.Active = true
  41. frame.Selectable = true
  42. frame.Name = "ScriptFrame"
  43. frame.Visible = false
  44.  
  45. scroll.Parent = frame
  46. scroll.Position = UDim2.new(0, 25, 0, 25)
  47. scroll.Size = UDim2.new(0, 400, 0, 250)
  48. scroll.CanvasSize = UDim2.new(0, 0 , 0, 999999999)
  49. scroll.BackgroundColor3 = Color3.new(255, 255, 255)
  50. scroll.Name = "Scroll"
  51.  
  52. input.Parent = scroll
  53. input.Position = UDim2.new(0, 0, 0, -2)
  54. input.Size = UDim2.new(0, 389, 0, 999999999)
  55. input.BackgroundColor3 = Color3.new(255, 255, 255)
  56. input.ClearTextOnFocus = false
  57. input.MultiLine = true
  58. input.TextXAlignment = Enum.TextXAlignment.Left
  59. input.TextYAlignment = Enum.TextYAlignment.Top
  60. input.Text = "--Script Here--"
  61.  
  62. exe.Parent = frame
  63. exe.Position = UDim2.new(0, 15, 0, 295)
  64. exe.Size = UDim2.new(0, 190, 0, 40)
  65. exe.BackgroundColor3 = Color3.new(255, 0, 0)
  66. exe.BorderSizePixel = 6
  67. exe.TextSize = 30
  68. exe.Text = "Execute"
  69. exe.Name = "Execute"
  70. exe.MouseButton1Click:connect(function()
  71. loadstring(input.Text)()
  72. end)
  73.  
  74. clr.Parent = frame
  75. clr.Position = UDim2.new(0, 245, 0, 295)
  76. clr.Size = UDim2.new(0, 190, 0, 40)
  77. clr.BackgroundColor3 = Color3.new(255, 0, 0)
  78. clr.BorderSizePixel = 6
  79. clr.Text = "Clear"
  80. clr.TextSize = 30
  81. clr.Name = "Clear"
  82. clr.MouseButton1Click:connect(function()
  83. input.Text = ""
  84. end)
  85.  
  86. hub.Parent = frame
  87. hub.Position = UDim2.new(0, 180, 0, 0)
  88. hub.Size = UDim2.new(0, 100, 0, 20)
  89. hub.Text = "Scripts"
  90. hub.Name = "Hub"
  91. hub.MouseButton1Click:connect(function()
  92. hubframe.Visible = true
  93. end)
  94.  
  95. hubframe.Parent = hub
  96. hubframe.Position = UDim2.new(0, -180, 0, 0)
  97. hubframe.Size = UDim2.new(0, 450, 0, 350)
  98. hubframe.BackgroundColor3 = Color3.new(0, 0, 0, 0)
  99. hubframe.BackgroundTransparency = 0.4
  100. hubframe.Name = "hubframe"
  101. hubframe.Visible = false
  102.  
  103. closehub.Parent = hubframe
  104. closehub.Position = UDim2.new(0, 425, 0, 20)
  105. closehub.Text = "X"
  106. closehub.TextSize = 30
  107. closehub.BackgroundTransparency = 0.3
  108. closehub.Name = "CloseHub"
  109.  
  110. script1.Parent = hubframe
  111. script1.Position = UDim2.new(0, 10, 0, 20)
  112. script1.Size = UDim2.new(0, 100, 0, 40)
  113. script1.Text = "Mario"
  114. script1.TextSize = 10
  115. script1.BackgroundTransparency = 0.3
  116. script1.Name = "Mario"
  117.  
  118. script2.Parent = hubframe
  119. script2.Position = UDim2.new(0, 10, 0, 80)
  120. script2.Size = UDim2.new(0, 100, 0, 40)
  121. script2.Text = "Brutal Stick"
  122. script2.TextSize = 10
  123. script2.BackgroundTransparency = 0.3
  124. script2.Name = "Brutal Stick"
  125.  
  126. --Scripts
  127. script1.MouseButton1Click:connect(function()
  128. --Script made by Pedrorb03. Enjoy it ;)
  129.  
  130. --Set Up
  131.  
  132. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 1
  133. game.Players.LocalPlayer.Character.Humanoid.Health = 1
  134.  
  135.  
  136.  
  137.  
  138. for _,anim in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
  139. anim:Stop()
  140. end
  141. game.Players.LocalPlayer.Character.Animate:remove()
  142. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  143. if part.ClassName == "Body Colors" or part.ClassName == "Accessory" or part.ClassName == "Pants" or part.ClassName == "Shirt" or part.ClassName == "Shirt Graphic" then
  144. part:remove()
  145. end
  146. end
  147. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  148. if part:IsA("BasePart") then
  149. part.BrickColor = BrickColor.new("Pastel brown")
  150. end
  151. end
  152. shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character) shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821325"
  153. pants = Instance.new("Pants",game.Players.LocalPlayer.Character) pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821538"
  154. game.Players.LocalPlayer.Character.Head.Mesh.Scale = Vector3.new(0.45,0.45,0.45)
  155. game.Players.LocalPlayer.Character.Head.Mesh.Offset = Vector3.new(0,0.3,-0.1)
  156. game.Players.LocalPlayer.Character.Head.face:remove()
  157. game.Players.LocalPlayer.Character.Head.Mesh.MeshId = "rbxassetid://494265290"
  158. game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "rbxassetid://494265293"
  159.  
  160. game.Players.LocalPlayer.Character.Head.Jumping.SoundId = "rbxassetid://158309736"
  161. sound = nil
  162.  
  163. while sound == nil do
  164. wait()
  165. sound = Instance.new("Sound")
  166. if sound ~= nil then
  167. break
  168. end
  169. end
  170.  
  171. levelMusic = sound:Clone()
  172. levelMusic.SoundId = "rbxassetid://232553386"
  173. levelMusic.Looped = true
  174. levelMusic.Parent = game.Players.LocalPlayer.Character
  175. levelMusic.Volume = 0.3
  176. levelMusic:Play()
  177. takeCooldown = false
  178.  
  179. lifes = 2
  180.  
  181. lastLife = lifes
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 65
  193. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 25
  194. --Map Set Up
  195. if not game.Workspace:FindFirstChild("Baseplate") then
  196. baseplate = Instance.new("Part") baseplate.Anchored = true baseplate.CFrame = CFrame.new(0,-10,0) baseplate.Name = "Baseplate" baseplate.Locked = true baseplate.Parent = game.Workspace
  197. end
  198. if game.Workspace:FindFirstChild("Baseplate") then
  199. game.Workspace.Baseplate.Size = Vector3.new(2048,20,2048)
  200. GroundTexture = Instance.new("Texture",game.Workspace.Baseplate) GroundTexture.Texture = "rbxassetid://1089643294" GroundTexture.StudsPerTileU = 3 GroundTexture.StudsPerTileV = 3
  201. GroundTexture.Face = "Top"
  202. game.Workspace.Baseplate.CFrame = CFrame.new(0,-9.5,0)
  203. end
  204.  
  205. sky = Instance.new("Sky",game.Lighting)
  206. sky.SkyboxBk = "rbxassetid://1089701835"
  207. sky.SkyboxFt = "rbxassetid://1089701835"
  208. sky.SkyboxLf = "rbxassetid://1089701835"
  209. sky.SkyboxRt = "rbxassetid://1089701835"
  210. sky.SkyboxUp = "rbxassetid://1089702222"
  211. sky.SkyboxDn = "rbxassetid://1089702222"
  212.  
  213. sky.SunTextureId = "rbxassetid://1089711654"
  214. sky.MoonTextureId = "rbxassetid://1089711897"
  215.  
  216. sky.SunAngularSize = 10
  217. sky.MoonAngularSize = 5
  218.  
  219. sky.StarCount = 0
  220.  
  221. color = Instance.new("ColorCorrectionEffect",game.Lighting) color.Saturation = 1 color.Contrast = 1
  222.  
  223.  
  224. brick = Instance.new("Part") brick.Anchored = true brick.Size = Vector3.new(3.2,3.2,3.2)
  225. mesh = Instance.new("SpecialMesh",brick) mesh.MeshId = "rbxassetid://1089547491" mesh.TextureId = "rbxassetid://1089552092"
  226. bricks = {}
  227. for _=1,math.random(200,350) do
  228. local part = brick:Clone()
  229. part.CFrame = CFrame.new(math.random(-102400,102400)/100,11,math.random(-102400,102400)/100)
  230. part.Parent = game.Workspace
  231. table.insert(bricks,part)
  232. end
  233.  
  234.  
  235. block = Instance.new("Part") block.Anchored = true block.Size = Vector3.new(3,3,3)
  236. mesh = Instance.new("SpecialMesh",block) mesh.MeshId = "rbxassetid://1089565562" mesh.TextureId = "rbxassetid://1089562101"
  237. blocks = {}
  238. for _=1,math.random(100,150) do
  239. local part = block:Clone()
  240. part.CFrame = CFrame.new(math.random(-102400,102400)/100,11,math.random(-102400,102400)/100)
  241. part.Parent = game.Workspace
  242. table.insert(blocks,part)
  243. end
  244.  
  245.  
  246. coin = Instance.new("Part") coin.Anchored = true coin.Size = Vector3.new(2,2,2) coin.CanCollide = false
  247. mesh = Instance.new("SpecialMesh",coin) mesh.MeshId = "rbxassetid://652133659" mesh.Scale = Vector3.new(0.005, 0.005, 0.005)
  248. coin.Color = Color3.fromRGB(255,245,0)
  249. coins = {}
  250. for _=1,math.random(300,350) do
  251. local part = coin:Clone()
  252. part.CFrame = CFrame.new(math.random(-102400,102400)/100,2,math.random(-102400,102400)/100)
  253. part.Parent = game.Workspace
  254. table.insert(coins,part)
  255. end
  256.  
  257. gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  258.  
  259. coinGui = Instance.new("TextLabel",gui) coinGui.BackgroundTransparency = 1 coinGui.TextScaled = true coinGui.Font = Enum.Font.Arcade coinGui.TextColor3 = Color3.fromRGB(255,255,255)
  260. coinGui.Size = UDim2.new(0.15,0,0.075,0)
  261.  
  262. mushroom = Instance.new("Part") mushroom.Anchored = false mushroom.Size = Vector3.new(2.5,2.5,2.5)
  263. mesh = Instance.new("SpecialMesh",mushroom) mesh.MeshId = "rbxassetid://843546054" mesh.TextureId = "rbxassetid://843546065" mesh.Scale = Vector3.new(0.05, 0.05, 0.05)
  264. mushrooms = {}
  265.  
  266. flower = Instance.new("Part") flower.Anchored = true flower.Size = Vector3.new(2.5,2.5,2.5)
  267. mesh = Instance.new("SpecialMesh",flower) mesh.MeshId = "rbxassetid://1091549739" mesh.TextureId = "rbxassetid://1091549771" mesh.Scale = Vector3.new(0.15, 0.15, 0.15)
  268. flowers = {}
  269.  
  270. star = Instance.new("Part") star.Anchored = false star.Size = Vector3.new(2.5,2.5,2.5) star.CanCollide = false
  271. mesh = Instance.new("SpecialMesh",star) mesh.MeshId = "rbxassetid://491129029" mesh.TextureId = "rbxassetid://1092055458" mesh.Scale = Vector3.new(0.075, 0.075, 0.075)
  272. stars = {}
  273.  
  274. fire = Instance.new("Part") fire.Anchored = false flower.Size = Vector3.new(1.5,1.5,1.5) fire.Transparency = 1
  275. meshhh = Instance.new("BillboardGui",fire) meshhh.LightInfluence = 0 meshhh.Size = UDim2.new(1.5,0,1.5,0)
  276. imagee = Instance.new("ImageLabel",meshhh) imagee.BackgroundTransparency = 1 imagee.Size = UDim2.new(1,0,1,0) imagee.Image = "rbxassetid://1091847477"
  277.  
  278. fires = {}
  279.  
  280.  
  281.  
  282.  
  283.  
  284. CoinsVal = 0
  285.  
  286.  
  287. --Animation Functions
  288.  
  289. walking = false
  290. stopped = true
  291.  
  292. jumping = false
  293. function walk()
  294. if lifes > 1 then
  295. walking = true
  296. for i=1,1 do
  297. wait(0.1)
  298.  
  299. if stopped == false and jumping == false then
  300. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  301. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  302. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),math.rad(60))
  303. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-2,0.5,0)*CFrame.Angles(0,math.rad(90),math.rad(-60))
  304.  
  305. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(30))
  306. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(-30))
  307. else
  308. break
  309. end
  310.  
  311. wait(0.1)
  312. if stopped == false and jumping == false then
  313. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  314. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  315.  
  316. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-2,0.5,0)*CFrame.Angles(0,math.rad(90),math.rad(60))
  317. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),math.rad(-60))
  318.  
  319. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(-30))
  320. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(30))
  321. else
  322. break
  323. end
  324. end
  325. walking = false
  326. else
  327. walking = true
  328. for i=1,1 do
  329. wait(0.1)
  330.  
  331. if stopped == false and jumping == false then
  332. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  333. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  334. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(0.15,0.4,0)*CFrame.Angles(0,math.rad(90),math.rad(60))
  335. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1.15,0.4,0)*CFrame.Angles(0,math.rad(90),math.rad(-60))
  336.  
  337. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(0.74,-0.1,0.25)*CFrame.Angles(0,math.rad(90),math.rad(30))
  338. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(0.26,-0.1,-0.25)*CFrame.Angles(0,math.rad(90),math.rad(-30))
  339. else
  340. break
  341. end
  342.  
  343. wait(0.1)
  344. if stopped == false and jumping == false then
  345. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  346. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  347.  
  348. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1.15,0.4,0)*CFrame.Angles(0,math.rad(90),math.rad(60))
  349. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(0.15,0.4,0)*CFrame.Angles(0,math.rad(90),math.rad(-60))
  350.  
  351. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(0.74,-0.1,-0.25)*CFrame.Angles(0,math.rad(90),math.rad(-30))
  352. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(0.26,-0.1,0.25)*CFrame.Angles(0,math.rad(90),math.rad(30))
  353. else
  354. break
  355. end
  356. end
  357. walking = false
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365. end
  366.  
  367.  
  368. end
  369.  
  370. function walkStop()
  371. if lifes > 1 then
  372. for i=1,1 do
  373. if jumping == false and stopped == true and walking == false then
  374. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1.5,0.5,0)*CFrame.Angles(0,0,math.rad(-90))
  375. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,1,-0.5)*CFrame.Angles(math.rad(90),0,math.rad(-30))
  376.  
  377. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  378. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(0,0,-0.5)*CFrame.Angles(0,math.rad(90),math.rad(0))
  379.  
  380. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(-90),0,math.rad(-250))
  381. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(-120))
  382. else
  383. break
  384. end
  385. wait(0.25)
  386. if jumping == false and stopped == true and walking == false then
  387.  
  388. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-2,0.5,0)*CFrame.Angles(0,math.rad(90),0)
  389. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)
  390.  
  391. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  392. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  393.  
  394. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  395. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  396. else
  397. break
  398. end
  399. end
  400. else
  401.  
  402. for i=1,1 do
  403.  
  404.  
  405. if jumping == false and stopped == true and walking == false then
  406.  
  407. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-0.4,0.25,-0.75)*CFrame.Angles(0,0,math.rad(-90))
  408. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(0.5,0.75,-0.1)*CFrame.Angles(math.rad(90),0,math.rad(-30))
  409.  
  410. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(0.74,0,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  411. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(0.26,0.5,-0.5)*CFrame.Angles(0,math.rad(90),math.rad(0))
  412.  
  413. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-90),0,math.rad(-250))
  414. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(-120))
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421. else
  422. break
  423. end
  424. wait(0.25)
  425. if jumping == false and stopped == true and walking == false then
  426.  
  427.  
  428. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1.2,0.5,0)*CFrame.Angles(0,math.rad(90),0)
  429. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(0.2,0.5,0)*CFrame.Angles(0,math.rad(90),0)
  430.  
  431. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(0.74,0,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  432. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(0.26,0,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  433.  
  434. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  435. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  436. else
  437. break
  438. end
  439.  
  440. end
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454. end
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477. end
  478.  
  479. function jump()
  480. if lifes > 1 then
  481. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-2,0.5,0)*CFrame.Angles(0,math.rad(90),math.rad(-30))
  482. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),math.rad(150))
  483.  
  484. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1,0,-0.5)*CFrame.Angles(0,math.rad(90),math.rad(0))
  485. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  486.  
  487. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  488. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  489. else
  490. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1.2,0.5,0)*CFrame.Angles(0,math.rad(90),math.rad(-30))
  491. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(0.2,0.5,0)*CFrame.Angles(0,math.rad(90),math.rad(150))
  492.  
  493. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(0.74,0,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  494. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(0.26,0.5,-0.5)*CFrame.Angles(0,math.rad(90),math.rad(0))
  495.  
  496. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  497. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  498. end
  499. end
  500.  
  501. function land()
  502. if lifes > 1 then
  503. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-2,0.5,0)*CFrame.Angles(0,math.rad(90),0)
  504. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),0)
  505.  
  506. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  507. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  508.  
  509. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  510. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  511. else
  512. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1.2,0.5,0)*CFrame.Angles(0,math.rad(90),0)
  513. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(0.2,0.5,0)*CFrame.Angles(0,math.rad(90),0)
  514.  
  515. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(0.74,0,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  516. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(0.26,0,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  517.  
  518. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  519. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,math.rad(-180))
  520. end
  521. end
  522.  
  523. growing = false
  524.  
  525.  
  526. function degrow()
  527.  
  528. for i=1,5 do
  529. local rootJoint = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  530. local rs = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  531. local ls = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  532. local rh = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  533. local lh = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  534. local n = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  535.  
  536. game.Players.LocalPlayer.Character.HumanoidRootPart.Size = game.Players.LocalPlayer.Character.HumanoidRootPart.Size/2
  537. game.Players.LocalPlayer.Character.Torso.Size = game.Players.LocalPlayer.Character.Torso.Size/2
  538. game.Players.LocalPlayer.Character["Right Arm"].Size = game.Players.LocalPlayer.Character["Right Arm"].Size/2
  539. game.Players.LocalPlayer.Character["Left Arm"].Size = game.Players.LocalPlayer.Character["Left Arm"].Size/2
  540. game.Players.LocalPlayer.Character["Right Leg"].Size = game.Players.LocalPlayer.Character["Right Leg"].Size/2
  541. game.Players.LocalPlayer.Character["Left Leg"].Size = game.Players.LocalPlayer.Character["Left Leg"].Size/2
  542.  
  543. rs.Parent = game.Players.LocalPlayer.Character.Torso
  544. ls.Parent = game.Players.LocalPlayer.Character.Torso
  545. rh.Parent = game.Players.LocalPlayer.Character.Torso
  546. lh.Parent = game.Players.LocalPlayer.Character.Torso
  547. n.Parent = game.Players.LocalPlayer.Character.Torso
  548. rootJoint.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  549. wait(.1)
  550. local rootJoint = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  551. local rs = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  552. local ls = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  553. local rh = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  554. local lh = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  555. local n = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  556.  
  557. game.Players.LocalPlayer.Character.HumanoidRootPart.Size = game.Players.LocalPlayer.Character.HumanoidRootPart.Size*2
  558. game.Players.LocalPlayer.Character.Torso.Size = game.Players.LocalPlayer.Character.Torso.Size*2
  559. game.Players.LocalPlayer.Character["Right Arm"].Size = game.Players.LocalPlayer.Character["Right Arm"].Size*2
  560. game.Players.LocalPlayer.Character["Left Arm"].Size = game.Players.LocalPlayer.Character["Left Arm"].Size*2
  561. game.Players.LocalPlayer.Character["Right Leg"].Size = game.Players.LocalPlayer.Character["Right Leg"].Size*2
  562. game.Players.LocalPlayer.Character["Left Leg"].Size = game.Players.LocalPlayer.Character["Left Leg"].Size*2
  563.  
  564. rs.Parent = game.Players.LocalPlayer.Character.Torso
  565. ls.Parent = game.Players.LocalPlayer.Character.Torso
  566. rh.Parent = game.Players.LocalPlayer.Character.Torso
  567. lh.Parent = game.Players.LocalPlayer.Character.Torso
  568. n.Parent = game.Players.LocalPlayer.Character.Torso
  569. rootJoint.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  570. wait(.1)
  571. end
  572. local rootJoint = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  573. local rs = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  574. local ls = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  575. local rh = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  576. local lh = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  577. local n = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  578.  
  579. game.Players.LocalPlayer.Character.HumanoidRootPart.Size = game.Players.LocalPlayer.Character.HumanoidRootPart.Size/2
  580. game.Players.LocalPlayer.Character.Torso.Size = game.Players.LocalPlayer.Character.Torso.Size/2
  581. game.Players.LocalPlayer.Character["Right Arm"].Size = game.Players.LocalPlayer.Character["Right Arm"].Size/2
  582. game.Players.LocalPlayer.Character["Left Arm"].Size = game.Players.LocalPlayer.Character["Left Arm"].Size/2
  583. game.Players.LocalPlayer.Character["Right Leg"].Size = game.Players.LocalPlayer.Character["Right Leg"].Size/2
  584. game.Players.LocalPlayer.Character["Left Leg"].Size = game.Players.LocalPlayer.Character["Left Leg"].Size/2
  585.  
  586. rs.Parent = game.Players.LocalPlayer.Character.Torso
  587. ls.Parent = game.Players.LocalPlayer.Character.Torso
  588. rh.Parent = game.Players.LocalPlayer.Character.Torso
  589. lh.Parent = game.Players.LocalPlayer.Character.Torso
  590. n.Parent = game.Players.LocalPlayer.Character.Torso
  591. rootJoint.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  592.  
  593. end
  594. function grow()
  595.  
  596. for i=1,5 do
  597.  
  598. local rootJoint = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  599. local rs = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  600. local ls = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  601. local rh = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  602. local lh = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  603. local n = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  604.  
  605. game.Players.LocalPlayer.Character.HumanoidRootPart.Size = game.Players.LocalPlayer.Character.HumanoidRootPart.Size*2
  606. game.Players.LocalPlayer.Character.Torso.Size = game.Players.LocalPlayer.Character.Torso.Size*2
  607. game.Players.LocalPlayer.Character["Right Arm"].Size = game.Players.LocalPlayer.Character["Right Arm"].Size*2
  608. game.Players.LocalPlayer.Character["Left Arm"].Size = game.Players.LocalPlayer.Character["Left Arm"].Size*2
  609. game.Players.LocalPlayer.Character["Right Leg"].Size = game.Players.LocalPlayer.Character["Right Leg"].Size*2
  610. game.Players.LocalPlayer.Character["Left Leg"].Size = game.Players.LocalPlayer.Character["Left Leg"].Size*2
  611.  
  612. rs.Parent = game.Players.LocalPlayer.Character.Torso
  613. ls.Parent = game.Players.LocalPlayer.Character.Torso
  614. rh.Parent = game.Players.LocalPlayer.Character.Torso
  615. lh.Parent = game.Players.LocalPlayer.Character.Torso
  616. n.Parent = game.Players.LocalPlayer.Character.Torso
  617. rootJoint.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  618. wait(.1)
  619. local rootJoint = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  620. local rs = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  621. local ls = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  622. local rh = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  623. local lh = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  624. local n = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  625.  
  626. game.Players.LocalPlayer.Character.HumanoidRootPart.Size = game.Players.LocalPlayer.Character.HumanoidRootPart.Size/2
  627. game.Players.LocalPlayer.Character.Torso.Size = game.Players.LocalPlayer.Character.Torso.Size/2
  628. game.Players.LocalPlayer.Character["Right Arm"].Size = game.Players.LocalPlayer.Character["Right Arm"].Size/2
  629. game.Players.LocalPlayer.Character["Left Arm"].Size = game.Players.LocalPlayer.Character["Left Arm"].Size/2
  630. game.Players.LocalPlayer.Character["Right Leg"].Size = game.Players.LocalPlayer.Character["Right Leg"].Size/2
  631. game.Players.LocalPlayer.Character["Left Leg"].Size = game.Players.LocalPlayer.Character["Left Leg"].Size/2
  632.  
  633. rs.Parent = game.Players.LocalPlayer.Character.Torso
  634. ls.Parent = game.Players.LocalPlayer.Character.Torso
  635. rh.Parent = game.Players.LocalPlayer.Character.Torso
  636. lh.Parent = game.Players.LocalPlayer.Character.Torso
  637. n.Parent = game.Players.LocalPlayer.Character.Torso
  638. rootJoint.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  639. wait(.1)
  640. end
  641.  
  642. local rootJoint = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  643. local rs = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  644. local ls = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  645. local rh = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  646. local lh = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  647. local n = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  648.  
  649. game.Players.LocalPlayer.Character.HumanoidRootPart.Size = game.Players.LocalPlayer.Character.HumanoidRootPart.Size*2
  650. game.Players.LocalPlayer.Character.Torso.Size = game.Players.LocalPlayer.Character.Torso.Size*2
  651. game.Players.LocalPlayer.Character["Right Arm"].Size = game.Players.LocalPlayer.Character["Right Arm"].Size*2
  652. game.Players.LocalPlayer.Character["Left Arm"].Size = game.Players.LocalPlayer.Character["Left Arm"].Size*2
  653. game.Players.LocalPlayer.Character["Right Leg"].Size = game.Players.LocalPlayer.Character["Right Leg"].Size*2
  654. game.Players.LocalPlayer.Character["Left Leg"].Size = game.Players.LocalPlayer.Character["Left Leg"].Size*2
  655.  
  656. rs.Parent = game.Players.LocalPlayer.Character.Torso
  657. ls.Parent = game.Players.LocalPlayer.Character.Torso
  658. rh.Parent = game.Players.LocalPlayer.Character.Torso
  659. lh.Parent = game.Players.LocalPlayer.Character.Torso
  660. n.Parent = game.Players.LocalPlayer.Character.Torso
  661.  
  662. rootJoint.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  663.  
  664. end
  665.  
  666. function firegrow()
  667.  
  668.  
  669. for i=1,5 do
  670. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821700"
  671. pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821953"
  672. game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=1091724768"
  673. wait(.1)
  674. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821325"
  675. pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821538"
  676. game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "rbxassetid://494265293"
  677. wait(.1)
  678. end
  679. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821700"
  680. pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821953"
  681. game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=1091724768"
  682.  
  683. end
  684. function defiregrow()
  685.  
  686.  
  687. for i=1,5 do
  688. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821325"
  689. pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821538"
  690. game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "rbxassetid://494265293"
  691. wait(.1)
  692.  
  693. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821700"
  694. pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821953"
  695. game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=1091724768"
  696. wait(.1)
  697. end
  698. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1091821325"
  699. pants.PantsTemplate = "http://www.roblox.com/asset/?id=1091821538"
  700. game.Players.LocalPlayer.Character.Head.Mesh.TextureId = "rbxassetid://494265293"
  701.  
  702. end
  703.  
  704. function fireThrow()
  705.  
  706.  
  707. local soundos = sound:Clone()
  708. soundos.SoundId = "rbxassetid://182755400"
  709. soundos.Parent = game.Players.LocalPlayer.Character.Torso
  710. soundos:Play()
  711. game:GetService("Debris"):AddItem(soundos,2)
  712. local fie = fire:Clone()
  713. fie.CanCollide = false
  714. fie.CFrame = CFrame.new(game.Players.LocalPlayer.Character["Right Arm"].Position,game.Players.LocalPlayer.Character["Right Arm"].Position+game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*3)
  715. fie.Parent = game.Workspace
  716. table.insert(fires,fie)
  717. fie.Velocity = fie.CFrame.lookVector*30
  718. game:GetService("Debris"):AddItem(fie,3)
  719. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),math.rad(90))
  720. wait(.1)
  721. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.rad(90),math.rad(0))
  722.  
  723.  
  724.  
  725.  
  726. end
  727.  
  728.  
  729. --Main
  730. game.Players.LocalPlayer.Character["Right Leg"].Touched:connect(function(hit)
  731. if hit.Parent then
  732. if hit.Parent ~= game.Players.LocalPlayer.Character then
  733.  
  734. if hit.Parent:FindFirstChild("Humanoid") then
  735. if hit.Parent.Humanoid.Health > 0 then
  736. hit.Parent.Humanoid.Health = 0
  737. hit.CanCollide = true
  738. hit.Size = Vector3.new(hit.Size.X,0.05,hit.Size.Z)
  739. game.Players.LocalPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  740. local sond = sound:Clone()
  741. sond.SoundId = "rbxassetid://140439666"
  742. sond.Parent = game.Players.LocalPlayer.Character.Torso
  743. sond:Play()
  744. game:GetService("Debris"):AddItem(sond,2)
  745. end
  746. end
  747. end
  748. end
  749. end)
  750. game.Players.LocalPlayer.Character.Head.Touched:connect(function(part)
  751. local did = false
  752. local num = 0
  753. for number,part2 in pairs(bricks) do
  754. if part2 == part then
  755. did = true
  756. num = number
  757. end
  758. end
  759. if did == true then
  760.  
  761. part:remove()
  762.  
  763. local coinSound = sound:Clone()
  764. coinSound.SoundId = "rbxassetid://317619936"
  765. coinSound.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  766. coinSound:Play()
  767. game:GetService("Debris"):AddItem(coinSound,3)
  768. table.remove(bricks,num)
  769.  
  770. end
  771.  
  772. local did = false
  773. local num = 0
  774. for number,part2 in pairs(blocks) do
  775. if part2 == part then
  776. did = true
  777. num = number
  778. end
  779. end
  780. if did == true then
  781.  
  782. part.Mesh.MeshId = "rbxassetid://1089569418"
  783. part.Mesh.TextureId = "rbxassetid://1089568636"
  784.  
  785. local coinSound = sound:Clone()
  786. coinSound.SoundId = "rbxassetid://317619936"
  787. coinSound.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  788. coinSound:Play()
  789. game:GetService("Debris"):AddItem(coinSound,3)
  790. table.remove(blocks,num)
  791. local get = math.random(1,2)
  792. if get == 1 then
  793. local coinHolo = coin:Clone()
  794. coinHolo.Parent = part
  795. coinHolo.CFrame = part.CFrame
  796. CoinsVal = CoinsVal+10
  797. local coinSound = sound:Clone()
  798. coinSound.SoundId = "rbxassetid://138702491"
  799. coinSound.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  800. coinSound:Play()
  801. game:GetService("Debris"):AddItem(coinSound,3)
  802.  
  803. for i=1,10 do
  804. wait()
  805. coinHolo.CFrame = coinHolo.CFrame+Vector3.new(0,0.25,0)
  806. end
  807. wait(1)
  808. coinHolo:remove()
  809. end
  810. if get == 2 then
  811. local chance = math.random(1,3)
  812.  
  813. if chance > 1 then
  814. if lifes > 1 then
  815. local flow = flower:Clone()
  816. flow.Parent = game.Workspace
  817. flow.CFrame = part.CFrame
  818. table.insert(flowers,flow)
  819. for i=1,10 do
  820. wait()
  821. flow.CFrame = flow.CFrame+Vector3.new(0,0.25,0)
  822. end
  823.  
  824. end
  825. if lifes == 1 then
  826. local mush = mushroom:Clone()
  827. mush.CFrame = part.CFrame+Vector3.new(0,2,0)
  828. mush.Parent = game.Workspace
  829.  
  830. table.insert(mushrooms,mush)
  831. end
  832. end
  833. if chance == 1 then
  834. local sta = star:Clone()
  835. sta.CFrame = part.CFrame+Vector3.new(0,2,0)
  836. sta.Parent = game.Workspace
  837.  
  838. table.insert(stars,sta)
  839. end
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847. end
  848. end
  849.  
  850.  
  851. end)
  852. starA = false
  853. cooldown = false
  854. colorz = 0
  855. starTimer = 0
  856. game:GetService("UserInputService").InputBegan:connect(function(key)
  857. if key.KeyCode == Enum.KeyCode.C then
  858. if color then
  859. color.Enabled = not color.Enabled
  860. end
  861. end
  862. if key.KeyCode == Enum.KeyCode.Z then
  863. if lifes > 1 then
  864. local flow = flower:Clone()
  865. flow.Parent = game.Workspace
  866. flow.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  867. table.insert(flowers,flow)
  868.  
  869. end
  870. if lifes == 1 then
  871. local mush = mushroom:Clone()
  872. mush.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  873. mush.Parent = game.Workspace
  874.  
  875. table.insert(mushrooms,mush)
  876. end
  877. end
  878. if key.KeyCode == Enum.KeyCode.X then
  879.  
  880.  
  881. local sta = star:Clone()
  882. sta.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  883. sta.Parent = game.Workspace
  884.  
  885. table.insert(stars,sta)
  886.  
  887. end
  888.  
  889. if key.KeyCode == Enum.KeyCode.E then
  890. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
  891. if lifes == 3 then
  892. if cooldown == false then
  893. cooldown = true
  894. fireThrow()
  895. cooldown = false
  896. end
  897. end
  898.  
  899.  
  900. end
  901. end)
  902. game:GetService("UserInputService").InputEnded:connect(function(key)
  903. if key.KeyCode == Enum.KeyCode.E then
  904. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 25
  905. end
  906. end)
  907. game:GetService("RunService").RenderStepped:connect(function()
  908.  
  909. starTimer = starTimer+1
  910. if starTimer > 1 then
  911. starTimer = 0
  912. colorz = colorz+1
  913. if colorz > 5 then
  914. colorz = 0
  915. end
  916. if starA == true then
  917. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  918. if part:IsA("BasePart") then
  919. if part.Name == "HumanoidRootPart" then
  920. for _,child in pairs(game.Workspace:GetChildren()) do
  921. if child ~= game.Players.LocalPlayer.Character then
  922. if child:FindFirstChild("Humanoid") then
  923. for _,parto in pairs(child:GetChildren()) do
  924. if parto:IsA("BasePart") then
  925. if (parto.Position-part.Position).magnitude <= 5 then
  926. parto:remove()
  927. end
  928. end
  929. end
  930. end
  931. end
  932. end
  933. end
  934.  
  935.  
  936. local clon = part:Clone()
  937. for _,child in pairs(clon:GetChildren()) do
  938. if child.ClassName ~= "SpecialMesh" then
  939. child:remove()
  940. else
  941. child.TextureId = ""
  942. end
  943. end
  944. clon.Anchored = true
  945. if colorz == 0 then
  946. clon.Color = Color3.fromRGB(255,0,0)
  947. end
  948. if colorz == 1 then
  949. clon.Color = Color3.fromRGB(255,255,0)
  950. end
  951. if colorz == 2 then
  952. clon.Color = Color3.fromRGB(0,255,0)
  953. end
  954. if colorz == 3 then
  955. clon.Color = Color3.fromRGB(0,255,255)
  956. end
  957. if colorz == 4 then
  958. clon.Color = Color3.fromRGB(0,0,255)
  959. end
  960. if colorz == 5 then
  961. clon.Color = Color3.fromRGB(255,0,255)
  962. end
  963. game:GetService("Debris"):AddItem(clon,0.5)
  964. clon.Transparency = 0
  965. clon.Anchored = true
  966. clon.CanCollide = false
  967. clon.Material = Enum.Material.SmoothPlastic
  968. clon.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  969. clon.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  970. clon.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  971. clon.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  972. clon.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  973. clon.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  974.  
  975.  
  976.  
  977.  
  978. clon.Parent = game.Workspace
  979. end
  980.  
  981.  
  982. end
  983.  
  984.  
  985.  
  986.  
  987.  
  988. end
  989. end
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998. coinGui.Text = "Total Score: "..CoinsVal
  999. for number,part in pairs(fires) do
  1000. if part == nil or not part:FindFirstChild("BillboardGui") then
  1001. part:remove()
  1002. table.remove(fires,number)
  1003. break
  1004. end
  1005.  
  1006. part.BillboardGui.ImageLabel.Rotation = part.BillboardGui.ImageLabel.Rotation+7.5
  1007. part.Touched:connect(function(hit)
  1008. if hit.Parent ~= game.Players.LocalPlayer.Character then
  1009. if hit.Parent:FindFirstChild("Humanoid") then
  1010. hit.Parent.Humanoid.Health = 0
  1011. part:remove()
  1012. end
  1013. end
  1014. part.Velocity = part.CFrame.lookVector*30 +Vector3.new(0,50,0)
  1015. end)
  1016.  
  1017. end
  1018. for number,part in pairs(stars) do
  1019. if part == nil then
  1020. part:remove()
  1021. table.remove(stars,number)
  1022. break
  1023. end
  1024.  
  1025. part.Touched:connect(function(hit)
  1026. part.Velocity = part.CFrame.lookVector*20 +Vector3.new(0,70,0)
  1027. end)
  1028.  
  1029. end
  1030. for number,part in pairs(coins) do
  1031. if takeCooldown == false then
  1032. if (part.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude <= 3 then
  1033. part:remove()
  1034. takeCooldown = true
  1035. CoinsVal = CoinsVal+10
  1036. local coinSound = sound:Clone()
  1037. coinSound.SoundId = "rbxassetid://138702491"
  1038. coinSound.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  1039. coinSound:Play()
  1040. game:GetService("Debris"):AddItem(coinSound,3)
  1041. table.remove(coins,number)
  1042. wait()
  1043. takeCooldown = false
  1044. end
  1045. end
  1046. end
  1047. for number,part in pairs(mushrooms) do
  1048. if takeCooldown == false then
  1049. if (part.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude <= 3 then
  1050. part:remove()
  1051. takeCooldown = true
  1052.  
  1053. local coinSound = sound:Clone()
  1054. coinSound.Volume = 0.07
  1055. coinSound.SoundId = "rbxassetid://162456532"
  1056. coinSound.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  1057. coinSound:Play()
  1058. game:GetService("Debris"):AddItem(coinSound,3)
  1059. table.remove(mushrooms,number)
  1060. if lifes == 2 and lastLife == 2 then
  1061. CoinsVal = CoinsVal+20
  1062. end
  1063. if lifes == 1 then
  1064. lifes = 2
  1065. end
  1066. if lifes == 2 and lastLife == 1 then
  1067. growing = true
  1068. grow()
  1069. growing = false
  1070. end
  1071. lastLife = lifes
  1072. wait(.1)
  1073. takeCooldown = false
  1074. end
  1075. end
  1076. end
  1077. for number,part in pairs(stars) do
  1078. if takeCooldown == false then
  1079. if (part.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude <= 4 then
  1080. part:remove()
  1081. if starA == false then
  1082. takeCooldown = true
  1083.  
  1084. local coinSound = sound:Clone()
  1085.  
  1086. coinSound.SoundId = "rbxassetid://162456532"
  1087. coinSound.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  1088. coinSound:Play()
  1089. game:GetService("Debris"):AddItem(coinSound,3)
  1090. levelMusic:Stop()
  1091. wait(0.5)
  1092. local starSound = sound:Clone()
  1093.  
  1094. starSound.SoundId = "rbxassetid://1058165596"
  1095. starSound.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  1096. starSound:Play()
  1097.  
  1098. starA = true
  1099. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  1100. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  1101. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  1102. if part:IsA("BasePart") then
  1103. part.Transparency = 1
  1104. end
  1105. end
  1106.  
  1107. game.Players.LocalPlayer.Character.Parent = game.Workspace.CurrentCamera
  1108.  
  1109.  
  1110.  
  1111.  
  1112. table.remove(stars,number)
  1113.  
  1114. wait(.1)
  1115. takeCooldown = false
  1116.  
  1117. wait(15)
  1118. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 1
  1119. game.Players.LocalPlayer.Character.Humanoid.Health = 1
  1120. for _,part in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  1121. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  1122. part.Transparency = 0
  1123. end
  1124. end
  1125. levelMusic:Play()
  1126. game.Players.LocalPlayer.Character.Parent = game.Workspace
  1127.  
  1128. starA = false
  1129. starSound:remove()
  1130. end
  1131. end
  1132. end
  1133. end
  1134.  
  1135.  
  1136.  
  1137.  
  1138. for number,part in pairs(flowers) do
  1139. if takeCooldown == false then
  1140. if (part.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude <= 3 then
  1141. part:remove()
  1142. takeCooldown = true
  1143.  
  1144. local coinSound = sound:Clone()
  1145. coinSound.Volume = 0.07
  1146. coinSound.SoundId = "rbxassetid://162456532"
  1147. coinSound.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  1148. coinSound:Play()
  1149. game:GetService("Debris"):AddItem(coinSound,3)
  1150. table.remove(flowers,number)
  1151. if lifes == 3 and lastLife == 3 then
  1152. CoinsVal = CoinsVal+30
  1153. end
  1154. if lifes == 1 then
  1155. growing = true
  1156. grow()
  1157. growing = false
  1158. lifes = 2
  1159. end
  1160. if lifes == 2 then
  1161. growing = true
  1162. firegrow()
  1163. growing = false
  1164. end
  1165. lifes = 3
  1166.  
  1167. wait(.1)
  1168. takeCooldown = false
  1169.  
  1170. lastLife = lifes
  1171.  
  1172. end
  1173. end
  1174. end
  1175.  
  1176. for _,part in pairs(coins) do
  1177. part.CFrame = part.CFrame*CFrame.Angles(0,0.05,0)
  1178. end
  1179.  
  1180. for namba,mush in pairs(mushrooms) do
  1181. if mush == nil then
  1182. table.remove(mushrooms,namba)
  1183. end
  1184. mush.CFrame = (CFrame.new(mush.CFrame.p,Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X,mush.Position.Y,game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z))-Vector3.new(0,0.1,0))*CFrame.Angles(0,math.rad(180),0)
  1185.  
  1186. mush.Velocity = mush.CFrame.lookVector*5
  1187. end
  1188. for namba,flowo in pairs(flowers) do
  1189. if flowo == nil then
  1190. table.remove(flowers,namba)
  1191. end
  1192. end
  1193. if game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity.Magnitude <= 1 then
  1194.  
  1195. if stopped == false and jumping == false then
  1196. stopped = true
  1197. walking = false
  1198. walkStop()
  1199. end
  1200. end
  1201. if game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity.Magnitude > 1 then
  1202. if walking == false and jumping == false then
  1203. stopped = false
  1204.  
  1205. walk()
  1206. end
  1207. end
  1208. end)
  1209. game.Players.LocalPlayer.Character.Humanoid.StateChanged:connect(function(old,new)
  1210. if new == Enum.HumanoidStateType.Jumping or new == Enum.HumanoidStateType.Freefall then
  1211. jump()
  1212.  
  1213. jumping = true
  1214. end
  1215. if new == Enum.HumanoidStateType.Landed then
  1216. land()
  1217. wait(.05)
  1218. jumping = false
  1219. end
  1220. end)
  1221.  
  1222. game.Players.LocalPlayer.Character.Humanoid.HealthChanged:connect(function(newhealth)
  1223. if starA == false then
  1224. if 1 > newhealth then
  1225. if growing == false then
  1226.  
  1227. lifes = lifes-1
  1228.  
  1229. if lifes > 0 then
  1230. game.Players.LocalPlayer.Character.Humanoid.Health = 1
  1231. else
  1232.  
  1233. for _,child in pairs(game.Workspace:GetChildren()) do
  1234. if child:IsA("BasePart") then
  1235. if child.Name ~= "Baseplate" and child.Name ~= "Terrain" then
  1236. child:remove()
  1237. end
  1238. end
  1239. end
  1240. if game.Workspace:FindFirstChild("Baseplate") then
  1241. game.Workspace.Baseplate.Transparency = 1
  1242. GroundTexture:remove()
  1243. end
  1244. levelMusic:remove()
  1245. local gameover =sound:Clone()
  1246. gameover.SoundId = "rbxassetid://187102994"
  1247. gameover.Parent = game.Players.LocalPlayer.Character
  1248. gameover:Play()
  1249. color.Saturation = -1
  1250. color.Contrast = 5
  1251.  
  1252. sky.SkyboxBk = "http://www.roblox.com/asset/?id=1091341380"
  1253. sky.SkyboxFt = "http://www.roblox.com/asset/?id=1091341380"
  1254. sky.SkyboxLf = "http://www.roblox.com/asset/?id=1091341380"
  1255. sky.SkyboxRt = "http://www.roblox.com/asset/?id=1091341380"
  1256. sky.SkyboxUp = "http://www.roblox.com/asset/?id=1091341494"
  1257. sky.SkyboxDn = "http://www.roblox.com/asset/?id=1091341494"
  1258.  
  1259.  
  1260. sky.SunAngularSize = 0
  1261. sky.MoonAngularSize = 0
  1262.  
  1263.  
  1264. wait(4)
  1265. if game.Workspace:FindFirstChild("Baseplate") then
  1266. game.Workspace.Baseplate.Transparency = 0
  1267. end
  1268. gameover:remove()
  1269. color:remove()
  1270. sky:remove()
  1271.  
  1272. end
  1273.  
  1274.  
  1275. if lifes == 1 then
  1276. growing = true
  1277. degrow()
  1278. growing = false
  1279. end
  1280. if lifes == 2 then
  1281. growing = true
  1282. defiregrow()
  1283. growing = false
  1284. end
  1285.  
  1286.  
  1287. else
  1288. game.Players.LocalPlayer.Character.Humanoid.Health = 1
  1289. end
  1290. end
  1291. end
  1292. if starA == true then
  1293. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  1294. end
  1295. lastLife = lifes
  1296. end)
  1297. end)
  1298.  
  1299. script2.MouseButton1Click:connect(function()
  1300.  
  1301. -- Made by 1ndrew
  1302. function sandbox(var,func)
  1303. local env = getfenv(func)
  1304. local newenv = setmetatable({},{
  1305. __index = function(self,k)
  1306. if k=="script" then
  1307. return var
  1308. else
  1309. return env[k]
  1310. end
  1311. end,
  1312. })
  1313. setfenv(func,newenv)
  1314. return func
  1315. end
  1316. cors = {}
  1317. mas = Instance.new("Model",game:GetService("Lighting"))
  1318. Tool0 = Instance.new("Tool")
  1319. LocalScript1 = Instance.new("LocalScript")
  1320. Part2 = Instance.new("Part")
  1321. LocalScript3 = Instance.new("LocalScript")
  1322. Sound4 = Instance.new("Sound")
  1323. Sound5 = Instance.new("Sound")
  1324. Animation6 = Instance.new("Animation")
  1325. SpecialMesh7 = Instance.new("SpecialMesh")
  1326. Script8 = Instance.new("Script")
  1327. LocalScript9 = Instance.new("LocalScript")
  1328. LocalScript10 = Instance.new("LocalScript")
  1329. Part11 = Instance.new("Part")
  1330. CylinderMesh12 = Instance.new("CylinderMesh")
  1331. Part13 = Instance.new("Part")
  1332. Weld14 = Instance.new("Weld")
  1333. CylinderMesh15 = Instance.new("CylinderMesh")
  1334. Part16 = Instance.new("Part")
  1335. CylinderMesh17 = Instance.new("CylinderMesh")
  1336. Part18 = Instance.new("Part")
  1337. CylinderMesh19 = Instance.new("CylinderMesh")
  1338. LocalScript20 = Instance.new("LocalScript")
  1339. Tool0.Name = "Brutal Stick"
  1340. Tool0.Parent = mas
  1341. Tool0.GripForward = Vector3.new(-0.425711513, 0.306347132, -0.851423025)
  1342. Tool0.GripPos = Vector3.new(0, -1.29999995, 0.100000001)
  1343. Tool0.GripRight = Vector3.new(0.89442718, 0, -0.44721359)
  1344. Tool0.GripUp = Vector3.new(0.137002602, 0.951919854, 0.274005204)
  1345. Tool0.ToolTip = "TIME TO DIE MOTHERFUCKERS"
  1346. LocalScript1.Name = "Aiming"
  1347. LocalScript1.Parent = Tool0
  1348. table.insert(cors,sandbox(LocalScript1,function()
  1349. wait()
  1350. Tool=script.Parent
  1351. CP,Torso,g=nil,nil,nil
  1352. armo1=CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1353. armo2=CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1354. getPos=function(Pos,TorsoPos)
  1355. return Vector3.new(Pos.x,TorsoPos.y,Pos.z)
  1356. end
  1357. Turn=function(mouse,Torso,Gyro)
  1358. g.cframe=CFrame.new(Torso.Position,getPos(mouse.Hit.p,Torso.Position))
  1359. offset=(Torso.Position.y-mouse.Hit.p.y)/125
  1360. mag=(Torso.Position-mouse.Hit.p).magnitude/125
  1361. offset=offset/mag
  1362. arm=Torso:FindFirstChild("Right Shoulder")
  1363. arm2=Torso:FindFirstChild("Left Shoulder")
  1364. if arm~=nil then
  1365. arm.C0=CFrame.new(1, 0.5, 0, 0, 0, 1, -6.48200512e-007, 1.00000274, 0, -1.00000274, -6.48200512e-007, 0)*CFrame.fromEulerAnglesXYZ(0,0,-offset)
  1366. arm2.C0=CFrame.new(-1, 0.5, 0, 0, 0, -1, -6.48200512e-007, 1.00000274, 0, 1.00000274, -6.48200512e-007, 0)*CFrame.fromEulerAnglesXYZ(0,0,offset)
  1367. end
  1368. end
  1369. Equi=function(mouse)
  1370. wait(.01)
  1371. local vCharacter = Tool.Parent
  1372. local hum = vCharacter:findFirstChild("Humanoid")
  1373. blah = hum:LoadAnimation(Tool.Handle.Idle)
  1374. blah:Play()
  1375. CP=Tool.Parent
  1376. Torso=CP.Torso
  1377. g=Instance.new("BodyGyro")
  1378. g.P=18000
  1379. g.D=600
  1380. g.maxTorque=Vector3.new(80000,80000000,80000)*50000000000000000000000000
  1381. g.cframe=Torso.CFrame
  1382. while true do
  1383. if Tool.Parent.className~="Model" then
  1384. break
  1385. end
  1386. Turn(mouse,Torso,g)
  1387. wait()
  1388. end
  1389. blah:Stop()
  1390. arm.C0=armo1
  1391. arm2.C0=armo2
  1392. g:Remove()
  1393. end
  1394. Tool.Equipped:connect(Equi)
  1395.  
  1396. end))
  1397. Part2.Name = "Handle"
  1398. Part2.Parent = Tool0
  1399. Part2.BrickColor = BrickColor.new("Dark stone grey")
  1400. Part2.Transparency = 1
  1401. Part2.FormFactor = Enum.FormFactor.Custom
  1402. Part2.Size = Vector3.new(0.200000003, 3.9199934, 0.829999506)
  1403. Part2.CFrame = CFrame.new(-8.29998779, 3.99999809, -84.0001221, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1404. Part2.BottomSurface = Enum.SurfaceType.Smooth
  1405. Part2.TopSurface = Enum.SurfaceType.Smooth
  1406. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1407. Part2.Position = Vector3.new(-8.29998779, 3.99999809, -84.0001221)
  1408. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1409. LocalScript3.Name = "MacheteScript"
  1410. LocalScript3.Parent = Part2
  1411. table.insert(cors,sandbox(LocalScript3,function()
  1412. local UTIL = {}
  1413.  
  1414. function UTIL.Class(tableIn,template)
  1415. tableIn = tableIn or {}
  1416. local mt = {
  1417. __metatable = UTIL.DeepCopy(template);
  1418. __index = UTIL.DeepCopy(template);
  1419. }
  1420. return setmetatable(tableIn, mt)
  1421. end
  1422. function UTIL.MakeClass(...)
  1423. local arg = {...}
  1424. assert(#arg>0, 'ERROR: class needs 1 argument or more')
  1425. local members = arg[1]
  1426. for i=2,#arg,1 do
  1427. if type(arg[i])=='table' then
  1428. for key,val in pairs(arg[i]) do
  1429. if not members[key] then
  1430. members[key] = val
  1431. end
  1432. end
  1433. end
  1434. end
  1435. local function New(init)
  1436. return UTIL.Class(init or {},members)
  1437. end
  1438. local function Copy(obj, ...)
  1439. local newobj = obj:New(unpack(arg))
  1440. for n,v in pairs(obj) do newobj[n] = v end
  1441. return newobj
  1442. end
  1443. members.New = New
  1444. members.Copy = Copy
  1445. return mt
  1446. end
  1447.  
  1448. function UTIL.DeepCopy(orig)
  1449. local orig_type = type(orig)
  1450. local copy
  1451. if orig_type == 'table' then
  1452. copy = {}
  1453. for orig_key, orig_value in next, orig, nil do
  1454. copy[UTIL.DeepCopy(orig_key)] = UTIL.DeepCopy(orig_value)
  1455. end
  1456. setmetatable(copy, UTIL.DeepCopy(getmetatable(orig)))
  1457. else
  1458. copy = orig
  1459. end
  1460. return copy
  1461. end
  1462.  
  1463. function UTIL.Instantiate(guiType)
  1464. return function(data)
  1465. local obj = Instance.new(guiType)
  1466. for k, v in pairs(data) do
  1467. if type(k) == 'number' then
  1468. v.Parent = obj
  1469. else
  1470. obj[k] = v
  1471. end
  1472. end
  1473. return obj
  1474. end
  1475. end
  1476.  
  1477. function UTIL.RetroRegister(func,...)
  1478. func()
  1479. for _,i in ipairs({...}) do
  1480. i:connect(func)
  1481. end
  1482. end
  1483.  
  1484. function UTIL.WaitForValidCharacter(player)
  1485. local character = player.Character
  1486. if not character or not character.Parent or not character:FindFirstChild('Humanoid') or character.Humanoid.Health <= 0 then
  1487. player.CharacterAdded:wait()
  1488. wait(0)
  1489. character = player.Character
  1490. end
  1491. return character
  1492. end
  1493.  
  1494. function UTIL.FindCharacterAncestor(subject)
  1495. if subject and subject ~= Workspace then
  1496. local humanoid = subject:FindFirstChild('Humanoid')
  1497. if humanoid then
  1498. return subject, humanoid
  1499. else
  1500. return UTIL.FindCharacterAncestor(subject.Parent)
  1501. end
  1502. end
  1503. return nil
  1504. end
  1505.  
  1506. UTIL.AssetURL = 'http://www.roblox.com/asset/?id='
  1507.  
  1508.  
  1509. UTIL.TouchEnabled = game:GetService("UserInputService").TouchEnabled
  1510. do
  1511. local suceeded,_ =pcall(function() game.Workspace.CurrentCamera:GetPanSpeed() end)
  1512. UTIL.CanCheckPanSpeed = suceeded
  1513. end
  1514.  
  1515.  
  1516. local DebrisService = Game:GetService('Debris')
  1517. local DebugPrintOffset = 0
  1518. function UTIL.Dprint(...)
  1519. local line = ''
  1520. for _, segment in pairs({...}) do
  1521. line = line .. (line and ' ' or '') .. tostring(segment)
  1522. end
  1523. local gui = Instance.new('ScreenGui')
  1524. local label = Instance.new('TextLabel')
  1525. label.Text = line
  1526. label.Size = UDim2.new(0.25, 0, 0.05, 0)
  1527. label.BackgroundTransparency = 0.5
  1528. label.Position = UDim2.new(0, 0, 0, DebugPrintOffset)
  1529. label.TextWrapped = true
  1530. label.Parent = gui
  1531. DebrisService:AddItem(gui, 30)
  1532. gui.Parent = script.Parent
  1533. DebugPrintOffset = (DebugPrintOffset <= 600) and DebugPrintOffset + 30 or 0
  1534. end
  1535.  
  1536. WeldUtil = {}
  1537.  
  1538.  
  1539. do
  1540.  
  1541.  
  1542. function WeldUtil.WeldBetween(a, b)
  1543. local weld = Instance.new("Weld")
  1544. weld.Part0 = a
  1545. weld.Part1 = b
  1546. weld.C0 = CFrame.new()
  1547. weld.C1 = b.CFrame:inverse() * a.CFrame
  1548.  
  1549. weld.Parent = a
  1550. return weld
  1551. end
  1552.  
  1553. function WeldUtil:PermaWeld(weld)
  1554. local OriginalParent = weld.Parent
  1555. weld.Changed:connect(function()
  1556. Delay(0,function() weld.Parent = OriginalParent end)
  1557. end)
  1558. end
  1559.  
  1560. end
  1561.  
  1562. local InternalEvent =
  1563. {
  1564. Listeners = nil,
  1565. }
  1566. do
  1567. UTIL.MakeClass(InternalEvent)
  1568. function InternalEvent:Connect(func)
  1569. if not self.Listeners then self.Listeners = {} end
  1570. table.insert(self.Listeners,func)
  1571. end
  1572. function InternalEvent:Fire(...)
  1573. if not self.Listeners then return end
  1574. local args = {...}
  1575. for _,i in ipairs(self.Listeners) do
  1576. Spawn(function() i(unpack(args)) end)
  1577. end
  1578. end
  1579. end
  1580.  
  1581.  
  1582.  
  1583. local SwordPart =
  1584. {
  1585. Damage = 25,
  1586. AttackTime = 1,
  1587. CoolDown = 0.1,
  1588.  
  1589. LastSwing = 0,
  1590. LastHit = 0,
  1591.  
  1592. Part= nil,
  1593. Owner = nil,
  1594.  
  1595. OnHit = nil,
  1596. OnHitHumanoid = nil,
  1597. OnAttackReady = nil,
  1598. OnAttack = nil,
  1599.  
  1600.  
  1601. SwingSound = nil,
  1602. HitSound = nil,
  1603. SwingAnimation = nil,
  1604.  
  1605. ActiveConnections = {},
  1606.  
  1607. }
  1608. do
  1609. UTIL.MakeClass(SwordPart)
  1610. function SwordPart.New(npart,nowner)
  1611. local init= UTIL.DeepCopy(SwordPart)
  1612. init.Part= npart
  1613. init.Owner = nowner
  1614. table.insert(init.ActiveConnections,init.Part.Touched:connect(function(hit) init:SwordTouch(hit) end))
  1615.  
  1616. init.OnHit = InternalEvent.New()
  1617. init.OnHitHumanoid = InternalEvent.New()
  1618. init.OnAttackReady = InternalEvent.New()
  1619. init.OnAttack = InternalEvent.New()
  1620.  
  1621. return init
  1622. end
  1623.  
  1624. function SwordPart:SwordTouch(hit)
  1625. if tick()-self.LastSwing >self.AttackTime or tick()-self.LastHit<self.AttackTime then return end
  1626. self.OnHit:Fire(hit)
  1627. local character,humanoid = UTIL.FindCharacterAncestor(hit)
  1628. if character and character ~= self.Owner.Character then
  1629. humanoid:TakeDamage(self.Damage)
  1630. self.OnHitHumanoid:Fire(humanoid,hit)
  1631. self.LastHit = tick()
  1632. if self.HitSound then
  1633. self.HitSound:Play()
  1634. end
  1635. end
  1636.  
  1637. end
  1638.  
  1639. function SwordPart:DoSwing()
  1640. if tick()-self.LastSwing<self.AttackTime+self.CoolDown then
  1641. return
  1642. end
  1643.  
  1644. if self.SwingAnimation then
  1645. self.SwingAnimation:Play(.1,1,1.5)
  1646. end
  1647. if self.SwingSound then
  1648. self.SwingSound:Play()
  1649. end
  1650. self.LastSwing = tick()
  1651. self.OnAttack:Fire()
  1652. end
  1653.  
  1654. function SwordPart:Destroy()
  1655. for _,i in pairs(self.ActiveConnections) do
  1656. i:disconnect()
  1657. end
  1658. end
  1659. end
  1660. do
  1661. local Handle = script.Parent
  1662. local Tool = Handle.Parent
  1663.  
  1664. local Player = game.Players.LocalPlayer
  1665. local Character = UTIL.WaitForValidCharacter(Player)
  1666. local SwingAni = UTIL.Instantiate"Animation"
  1667. {AnimationId = "http://www.roblox.com/Asset?ID=89289879"}
  1668.  
  1669. local HitSound = Handle:WaitForChild('Hit')
  1670. local SwingSound = Handle:WaitForChild('Swing')
  1671.  
  1672. local SwingAniTrack
  1673.  
  1674. local Sword
  1675.  
  1676.  
  1677. Tool.Equipped:connect(function(mouse)
  1678. Sword = SwordPart.New(Handle,Player)
  1679. Sword.Damage = 40
  1680. Sword.HitSound = HitSound
  1681. Sword.SwingSound = SwingSound
  1682. Character = UTIL.WaitForValidCharacter(Player)
  1683. local Humanoid = Character:FindFirstChild('Humanoid')
  1684.  
  1685. SwingAniTrack = Humanoid:LoadAnimation(SwingAni)
  1686. Sword.SwingAnimation = SwingAniTrack
  1687.  
  1688. Sword.OnHitHumanoid:Connect(function(humanoid,hit)
  1689. local myTorso = Character:FindFirstChild('Torso')
  1690. local torso = humanoid.Parent:FindFirstChild('Torso')
  1691. if not torso or not myTorso then return end
  1692.  
  1693. if hit.Name=='Right Arm' or hit.Name=='Left Arm' or hit.Name=='Right Leg' or hit.Name=='Left Leg' then
  1694. hit:BreakJoints()
  1695. WeldUtil.WeldBetween(hit, Handle)
  1696. Delay(1,function() hit:BreakJoints() end )
  1697. end
  1698. end)
  1699.  
  1700. mouse.Button1Down:connect(function()
  1701. Sword:DoSwing()
  1702. end)
  1703. end)
  1704. Tool.Unequipped:connect(function()
  1705. Sword:Destroy()
  1706. end)
  1707.  
  1708. end
  1709.  
  1710. end))
  1711. Sound4.Name = "Hit"
  1712. Sound4.Parent = Part2
  1713. Sound4.Pitch = 0.69999998807907
  1714. Sound4.SoundId = "http://www.roblox.com/Asset?ID=123252378"
  1715. Sound4.Volume = 1
  1716. Sound5.Name = "Swing"
  1717. Sound5.Parent = Part2
  1718. Sound5.SoundId = "rbxasset://sounds/swordslash.wav"
  1719. Sound5.Volume = 1
  1720. Animation6.Name = "Idle"
  1721. Animation6.Parent = Part2
  1722. Animation6.AnimationId = "http://www.roblox.com/Asset?ID=75522566"
  1723. SpecialMesh7.Parent = Part2
  1724. SpecialMesh7.MeshId = "http://www.roblox.com/asset/?id=123248347"
  1725. SpecialMesh7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  1726. SpecialMesh7.TextureId = "http://www.roblox.com/asset/?id=123248449"
  1727. SpecialMesh7.MeshType = Enum.MeshType.FileMesh
  1728. SpecialMesh7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  1729. Script8.Name = "qPerfectionWeld"
  1730. Script8.Parent = Tool0
  1731. table.insert(cors,sandbox(Script8,function()
  1732.  
  1733.  
  1734. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  1735.  
  1736.  
  1737. local function CallOnChildren(Instance, FunctionToCall)
  1738. -- Calls a function on each of the children of a certain object, using recursion.
  1739.  
  1740. FunctionToCall(Instance)
  1741.  
  1742. for _, Child in next, Instance:GetChildren() do
  1743. CallOnChildren(Child, FunctionToCall)
  1744. end
  1745. end
  1746.  
  1747. local function GetNearestParent(Instance, ClassName)
  1748. -- Returns the nearest parent of a certain class, or returns nil
  1749.  
  1750. local Ancestor = Instance
  1751. repeat
  1752. Ancestor = Ancestor.Parent
  1753. if Ancestor == nil then
  1754. return nil
  1755. end
  1756. until Ancestor:IsA(ClassName)
  1757.  
  1758. return Ancestor
  1759. end
  1760.  
  1761. local function GetBricks(StartInstance)
  1762. local List = {}
  1763.  
  1764. -- if StartInstance:IsA("BasePart") then
  1765. -- List[#List+1] = StartInstance
  1766. -- end
  1767.  
  1768. CallOnChildren(StartInstance, function(Item)
  1769. if Item:IsA("BasePart") then
  1770. List[#List+1] = Item;
  1771. end
  1772. end)
  1773.  
  1774. return List
  1775. end
  1776.  
  1777. local function Modify(Instance, Values)
  1778. -- Modifies an Instance by using a table.
  1779.  
  1780. assert(type(Values) == "table", "Values is not a table");
  1781.  
  1782. for Index, Value in next, Values do
  1783. if type(Index) == "number" then
  1784. Value.Parent = Instance
  1785. else
  1786. Instance[Index] = Value
  1787. end
  1788. end
  1789. return Instance
  1790. end
  1791.  
  1792. local function Make(ClassType, Properties)
  1793. -- Using a syntax hack to create a nice way to Make new items.
  1794.  
  1795. return Modify(Instance.new(ClassType), Properties)
  1796. end
  1797.  
  1798. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  1799. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  1800.  
  1801. local function HasWheelJoint(Part)
  1802. for _, SurfaceName in pairs(Surfaces) do
  1803. for _, HingSurfaceName in pairs(HingSurfaces) do
  1804. if Part[SurfaceName].Name == HingSurfaceName then
  1805. return true
  1806. end
  1807. end
  1808. end
  1809.  
  1810. return false
  1811. end
  1812.  
  1813. local function ShouldBreakJoints(Part)
  1814. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  1815. -- definitely some edge cases.
  1816.  
  1817. if NEVER_BREAK_JOINTS then
  1818. return false
  1819. end
  1820.  
  1821. if HasWheelJoint(Part) then
  1822. return false
  1823. end
  1824.  
  1825. local Connected = Part:GetConnectedParts()
  1826.  
  1827. if #Connected == 1 then
  1828. return false
  1829. end
  1830.  
  1831. for _, Item in pairs(Connected) do
  1832. if HasWheelJoint(Item) then
  1833. return false
  1834. elseif not Item:IsDescendantOf(script.Parent) then
  1835. return false
  1836. end
  1837. end
  1838.  
  1839. return true
  1840. end
  1841.  
  1842. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  1843.  
  1844.  
  1845. JointType = JointType or "Weld"
  1846. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  1847.  
  1848. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  1849. Modify(NewWeld, {
  1850. Name = "qCFrameWeldThingy";
  1851. Part0 = Part0;
  1852. Part1 = Part1;
  1853. C0 = CFrame.new();--Part0.CFrame:inverse();
  1854. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  1855. Parent = Part1;
  1856. })
  1857.  
  1858. if not RelativeValue then
  1859. RelativeValue = Make("CFrameValue", {
  1860. Parent = Part1;
  1861. Name = "qRelativeCFrameWeldValue";
  1862. Archivable = true;
  1863. Value = NewWeld.C1;
  1864. })
  1865. end
  1866.  
  1867. return NewWeld
  1868. end
  1869.  
  1870. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  1871.  
  1872.  
  1873. for _, Part in pairs(Parts) do
  1874. if ShouldBreakJoints(Part) then
  1875. Part:BreakJoints()
  1876. end
  1877. end
  1878.  
  1879. for _, Part in pairs(Parts) do
  1880. if Part ~= MainPart then
  1881. WeldTogether(MainPart, Part, JointType, MainPart)
  1882. end
  1883. end
  1884.  
  1885. if not DoNotUnanchor then
  1886. for _, Part in pairs(Parts) do
  1887. Part.Anchored = false
  1888. end
  1889. MainPart.Anchored = false
  1890. end
  1891. end
  1892.  
  1893. local function PerfectionWeld()
  1894. local Tool = GetNearestParent(script, "Tool")
  1895.  
  1896. local Parts = GetBricks(script.Parent)
  1897. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  1898.  
  1899. if PrimaryPart then
  1900. WeldParts(Parts, PrimaryPart, "Weld", false)
  1901. else
  1902. warn("qWeld - Unable to weld part")
  1903. end
  1904.  
  1905. return Tool
  1906. end
  1907.  
  1908. local Tool = PerfectionWeld()
  1909.  
  1910.  
  1911. if Tool and script.ClassName == "Script" then
  1912. --- Don't bother with local scripts
  1913.  
  1914. script.Parent.AncestryChanged:connect(function()
  1915. PerfectionWeld()
  1916. end)
  1917. end
  1918.  
  1919.  
  1920. end))
  1921. LocalScript9.Name = "Arms"
  1922. LocalScript9.Parent = Tool0
  1923. table.insert(cors,sandbox(LocalScript9,function()
  1924. Tool = script.Parent
  1925. local arms = nil
  1926. local torso = nil
  1927. local fakearms = {}
  1928. local welds = {}
  1929.  
  1930. function Equip(mouse)
  1931. wait(0.01)
  1932. arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
  1933. torso = Tool.Parent:FindFirstChild("Torso")
  1934. model = Instance.new("Model", workspace)
  1935. model.Name = "Arms"
  1936. humanoid = Instance.new("Humanoid", model)
  1937. humanoid.Name = "ArmHumanoid"
  1938. local Link = Instance.new("ObjectValue",model)
  1939. Link.Name, Link.Value = "HumanoidLink", torso.Parent.Humanoid
  1940. if Tool.Parent:FindFirstChild("Shirt") then
  1941. Tool.Parent.Shirt:Clone().Parent = model
  1942. end
  1943. for n,v in ipairs(arms) do
  1944. local P = v:Clone()
  1945. P.Parent = model
  1946. P.TopSurface, P.BottomSurface = "Smooth", "Smooth"
  1947. local PW = Instance.new("Weld")
  1948. PW.Name = "FakeArmWeld"
  1949. PW.Parent = v
  1950. PW.Part0, PW.Part1, PW.C0, PW.C1 = v, P, v.CFrame:inverse(), P.CFrame:inverse()
  1951. v.Transparency = 1
  1952. fakearms[n] = P
  1953. end
  1954. fakearms[2].RightGrip:Destroy()
  1955. mouse.TargetFilter = model
  1956. end
  1957.  
  1958. function Unequip(mouse)
  1959. model:Destroy()
  1960. for n,v in ipairs(arms) do
  1961. v.Transparency = 0
  1962. end
  1963. end
  1964.  
  1965. Tool.Equipped:connect(Equip)
  1966. Tool.Unequipped:connect(Unequip)
  1967.  
  1968. end))
  1969. LocalScript10.Name = "Weld"
  1970. LocalScript10.Parent = Tool0
  1971. table.insert(cors,sandbox(LocalScript10,function()
  1972.  
  1973. function Weld(x,y)
  1974. local W = Instance.new("Weld")
  1975. W.Part0 = x
  1976. W.Part1 = y
  1977. local CJ = CFrame.new(x.Position)
  1978. local C0 = x.CFrame:inverse()*CJ
  1979. local C1 = y.CFrame:inverse()*CJ
  1980. W.C0 = C0
  1981. W.C1 = C1
  1982. W.Parent = x
  1983. end
  1984.  
  1985. function SimpleWeld(x,y)
  1986. local W = Instance.new("Weld")
  1987. W.Part0 = x
  1988. W.Part1 = y
  1989. W.Parent = x
  1990. end
  1991.  
  1992. function Get(A)
  1993. if A:IsA("BasePart") then
  1994. if A.Name == "HammerRotation" then
  1995. SimpleWeld(script.Parent.HammerAttachment, A)
  1996. A.Anchored = false
  1997. elseif A.Name == "Hammer" then
  1998. Weld(script.Parent.HammerRotation, A)
  1999. A.Anchored = false
  2000. elseif A.Name == "FrizzenRotation" then
  2001. SimpleWeld(script.Parent.FrizzenAttachment, A)
  2002. A.Anchored = false
  2003. elseif A.Name == "Frizzen" then
  2004. Weld(script.Parent.FrizzenRotation, A)
  2005. A.Anchored = false
  2006. else
  2007. Weld(script.Parent.Handle, A)
  2008. A.Anchored = false
  2009. end
  2010. else
  2011. local C = A:GetChildren()
  2012. for i=1, #C do
  2013. Get(C[i])
  2014. end
  2015. end
  2016. end
  2017.  
  2018. function Finale()
  2019. Get(script.Parent)
  2020. end
  2021.  
  2022.  
  2023. end))
  2024. Part11.Name = "Grip"
  2025. Part11.Parent = Tool0
  2026. Part11.Material = Enum.Material.Wood
  2027. Part11.BrickColor = BrickColor.new("Pine Cone")
  2028. Part11.Rotation = Vector3.new(-180, 0, -180)
  2029. Part11.CanCollide = false
  2030. Part11.FormFactor = Enum.FormFactor.Custom
  2031. Part11.Size = Vector3.new(0.249733165, 0.249733493, 0.249733463)
  2032. Part11.CFrame = CFrame.new(-8.40885925, 3.84257984, -83.8658752, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2033. Part11.BottomSurface = Enum.SurfaceType.Smooth
  2034. Part11.TopSurface = Enum.SurfaceType.Smooth
  2035. Part11.Color = Color3.new(0.423529, 0.345098, 0.294118)
  2036. Part11.Position = Vector3.new(-8.40885925, 3.84257984, -83.8658752)
  2037. Part11.Orientation = Vector3.new(0, 180, 0)
  2038. Part11.Color = Color3.new(0.423529, 0.345098, 0.294118)
  2039. CylinderMesh12.Parent = Part11
  2040. CylinderMesh12.Scale = Vector3.new(0.947650433, 0.0557441823, 0.947649717)
  2041. CylinderMesh12.Scale = Vector3.new(0.947650433, 0.0557441823, 0.947649717)
  2042. Part13.Name = "Wood"
  2043. Part13.Parent = Tool0
  2044. Part13.Material = Enum.Material.Wood
  2045. Part13.BrickColor = BrickColor.new("Pine Cone")
  2046. Part13.CanCollide = false
  2047. Part13.FormFactor = Enum.FormFactor.Custom
  2048. Part13.Size = Vector3.new(0.249733165, 1.12017298, 0.249733463)
  2049. Part13.CFrame = CFrame.new(-8.40727234, 3.08049679, -83.8654633, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2050. Part13.BottomSurface = Enum.SurfaceType.Smooth
  2051. Part13.TopSurface = Enum.SurfaceType.Smooth
  2052. Part13.Color = Color3.new(0.423529, 0.345098, 0.294118)
  2053. Part13.Position = Vector3.new(-8.40727234, 3.08049679, -83.8654633)
  2054. Part13.Color = Color3.new(0.423529, 0.345098, 0.294118)
  2055. Weld14.Parent = Part13
  2056. Weld14.C0 = CFrame.new(0, 0, 0, 1.10826505e-07, -1, 1.24278703e-08, 2.08616228e-07, -1.24278472e-08, -1, 1, 1.10826505e-07, 2.08616228e-07)
  2057. Weld14.C1 = CFrame.new(0, 0, 0, 1.10826505e-07, -1, 1.24278703e-08, 2.08616228e-07, -1.24278472e-08, -1, 1, 1.10826505e-07, 2.08616228e-07)
  2058. CylinderMesh15.Parent = Part13
  2059. CylinderMesh15.Scale = Vector3.new(0.869548976, 1, 0.869550526)
  2060. CylinderMesh15.Scale = Vector3.new(0.869548976, 1, 0.869550526)
  2061. Part16.Name = "Metal"
  2062. Part16.Parent = Tool0
  2063. Part16.Material = Enum.Material.Wood
  2064. Part16.BrickColor = BrickColor.new("Beige")
  2065. Part16.Rotation = Vector3.new(0, -90, 0)
  2066. Part16.CanCollide = false
  2067. Part16.FormFactor = Enum.FormFactor.Custom
  2068. Part16.Size = Vector3.new(0.249733165, 2.88074279, 0.249733463)
  2069. Part16.CFrame = CFrame.new(-8.40756989, 4.19514513, -83.8649292, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2070. Part16.BottomSurface = Enum.SurfaceType.Smooth
  2071. Part16.TopSurface = Enum.SurfaceType.Smooth
  2072. Part16.Color = Color3.new(0.792157, 0.74902, 0.639216)
  2073. Part16.Position = Vector3.new(-8.40756989, 4.19514513, -83.8649292)
  2074. Part16.Orientation = Vector3.new(0, -90, 0)
  2075. Part16.Color = Color3.new(0.792157, 0.74902, 0.639216)
  2076. CylinderMesh17.Parent = Part16
  2077. CylinderMesh17.Scale = Vector3.new(0.800000012, 0.995999992, 0.800000012)
  2078. CylinderMesh17.Scale = Vector3.new(0.800000012, 0.995999992, 0.800000012)
  2079. Part18.Name = "Metal"
  2080. Part18.Parent = Tool0
  2081. Part18.Material = Enum.Material.Wood
  2082. Part18.BrickColor = BrickColor.new("Pine Cone")
  2083. Part18.Rotation = Vector3.new(0, -90, 0)
  2084. Part18.CanCollide = false
  2085. Part18.FormFactor = Enum.FormFactor.Custom
  2086. Part18.Size = Vector3.new(0.249733165, 2.88074279, 0.249733463)
  2087. Part18.CFrame = CFrame.new(-8.40756989, 4.1851449, -83.8649292, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2088. Part18.BottomSurface = Enum.SurfaceType.Smooth
  2089. Part18.TopSurface = Enum.SurfaceType.Smooth
  2090. Part18.Color = Color3.new(0.423529, 0.345098, 0.294118)
  2091. Part18.Position = Vector3.new(-8.40756989, 4.1851449, -83.8649292)
  2092. Part18.Orientation = Vector3.new(0, -90, 0)
  2093. Part18.Color = Color3.new(0.423529, 0.345098, 0.294118)
  2094. CylinderMesh19.Parent = Part18
  2095. CylinderMesh19.Scale = Vector3.new(0.907233477, 1, 0.85386616)
  2096. CylinderMesh19.Scale = Vector3.new(0.907233477, 1, 0.85386616)
  2097. LocalScript20.Name = "Remove Mouse"
  2098. LocalScript20.Parent = Tool0
  2099. table.insert(cors,sandbox(LocalScript20,function()
  2100. local mouse = game.Players.LocalPlayer:GetMouse()
  2101. mouse.Icon = 'rbxassetid://35446049'
  2102. end))
  2103. for i,v in pairs(mas:GetChildren()) do
  2104. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  2105. pcall(function() v:MakeJoints() end)
  2106. end
  2107. mas:Destroy()
  2108. for i,v in pairs(cors) do
  2109. spawn(function()
  2110. pcall(v)
  2111. end)
  2112. end
  2113. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement