Advertisement
KrYn0MoRe

pvp

Aug 25th, 2018 (edited)
684
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 143.80 KB | None | 0 0
  1. local plr = owner
  2. local char = plr.Character
  3. local hum = char:FindFirstChildOfClass("Humanoid")
  4. local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
  5. local rarm,larm,rleg,lleg,head = char:FindFirstChild("Right Arm"),char:FindFirstChild("Left Arm"),char:FindFirstChild("Right Leg"),char:FindFirstChild("Left Leg"),char:FindFirstChild("Head")
  6.  
  7. if hum.RigType ~= Enum.HumanoidRigType.R6 then warn("turn r6 or it wont work lol") return end
  8.  
  9. local tool = Instance.new("Tool")
  10. local handle = Instance.new("Part")
  11. local SpecialMesh2 = Instance.new("SpecialMesh")
  12. tool.Name = "Diamond Sword"
  13. tool.Parent = plr.Backpack
  14. tool.TextureId = 'rbxassetid://3610692290'
  15. tool.ToolTip = [[
  16. Does 3.5 + 1.5 hearts of damage (50)
  17. ]]
  18. tool.Grip = CFrame.new(-1.10684741, 4.97379915e-14, 0.99055028, -3.20973932e-08, 0.734302819, 0.6788221, -1, -4.37113883e-08, 0, 2.96722487e-08, -0.6788221, 0.734302819)
  19. handle.Name = "Handle"
  20. handle.Parent = tool
  21. handle.Size = Vector3.new(3.1400001, 0.195999995, 3.1400001)
  22. handle.BottomSurface = Enum.SurfaceType.Smooth
  23. handle.CanCollide = false
  24. handle.TopSurface = Enum.SurfaceType.Smooth
  25. SpecialMesh2.Parent = handle
  26. SpecialMesh2.MeshId = "rbxassetid://3676810102"
  27. SpecialMesh2.Scale = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  28. SpecialMesh2.TextureId = "rbxassetid://3676810220"
  29. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  30.  
  31. warn([[
  32. - Made by KrYn0MoRe
  33. - You can jump crit with the sword
  34. - Holding e on a sword makes the sword block 20% damage
  35. - Holding Left Control makes you sprint
  36. ]])
  37.  
  38. local sword_meta = {sharpness = 3, knockback = 0}
  39.  
  40. local dmg = 35 + (5 * sword_meta.sharpness)
  41. local kb = 25 + (3 * sword_meta.knockback)
  42. local armourleft = 4
  43. local blocking = false
  44. local first_person = true
  45. local can_w_tap = false
  46. local combat_18 = true
  47.  
  48. hum.JumpPower = 35
  49.  
  50. local hscript = char:FindFirstChild("Health")
  51.  
  52. if hscript then
  53.     hscript:Destroy()
  54. end
  55.  
  56. local walkremote = Instance.new("RemoteEvent")
  57. walkremote.Name = 'walkremote'
  58. walkremote.Parent = char
  59.  
  60. walkremote.OnServerEvent:Connect(function(plr,mode,data)
  61.     if mode == 1 then
  62.         can_w_tap = data
  63.     end
  64. end)
  65.  
  66. NLS([[
  67. player = game:GetService("Players").LocalPlayer
  68. mouse = player:GetMouse()
  69. char = player.Character
  70. hum = char:FindFirstChildOfClass("Humanoid")
  71. local walkremote = script.Parent
  72.  
  73. local oldspeed = hum.WalkSpeed
  74. local eating = false
  75. local running = false
  76.  
  77. mouse.KeyDown:Connect(function(key)
  78.     if string.byte(key) == 50 then
  79.         running = true
  80.         if not eating then
  81.             hum.WalkSpeed = 24
  82.             walkremote:FireServer(1,true)
  83.         end
  84.     end
  85. end)
  86. mouse.KeyUp:Connect(function(key)
  87.     if string.byte(key) == 50 then
  88.         running = false
  89.         if not eating then
  90.             hum.WalkSpeed = oldspeed
  91.             walkremote:FireServer(1,false)
  92.         end
  93.     end
  94.     if key == 'w' and hum.WalkSpeed == 24 then
  95.         walkremote:FireServer(1,true)
  96.     end
  97. end)
  98. walkremote.OnClientEvent:Connect(function(mode,data)
  99.     if mode == 1 then
  100.         if data == true then
  101.             eating = true
  102.             hum.WalkSpeed = 10
  103.             if running then
  104.                 walkremote:FireServer(1,false)
  105.             end
  106.         elseif data == false then
  107.             eating = false
  108.             if running then
  109.                 hum.WalkSpeed = 24
  110.                 walkremote:FireServer(1,true)
  111.             elseif not running then
  112.                 hum.WalkSpeed = oldspeed
  113.                 walkremote:FireServer(2,false)
  114.                 walkremote:FireServer(1,false)
  115.             end
  116.         end
  117.     end
  118. end)
  119. ]],walkremote)
  120.  
  121. local function Added(item)
  122.     if item:IsA("Explosion") then
  123.         local function ExplosionHit(part)
  124.             if part == torso then
  125.                 local Directed = (torso.Position - item.Position)
  126.                 if Directed.X ~= 0 or Directed.Y ~= 0 or Directed.Z ~= 0 then
  127.                     torso.Velocity = torso.Velocity + Directed.unit * 80
  128.                 end
  129.             end
  130.         end
  131.         item.Hit:Connect(ExplosionHit)
  132.     end
  133. end
  134. game.Workspace.DescendantAdded:Connect(Added)
  135.  
  136. local sethealth = 0
  137. local helmet,tors,rf,lf,rl,ll,la,ra
  138. local helmet_health = 363
  139. local chestplate_health = 528
  140. local leggings_health = 495
  141. local boots_health = 429
  142. local sword_health = 1561
  143. local boots_meta,leggings_meta,chestplate_meta,helmet_meta = {Protection = 2,Feather_Falling = 0,Unbreaking = 3},{Protection = 2,Unbreaking = 3},{Protection = 2,Unbreaking = 3},{Protection = 2,Unbreaking = 3},{Protection = 2,Unbreaking = 3}
  144.  
  145. local falldamage = Instance.new("Sound")
  146. falldamage.SoundId = 'rbxassetid://535681058'
  147. falldamage.Volume = 2
  148. falldamage.Parent = torso
  149.  
  150. local fallremote = Instance.new("RemoteEvent")
  151. fallremote.Name = 'fallremote'
  152. fallremote.Parent = char
  153.  
  154. fallremote.OnServerEvent:Connect(function(player,mag,hum)
  155.     if char:FindFirstChild("deathmsg") then
  156.         char.deathmsg.Value = " fell to their death"
  157.     end
  158.     if boots_health > 0 and boots_meta.Feather_Falling > 0 then
  159.         hum:TakeDamage(((hum.MaxHealth/100)*mag*2)/boots_meta.Feather_Falling) --/(20*boots_meta.Feather_Falling))
  160.     else
  161.         hum:TakeDamage((hum.MaxHealth/100)*mag*2)
  162.     end
  163.     if mag < 14 then
  164.         falldamage.SoundId = "rbxassetid://4057626616"
  165.         falldamage:Play()
  166.     elseif mag >= 14 then
  167.         falldamage.SoundId = "rbxassetid://535681058"
  168.         falldamage:Play()
  169.     end
  170. end)
  171.  
  172. NLS([[
  173. player = game:GetService("Players").LocalPlayer
  174. mouse = player:GetMouse()
  175. repeat wait() until player.Character
  176. char = player.Character
  177. repeat wait() until char:FindFirstChildOfClass("Humanoid")
  178. repeat wait() until char.Head.Anchored == false
  179. hum = char:FindFirstChildOfClass("Humanoid")
  180. fallremote = script.Parent
  181. pos = Vector3.new()
  182. isFalling = false
  183. hum.FreeFalling:Connect(function()
  184.     if not char:FindFirstChild("fallblock") then
  185.         local e = Instance.new("Part",char)
  186.         e.Anchored = true
  187.         e.Size = Vector3.new()
  188.         e.Transparency = 1
  189.         e.CanCollide = false
  190.         e.Name = "fallblock"
  191.         e.Position = char.Torso.Position
  192.         pos = e.Position
  193.     elseif char:FindFirstChild("fallblock") then
  194.         pos = char.fallblock.Position
  195.     end
  196. end)
  197. hum.Climbing:Connect(function()
  198.     isFalling = false
  199.     pos = Vector3.new()
  200. end)
  201. hum.StateChanged:Connect(function(state)
  202.     if state == Enum.HumanoidStateType.Landed then
  203.         if char:FindFirstChild("fallblock") then
  204.             char.fallblock:Destroy()
  205.         end
  206.         local mag = math.abs(pos.Y - char.Torso.Position.Y)
  207.         pos = Vector3.new()
  208.         if mag >= 8 then
  209.             fallremote:FireServer(mag,hum)
  210.         end
  211.     elseif state == Enum.HumanoidStateType.Climbing then
  212.         pos = Vector3.new()
  213.         isFalling = false
  214.     end
  215. end)
  216. ]],fallremote)
  217.  
  218. local breaksound = Instance.new("Sound")
  219. breaksound.SoundId = 'rbxassetid://4670097025'
  220. breaksound.Volume = 2
  221. breaksound.Parent = torso
  222.  
  223. --[[
  224. spawn(function()
  225.     while wait(0.1) do
  226.         local tempcount = 4
  227.         if 0 >= boots_health then
  228.             if rf and rf.Parent and lf and lf.Parent then
  229.                 breaksound.PlaybackSpeed = math.random(90,100)/100
  230.                 breaksound:Play()
  231.                 rf:Destroy()
  232.                 lf:Destroy()
  233.             end
  234.             boots_health = 0
  235.             tempcount = tempcount - 1
  236.         end
  237.         if 0 >= leggings_health then
  238.             if ll and ll.Parent and rl and rl.Parent then
  239.                 breaksound.PlaybackSpeed = math.random(90,100)/100
  240.                 breaksound:Play()
  241.                 ll:Destroy()
  242.                 rl:Destroy()
  243.             end
  244.             leggings_health = 0
  245.             tempcount = tempcount - 1
  246.         end
  247.         if 0 >= chestplate_health then
  248.             if tors and tors.Parent and ra and ra.Parent and la and la.Parent then
  249.                 breaksound.PlaybackSpeed = math.random(90,100)/100
  250.                 breaksound:Play()
  251.                 tors:Destroy()
  252.                 ra:Destroy()
  253.                 la:Destroy()
  254.             end
  255.             chestplate_health = 0
  256.             tempcount = tempcount - 1
  257.         end
  258.         if 0 >= helmet_health then
  259.             if helmet and helmet.Parent then
  260.                 breaksound.PlaybackSpeed = math.random(90,100)/100
  261.                 breaksound:Play()
  262.                 helmet:Destroy()
  263.             end
  264.             helmet_health = 0
  265.             tempcount = tempcount - 1
  266.         end
  267.         if 0 >= sword_health then
  268.             if tool and tool.Parent then
  269.                 breaksound.PlaybackSpeed = math.random(90,100)/100
  270.                 breaksound:Play()
  271.                 tool:Destroy()
  272.             end
  273.             sword_health = 0
  274.         end
  275.         armourleft = tempcount
  276.     end
  277. end)
  278. ]]
  279.  
  280. local currentHealth = hum.Health
  281. hum.HealthChanged:Connect(function(health)
  282.     local change = math.abs(currentHealth - health)
  283.     local damage = change
  284.     local heal,calcdamage = 0,damage
  285.     if health >= currentHealth then currentHealth = health return end
  286.     local reduction = 0
  287.     if boots_health > 0 then
  288.         reduction = reduction + 0.12
  289.     end
  290.     if leggings_health > 0 then
  291.         reduction = reduction + 0.24
  292.     end
  293.     if chestplate_health > 0 then
  294.         reduction = reduction + 0.32
  295.     end
  296.     if helmet_health > 0 then
  297.         reduction = reduction + 0.12
  298.     end
  299.     calcdamage = calcdamage*(1-reduction)
  300.     if boots_health > 0 then
  301.         calcdamage = calcdamage*(1-(0.04*boots_meta.Protection))
  302.     end
  303.     if chestplate_health > 0 then
  304.         calcdamage = calcdamage*(1-(0.04*chestplate_meta.Protection))
  305.     end
  306.     if leggings_health > 0 then
  307.         calcdamage = calcdamage*(1-(0.04*leggings_meta.Protection))
  308.     end
  309.     if helmet_health > 0 then
  310.         calcdamage = calcdamage*(1-(0.04*helmet_meta.Protection))
  311.     end
  312.     if blocking then
  313.         calcdamage = calcdamage*(1-0.2)
  314.         heal = heal+(damage-calcdamage)
  315.         currentHealth = health+(heal)
  316.         sword_health = sword_health-(calcdamage*(1-0.5))
  317.         hum.Health = currentHealth
  318.     else
  319.         heal = heal+(damage-calcdamage)
  320.         --print('calcdamage:' .. calcdamage)
  321.         --print('return health: ' .. heal)
  322.         currentHealth = health+(heal)
  323.         hum.Health = currentHealth
  324.     end
  325.     currentHealth = hum.Health
  326.     if boots_health > 0 then
  327.         if blocking then
  328.             boots_health = boots_health - (damage*0.125)/boots_meta.Unbreaking
  329.         else
  330.             boots_health = boots_health - (damage*0.25)/boots_meta.Unbreaking
  331.         end
  332.     end
  333.     if leggings_health > 0 then
  334.         if blocking then
  335.             leggings_health = leggings_health - (damage*0.125)/leggings_meta.Unbreaking
  336.         else
  337.             leggings_health = leggings_health - (damage*0.25)/leggings_meta.Unbreaking
  338.         end
  339.     end
  340.     if chestplate_health > 0 then
  341.         if blocking then
  342.             chestplate_health = chestplate_health - (damage*0.125)/chestplate_meta.Unbreaking
  343.         else
  344.             chestplate_health = chestplate_health - (damage*0.25)/chestplate_meta.Unbreaking
  345.         end
  346.     end
  347.     if helmet_health > 0 then
  348.         if blocking then
  349.             helmet_health = helmet_health - (damage*0.125)/helmet_meta.Unbreaking
  350.         else
  351.             helmet_health = helmet_health - (damage*0.25)/helmet_meta.Unbreaking
  352.         end
  353.     end
  354. end)
  355.  
  356. spawn(function()
  357. local Model0 = Instance.new("Model")
  358. local helmesh = Instance.new("SpecialMesh")
  359. helmet = Instance.new("Part")
  360. tors = Instance.new("Part")
  361. rf = Instance.new("Part")
  362. lf = Instance.new("Part")
  363. rl = Instance.new("Part")
  364. ll = Instance.new("Part")
  365. la = Instance.new("Part")
  366. ra = Instance.new("Part")
  367. Model0.Name = "Armour"
  368. Model0.Parent = char
  369. helmet.Name = "hed"
  370. helmet.Parent = Model0
  371. helmet.Color = Color3.new(0.686275, 0.866667, 1)
  372. helmet.Size = Vector3.new(1.2, 1.2, 1.2)
  373. helmet.BottomSurface = Enum.SurfaceType.Smooth
  374. helmet.BrickColor = BrickColor.new("Pastel light blue")
  375. helmet.CanCollide = false
  376. helmet.Material = Enum.Material.Glass
  377. helmet.Reflectance = 0
  378. helmet.TopSurface = Enum.SurfaceType.Smooth
  379. helmet.brickColor = BrickColor.new("Pastel light blue")
  380. helmesh.Parent = helmet
  381. helmesh.MeshType = Enum.MeshType.Head
  382. helmesh.MeshId = "rbxassetid://3751864981"
  383. helmesh.Scale = Vector3.new(1.1,1.1,1.1)
  384. tors.Name = "torso"
  385. tors.Parent = Model0
  386. tors.CFrame = CFrame.new(-92.0820007, 6.14984703, 168.476135, 0.030222008, 0, -0.99954325, 0, 1, 0, 0.99954325, 0, 0.030222008)
  387. tors.Orientation = Vector3.new(0, -88.2699966, 0)
  388. tors.Position = Vector3.new(-92.0820007, 6.14984703, 168.476135)
  389. tors.Rotation = Vector3.new(0, -88.2699966, 0)
  390. tors.Color = Color3.new(0.686275, 0.866667, 1)
  391. tors.Size = Vector3.new(2.05, 2.05, 1.12)
  392. tors.BottomSurface = Enum.SurfaceType.Smooth
  393. tors.BrickColor = BrickColor.new("Pastel light blue")
  394. tors.CanCollide = false
  395. tors.Material = Enum.Material.Glass
  396. tors.Reflectance = 0
  397. tors.TopSurface = Enum.SurfaceType.Smooth
  398. tors.brickColor = BrickColor.new("Pastel light blue")
  399. rf.Name = "rf"
  400. rf.Parent = Model0
  401. rf.CFrame = CFrame.new(-92.0612946, 3.69500494, 168.995316, 0.99954313, 0, 0.0302240029, 0, 1, 0, -0.0302240029, 0, 0.99954313)
  402. rf.Orientation = Vector3.new(0, 1.73000002, 0)
  403. rf.Position = Vector3.new(-92.0612946, 3.69500494, 168.995316)
  404. rf.Rotation = Vector3.new(0, 1.73000002, 0)
  405. rf.Color = Color3.new(0.686275, 0.866667, 1)
  406. rf.Size = Vector3.new(1.2, 1.03, 1.2)
  407. rf.BottomSurface = Enum.SurfaceType.Smooth
  408. rf.BrickColor = BrickColor.new("Pastel light blue")
  409. rf.CanCollide = false
  410. rf.Material = Enum.Material.Glass
  411. rf.Reflectance = 0
  412. rf.TopSurface = Enum.SurfaceType.Smooth
  413. rf.brickColor = BrickColor.new("Pastel light blue")
  414. lf.Name = "lf"
  415. lf.Parent = Model0
  416. lf.CFrame = CFrame.new(-92.1074066, 3.69500494, 167.965942, 0.99954313, 0, 0.0302240029, 0, 1, 0, -0.0302240029, 0, 0.99954313)
  417. lf.Orientation = Vector3.new(0, 1.73000002, 0)
  418. lf.Position = Vector3.new(-92.1074066, 3.69500494, 167.965942)
  419. lf.Rotation = Vector3.new(0, 1.73000002, 0)
  420. lf.Color = Color3.new(0.686275, 0.866667, 1)
  421. lf.Size = Vector3.new(1.2, 1.03, 1.2)
  422. lf.BottomSurface = Enum.SurfaceType.Smooth
  423. lf.BrickColor = BrickColor.new("Pastel light blue")
  424. lf.CanCollide = false
  425. lf.Material = Enum.Material.Glass
  426. lf.Reflectance = 0
  427. lf.TopSurface = Enum.SurfaceType.Smooth
  428. lf.brickColor = BrickColor.new("Pastel light blue")
  429. rl.Name = "rl"
  430. rl.Parent = Model0
  431. rl.CFrame = CFrame.new(-92.0612946, 3.69500494, 168.995316, 0.99954313, 0, 0.0302240029, 0, 1, 0, -0.0302240029, 0, 0.99954313)
  432. rl.Orientation = Vector3.new(0, 1.73000002, 0)
  433. rl.Position = Vector3.new(-92.0612946, 3.69500494, 168.995316)
  434. rl.Rotation = Vector3.new(0, 1.73000002, 0)
  435. rl.Color = Color3.new(0.686275, 0.866667, 1)
  436. rl.Size = Vector3.new(1.05, 1.03, 1.05)
  437. rl.BottomSurface = Enum.SurfaceType.Smooth
  438. rl.BrickColor = BrickColor.new("Pastel light blue")
  439. rl.CanCollide = false
  440. rl.Material = Enum.Material.Glass
  441. rl.Reflectance = 0
  442. rl.TopSurface = Enum.SurfaceType.Smooth
  443. rl.brickColor = BrickColor.new("Pastel light blue")
  444. ll.Name = "ll"
  445. ll.Parent = Model0
  446. ll.CFrame = CFrame.new(-92.1074066, 3.69500494, 167.965942, 0.99954313, 0, 0.0302240029, 0, 1, 0, -0.0302240029, 0, 0.99954313)
  447. ll.Orientation = Vector3.new(0, 1.73000002, 0)
  448. ll.Position = Vector3.new(-92.1074066, 3.69500494, 167.965942)
  449. ll.Rotation = Vector3.new(0, 1.73000002, 0)
  450. ll.Color = Color3.new(0.686275, 0.866667, 1)
  451. ll.Size = Vector3.new(1.05, 1.03, 1.05)
  452. ll.BottomSurface = Enum.SurfaceType.Smooth
  453. ll.BrickColor = BrickColor.new("Pastel light blue")
  454. ll.CanCollide = false
  455. ll.Material = Enum.Material.Glass
  456. ll.Reflectance = 0
  457. ll.TopSurface = Enum.SurfaceType.Smooth
  458. ll.brickColor = BrickColor.new("Pastel light blue")
  459. la.Name = "la"
  460. la.Parent = Model0
  461. la.CFrame = CFrame.new(-92.1023865, 6.75484705, 166.973526, 0.030222008, 0, -0.99954325, 0, 1, 0, 0.99954325, 0, 0.030222008)
  462. la.Orientation = Vector3.new(0, -88.2699966, 0)
  463. la.Position = Vector3.new(-92.1023865, 6.75484705, 166.973526)
  464. la.Rotation = Vector3.new(0, -88.2699966, 0)
  465. la.Color = Color3.new(0.686275, 0.866667, 1)
  466. la.Size = Vector3.new(1.03000021, 0.919999659, 1.09000087)
  467. la.BottomSurface = Enum.SurfaceType.Smooth
  468. la.BrickColor = BrickColor.new("Pastel light blue")
  469. la.CanCollide = false
  470. la.Material = Enum.Material.Glass
  471. la.Reflectance = 0
  472. la.TopSurface = Enum.SurfaceType.Smooth
  473. la.brickColor = BrickColor.new("Pastel light blue")
  474. ra.Name = "ra"
  475. ra.Parent = Model0
  476. ra.CFrame = CFrame.new(-92.0112152, 6.75484705, 169.989319, 0.0302217808, 0, -0.999535739, 0, 1, 0, 0.999535739, 0, 0.0302217808)
  477. ra.Orientation = Vector3.new(0, -88.2699966, 0)
  478. ra.Position = Vector3.new(-92.0112152, 6.75484705, 169.989319)
  479. ra.Rotation = Vector3.new(0, -88.25, 0)
  480. ra.Color = Color3.new(0.686275, 0.866667, 1)
  481. ra.Size = Vector3.new(1.08000016, 0.919999659, 1.09000087)
  482. ra.BottomSurface = Enum.SurfaceType.Smooth
  483. ra.BrickColor = BrickColor.new("Pastel light blue")
  484. ra.CanCollide = false
  485. ra.Material = Enum.Material.Glass
  486. ra.Reflectance = 0
  487. ra.TopSurface = Enum.SurfaceType.Smooth
  488. ra.brickColor = BrickColor.new("Pastel light blue")
  489.  
  490. for i,v in pairs(Model0:GetChildren()) do
  491.     if v ~= helmet then
  492.         local trans = 0.6
  493.         local speed = 0.05
  494.         local size = 6
  495.         local Texture0 = Instance.new("Texture")
  496.         local Texture1 = Instance.new("Texture")
  497.         local Texture2 = Instance.new("Texture")
  498.         local Texture3 = Instance.new("Texture")
  499.         local Texture4 = Instance.new("Texture")
  500.         local Texture5 = Instance.new("Texture")
  501.         Texture0.Parent = v
  502.         Texture0.Texture = "rbxassetid://4771489612"
  503.         Texture0.Transparency = trans
  504.         Texture0.Face = Enum.NormalId.Bottom
  505.         Texture0.StudsPerTileU = size
  506.         Texture0.StudsPerTileV = size
  507.         Texture1.Parent = v
  508.         Texture1.Texture = "rbxassetid://4771489612"
  509.         Texture1.Transparency = trans
  510.         Texture1.Face = Enum.NormalId.Top
  511.         Texture1.StudsPerTileU = size
  512.         Texture1.StudsPerTileV = size
  513.         Texture2.Parent = v
  514.         Texture2.Texture = "rbxassetid://4771489612"
  515.         Texture2.Transparency = trans
  516.         Texture2.Face = Enum.NormalId.Back
  517.         Texture2.StudsPerTileU = size
  518.         Texture2.StudsPerTileV = size
  519.         Texture3.Parent = v
  520.         Texture3.Texture = "rbxassetid://4771489612"
  521.         Texture3.Transparency = trans
  522.         Texture3.Face = Enum.NormalId.Front
  523.         Texture3.StudsPerTileU = size
  524.         Texture3.StudsPerTileV = size
  525.         Texture4.Parent = v
  526.         Texture4.Texture = "rbxassetid://4771489612"
  527.         Texture4.Transparency = trans
  528.         Texture4.Face = Enum.NormalId.Left
  529.         Texture4.StudsPerTileU = size
  530.         Texture4.StudsPerTileV = size
  531.         Texture5.Parent = v
  532.         Texture5.Texture = "rbxassetid://4771489612"
  533.         Texture5.Transparency = trans
  534.         Texture5.Face = Enum.NormalId.Right
  535.         Texture5.StudsPerTileU = size
  536.         Texture5.StudsPerTileV = size
  537.         spawn(function()
  538.             game:GetService("RunService").Stepped:Connect(function()
  539.                 Texture0.OffsetStudsU = Texture0.OffsetStudsU + speed
  540.                 Texture1.OffsetStudsU = Texture1.OffsetStudsU + speed
  541.                 Texture2.OffsetStudsU = Texture2.OffsetStudsU + speed
  542.                 Texture3.OffsetStudsU = Texture3.OffsetStudsU + speed
  543.                 Texture4.OffsetStudsU = Texture4.OffsetStudsU + speed
  544.                 Texture5.OffsetStudsU = Texture5.OffsetStudsU + speed
  545.             end)
  546.         end)
  547.     end
  548. end
  549.  
  550. for i,v in pairs(Model0:GetChildren()) do
  551.     v.Parent = char
  552. end
  553.  
  554. Model0:Destroy()
  555.  
  556. local weld1 = Instance.new("Weld")
  557. weld1.Parent = ra
  558. weld1.Part0 = rarm
  559. weld1.Part1 = ra
  560. weld1.C0 = CFrame.new(0,.6,0)
  561.  
  562. local weld2 = Instance.new("Weld")
  563. weld2.Parent = la
  564. weld2.Part0 = larm
  565. weld2.Part1 = la
  566. weld2.C0 = CFrame.new(0,.6,0)
  567.  
  568. local weld3 = Instance.new("Weld")
  569. weld3.Parent = rf
  570. weld3.Part0 = rleg
  571. weld3.Part1 = rf
  572. weld3.C0 = CFrame.new(0,-.53,0)
  573.  
  574. local weld4 = Instance.new("Weld")
  575. weld4.Parent = lf
  576. weld4.Part0 = lleg
  577. weld4.Part1 = lf
  578. weld4.C0 = CFrame.new(0,-.53,0)
  579.  
  580. local weld3 = Instance.new("Weld")
  581. weld3.Parent = rl
  582. weld3.Part0 = rleg
  583. weld3.Part1 = rl
  584. weld3.C0 = CFrame.new(0,0.5,0)
  585.  
  586. local weld4 = Instance.new("Weld")
  587. weld4.Parent = ll
  588. weld4.Part0 = lleg
  589. weld4.Part1 = ll
  590. weld4.C0 = CFrame.new(0,0.5,0)
  591.  
  592. local weld5 = Instance.new("Weld")
  593. weld5.Parent = tors
  594. weld5.Part0 = torso
  595. weld5.Part1 = tors
  596. weld5.C0 = CFrame.new(0,0,0)
  597.  
  598. local weld6 = Instance.new("Weld")
  599. weld6.Parent = helmet
  600. weld6.Part0 = head
  601. weld6.Part1 = helmet
  602. weld6.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-90),0)
  603. end)
  604.  
  605. local ScreenGui0 = Instance.new("ScreenGui")
  606. local Frame1 = Instance.new("Frame")
  607. local setimg = Instance.new("ImageLabel")
  608. local padding = Instance.new("UIPadding")
  609. padding.Parent = Frame1
  610. helmettxt = Instance.new("TextLabel")
  611. chesttxt = Instance.new("TextLabel")
  612. leggingstxt = Instance.new("TextLabel")
  613. bootstxt = Instance.new("TextLabel")
  614. humhptxt = Instance.new("TextLabel")
  615. ScreenGui0.Parent = plr.PlayerGui
  616. ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  617. Frame1.Parent = ScreenGui0
  618. Frame1.Size = UDim2.new(1, 0, 1, 0)
  619. Frame1.BackgroundColor = BrickColor.new("Institutional white")
  620. Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
  621. Frame1.BackgroundTransparency = 1
  622. setimg.Name = "set"
  623. setimg.Parent = Frame1
  624. setimg.Position = UDim2.new(0.911, 0, 0.555, 0)
  625. setimg.Size = UDim2.new(0, 175, 0, 227)
  626. setimg.BackgroundColor = BrickColor.new("Institutional white")
  627. setimg.BackgroundColor3 = Color3.new(1, 1, 1)
  628. setimg.BackgroundTransparency = 1
  629. setimg.Image = "http://www.roblox.com/asset/?id=3749951077"
  630. setimg.ScaleType = Enum.ScaleType.Fit
  631. helmettxt.Name = "helmet"
  632. helmettxt.Parent = Frame1
  633. helmettxt.Position = UDim2.new(0.876623392, 0, 0.553892195, 0)
  634. helmettxt.Size = UDim2.new(0, 102, 0, 50)
  635. helmettxt.BackgroundColor = BrickColor.new("Institutional white")
  636. helmettxt.BackgroundColor3 = Color3.new(1, 1, 1)
  637. helmettxt.BackgroundTransparency = 1
  638. helmettxt.Font = Enum.Font.SourceSans
  639. helmettxt.FontSize = Enum.FontSize.Size48
  640. helmettxt.Text = "363/363"
  641. helmettxt.TextColor = BrickColor.new("Institutional white")
  642. helmettxt.TextColor3 = Color3.new(1, 1, 1)
  643. helmettxt.TextScaled = true
  644. helmettxt.TextSize = 40
  645. helmettxt.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
  646. helmettxt.TextStrokeTransparency = 0
  647. helmettxt.TextWrap = true
  648. helmettxt.TextWrapped = true
  649. chesttxt.Name = "chestplate"
  650. chesttxt.Parent = Frame1
  651. chesttxt.Position = UDim2.new(0.876623392, 0, 0.61, 0)
  652. chesttxt.Size = UDim2.new(0, 102, 0, 50)
  653. chesttxt.BackgroundColor = BrickColor.new("Institutional white")
  654. chesttxt.BackgroundColor3 = Color3.new(1, 1, 1)
  655. chesttxt.BackgroundTransparency = 1
  656. chesttxt.Font = Enum.Font.SourceSans
  657. chesttxt.FontSize = Enum.FontSize.Size48
  658. chesttxt.Text = "528/528"
  659. chesttxt.TextColor = BrickColor.new("Institutional white")
  660. chesttxt.TextColor3 = Color3.new(1, 1, 1)
  661. chesttxt.TextScaled = true
  662. chesttxt.TextSize = 40
  663. chesttxt.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
  664. chesttxt.TextStrokeTransparency = 0
  665. chesttxt.TextWrap = true
  666. chesttxt.TextWrapped = true
  667. leggingstxt.Name = "leggings"
  668. leggingstxt.Parent = Frame1
  669. leggingstxt.Position = UDim2.new(0.876623392, 0, 0.68, 0)
  670. leggingstxt.Size = UDim2.new(0, 102, 0, 50)
  671. leggingstxt.BackgroundColor = BrickColor.new("Institutional white")
  672. leggingstxt.BackgroundColor3 = Color3.new(1, 1, 1)
  673. leggingstxt.BackgroundTransparency = 1
  674. leggingstxt.Font = Enum.Font.SourceSans
  675. leggingstxt.FontSize = Enum.FontSize.Size48
  676. leggingstxt.Text = "495/495"
  677. leggingstxt.TextColor = BrickColor.new("Institutional white")
  678. leggingstxt.TextColor3 = Color3.new(1, 1, 1)
  679. leggingstxt.TextScaled = true
  680. leggingstxt.TextSize = 40
  681. leggingstxt.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
  682. leggingstxt.TextStrokeTransparency = 0
  683. leggingstxt.TextWrap = true
  684. leggingstxt.TextWrapped = true
  685. bootstxt.Name = "boots"
  686. bootstxt.Parent = Frame1
  687. bootstxt.Position = UDim2.new(0.876623392, 0, 0.74, 0)
  688. bootstxt.Size = UDim2.new(0, 102, 0, 50)
  689. bootstxt.BackgroundColor = BrickColor.new("Institutional white")
  690. bootstxt.BackgroundColor3 = Color3.new(0/255, 144/255, 0/255)
  691. bootstxt.BackgroundTransparency = 1
  692. bootstxt.Font = Enum.Font.SourceSans
  693. bootstxt.FontSize = Enum.FontSize.Size48
  694. bootstxt.Text = "429/429"
  695. bootstxt.TextColor = BrickColor.new("Institutional white")
  696. bootstxt.TextColor3 = Color3.new(1, 1, 1)
  697. bootstxt.TextScaled = true
  698. bootstxt.TextSize = 40
  699. bootstxt.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
  700. bootstxt.TextStrokeTransparency = 0
  701. bootstxt.TextWrap = true
  702. bootstxt.TextWrapped = true
  703. swordimg = Instance.new("ImageLabel")
  704. swordtxt = Instance.new("TextLabel")
  705. swordimg.Name = "sword"
  706. swordimg.Parent = Frame1
  707. swordimg.Position = UDim2.new(0.948, 0, 0.455, 0)
  708. swordimg.Size = UDim2.new(0, 61, 0, 59)
  709. swordimg.BackgroundColor = BrickColor.new("Institutional white")
  710. swordimg.BackgroundColor3 = Color3.new(1, 1, 1)
  711. swordimg.BackgroundTransparency = 1
  712. swordimg.Image = "rbxassetid://3610692290"
  713. swordimg.ScaleType = Enum.ScaleType.Fit
  714. swordtxt.Name = "sword"
  715. swordtxt.Parent = Frame1
  716. swordtxt.Position = UDim2.new(0.872364461, 0, 0.46257484, 0)
  717. swordtxt.Size = UDim2.new(0, 102, 0, 50)
  718. swordtxt.BackgroundColor = BrickColor.new("Institutional white")
  719. swordtxt.BackgroundColor3 = Color3.new(1, 1, 1)
  720. swordtxt.BackgroundTransparency = 1
  721. swordtxt.Font = Enum.Font.SourceSans
  722. swordtxt.FontSize = Enum.FontSize.Size48
  723. swordtxt.Text = "1561/1561"
  724. swordtxt.TextColor = BrickColor.new("Institutional white")
  725. swordtxt.TextColor3 = Color3.new(1, 1, 1)
  726. swordtxt.TextScaled = true
  727. swordtxt.TextSize = 40
  728. swordtxt.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
  729. swordtxt.TextStrokeTransparency = 0
  730. swordtxt.TextWrap = true
  731. swordtxt.TextWrapped = true
  732. humhptxt.Name = "hp"
  733. humhptxt.Parent = Frame1
  734. humhptxt.Position = UDim2.new(0.35, 0, 0.78, 0)
  735. humhptxt.Size = UDim2.new(0, 102, 0, 50)
  736. humhptxt.BackgroundColor = BrickColor.new("Institutional white")
  737. humhptxt.BackgroundColor3 = Color3.new(1, 1, 1)
  738. humhptxt.BackgroundTransparency = 1
  739. humhptxt.Font = Enum.Font.SourceSans
  740. humhptxt.FontSize = Enum.FontSize.Size48
  741. humhptxt.Text = "100/100"
  742. humhptxt.TextColor = BrickColor.new("Institutional white")
  743. humhptxt.TextColor3 = Color3.new(1, 1, 1)
  744. humhptxt.TextScaled = true
  745. humhptxt.TextSize = 40
  746. humhptxt.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
  747. humhptxt.TextStrokeTransparency = 0
  748. humhptxt.TextWrap = true
  749. humhptxt.TextWrapped = true
  750.  
  751. spawn(function()
  752.     game:GetService("RunService").Stepped:Connect(function()
  753.         local tempcount = 4
  754.         if 0 >= boots_health then
  755.             if rf and rf.Parent and lf and lf.Parent then
  756.                 breaksound.PlaybackSpeed = math.random(90,100)/100
  757.                 breaksound:Play()
  758.                 rf:Destroy()
  759.                 lf:Destroy()
  760.             end
  761.             boots_health = 0
  762.             tempcount = tempcount - 1
  763.         end
  764.         if 0 >= leggings_health then
  765.             if ll and ll.Parent and rl and rl.Parent then
  766.                 breaksound.PlaybackSpeed = math.random(90,100)/100
  767.                 breaksound:Play()
  768.                 ll:Destroy()
  769.                 rl:Destroy()
  770.             end
  771.             leggings_health = 0
  772.             tempcount = tempcount - 1
  773.         end
  774.         if 0 >= chestplate_health then
  775.             if tors and tors.Parent and ra and ra.Parent and la and la.Parent then
  776.                 breaksound.PlaybackSpeed = math.random(90,100)/100
  777.                 breaksound:Play()
  778.                 tors:Destroy()
  779.                 ra:Destroy()
  780.                 la:Destroy()
  781.             end
  782.             chestplate_health = 0
  783.             tempcount = tempcount - 1
  784.         end
  785.         if 0 >= helmet_health then
  786.             if helmet and helmet.Parent then
  787.                 breaksound.PlaybackSpeed = math.random(90,100)/100
  788.                 breaksound:Play()
  789.                 helmet:Destroy()
  790.             end
  791.             helmet_health = 0
  792.             tempcount = tempcount - 1
  793.         end
  794.         if 0 >= sword_health then
  795.             if tool and tool.Parent then
  796.                 breaksound.PlaybackSpeed = math.random(90,100)/100
  797.                 breaksound:Play()
  798.                 tool:Destroy()
  799.             end
  800.             sword_health = 0
  801.         end
  802.         armourleft = tempcount
  803.         if 0 >= (boots_health) then
  804.             bootstxt.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  805.         elseif 107.25 >= (boots_health) then
  806.             bootstxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  807.         elseif 214.5 >= (boots_health) then
  808.             bootstxt.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  809.         else
  810.             bootstxt.TextStrokeColor3 = Color3.fromRGB(0, 255, 0)
  811.         end
  812.         if 0 >= (leggings_health) then
  813.             leggingstxt.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  814.         elseif 123.75 >= (leggings_health) then
  815.             leggingstxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  816.         elseif 247.5 >= (leggings_health) then
  817.             leggingstxt.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  818.         else
  819.             leggingstxt.TextStrokeColor3 = Color3.fromRGB(0, 255, 0)
  820.         end
  821.         if 0 >= (chestplate_health) then
  822.             chesttxt.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  823.         elseif 132 >= (chestplate_health) then
  824.             chesttxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  825.         elseif 264 >= (chestplate_health) then
  826.             chesttxt.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  827.         else
  828.             chesttxt.TextStrokeColor3 = Color3.fromRGB(0, 255, 0)
  829.         end
  830.         if 0 >= (helmet_health) then
  831.             helmettxt.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  832.         elseif 90.75 >= (helmet_health) then
  833.             helmettxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  834.         elseif 181.5 >= (helmet_health) then
  835.             helmettxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  836.         else
  837.             helmettxt.TextStrokeColor3 = Color3.fromRGB(0, 255, 0)
  838.         end
  839.         if 0 >= (sword_health) then
  840.             swordtxt.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  841.         elseif 390.25 >= (sword_health) then
  842.             swordtxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  843.         elseif 780.5 >= (sword_health) then
  844.             swordtxt.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  845.         else
  846.             swordtxt.TextStrokeColor3 = Color3.fromRGB(0, 255, 0)
  847.         end
  848.         if 0 >= (hum.Health) then
  849.             humhptxt.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  850.         elseif hum.MaxHealth/3 >= (hum.Health) then
  851.             humhptxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  852.         elseif hum.MaxHealth/2 >= (hum.Health) then
  853.             humhptxt.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  854.         else
  855.             humhptxt.TextStrokeColor3 = Color3.fromRGB(0, 255, 0)
  856.         end
  857.         swordtxt.Text = sword_health-sword_health%1 .. "/1561"
  858.         bootstxt.Text = (boots_health)-(boots_health)%1 .. "/429"
  859.         leggingstxt.Text = (leggings_health)-(leggings_health)%1 .. "/495"
  860.         chesttxt.Text = (chestplate_health)-(chestplate_health)%1 .. "/528"
  861.         helmettxt.Text = (helmet_health)-(helmet_health)%1 .. "/363"
  862.         --humhptxt.Text = (hum.Health/hum.MaxHealth*100)-(hum.Health/hum.MaxHealth*100)%1 .. "/" .. (hum.MaxHealth*(100/hum.MaxHealth))-(hum.MaxHealth*(100/hum.MaxHealth))%1
  863.         humhptxt.Text = hum.Health-hum.Health%1 .. "/" .. hum.MaxHealth-hum.MaxHealth%1
  864.     end)
  865. end)
  866.  
  867. --[[
  868. spawn(function()
  869. local pickaxe = Instance.new("Tool")
  870. local Part1 = Instance.new("Part")
  871. local Part2 = Instance.new("Part")
  872. local Part3 = Instance.new("Part")
  873. local Part4 = Instance.new("Part")
  874. local Part5 = Instance.new("Part")
  875. local Part6 = Instance.new("Part")
  876. local Part7 = Instance.new("Part")
  877. local Part8 = Instance.new("Part")
  878. local Part9 = Instance.new("Part")
  879. local Part10 = Instance.new("Part")
  880. local Part11 = Instance.new("Part")
  881. local Part12 = Instance.new("Part")
  882. local Part13 = Instance.new("Part")
  883. local Part14 = Instance.new("Part")
  884. local Part15 = Instance.new("Part")
  885. local Part16 = Instance.new("Part")
  886. local Part17 = Instance.new("Part")
  887. local Part18 = Instance.new("Part")
  888. local Part19 = Instance.new("Part")
  889. local Part20 = Instance.new("Part")
  890. local Part21 = Instance.new("Part")
  891. local Part22 = Instance.new("Part")
  892. local Part23 = Instance.new("Part")
  893. local Part24 = Instance.new("Part")
  894. local Part25 = Instance.new("Part")
  895. local Part26 = Instance.new("Part")
  896. local Part27 = Instance.new("Part")
  897. local Part28 = Instance.new("Part")
  898. local Part29 = Instance.new("Part")
  899. local Part30 = Instance.new("Part")
  900. local Part31 = Instance.new("Part")
  901. local Part32 = Instance.new("Part")
  902. local Part33 = Instance.new("Part")
  903. local Part34 = Instance.new("Part")
  904. local Part35 = Instance.new("Part")
  905. local Part36 = Instance.new("Part")
  906. local Part37 = Instance.new("Part")
  907. local Part38 = Instance.new("Part")
  908. local Part39 = Instance.new("Part")
  909. local Part40 = Instance.new("Part")
  910. local Part41 = Instance.new("Part")
  911. local Part42 = Instance.new("Part")
  912. local Part43 = Instance.new("Part")
  913. local Part44 = Instance.new("Part")
  914. local Part45 = Instance.new("Part")
  915. local Part46 = Instance.new("Part")
  916. local Part47 = Instance.new("Part")
  917. local Part48 = Instance.new("Part")
  918. local Part49 = Instance.new("Part")
  919. local Part50 = Instance.new("Part")
  920. local Part51 = Instance.new("Part")
  921. local Part52 = Instance.new("Part")
  922. local Part53 = Instance.new("Part")
  923. local Part54 = Instance.new("Part")
  924. local Part55 = Instance.new("Part")
  925. local Part56 = Instance.new("Part")
  926. local Part57 = Instance.new("Part")
  927. local Part58 = Instance.new("Part")
  928. local Part59 = Instance.new("Part")
  929. local Part60 = Instance.new("Part")
  930. local Part61 = Instance.new("Part")
  931. local Part62 = Instance.new("Part")
  932. local Part63 = Instance.new("Part")
  933. local Part64 = Instance.new("Part")
  934. local Part65 = Instance.new("Part")
  935. local Part66 = Instance.new("Part")
  936. local Part67 = Instance.new("Part")
  937. local Part68 = Instance.new("Part")
  938. local Part69 = Instance.new("Part")
  939. pickaxe.Name = "Diamond Pickaxe"
  940. pickaxe.Parent = plr['Backpack']
  941. pickaxe.Grip = CFrame.new(-1.10684741, 4.97379915e-14, 0.99055028, -3.20973932e-08, 0.734302819, 0.6788221, -1, -4.37113883e-08, 0, 2.96722487e-08, -0.6788221, 0.734302819)
  942. Part1.Name = "Handle"
  943. Part1.Parent = pickaxe
  944. Part1.CFrame = CFrame.new(-91.2440414, 1.54000008, 168.927994, 0, 1, 0, 1, 0, 0, 0, 0, -1)
  945. Part1.Orientation = Vector3.new(0, 180, 90)
  946. Part1.Position = Vector3.new(-91.2440414, 1.54000008, 168.927994)
  947. Part1.Rotation = Vector3.new(-180, 0, -90)
  948. Part1.Transparency = 1
  949. Part1.Size = Vector3.new(3.13938284, 0.257209837, 3.28999996)
  950. Part1.BottomSurface = Enum.SurfaceType.Smooth
  951. Part1.CanCollide = false
  952. Part1.TopSurface = Enum.SurfaceType.Smooth
  953. Part2.Parent = pickaxe
  954. Part2.CFrame = CFrame.new(-91.2410736, 2.48615575, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  955. Part2.Orientation = Vector3.new(0, 90, 0)
  956. Part2.Position = Vector3.new(-91.2410736, 2.48615575, 170.193314)
  957. Part2.Rotation = Vector3.new(0, 90, 0)
  958. Part2.Color = Color3.new(0.105882, 0.164706, 0.207843)
  959. Part2.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  960. Part2.BrickColor = BrickColor.new("Black")
  961. Part2.CanCollide = false
  962. Part2.Material = Enum.Material.SmoothPlastic
  963. Part2.brickColor = BrickColor.new("Black")
  964. Part2.FormFactor = Enum.FormFactor.Symmetric
  965. Part2.formFactor = Enum.FormFactor.Symmetric
  966. Part3.Parent = pickaxe
  967. Part3.CFrame = CFrame.new(-91.2410736, 1.74769378, 169.454865, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  968. Part3.Orientation = Vector3.new(0, 90, 0)
  969. Part3.Position = Vector3.new(-91.2410736, 1.74769378, 169.454865)
  970. Part3.Rotation = Vector3.new(0, 90, 0)
  971. Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  972. Part3.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  973. Part3.BrickColor = BrickColor.new("Black")
  974. Part3.CanCollide = false
  975. Part3.Material = Enum.Material.SmoothPlastic
  976. Part3.brickColor = BrickColor.new("Black")
  977. Part3.FormFactor = Enum.FormFactor.Symmetric
  978. Part3.formFactor = Enum.FormFactor.Symmetric
  979. Part4.Parent = pickaxe
  980. Part4.CFrame = CFrame.new(-91.2410736, 0.86153996, 168.224075, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  981. Part4.Orientation = Vector3.new(0, 90, 0)
  982. Part4.Position = Vector3.new(-91.2410736, 0.86153996, 168.224075)
  983. Part4.Rotation = Vector3.new(0, 90, 0)
  984. Part4.Color = Color3.new(0.627451, 0.372549, 0.207843)
  985. Part4.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  986. Part4.BrickColor = BrickColor.new("Dark orange")
  987. Part4.CanCollide = false
  988. Part4.Material = Enum.Material.SmoothPlastic
  989. Part4.brickColor = BrickColor.new("Dark orange")
  990. Part4.FormFactor = Enum.FormFactor.Symmetric
  991. Part4.formFactor = Enum.FormFactor.Symmetric
  992. Part5.Parent = pickaxe
  993. Part5.CFrame = CFrame.new(-91.2410736, 0.123077869, 167.731796, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  994. Part5.Orientation = Vector3.new(0, 90, 0)
  995. Part5.Position = Vector3.new(-91.2410736, 0.123077869, 167.731796)
  996. Part5.Rotation = Vector3.new(0, 90, 0)
  997. Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  998. Part5.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  999. Part5.BrickColor = BrickColor.new("Black")
  1000. Part5.CanCollide = false
  1001. Part5.Material = Enum.Material.SmoothPlastic
  1002. Part5.brickColor = BrickColor.new("Black")
  1003. Part5.FormFactor = Enum.FormFactor.Symmetric
  1004. Part5.formFactor = Enum.FormFactor.Symmetric
  1005. Part6.Parent = pickaxe
  1006. Part6.CFrame = CFrame.new(-91.2410736, 0.369231939, 167.485641, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1007. Part6.Orientation = Vector3.new(0, 90, 0)
  1008. Part6.Position = Vector3.new(-91.2410736, 0.369231939, 167.485641)
  1009. Part6.Rotation = Vector3.new(0, 90, 0)
  1010. Part6.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1011. Part6.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1012. Part6.BrickColor = BrickColor.new("Reddish brown")
  1013. Part6.CanCollide = false
  1014. Part6.Material = Enum.Material.SmoothPlastic
  1015. Part6.brickColor = BrickColor.new("Reddish brown")
  1016. Part6.FormFactor = Enum.FormFactor.Symmetric
  1017. Part6.formFactor = Enum.FormFactor.Symmetric
  1018. Part7.Parent = pickaxe
  1019. Part7.CFrame = CFrame.new(-91.2410736, 0.615385711, 168.224075, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1020. Part7.Orientation = Vector3.new(0, 90, 0)
  1021. Part7.Position = Vector3.new(-91.2410736, 0.615385711, 168.224075)
  1022. Part7.Rotation = Vector3.new(0, 90, 0)
  1023. Part7.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1024. Part7.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1025. Part7.BrickColor = BrickColor.new("Black")
  1026. Part7.CanCollide = false
  1027. Part7.Material = Enum.Material.SmoothPlastic
  1028. Part7.brickColor = BrickColor.new("Black")
  1029. Part7.FormFactor = Enum.FormFactor.Symmetric
  1030. Part7.formFactor = Enum.FormFactor.Symmetric
  1031. Part8.Parent = pickaxe
  1032. Part8.CFrame = CFrame.new(-91.2410736, 1.30461645, 168.962555, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1033. Part8.Orientation = Vector3.new(0, 90, 0)
  1034. Part8.Position = Vector3.new(-91.2410736, 1.30461645, 168.962555)
  1035. Part8.Rotation = Vector3.new(0, 90, 0)
  1036. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1037. Part8.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1038. Part8.BrickColor = BrickColor.new("Black")
  1039. Part8.CanCollide = false
  1040. Part8.Material = Enum.Material.SmoothPlastic
  1041. Part8.brickColor = BrickColor.new("Black")
  1042. Part8.FormFactor = Enum.FormFactor.Symmetric
  1043. Part8.formFactor = Enum.FormFactor.Symmetric
  1044. Part9.Parent = pickaxe
  1045. Part9.CFrame = CFrame.new(-91.2410736, 0.123077869, 167.485641, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1046. Part9.Orientation = Vector3.new(0, 90, 0)
  1047. Part9.Position = Vector3.new(-91.2410736, 0.123077869, 167.485641)
  1048. Part9.Rotation = Vector3.new(0, 90, 0)
  1049. Part9.Color = Color3.new(0.486275, 0.360784, 0.27451)
  1050. Part9.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1051. Part9.BrickColor = BrickColor.new("Brown")
  1052. Part9.CanCollide = false
  1053. Part9.Material = Enum.Material.SmoothPlastic
  1054. Part9.brickColor = BrickColor.new("Brown")
  1055. Part9.FormFactor = Enum.FormFactor.Symmetric
  1056. Part9.formFactor = Enum.FormFactor.Symmetric
  1057. Part10.Parent = pickaxe
  1058. Part10.CFrame = CFrame.new(-91.2410736, 0.763077974, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1059. Part10.Orientation = Vector3.new(0, 90, 0)
  1060. Part10.Position = Vector3.new(-91.2410736, 0.763077974, 170.193314)
  1061. Part10.Rotation = Vector3.new(0, 90, 0)
  1062. Part10.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1063. Part10.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1064. Part10.BrickColor = BrickColor.new("Dark stone grey")
  1065. Part10.CanCollide = false
  1066. Part10.Material = Enum.Material.SmoothPlastic
  1067. Part10.Reflectance = 0.30000001192093
  1068. Part10.brickColor = BrickColor.new("Dark stone grey")
  1069. Part10.FormFactor = Enum.FormFactor.Symmetric
  1070. Part10.formFactor = Enum.FormFactor.Symmetric
  1071. Part11.Parent = pickaxe
  1072. Part11.CFrame = CFrame.new(-91.2410736, 1.10769367, 168.224075, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1073. Part11.Orientation = Vector3.new(0, 90, 0)
  1074. Part11.Position = Vector3.new(-91.2410736, 1.10769367, 168.224075)
  1075. Part11.Rotation = Vector3.new(0, 90, 0)
  1076. Part11.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1077. Part11.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1078. Part11.BrickColor = BrickColor.new("Reddish brown")
  1079. Part11.CanCollide = false
  1080. Part11.Material = Enum.Material.SmoothPlastic
  1081. Part11.brickColor = BrickColor.new("Reddish brown")
  1082. Part11.FormFactor = Enum.FormFactor.Symmetric
  1083. Part11.formFactor = Enum.FormFactor.Symmetric
  1084. Part12.Parent = pickaxe
  1085. Part12.CFrame = CFrame.new(-91.2410736, 1.25538588, 170.439468, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1086. Part12.Orientation = Vector3.new(0, 90, 0)
  1087. Part12.Position = Vector3.new(-91.2410736, 1.25538588, 170.439468)
  1088. Part12.Rotation = Vector3.new(0, 90, 0)
  1089. Part12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1090. Part12.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1091. Part12.BrickColor = BrickColor.new("Dark stone grey")
  1092. Part12.CanCollide = false
  1093. Part12.Material = Enum.Material.SmoothPlastic
  1094. Part12.Reflectance = 0.30000001192093
  1095. Part12.brickColor = BrickColor.new("Dark stone grey")
  1096. Part12.FormFactor = Enum.FormFactor.Symmetric
  1097. Part12.formFactor = Enum.FormFactor.Symmetric
  1098. Part13.Parent = pickaxe
  1099. Part13.CFrame = CFrame.new(-91.2410736, 1.05846286, 168.7164, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1100. Part13.Orientation = Vector3.new(0, 90, 0)
  1101. Part13.Position = Vector3.new(-91.2410736, 1.05846286, 168.7164)
  1102. Part13.Rotation = Vector3.new(0, 90, 0)
  1103. Part13.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1104. Part13.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1105. Part13.BrickColor = BrickColor.new("Black")
  1106. Part13.CanCollide = false
  1107. Part13.Material = Enum.Material.SmoothPlastic
  1108. Part13.brickColor = BrickColor.new("Black")
  1109. Part13.FormFactor = Enum.FormFactor.Symmetric
  1110. Part13.formFactor = Enum.FormFactor.Symmetric
  1111. Part14.Parent = pickaxe
  1112. Part14.CFrame = CFrame.new(-91.2410736, 1.25538588, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1113. Part14.Orientation = Vector3.new(0, 90, 0)
  1114. Part14.Position = Vector3.new(-91.2410736, 1.25538588, 170.193314)
  1115. Part14.Rotation = Vector3.new(0, 90, 0)
  1116. Part14.Color = Color3.new(0, 1, 1)
  1117. Part14.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1118. Part14.BrickColor = BrickColor.new("Toothpaste")
  1119. Part14.CanCollide = false
  1120. Part14.Material = Enum.Material.SmoothPlastic
  1121. Part14.Reflectance = 0.30000001192093
  1122. Part14.brickColor = BrickColor.new("Toothpaste")
  1123. Part14.FormFactor = Enum.FormFactor.Symmetric
  1124. Part14.formFactor = Enum.FormFactor.Symmetric
  1125. Part15.Parent = pickaxe
  1126. Part15.CFrame = CFrame.new(-91.2410736, 2.97846365, 168.470245, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1127. Part15.Orientation = Vector3.new(0, 90, 0)
  1128. Part15.Position = Vector3.new(-91.2410736, 2.97846365, 168.470245)
  1129. Part15.Rotation = Vector3.new(0, 90, 0)
  1130. Part15.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1131. Part15.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1132. Part15.BrickColor = BrickColor.new("Dark stone grey")
  1133. Part15.CanCollide = false
  1134. Part15.Material = Enum.Material.SmoothPlastic
  1135. Part15.Reflectance = 0.30000001192093
  1136. Part15.brickColor = BrickColor.new("Dark stone grey")
  1137. Part15.FormFactor = Enum.FormFactor.Symmetric
  1138. Part15.formFactor = Enum.FormFactor.Symmetric
  1139. Part16.Parent = pickaxe
  1140. Part16.CFrame = CFrame.new(-91.2410736, 2.48615575, 168.7164, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1141. Part16.Orientation = Vector3.new(0, 90, 0)
  1142. Part16.Position = Vector3.new(-91.2410736, 2.48615575, 168.7164)
  1143. Part16.Rotation = Vector3.new(0, 90, 0)
  1144. Part16.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1145. Part16.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1146. Part16.BrickColor = BrickColor.new("Dark stone grey")
  1147. Part16.CanCollide = false
  1148. Part16.Material = Enum.Material.SmoothPlastic
  1149. Part16.Reflectance = 0.30000001192093
  1150. Part16.brickColor = BrickColor.new("Dark stone grey")
  1151. Part16.FormFactor = Enum.FormFactor.Symmetric
  1152. Part16.formFactor = Enum.FormFactor.Symmetric
  1153. Part17.Parent = pickaxe
  1154. Part17.CFrame = CFrame.new(-91.2410736, 0.615385711, 167.731796, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1155. Part17.Orientation = Vector3.new(0, 90, 0)
  1156. Part17.Position = Vector3.new(-91.2410736, 0.615385711, 167.731796)
  1157. Part17.Rotation = Vector3.new(0, 90, 0)
  1158. Part17.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1159. Part17.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1160. Part17.BrickColor = BrickColor.new("Reddish brown")
  1161. Part17.CanCollide = false
  1162. Part17.Material = Enum.Material.SmoothPlastic
  1163. Part17.brickColor = BrickColor.new("Reddish brown")
  1164. Part17.FormFactor = Enum.FormFactor.Symmetric
  1165. Part17.formFactor = Enum.FormFactor.Symmetric
  1166. Part18.Parent = pickaxe
  1167. Part18.CFrame = CFrame.new(-91.2410736, 1.25538588, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1168. Part18.Orientation = Vector3.new(0, 90, 0)
  1169. Part18.Position = Vector3.new(-91.2410736, 1.25538588, 169.947174)
  1170. Part18.Rotation = Vector3.new(0, 90, 0)
  1171. Part18.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1172. Part18.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1173. Part18.BrickColor = BrickColor.new("Dark stone grey")
  1174. Part18.CanCollide = false
  1175. Part18.Material = Enum.Material.SmoothPlastic
  1176. Part18.Reflectance = 0.30000001192093
  1177. Part18.brickColor = BrickColor.new("Dark stone grey")
  1178. Part18.FormFactor = Enum.FormFactor.Symmetric
  1179. Part18.formFactor = Enum.FormFactor.Symmetric
  1180. Part19.Parent = pickaxe
  1181. Part19.CFrame = CFrame.new(-91.2410736, 2.97846365, 168.7164, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1182. Part19.Orientation = Vector3.new(0, 90, 0)
  1183. Part19.Position = Vector3.new(-91.2410736, 2.97846365, 168.7164)
  1184. Part19.Rotation = Vector3.new(0, 90, 0)
  1185. Part19.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1186. Part19.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1187. Part19.BrickColor = BrickColor.new("Dark stone grey")
  1188. Part19.CanCollide = false
  1189. Part19.Material = Enum.Material.SmoothPlastic
  1190. Part19.Reflectance = 0.30000001192093
  1191. Part19.brickColor = BrickColor.new("Dark stone grey")
  1192. Part19.FormFactor = Enum.FormFactor.Symmetric
  1193. Part19.formFactor = Enum.FormFactor.Symmetric
  1194. Part20.Parent = pickaxe
  1195. Part20.CFrame = CFrame.new(-91.2410736, 0.369231939, 167.977936, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1196. Part20.Orientation = Vector3.new(0, 90, 0)
  1197. Part20.Position = Vector3.new(-91.2410736, 0.369231939, 167.977936)
  1198. Part20.Rotation = Vector3.new(0, 90, 0)
  1199. Part20.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1200. Part20.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1201. Part20.BrickColor = BrickColor.new("Black")
  1202. Part20.CanCollide = false
  1203. Part20.Material = Enum.Material.SmoothPlastic
  1204. Part20.brickColor = BrickColor.new("Black")
  1205. Part20.FormFactor = Enum.FormFactor.Symmetric
  1206. Part20.formFactor = Enum.FormFactor.Symmetric
  1207. Part21.Parent = pickaxe
  1208. Part21.CFrame = CFrame.new(-91.2410736, 0.369231939, 167.731796, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1209. Part21.Orientation = Vector3.new(0, 90, 0)
  1210. Part21.Position = Vector3.new(-91.2410736, 0.369231939, 167.731796)
  1211. Part21.Rotation = Vector3.new(0, 90, 0)
  1212. Part21.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1213. Part21.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1214. Part21.BrickColor = BrickColor.new("Dark orange")
  1215. Part21.CanCollide = false
  1216. Part21.Material = Enum.Material.SmoothPlastic
  1217. Part21.brickColor = BrickColor.new("Dark orange")
  1218. Part21.FormFactor = Enum.FormFactor.Symmetric
  1219. Part21.formFactor = Enum.FormFactor.Symmetric
  1220. Part22.Parent = pickaxe
  1221. Part22.CFrame = CFrame.new(-91.2410736, 1.50153995, 170.439468, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1222. Part22.Orientation = Vector3.new(0, 90, 0)
  1223. Part22.Position = Vector3.new(-91.2410736, 1.50153995, 170.439468)
  1224. Part22.Rotation = Vector3.new(0, 90, 0)
  1225. Part22.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1226. Part22.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1227. Part22.BrickColor = BrickColor.new("Dark stone grey")
  1228. Part22.CanCollide = false
  1229. Part22.Material = Enum.Material.SmoothPlastic
  1230. Part22.Reflectance = 0.30000001192093
  1231. Part22.brickColor = BrickColor.new("Dark stone grey")
  1232. Part22.FormFactor = Enum.FormFactor.Symmetric
  1233. Part22.formFactor = Enum.FormFactor.Symmetric
  1234. Part23.Parent = pickaxe
  1235. Part23.CFrame = CFrame.new(-91.2410736, 0.615385711, 167.977936, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1236. Part23.Orientation = Vector3.new(0, 90, 0)
  1237. Part23.Position = Vector3.new(-91.2410736, 0.615385711, 167.977936)
  1238. Part23.Rotation = Vector3.new(0, 90, 0)
  1239. Part23.Color = Color3.new(0.486275, 0.360784, 0.27451)
  1240. Part23.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1241. Part23.BrickColor = BrickColor.new("Brown")
  1242. Part23.CanCollide = false
  1243. Part23.Material = Enum.Material.SmoothPlastic
  1244. Part23.brickColor = BrickColor.new("Brown")
  1245. Part23.FormFactor = Enum.FormFactor.Symmetric
  1246. Part23.formFactor = Enum.FormFactor.Symmetric
  1247. Part24.Parent = pickaxe
  1248. Part24.CFrame = CFrame.new(-91.2410736, 0.86153996, 167.977936, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1249. Part24.Orientation = Vector3.new(0, 90, 0)
  1250. Part24.Position = Vector3.new(-91.2410736, 0.86153996, 167.977936)
  1251. Part24.Rotation = Vector3.new(0, 90, 0)
  1252. Part24.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1253. Part24.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1254. Part24.BrickColor = BrickColor.new("Reddish brown")
  1255. Part24.CanCollide = false
  1256. Part24.Material = Enum.Material.SmoothPlastic
  1257. Part24.brickColor = BrickColor.new("Reddish brown")
  1258. Part24.FormFactor = Enum.FormFactor.Symmetric
  1259. Part24.formFactor = Enum.FormFactor.Symmetric
  1260. Part25.Parent = pickaxe
  1261. Part25.CFrame = CFrame.new(-91.2410736, 0.86153996, 168.470245, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1262. Part25.Orientation = Vector3.new(0, 90, 0)
  1263. Part25.Position = Vector3.new(-91.2410736, 0.86153996, 168.470245)
  1264. Part25.Rotation = Vector3.new(0, 90, 0)
  1265. Part25.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1266. Part25.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1267. Part25.BrickColor = BrickColor.new("Black")
  1268. Part25.CanCollide = false
  1269. Part25.Material = Enum.Material.SmoothPlastic
  1270. Part25.brickColor = BrickColor.new("Black")
  1271. Part25.FormFactor = Enum.FormFactor.Symmetric
  1272. Part25.formFactor = Enum.FormFactor.Symmetric
  1273. Part26.Parent = pickaxe
  1274. Part26.CFrame = CFrame.new(-91.2410736, 1.00923204, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1275. Part26.Orientation = Vector3.new(0, 90, 0)
  1276. Part26.Position = Vector3.new(-91.2410736, 1.00923204, 170.193314)
  1277. Part26.Rotation = Vector3.new(0, 90, 0)
  1278. Part26.Color = Color3.new(0, 1, 1)
  1279. Part26.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1280. Part26.BrickColor = BrickColor.new("Toothpaste")
  1281. Part26.CanCollide = false
  1282. Part26.Material = Enum.Material.SmoothPlastic
  1283. Part26.Reflectance = 0.30000001192093
  1284. Part26.brickColor = BrickColor.new("Toothpaste")
  1285. Part26.FormFactor = Enum.FormFactor.Symmetric
  1286. Part26.formFactor = Enum.FormFactor.Symmetric
  1287. Part27.Parent = pickaxe
  1288. Part27.CFrame = CFrame.new(-91.2410736, 1.35384727, 168.470245, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1289. Part27.Orientation = Vector3.new(0, 90, 0)
  1290. Part27.Position = Vector3.new(-91.2410736, 1.35384727, 168.470245)
  1291. Part27.Rotation = Vector3.new(0, 90, 0)
  1292. Part27.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1293. Part27.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1294. Part27.BrickColor = BrickColor.new("Reddish brown")
  1295. Part27.CanCollide = false
  1296. Part27.Material = Enum.Material.SmoothPlastic
  1297. Part27.brickColor = BrickColor.new("Reddish brown")
  1298. Part27.FormFactor = Enum.FormFactor.Symmetric
  1299. Part27.formFactor = Enum.FormFactor.Symmetric
  1300. Part28.Parent = pickaxe
  1301. Part28.CFrame = CFrame.new(-91.2410736, 1.30461645, 168.7164, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1302. Part28.Orientation = Vector3.new(0, 90, 0)
  1303. Part28.Position = Vector3.new(-91.2410736, 1.30461645, 168.7164)
  1304. Part28.Rotation = Vector3.new(0, 90, 0)
  1305. Part28.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1306. Part28.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1307. Part28.BrickColor = BrickColor.new("Dark orange")
  1308. Part28.CanCollide = false
  1309. Part28.Material = Enum.Material.SmoothPlastic
  1310. Part28.brickColor = BrickColor.new("Dark orange")
  1311. Part28.FormFactor = Enum.FormFactor.Symmetric
  1312. Part28.formFactor = Enum.FormFactor.Symmetric
  1313. Part29.Parent = pickaxe
  1314. Part29.CFrame = CFrame.new(-91.2410736, 2.48615575, 168.470245, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1315. Part29.Orientation = Vector3.new(0, 90, 0)
  1316. Part29.Position = Vector3.new(-91.2410736, 2.48615575, 168.470245)
  1317. Part29.Rotation = Vector3.new(0, 90, 0)
  1318. Part29.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1319. Part29.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1320. Part29.BrickColor = BrickColor.new("Dark stone grey")
  1321. Part29.CanCollide = false
  1322. Part29.Material = Enum.Material.SmoothPlastic
  1323. Part29.Reflectance = 0.30000001192093
  1324. Part29.brickColor = BrickColor.new("Dark stone grey")
  1325. Part29.FormFactor = Enum.FormFactor.Symmetric
  1326. Part29.formFactor = Enum.FormFactor.Symmetric
  1327. Part30.Parent = pickaxe
  1328. Part30.CFrame = CFrame.new(-91.2410736, 1.00923204, 170.439468, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1329. Part30.Orientation = Vector3.new(0, 90, 0)
  1330. Part30.Position = Vector3.new(-91.2410736, 1.00923204, 170.439468)
  1331. Part30.Rotation = Vector3.new(0, 90, 0)
  1332. Part30.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1333. Part30.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1334. Part30.BrickColor = BrickColor.new("Dark stone grey")
  1335. Part30.CanCollide = false
  1336. Part30.Material = Enum.Material.SmoothPlastic
  1337. Part30.Reflectance = 0.30000001192093
  1338. Part30.brickColor = BrickColor.new("Dark stone grey")
  1339. Part30.FormFactor = Enum.FormFactor.Symmetric
  1340. Part30.formFactor = Enum.FormFactor.Symmetric
  1341. Part31.Parent = pickaxe
  1342. Part31.CFrame = CFrame.new(-91.2410736, 2.73231006, 168.224075, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1343. Part31.Orientation = Vector3.new(0, 90, 0)
  1344. Part31.Position = Vector3.new(-91.2410736, 2.73231006, 168.224075)
  1345. Part31.Rotation = Vector3.new(0, 90, 0)
  1346. Part31.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1347. Part31.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1348. Part31.BrickColor = BrickColor.new("Dark stone grey")
  1349. Part31.CanCollide = false
  1350. Part31.Material = Enum.Material.SmoothPlastic
  1351. Part31.Reflectance = 0.30000001192093
  1352. Part31.brickColor = BrickColor.new("Dark stone grey")
  1353. Part31.FormFactor = Enum.FormFactor.Symmetric
  1354. Part31.formFactor = Enum.FormFactor.Symmetric
  1355. Part32.Parent = pickaxe
  1356. Part32.CFrame = CFrame.new(-91.2410736, 1.55077076, 168.962555, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1357. Part32.Orientation = Vector3.new(0, 90, 0)
  1358. Part32.Position = Vector3.new(-91.2410736, 1.55077076, 168.962555)
  1359. Part32.Rotation = Vector3.new(0, 90, 0)
  1360. Part32.Color = Color3.new(0.486275, 0.360784, 0.27451)
  1361. Part32.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1362. Part32.BrickColor = BrickColor.new("Brown")
  1363. Part32.CanCollide = false
  1364. Part32.Material = Enum.Material.SmoothPlastic
  1365. Part32.brickColor = BrickColor.new("Brown")
  1366. Part32.FormFactor = Enum.FormFactor.Symmetric
  1367. Part32.formFactor = Enum.FormFactor.Symmetric
  1368. Part33.Parent = pickaxe
  1369. Part33.CFrame = CFrame.new(-91.2410736, 1.50153995, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1370. Part33.Orientation = Vector3.new(0, 90, 0)
  1371. Part33.Position = Vector3.new(-91.2410736, 1.50153995, 169.947174)
  1372. Part33.Rotation = Vector3.new(0, 90, 0)
  1373. Part33.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1374. Part33.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1375. Part33.BrickColor = BrickColor.new("Dark stone grey")
  1376. Part33.CanCollide = false
  1377. Part33.Material = Enum.Material.SmoothPlastic
  1378. Part33.Reflectance = 0.30000001192093
  1379. Part33.brickColor = BrickColor.new("Dark stone grey")
  1380. Part33.FormFactor = Enum.FormFactor.Symmetric
  1381. Part33.formFactor = Enum.FormFactor.Symmetric
  1382. Part34.Parent = pickaxe
  1383. Part34.CFrame = CFrame.new(-91.2410736, 1.55077076, 168.7164, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1384. Part34.Orientation = Vector3.new(0, 90, 0)
  1385. Part34.Position = Vector3.new(-91.2410736, 1.55077076, 168.7164)
  1386. Part34.Rotation = Vector3.new(0, 90, 0)
  1387. Part34.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1388. Part34.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1389. Part34.BrickColor = BrickColor.new("Reddish brown")
  1390. Part34.CanCollide = false
  1391. Part34.Material = Enum.Material.SmoothPlastic
  1392. Part34.brickColor = BrickColor.new("Reddish brown")
  1393. Part34.FormFactor = Enum.FormFactor.Symmetric
  1394. Part34.formFactor = Enum.FormFactor.Symmetric
  1395. Part35.Parent = pickaxe
  1396. Part35.CFrame = CFrame.new(-91.2410736, 2.73231006, 168.470245, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1397. Part35.Orientation = Vector3.new(0, 90, 0)
  1398. Part35.Position = Vector3.new(-91.2410736, 2.73231006, 168.470245)
  1399. Part35.Rotation = Vector3.new(0, 90, 0)
  1400. Part35.Color = Color3.new(0, 1, 1)
  1401. Part35.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1402. Part35.BrickColor = BrickColor.new("Toothpaste")
  1403. Part35.CanCollide = false
  1404. Part35.Material = Enum.Material.SmoothPlastic
  1405. Part35.Reflectance = 0.30000001192093
  1406. Part35.brickColor = BrickColor.new("Toothpaste")
  1407. Part35.FormFactor = Enum.FormFactor.Symmetric
  1408. Part35.formFactor = Enum.FormFactor.Symmetric
  1409. Part36.Parent = pickaxe
  1410. Part36.CFrame = CFrame.new(-91.2410736, 1.10769367, 168.470245, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1411. Part36.Orientation = Vector3.new(0, 90, 0)
  1412. Part36.Position = Vector3.new(-91.2410736, 1.10769367, 168.470245)
  1413. Part36.Rotation = Vector3.new(0, 90, 0)
  1414. Part36.Color = Color3.new(0.486275, 0.360784, 0.27451)
  1415. Part36.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1416. Part36.BrickColor = BrickColor.new("Brown")
  1417. Part36.CanCollide = false
  1418. Part36.Material = Enum.Material.SmoothPlastic
  1419. Part36.brickColor = BrickColor.new("Brown")
  1420. Part36.FormFactor = Enum.FormFactor.Symmetric
  1421. Part36.formFactor = Enum.FormFactor.Symmetric
  1422. Part37.Parent = pickaxe
  1423. Part37.CFrame = CFrame.new(-91.2410736, 1.50153995, 169.20871, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1424. Part37.Orientation = Vector3.new(0, 90, 0)
  1425. Part37.Position = Vector3.new(-91.2410736, 1.50153995, 169.20871)
  1426. Part37.Rotation = Vector3.new(0, 90, 0)
  1427. Part37.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1428. Part37.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1429. Part37.BrickColor = BrickColor.new("Black")
  1430. Part37.CanCollide = false
  1431. Part37.Material = Enum.Material.SmoothPlastic
  1432. Part37.brickColor = BrickColor.new("Black")
  1433. Part37.FormFactor = Enum.FormFactor.Symmetric
  1434. Part37.formFactor = Enum.FormFactor.Symmetric
  1435. Part38.Parent = pickaxe
  1436. Part38.CFrame = CFrame.new(-91.2410736, 1.00923204, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1437. Part38.Orientation = Vector3.new(0, 90, 0)
  1438. Part38.Position = Vector3.new(-91.2410736, 1.00923204, 169.947174)
  1439. Part38.Rotation = Vector3.new(0, 90, 0)
  1440. Part38.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1441. Part38.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1442. Part38.BrickColor = BrickColor.new("Dark stone grey")
  1443. Part38.CanCollide = false
  1444. Part38.Material = Enum.Material.SmoothPlastic
  1445. Part38.Reflectance = 0.30000001192093
  1446. Part38.brickColor = BrickColor.new("Dark stone grey")
  1447. Part38.FormFactor = Enum.FormFactor.Symmetric
  1448. Part38.formFactor = Enum.FormFactor.Symmetric
  1449. Part39.Parent = pickaxe
  1450. Part39.CFrame = CFrame.new(-91.2410736, 2.73231006, 168.7164, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1451. Part39.Orientation = Vector3.new(0, 90, 0)
  1452. Part39.Position = Vector3.new(-91.2410736, 2.73231006, 168.7164)
  1453. Part39.Rotation = Vector3.new(0, 90, 0)
  1454. Part39.Color = Color3.new(0, 1, 1)
  1455. Part39.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1456. Part39.BrickColor = BrickColor.new("Toothpaste")
  1457. Part39.CanCollide = false
  1458. Part39.Material = Enum.Material.SmoothPlastic
  1459. Part39.Reflectance = 0.30000001192093
  1460. Part39.brickColor = BrickColor.new("Toothpaste")
  1461. Part39.FormFactor = Enum.FormFactor.Symmetric
  1462. Part39.formFactor = Enum.FormFactor.Symmetric
  1463. Part40.Parent = pickaxe
  1464. Part40.CFrame = CFrame.new(-91.2410736, 1.74769378, 169.20871, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1465. Part40.Orientation = Vector3.new(0, 90, 0)
  1466. Part40.Position = Vector3.new(-91.2410736, 1.74769378, 169.20871)
  1467. Part40.Rotation = Vector3.new(0, 90, 0)
  1468. Part40.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1469. Part40.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1470. Part40.BrickColor = BrickColor.new("Dark orange")
  1471. Part40.CanCollide = false
  1472. Part40.Material = Enum.Material.SmoothPlastic
  1473. Part40.brickColor = BrickColor.new("Dark orange")
  1474. Part40.FormFactor = Enum.FormFactor.Symmetric
  1475. Part40.formFactor = Enum.FormFactor.Symmetric
  1476. Part41.Parent = pickaxe
  1477. Part41.CFrame = CFrame.new(-91.2410736, 1.74769378, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1478. Part41.Orientation = Vector3.new(0, 90, 0)
  1479. Part41.Position = Vector3.new(-91.2410736, 1.74769378, 170.193314)
  1480. Part41.Rotation = Vector3.new(0, 90, 0)
  1481. Part41.Color = Color3.new(0, 1, 1)
  1482. Part41.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1483. Part41.BrickColor = BrickColor.new("Toothpaste")
  1484. Part41.CanCollide = false
  1485. Part41.Material = Enum.Material.SmoothPlastic
  1486. Part41.Reflectance = 0.30000001192093
  1487. Part41.brickColor = BrickColor.new("Toothpaste")
  1488. Part41.FormFactor = Enum.FormFactor.Symmetric
  1489. Part41.formFactor = Enum.FormFactor.Symmetric
  1490. Part42.Parent = pickaxe
  1491. Part42.CFrame = CFrame.new(-91.2410736, 2.73231006, 169.20871, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1492. Part42.Orientation = Vector3.new(0, 90, 0)
  1493. Part42.Position = Vector3.new(-91.2410736, 2.73231006, 169.20871)
  1494. Part42.Rotation = Vector3.new(0, 90, 0)
  1495. Part42.Color = Color3.new(0, 1, 1)
  1496. Part42.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1497. Part42.BrickColor = BrickColor.new("Toothpaste")
  1498. Part42.CanCollide = false
  1499. Part42.Material = Enum.Material.SmoothPlastic
  1500. Part42.Reflectance = 0.30000001192093
  1501. Part42.brickColor = BrickColor.new("Toothpaste")
  1502. Part42.FormFactor = Enum.FormFactor.Symmetric
  1503. Part42.formFactor = Enum.FormFactor.Symmetric
  1504. Part43.Parent = pickaxe
  1505. Part43.CFrame = CFrame.new(-91.2410736, 1.74769378, 170.439468, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1506. Part43.Orientation = Vector3.new(0, 90, 0)
  1507. Part43.Position = Vector3.new(-91.2410736, 1.74769378, 170.439468)
  1508. Part43.Rotation = Vector3.new(0, 90, 0)
  1509. Part43.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1510. Part43.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1511. Part43.BrickColor = BrickColor.new("Dark stone grey")
  1512. Part43.CanCollide = false
  1513. Part43.Material = Enum.Material.SmoothPlastic
  1514. Part43.Reflectance = 0.30000001192093
  1515. Part43.brickColor = BrickColor.new("Dark stone grey")
  1516. Part43.FormFactor = Enum.FormFactor.Symmetric
  1517. Part43.formFactor = Enum.FormFactor.Symmetric
  1518. Part44.Parent = pickaxe
  1519. Part44.CFrame = CFrame.new(-91.2410736, 1.99384785, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1520. Part44.Orientation = Vector3.new(0, 90, 0)
  1521. Part44.Position = Vector3.new(-91.2410736, 1.99384785, 169.947174)
  1522. Part44.Rotation = Vector3.new(0, 90, 0)
  1523. Part44.Color = Color3.new(0, 1, 1)
  1524. Part44.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1525. Part44.BrickColor = BrickColor.new("Toothpaste")
  1526. Part44.CanCollide = false
  1527. Part44.Material = Enum.Material.SmoothPlastic
  1528. Part44.Reflectance = 0.30000001192093
  1529. Part44.brickColor = BrickColor.new("Toothpaste")
  1530. Part44.FormFactor = Enum.FormFactor.Symmetric
  1531. Part44.formFactor = Enum.FormFactor.Symmetric
  1532. Part45.Parent = pickaxe
  1533. Part45.CFrame = CFrame.new(-91.2410736, 1.99384785, 170.439468, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1534. Part45.Orientation = Vector3.new(0, 90, 0)
  1535. Part45.Position = Vector3.new(-91.2410736, 1.99384785, 170.439468)
  1536. Part45.Rotation = Vector3.new(0, 90, 0)
  1537. Part45.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1538. Part45.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1539. Part45.BrickColor = BrickColor.new("Dark stone grey")
  1540. Part45.CanCollide = false
  1541. Part45.Material = Enum.Material.SmoothPlastic
  1542. Part45.Reflectance = 0.30000001192093
  1543. Part45.brickColor = BrickColor.new("Dark stone grey")
  1544. Part45.FormFactor = Enum.FormFactor.Symmetric
  1545. Part45.formFactor = Enum.FormFactor.Symmetric
  1546. Part46.Parent = pickaxe
  1547. Part46.CFrame = CFrame.new(-91.2410736, 2.73231006, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1548. Part46.Orientation = Vector3.new(0, 90, 0)
  1549. Part46.Position = Vector3.new(-91.2410736, 2.73231006, 170.193314)
  1550. Part46.Rotation = Vector3.new(0, 90, 0)
  1551. Part46.Color = Color3.new(0.486275, 0.360784, 0.27451)
  1552. Part46.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1553. Part46.BrickColor = BrickColor.new("Brown")
  1554. Part46.CanCollide = false
  1555. Part46.Material = Enum.Material.SmoothPlastic
  1556. Part46.brickColor = BrickColor.new("Brown")
  1557. Part46.FormFactor = Enum.FormFactor.Symmetric
  1558. Part46.formFactor = Enum.FormFactor.Symmetric
  1559. Part47.Parent = pickaxe
  1560. Part47.CFrame = CFrame.new(-91.2410736, 2.48615575, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1561. Part47.Orientation = Vector3.new(0, 90, 0)
  1562. Part47.Position = Vector3.new(-91.2410736, 2.48615575, 169.947174)
  1563. Part47.Rotation = Vector3.new(0, 90, 0)
  1564. Part47.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1565. Part47.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1566. Part47.BrickColor = BrickColor.new("Dark orange")
  1567. Part47.CanCollide = false
  1568. Part47.Material = Enum.Material.SmoothPlastic
  1569. Part47.brickColor = BrickColor.new("Dark orange")
  1570. Part47.FormFactor = Enum.FormFactor.Symmetric
  1571. Part47.formFactor = Enum.FormFactor.Symmetric
  1572. Part48.Parent = pickaxe
  1573. Part48.CFrame = CFrame.new(-91.2410736, 2.73231006, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1574. Part48.Orientation = Vector3.new(0, 90, 0)
  1575. Part48.Position = Vector3.new(-91.2410736, 2.73231006, 169.947174)
  1576. Part48.Rotation = Vector3.new(0, 90, 0)
  1577. Part48.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1578. Part48.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1579. Part48.BrickColor = BrickColor.new("Reddish brown")
  1580. Part48.CanCollide = false
  1581. Part48.Material = Enum.Material.SmoothPlastic
  1582. Part48.brickColor = BrickColor.new("Reddish brown")
  1583. Part48.FormFactor = Enum.FormFactor.Symmetric
  1584. Part48.formFactor = Enum.FormFactor.Symmetric
  1585. Part49.Parent = pickaxe
  1586. Part49.CFrame = CFrame.new(-91.2410736, 2.24000144, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1587. Part49.Orientation = Vector3.new(0, 90, 0)
  1588. Part49.Position = Vector3.new(-91.2410736, 2.24000144, 169.947174)
  1589. Part49.Rotation = Vector3.new(0, 90, 0)
  1590. Part49.Color = Color3.new(0, 1, 1)
  1591. Part49.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1592. Part49.BrickColor = BrickColor.new("Toothpaste")
  1593. Part49.CanCollide = false
  1594. Part49.Material = Enum.Material.SmoothPlastic
  1595. Part49.Reflectance = 0.30000001192093
  1596. Part49.brickColor = BrickColor.new("Toothpaste")
  1597. Part49.FormFactor = Enum.FormFactor.Symmetric
  1598. Part49.formFactor = Enum.FormFactor.Symmetric
  1599. Part50.Parent = pickaxe
  1600. Part50.CFrame = CFrame.new(-91.2410736, 2.73231006, 169.454865, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1601. Part50.Orientation = Vector3.new(0, 90, 0)
  1602. Part50.Position = Vector3.new(-91.2410736, 2.73231006, 169.454865)
  1603. Part50.Rotation = Vector3.new(0, 90, 0)
  1604. Part50.Color = Color3.new(0, 1, 1)
  1605. Part50.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1606. Part50.BrickColor = BrickColor.new("Toothpaste")
  1607. Part50.CanCollide = false
  1608. Part50.Material = Enum.Material.SmoothPlastic
  1609. Part50.Reflectance = 0.30000001192093
  1610. Part50.brickColor = BrickColor.new("Toothpaste")
  1611. Part50.FormFactor = Enum.FormFactor.Symmetric
  1612. Part50.formFactor = Enum.FormFactor.Symmetric
  1613. Part51.Parent = pickaxe
  1614. Part51.CFrame = CFrame.new(-91.2410736, 1.99384785, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1615. Part51.Orientation = Vector3.new(0, 90, 0)
  1616. Part51.Position = Vector3.new(-91.2410736, 1.99384785, 170.193314)
  1617. Part51.Rotation = Vector3.new(0, 90, 0)
  1618. Part51.Color = Color3.new(0, 1, 1)
  1619. Part51.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1620. Part51.BrickColor = BrickColor.new("Toothpaste")
  1621. Part51.CanCollide = false
  1622. Part51.Material = Enum.Material.SmoothPlastic
  1623. Part51.Reflectance = 0.30000001192093
  1624. Part51.brickColor = BrickColor.new("Toothpaste")
  1625. Part51.FormFactor = Enum.FormFactor.Symmetric
  1626. Part51.formFactor = Enum.FormFactor.Symmetric
  1627. Part52.Parent = pickaxe
  1628. Part52.CFrame = CFrame.new(-91.2410736, 2.24000144, 169.454865, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1629. Part52.Orientation = Vector3.new(0, 90, 0)
  1630. Part52.Position = Vector3.new(-91.2410736, 2.24000144, 169.454865)
  1631. Part52.Rotation = Vector3.new(0, 90, 0)
  1632. Part52.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1633. Part52.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1634. Part52.BrickColor = BrickColor.new("Reddish brown")
  1635. Part52.CanCollide = false
  1636. Part52.Material = Enum.Material.SmoothPlastic
  1637. Part52.brickColor = BrickColor.new("Reddish brown")
  1638. Part52.FormFactor = Enum.FormFactor.Symmetric
  1639. Part52.formFactor = Enum.FormFactor.Symmetric
  1640. Part53.Parent = pickaxe
  1641. Part53.CFrame = CFrame.new(-91.2410736, 2.97846365, 169.454865, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1642. Part53.Orientation = Vector3.new(0, 90, 0)
  1643. Part53.Position = Vector3.new(-91.2410736, 2.97846365, 169.454865)
  1644. Part53.Rotation = Vector3.new(0, 90, 0)
  1645. Part53.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1646. Part53.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1647. Part53.BrickColor = BrickColor.new("Dark stone grey")
  1648. Part53.CanCollide = false
  1649. Part53.Material = Enum.Material.SmoothPlastic
  1650. Part53.Reflectance = 0.30000001192093
  1651. Part53.brickColor = BrickColor.new("Dark stone grey")
  1652. Part53.FormFactor = Enum.FormFactor.Symmetric
  1653. Part53.formFactor = Enum.FormFactor.Symmetric
  1654. Part54.Parent = pickaxe
  1655. Part54.CFrame = CFrame.new(-91.2410736, 2.73231006, 169.701035, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1656. Part54.Orientation = Vector3.new(0, 90, 0)
  1657. Part54.Position = Vector3.new(-91.2410736, 2.73231006, 169.701035)
  1658. Part54.Rotation = Vector3.new(0, 90, 0)
  1659. Part54.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1660. Part54.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1661. Part54.BrickColor = BrickColor.new("Dark stone grey")
  1662. Part54.CanCollide = false
  1663. Part54.Material = Enum.Material.SmoothPlastic
  1664. Part54.Reflectance = 0.30000001192093
  1665. Part54.brickColor = BrickColor.new("Dark stone grey")
  1666. Part54.FormFactor = Enum.FormFactor.Symmetric
  1667. Part54.formFactor = Enum.FormFactor.Symmetric
  1668. Part55.Parent = pickaxe
  1669. Part55.CFrame = CFrame.new(-91.2410736, 2.24000144, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1670. Part55.Orientation = Vector3.new(0, 90, 0)
  1671. Part55.Position = Vector3.new(-91.2410736, 2.24000144, 170.193314)
  1672. Part55.Rotation = Vector3.new(0, 90, 0)
  1673. Part55.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1674. Part55.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1675. Part55.BrickColor = BrickColor.new("Dark stone grey")
  1676. Part55.CanCollide = false
  1677. Part55.Material = Enum.Material.SmoothPlastic
  1678. Part55.Reflectance = 0.30000001192093
  1679. Part55.brickColor = BrickColor.new("Dark stone grey")
  1680. Part55.FormFactor = Enum.FormFactor.Symmetric
  1681. Part55.formFactor = Enum.FormFactor.Symmetric
  1682. Part56.Parent = pickaxe
  1683. Part56.CFrame = CFrame.new(-91.2410736, 2.48615575, 169.20871, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1684. Part56.Orientation = Vector3.new(0, 90, 0)
  1685. Part56.Position = Vector3.new(-91.2410736, 2.48615575, 169.20871)
  1686. Part56.Rotation = Vector3.new(0, 90, 0)
  1687. Part56.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1688. Part56.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1689. Part56.BrickColor = BrickColor.new("Dark stone grey")
  1690. Part56.CanCollide = false
  1691. Part56.Material = Enum.Material.SmoothPlastic
  1692. Part56.Reflectance = 0.30000001192093
  1693. Part56.brickColor = BrickColor.new("Dark stone grey")
  1694. Part56.FormFactor = Enum.FormFactor.Symmetric
  1695. Part56.formFactor = Enum.FormFactor.Symmetric
  1696. Part57.Parent = pickaxe
  1697. Part57.CFrame = CFrame.new(-91.2410736, 2.48615575, 169.454865, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1698. Part57.Orientation = Vector3.new(0, 90, 0)
  1699. Part57.Position = Vector3.new(-91.2410736, 2.48615575, 169.454865)
  1700. Part57.Rotation = Vector3.new(0, 90, 0)
  1701. Part57.Color = Color3.new(0, 1, 1)
  1702. Part57.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1703. Part57.BrickColor = BrickColor.new("Toothpaste")
  1704. Part57.CanCollide = false
  1705. Part57.Material = Enum.Material.SmoothPlastic
  1706. Part57.Reflectance = 0.30000001192093
  1707. Part57.brickColor = BrickColor.new("Toothpaste")
  1708. Part57.FormFactor = Enum.FormFactor.Symmetric
  1709. Part57.formFactor = Enum.FormFactor.Symmetric
  1710. Part58.Parent = pickaxe
  1711. Part58.CFrame = CFrame.new(-91.2410736, 2.48615575, 169.701035, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1712. Part58.Orientation = Vector3.new(0, 90, 0)
  1713. Part58.Position = Vector3.new(-91.2410736, 2.48615575, 169.701035)
  1714. Part58.Rotation = Vector3.new(0, 90, 0)
  1715. Part58.Color = Color3.new(0, 1, 1)
  1716. Part58.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1717. Part58.BrickColor = BrickColor.new("Toothpaste")
  1718. Part58.CanCollide = false
  1719. Part58.Material = Enum.Material.SmoothPlastic
  1720. Part58.Reflectance = 0.30000001192093
  1721. Part58.brickColor = BrickColor.new("Toothpaste")
  1722. Part58.FormFactor = Enum.FormFactor.Symmetric
  1723. Part58.formFactor = Enum.FormFactor.Symmetric
  1724. Part59.Parent = pickaxe
  1725. Part59.CFrame = CFrame.new(-91.2410736, 1.99384785, 169.454865, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1726. Part59.Orientation = Vector3.new(0, 90, 0)
  1727. Part59.Position = Vector3.new(-91.2410736, 1.99384785, 169.454865)
  1728. Part59.Rotation = Vector3.new(0, 90, 0)
  1729. Part59.Color = Color3.new(0.486275, 0.360784, 0.27451)
  1730. Part59.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1731. Part59.BrickColor = BrickColor.new("Brown")
  1732. Part59.CanCollide = false
  1733. Part59.Material = Enum.Material.SmoothPlastic
  1734. Part59.brickColor = BrickColor.new("Brown")
  1735. Part59.FormFactor = Enum.FormFactor.Symmetric
  1736. Part59.formFactor = Enum.FormFactor.Symmetric
  1737. Part60.Parent = pickaxe
  1738. Part60.CFrame = CFrame.new(-91.2410736, 2.73231006, 168.962555, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1739. Part60.Orientation = Vector3.new(0, 90, 0)
  1740. Part60.Position = Vector3.new(-91.2410736, 2.73231006, 168.962555)
  1741. Part60.Rotation = Vector3.new(0, 90, 0)
  1742. Part60.Color = Color3.new(0, 1, 1)
  1743. Part60.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1744. Part60.BrickColor = BrickColor.new("Toothpaste")
  1745. Part60.CanCollide = false
  1746. Part60.Material = Enum.Material.SmoothPlastic
  1747. Part60.Reflectance = 0.30000001192093
  1748. Part60.brickColor = BrickColor.new("Toothpaste")
  1749. Part60.FormFactor = Enum.FormFactor.Symmetric
  1750. Part60.formFactor = Enum.FormFactor.Symmetric
  1751. Part61.Parent = pickaxe
  1752. Part61.CFrame = CFrame.new(-91.2410736, 1.74769378, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1753. Part61.Orientation = Vector3.new(0, 90, 0)
  1754. Part61.Position = Vector3.new(-91.2410736, 1.74769378, 169.947174)
  1755. Part61.Rotation = Vector3.new(0, 90, 0)
  1756. Part61.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1757. Part61.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1758. Part61.BrickColor = BrickColor.new("Dark stone grey")
  1759. Part61.CanCollide = false
  1760. Part61.Material = Enum.Material.SmoothPlastic
  1761. Part61.Reflectance = 0.30000001192093
  1762. Part61.brickColor = BrickColor.new("Dark stone grey")
  1763. Part61.FormFactor = Enum.FormFactor.Symmetric
  1764. Part61.formFactor = Enum.FormFactor.Symmetric
  1765. Part62.Parent = pickaxe
  1766. Part62.CFrame = CFrame.new(-91.2410736, 1.99384785, 169.20871, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1767. Part62.Orientation = Vector3.new(0, 90, 0)
  1768. Part62.Position = Vector3.new(-91.2410736, 1.99384785, 169.20871)
  1769. Part62.Rotation = Vector3.new(0, 90, 0)
  1770. Part62.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1771. Part62.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1772. Part62.BrickColor = BrickColor.new("Reddish brown")
  1773. Part62.CanCollide = false
  1774. Part62.Material = Enum.Material.SmoothPlastic
  1775. Part62.brickColor = BrickColor.new("Reddish brown")
  1776. Part62.FormFactor = Enum.FormFactor.Symmetric
  1777. Part62.formFactor = Enum.FormFactor.Symmetric
  1778. Part63.Parent = pickaxe
  1779. Part63.CFrame = CFrame.new(-91.2410736, 2.48615575, 168.962555, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1780. Part63.Orientation = Vector3.new(0, 90, 0)
  1781. Part63.Position = Vector3.new(-91.2410736, 2.48615575, 168.962555)
  1782. Part63.Rotation = Vector3.new(0, 90, 0)
  1783. Part63.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1784. Part63.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1785. Part63.BrickColor = BrickColor.new("Dark stone grey")
  1786. Part63.CanCollide = false
  1787. Part63.Material = Enum.Material.SmoothPlastic
  1788. Part63.Reflectance = 0.30000001192093
  1789. Part63.brickColor = BrickColor.new("Dark stone grey")
  1790. Part63.FormFactor = Enum.FormFactor.Symmetric
  1791. Part63.formFactor = Enum.FormFactor.Symmetric
  1792. Part64.Parent = pickaxe
  1793. Part64.CFrame = CFrame.new(-91.2410736, 1.50153995, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1794. Part64.Orientation = Vector3.new(0, 90, 0)
  1795. Part64.Position = Vector3.new(-91.2410736, 1.50153995, 170.193314)
  1796. Part64.Rotation = Vector3.new(0, 90, 0)
  1797. Part64.Color = Color3.new(0, 1, 1)
  1798. Part64.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1799. Part64.BrickColor = BrickColor.new("Toothpaste")
  1800. Part64.CanCollide = false
  1801. Part64.Material = Enum.Material.SmoothPlastic
  1802. Part64.Reflectance = 0.30000001192093
  1803. Part64.brickColor = BrickColor.new("Toothpaste")
  1804. Part64.FormFactor = Enum.FormFactor.Symmetric
  1805. Part64.formFactor = Enum.FormFactor.Symmetric
  1806. Part65.Parent = pickaxe
  1807. Part65.CFrame = CFrame.new(-91.2410736, 2.97846365, 168.962555, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1808. Part65.Orientation = Vector3.new(0, 90, 0)
  1809. Part65.Position = Vector3.new(-91.2410736, 2.97846365, 168.962555)
  1810. Part65.Rotation = Vector3.new(0, 90, 0)
  1811. Part65.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1812. Part65.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1813. Part65.BrickColor = BrickColor.new("Dark stone grey")
  1814. Part65.CanCollide = false
  1815. Part65.Material = Enum.Material.SmoothPlastic
  1816. Part65.Reflectance = 0.30000001192093
  1817. Part65.brickColor = BrickColor.new("Dark stone grey")
  1818. Part65.FormFactor = Enum.FormFactor.Symmetric
  1819. Part65.formFactor = Enum.FormFactor.Symmetric
  1820. Part66.Parent = pickaxe
  1821. Part66.CFrame = CFrame.new(-91.2410736, 1.79692483, 168.962555, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1822. Part66.Orientation = Vector3.new(0, 90, 0)
  1823. Part66.Position = Vector3.new(-91.2410736, 1.79692483, 168.962555)
  1824. Part66.Rotation = Vector3.new(0, 90, 0)
  1825. Part66.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1826. Part66.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1827. Part66.BrickColor = BrickColor.new("Reddish brown")
  1828. Part66.CanCollide = false
  1829. Part66.Material = Enum.Material.SmoothPlastic
  1830. Part66.brickColor = BrickColor.new("Reddish brown")
  1831. Part66.FormFactor = Enum.FormFactor.Symmetric
  1832. Part66.formFactor = Enum.FormFactor.Symmetric
  1833. Part67.Parent = pickaxe
  1834. Part67.CFrame = CFrame.new(-91.2410736, 2.97846365, 169.20871, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1835. Part67.Orientation = Vector3.new(0, 90, 0)
  1836. Part67.Position = Vector3.new(-91.2410736, 2.97846365, 169.20871)
  1837. Part67.Rotation = Vector3.new(0, 90, 0)
  1838. Part67.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1839. Part67.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1840. Part67.BrickColor = BrickColor.new("Dark stone grey")
  1841. Part67.CanCollide = false
  1842. Part67.Material = Enum.Material.SmoothPlastic
  1843. Part67.Reflectance = 0.30000001192093
  1844. Part67.brickColor = BrickColor.new("Dark stone grey")
  1845. Part67.FormFactor = Enum.FormFactor.Symmetric
  1846. Part67.formFactor = Enum.FormFactor.Symmetric
  1847. Part68.Parent = pickaxe
  1848. Part68.CFrame = CFrame.new(-91.2410736, 2.24000144, 169.701035, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1849. Part68.Orientation = Vector3.new(0, 90, 0)
  1850. Part68.Position = Vector3.new(-91.2410736, 2.24000144, 169.701035)
  1851. Part68.Rotation = Vector3.new(0, 90, 0)
  1852. Part68.Color = Color3.new(0, 1, 1)
  1853. Part68.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1854. Part68.BrickColor = BrickColor.new("Toothpaste")
  1855. Part68.CanCollide = false
  1856. Part68.Material = Enum.Material.SmoothPlastic
  1857. Part68.Reflectance = 0.30000001192093
  1858. Part68.brickColor = BrickColor.new("Toothpaste")
  1859. Part68.FormFactor = Enum.FormFactor.Symmetric
  1860. Part68.formFactor = Enum.FormFactor.Symmetric
  1861. Part69.Parent = pickaxe
  1862. Part69.CFrame = CFrame.new(-91.2410736, 1.99384785, 169.701035, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1863. Part69.Orientation = Vector3.new(0, 90, 0)
  1864. Part69.Position = Vector3.new(-91.2410736, 1.99384785, 169.701035)
  1865. Part69.Rotation = Vector3.new(0, 90, 0)
  1866. Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1867. Part69.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
  1868. Part69.BrickColor = BrickColor.new("Black")
  1869. Part69.CanCollide = false
  1870. Part69.Material = Enum.Material.SmoothPlastic
  1871. Part69.brickColor = BrickColor.new("Black")
  1872. Part69.FormFactor = Enum.FormFactor.Symmetric
  1873. Part69.formFactor = Enum.FormFactor.Symmetric
  1874.  
  1875. for i,v in pairs(pickaxe:GetChildren()) do
  1876.     if v:IsA("Part") and v ~= Part1 then
  1877.         local weld = Instance.new("Weld")
  1878.         weld.Part0 = Part1
  1879.         weld.Part1 = v
  1880.         weld.C0 = Part1.CFrame:Inverse()
  1881.         weld.C1 = v.CFrame:Inverse()
  1882.         --weld.C0 = CFrame.new(0,0,0)
  1883.         weld.Parent = v
  1884.     end
  1885. end
  1886.  
  1887. local pickaxeremote = Instance.new("RemoteEvent")
  1888. pickaxeremote.Name = 'pickaxeremote'
  1889. pickaxeremote.Parent = pickaxe
  1890.  
  1891. local phases = {
  1892.     4811884582,
  1893.     4811884652,
  1894.     4811884736,
  1895.     4811884792,
  1896.     4811884851,
  1897.     4811884902,
  1898.     4811884998,
  1899.     4811885064,
  1900.     4811885127,
  1901.     4811885205
  1902. }
  1903.  
  1904. local bds = {
  1905.     ["Grass"] = 379482039,
  1906.     ["Sand"] = 379482039,
  1907.     ["Dirt"] = 379482039,
  1908.     ["Leaves"] = 379482039,
  1909.     ["Stone"] = 507863457,
  1910.     ["Bedrock"] = 507863457,
  1911.     ["Glass"] = 2676503368,
  1912.     ['Default'] = 507863457
  1913. }
  1914.  
  1915. local materialsounds = {
  1916.     ["default"] = 507863857,
  1917.     ["stone"] = 507863857,
  1918.     ["wood"] = 507863857,--507863457,
  1919.     ["grass"] = 507863105,
  1920.     ["sand"] = 507863105,
  1921.     ["leaves"] = 507863105,
  1922.     ["dirt"] = 507864112,
  1923. }
  1924.  
  1925. function get_material_sound(p)
  1926.     local material = p.Material
  1927.     local soundid = ""
  1928.     local soundid2 = ""
  1929.     if material == Enum.Material.Brick then
  1930.         soundid = bds['Stone']
  1931.         soundid2 = materialsounds['stone']
  1932.     elseif material == Enum.Material.Cobblestone then
  1933.         soundid = bds['Stone']
  1934.         soundid2 = materialsounds['stone']
  1935.     elseif material == Enum.Material.Concrete then
  1936.         soundid = bds['Stone']
  1937.         soundid2 = materialsounds['stone']
  1938.     elseif material == Enum.Material.CorrodedMetal then
  1939.         soundid = bds['Stone']
  1940.         soundid2 = materialsounds['stone']
  1941.     elseif material == Enum.Material.DiamondPlate then
  1942.         soundid = bds['Stone']
  1943.         soundid2 = materialsounds['stone']
  1944.     elseif material == Enum.Material.Fabric then
  1945.         soundid = bds['Leaves']
  1946.         soundid2 = materialsounds['leaves']
  1947.     elseif material == Enum.Material.Foil then
  1948.         soundid = bds['Leaves']
  1949.         soundid2 = materialsounds['leaves']
  1950.     elseif material == Enum.Material.ForceField then
  1951.         soundid = bds['Bedrock']
  1952.         soundid2 = materialsounds['default']
  1953.     elseif material == Enum.Material.Glass then
  1954.         soundid = bds['Glass']
  1955.         soundid2 = materialsounds['default']
  1956.     elseif material == Enum.Material.Granite then
  1957.         soundid = bds['Stone']
  1958.         soundid2 = materialsounds['stone']
  1959.     elseif material == Enum.Material.Grass then
  1960.         soundid = bds['Grass']
  1961.         soundid2 = materialsounds['grass']
  1962.     elseif material == Enum.Material.Ice then
  1963.         soundid = bds['Glass']
  1964.         soundid2 = materialsounds['stone']
  1965.     elseif material == Enum.Material.Marble then
  1966.         soundid = bds['Stone']
  1967.         soundid2 = materialsounds['stone']
  1968.     elseif material == Enum.Material.Metal then
  1969.         soundid = bds['Stone']
  1970.         soundid2 = materialsounds['stone']
  1971.     elseif material == Enum.Material.Neon then
  1972.         soundid = bds['Bedrock']
  1973.         soundid2 = materialsounds['stone']
  1974.     elseif material == Enum.Material.Pebble then
  1975.         soundid = bds['Stone']
  1976.         soundid2 = materialsounds['stone']
  1977.     elseif material == Enum.Material.Plastic then
  1978.         soundid = bds['Stone']
  1979.         soundid2 = materialsounds['default']
  1980.     elseif material == Enum.Material.Sand then
  1981.         soundid = bds['Sand']
  1982.         soundid2 = materialsounds['sand']
  1983.     elseif material == Enum.Material.Slate then
  1984.         soundid = bds['Stone']
  1985.         soundid2 = materialsounds['stone']
  1986.     elseif material == Enum.Material.SmoothPlastic then
  1987.         soundid = bds['Stone']
  1988.         soundid2 = materialsounds['default']
  1989.     elseif material == Enum.Material.Wood then
  1990.         soundid = bds['Default']
  1991.         soundid2 = materialsounds['wood']
  1992.     elseif material == Enum.Material.WoodPlanks then
  1993.         soundid = bds['Default']
  1994.         soundid2 = materialsounds['wood']
  1995.     else
  1996.         soundid = bds['Default']
  1997.         soundid2 = materialsounds['default']
  1998.     end
  1999.     return soundid,soundid2
  2000. end
  2001.  
  2002. local destroy_sound = Instance.new("Sound")
  2003. destroy_sound.SoundId = 'rbxassetid://507863457'
  2004. destroy_sound.Volume = 1
  2005. destroy_sound.Parent = Part1
  2006.  
  2007. local breaking_sound = Instance.new("Sound")
  2008. breaking_sound.SoundId = 'rbxassetid://507863857'
  2009. breaking_sound.Volume = 1
  2010. breaking_sound.Parent = Part1
  2011.  
  2012. local destroy_textures = {}
  2013. local last_target = nil
  2014. local phase = 0
  2015.  
  2016. local hitanimid = 0
  2017. local using = false
  2018. local animating = false
  2019. local equipped = false
  2020.  
  2021. pickaxe.Equipped:Connect(function()
  2022.     equipped = true
  2023. end)
  2024. pickaxe.Unequipped:Connect(function()
  2025.     equipped = false
  2026. end)
  2027.  
  2028. pickaxeremote.OnServerEvent:Connect(function(plr,target,close)
  2029.     if not using and equipped then
  2030.     elseif not equipped then
  2031.         phase = 0
  2032.         last_target = nil
  2033.         for i,v in pairs(destroy_textures) do
  2034.             if v then
  2035.                 v:Destroy()
  2036.             end
  2037.             table.remove(destroy_textures,i)
  2038.         end
  2039.         wait(0.07);
  2040.         using = false;
  2041.         return;
  2042.     else
  2043.         return;
  2044.     end
  2045.     using = true
  2046.     spawn(function()
  2047.         if not animating then
  2048.             animating = true
  2049.             hitanimid = 1
  2050.             if hitanimid == 1 then else return end
  2051.             tween:Create(pickaxe,TweenInfo.new(0.12),{Grip = CFrame.new(-1.12343681, 7.46069873e-14, 0.865265131, -2.96722469e-08, 0.678822041, -0.734302819, -1, -4.37113883e-08, 0, -3.20973932e-08, 0.734302819, 0.678822041)}):Play()
  2052.             hitanimid = 2
  2053.             wait(0.08)
  2054.             if hitanimid == 2 then else return end
  2055.             tween:Create(pickaxe,TweenInfo.new(0.12),{Grip = CFrame.new(-0.825168073, -0.020077154, 1.00834012, -0.275093406, 0.960726619, -0.0364401713, -0.146487176, -0.0044247508, 0.989202619, 0.950192153, 0.277461171, 0.141951352)}):Play()
  2056.             hitanimid = 3
  2057.             wait(0.04)
  2058.             if hitanimid == 3 then else return end
  2059.             tween:Create(pickaxe,TweenInfo.new(0.12),{Grip = CFrame.new(-1.10684741, 4.97379915e-14, 0.99055028, -3.20973932e-08, 0.734302819, 0.6788221, -1, -4.37113883e-08, 0, 2.96722487e-08, -0.6788221, 0.734302819)}):Play()
  2060.             animating = false
  2061.         end
  2062.     end)
  2063.     if target and close then
  2064.     else
  2065.         phase = 0
  2066.         last_target = nil
  2067.         for i,v in pairs(destroy_textures) do
  2068.             if v then
  2069.                 v:Destroy()
  2070.             end
  2071.             table.remove(destroy_textures,i)
  2072.         end
  2073.         wait(0.07);
  2074.         using = false;
  2075.         return;
  2076.     end;
  2077.     if target and target == last_target then
  2078.         breaking_sound:Play()
  2079.         phase = phase + 1
  2080.         if phase > 10 then
  2081.             destroy_sound:Play()
  2082.             target:Destroy()
  2083.             phase = 0
  2084.             last_target = nil
  2085.             for i,v in pairs(destroy_textures) do
  2086.                 if v then
  2087.                     v:Destroy()
  2088.                 end
  2089.                 table.remove(destroy_textures,i)
  2090.             end
  2091.             wait(0.07);
  2092.             using = false;
  2093.             return
  2094.         end
  2095.         if 6 > #destroy_textures then
  2096.             local Texture0 = Instance.new("Decal")
  2097.             local Texture1 = Instance.new("Decal")
  2098.             local Texture2 = Instance.new("Decal")
  2099.             local Texture3 = Instance.new("Decal")
  2100.             local Texture4 = Instance.new("Decal")
  2101.             local Texture5 = Instance.new("Decal")
  2102.             Texture0.Parent = target
  2103.             Texture0.Texture = 'rbxassetid://' .. phases[phase]
  2104.             Texture0.Transparency = 0
  2105.             Texture0.Face = Enum.NormalId.Bottom
  2106.             Texture1.Parent = target
  2107.             Texture1.Texture = 'rbxassetid://' .. phases[phase]
  2108.             Texture1.Transparency = 0
  2109.             Texture1.Face = Enum.NormalId.Top
  2110.             Texture2.Parent = target
  2111.             Texture2.Texture = 'rbxassetid://' .. phases[phase]
  2112.             Texture2.Transparency = 0
  2113.             Texture2.Face = Enum.NormalId.Back
  2114.             Texture3.Parent = target
  2115.             Texture3.Texture = 'rbxassetid://' .. phases[phase]
  2116.             Texture3.Transparency = 0
  2117.             Texture3.Face = Enum.NormalId.Front
  2118.             Texture4.Parent = target
  2119.             Texture4.Texture = 'rbxassetid://' .. phases[phase]
  2120.             Texture4.Transparency = 0
  2121.             Texture4.Face = Enum.NormalId.Left
  2122.             Texture5.Parent = target
  2123.             Texture5.Texture = 'rbxassetid://' .. phases[phase]
  2124.             Texture5.Transparency = 0
  2125.             Texture5.Face = Enum.NormalId.Right
  2126.             table.insert(destroy_textures,1,Texture0)
  2127.             table.insert(destroy_textures,1,Texture1)
  2128.             table.insert(destroy_textures,1,Texture2)
  2129.             table.insert(destroy_textures,1,Texture3)
  2130.             table.insert(destroy_textures,1,Texture4)
  2131.             table.insert(destroy_textures,1,Texture5)
  2132.         else
  2133.             for i,v in pairs(destroy_textures) do
  2134.                 if v then
  2135.                     v.Texture = 'rbxassetid://' .. phases[phase]
  2136.                 end
  2137.             end
  2138.         end
  2139.     elseif target and target ~= last_target then
  2140.         breaking_sound:Play()
  2141.         phase = 0
  2142.         last_target = target
  2143.         for i,v in pairs(destroy_textures) do
  2144.             if v then
  2145.                 v:Destroy()
  2146.             end
  2147.             table.remove(destroy_textures,i)
  2148.         end
  2149.         phase = phase + 1
  2150.         local Texture0 = Instance.new("Decal")
  2151.         local Texture1 = Instance.new("Decal")
  2152.         local Texture2 = Instance.new("Decal")
  2153.         local Texture3 = Instance.new("Decal")
  2154.         local Texture4 = Instance.new("Decal")
  2155.         local Texture5 = Instance.new("Decal")
  2156.         Texture0.Parent = target
  2157.         Texture0.Texture = 'rbxassetid://' .. phases[phase]
  2158.         Texture0.Transparency = 0
  2159.         Texture0.Face = Enum.NormalId.Bottom
  2160.         Texture1.Parent = target
  2161.         Texture1.Texture = 'rbxassetid://' .. phases[phase]
  2162.         Texture1.Transparency = 0
  2163.         Texture1.Face = Enum.NormalId.Top
  2164.         Texture2.Parent = target
  2165.         Texture2.Texture = 'rbxassetid://' .. phases[phase]
  2166.         Texture2.Transparency = 0
  2167.         Texture2.Face = Enum.NormalId.Back
  2168.         Texture3.Parent = target
  2169.         Texture3.Texture = 'rbxassetid://' .. phases[phase]
  2170.         Texture3.Transparency = 0
  2171.         Texture3.Face = Enum.NormalId.Front
  2172.         Texture4.Parent = target
  2173.         Texture4.Texture = 'rbxassetid://' .. phases[phase]
  2174.         Texture4.Transparency = 0
  2175.         Texture4.Face = Enum.NormalId.Left
  2176.         Texture5.Parent = target
  2177.         Texture5.Texture = 'rbxassetid://' .. phases[phase]
  2178.         Texture5.Transparency = 0
  2179.         Texture5.Face = Enum.NormalId.Right
  2180.         table.insert(destroy_textures,1,Texture0)
  2181.         table.insert(destroy_textures,1,Texture1)
  2182.         table.insert(destroy_textures,1,Texture2)
  2183.         table.insert(destroy_textures,1,Texture3)
  2184.         table.insert(destroy_textures,1,Texture4)
  2185.         table.insert(destroy_textures,1,Texture5)
  2186.     end
  2187.     wait(0.07)
  2188.     using = false
  2189. end)
  2190.  
  2191. NLS([
  2192. wait()
  2193. local plr = game:GetService("Players").LocalPlayer
  2194. local char = plr.Character
  2195. local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
  2196. local hum = char:FindFirstChildOfClass("Humanoid")
  2197. local remote = script.Parent:WaitForChild("pickaxeremote")
  2198. local mouse = plr:GetMouse()
  2199.  
  2200. mouse.TargetFilter = char
  2201.  
  2202. local holding = false
  2203.  
  2204. mouse.Button1Down:Connect(function()
  2205.     holding = true
  2206.     while holding do
  2207.         local target = mouse.Target
  2208.         local targchar,targtorso,targhum
  2209.         local mag = nil
  2210.         local close = false
  2211.         local Can_Mine = true
  2212.         if target and torso then
  2213.             mag = (torso.Position - target.Position).magnitude
  2214.         end
  2215.         if mag and 10 >= mag then
  2216.             close = true
  2217.         end
  2218.         for i,v in pairs(game:GetService("Players"):GetChildren()) do
  2219.             if target and target:IsDescendantOf(v.Character) then
  2220.                 Can_Mine = false
  2221.             end
  2222.         end
  2223.         if Can_Mine then else wait(0.07) return end
  2224.         spawn(function()
  2225.             remote:FireServer(target,close)
  2226.         end)
  2227.         wait(0.07)
  2228.     end
  2229. end)
  2230. mouse.Button1Up:Connect(function()
  2231.     wait(0.07)
  2232.     holding = false
  2233.     remote:FireServer(nil,false)
  2234. end)
  2235. ],pickaxe)
  2236. end)
  2237. ]]
  2238.  
  2239. spawn(function()
  2240. local plr = owner;
  2241. local char = plr.Character;
  2242. local hum = char:FindFirstChildOfClass("Humanoid");
  2243. local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart");
  2244.  
  2245. local partfolder = Instance.new("Folder");
  2246. partfolder.Parent = script;
  2247. partfolder.Name = 'partfolder';
  2248.  
  2249. local debris = game:GetService("Debris");
  2250. local tween = game:GetService("TweenService");
  2251.  
  2252. local explosionstimepos = {0,4,8,12,16};
  2253. local maintimepos = 1;
  2254. local used = 0
  2255.  
  2256. local function createcrystal(pos)
  2257.     local Model0 = Instance.new("Model");
  2258.     local Part1 = Instance.new("Part");
  2259.     local Part4 = Instance.new("Part");
  2260.     local Part6 = Instance.new("Part");
  2261.     local Part69 = Instance.new("Part");
  2262.     Model0.Name = "End Crystal";
  2263.     Model0.Parent = partfolder;
  2264.     Part1.Name = "Outside";
  2265.     Part1.Parent = Model0;
  2266.     Part1.Orientation = Vector3.new(0, 45, 0);
  2267.     Part1.Position = pos+Vector3.new(0,0.5,0);
  2268.     Part1.Rotation = Vector3.new(0, 45, 0);
  2269.     Part1.Color = Color3.new(0.666667, 0, 0.666667);
  2270.     Part1.Material = Enum.Material.Fabric;
  2271.     Part1.Transparency = 1;
  2272.     Part1.Size = Vector3.new(3.5, 3.5, 3.5);
  2273.     Part1.Anchored = true;
  2274.     Part1.BottomSurface = Enum.SurfaceType.Smooth;
  2275.     Part1.BrickColor = BrickColor.new("Magenta");
  2276.     Part1.CanCollide = false;
  2277.     Part1.TopSurface = Enum.SurfaceType.Smooth;
  2278.     Part1.brickColor = BrickColor.new("Magenta");
  2279.     Part69.Name = "HumanoidRootPart";
  2280.     Part69.Parent = Model0;
  2281.     Part69.Orientation = Vector3.new(0, 45, 0);
  2282.     Part69.Position = pos-Vector3.new(0,4.3,0);
  2283.     Part69.Rotation = Vector3.new(0, 45, 0);
  2284.     Part69.Material = Enum.Material.Concrete;
  2285.     Part69.Color = Color3.new(0, 0, 0);
  2286.     Part69.Transparency = 1;
  2287.     Part69.Size = Vector3.new(0.05, 0.5, 0.05);
  2288.     Part69.Anchored = true;
  2289.     Part69.CanCollide = false;
  2290.     Part4.Name = "Torso";
  2291.     Part4.Parent = Model0;
  2292.     Part4.Orientation = Vector3.new(45, 0, 0);
  2293.     Part4.Position = pos+Vector3.new(0,0.5,0);
  2294.     Part4.Rotation = Vector3.new(45, 0, 0);
  2295.     Part4.Color = Color3.new(0.666667, 0, 0.666667);
  2296.     Part4.Material = Enum.Material.Fabric;
  2297.     Part4.Transparency = 1;
  2298.     Part4.Size = Vector3.new(3.2, 3.2, 3.2);
  2299.     Part4.Anchored = true;
  2300.     Part4.BottomSurface = Enum.SurfaceType.Smooth;
  2301.     Part4.BrickColor = BrickColor.new("Magenta");
  2302.     Part4.CanCollide = false;
  2303.     Part4.TopSurface = Enum.SurfaceType.Smooth;
  2304.     Part4.brickColor = BrickColor.new("Magenta");
  2305.     Part6.Name = "Head";
  2306.     Part6.Parent = Model0;
  2307.     Part6.Orientation = Vector3.new(45, 0, 0);
  2308.     Part6.Position = pos+Vector3.new(0,0.5,0);
  2309.     Part6.Rotation = Vector3.new(45, 0, 0);
  2310.     Part6.Color = Color3.new(0.666667, 0, 0.666667);
  2311.     Part6.Size = Vector3.new(2.5, 2.5, 2.5);
  2312.     Part6.Anchored = true;
  2313.     Part6.BottomSurface = Enum.SurfaceType.Smooth;
  2314.     Part6.BrickColor = BrickColor.new("Magenta");
  2315.     Part6.CanCollide = false;
  2316.     Part6.Material = Enum.Material.Fabric;
  2317.     Part6.TopSurface = Enum.SurfaceType.Smooth;
  2318.     Part6.brickColor = BrickColor.new("Magenta");
  2319.    
  2320.     spawn(function()
  2321.         local Decal0 = Instance.new("Decal");
  2322.         local Decal1 = Instance.new("Decal");
  2323.         local Decal2 = Instance.new("Decal");
  2324.         local Decal3 = Instance.new("Decal");
  2325.         local Decal4 = Instance.new("Decal");
  2326.         local Decal5 = Instance.new("Decal");
  2327.         Decal0.Parent = Part6;
  2328.         Decal0.Texture = "http://www.roblox.com/asset/?id=4671609130";
  2329.         Decal0.Face = Enum.NormalId.Left;
  2330.         Decal1.Parent = Part6;
  2331.         Decal1.Texture = "http://www.roblox.com/asset/?id=4671609130";
  2332.         Decal1.Face = Enum.NormalId.Top;
  2333.         Decal2.Parent = Part6;
  2334.         Decal2.Texture = "http://www.roblox.com/asset/?id=4671609130";
  2335.         Decal2.Face = Enum.NormalId.Right;
  2336.         Decal3.Parent = Part6;
  2337.         Decal3.Texture = "http://www.roblox.com/asset/?id=4671609130";
  2338.         Decal3.Face = Enum.NormalId.Bottom;
  2339.         Decal4.Parent = Part6;
  2340.         Decal4.Texture = "http://www.roblox.com/asset/?id=4671609130";
  2341.         Decal4.Face = Enum.NormalId.Back;
  2342.         Decal5.Parent = Part6;
  2343.         Decal5.Texture = "http://www.roblox.com/asset/?id=4671609130";
  2344.     end);
  2345.    
  2346.     spawn(function()
  2347.         local Decal0 = Instance.new("Decal");
  2348.         local Decal1 = Instance.new("Decal");
  2349.         local Decal2 = Instance.new("Decal");
  2350.         local Decal3 = Instance.new("Decal");
  2351.         local Decal4 = Instance.new("Decal");
  2352.         local Decal5 = Instance.new("Decal");
  2353.         Decal0.Parent = Part4;
  2354.         Decal0.Texture = "http://www.roblox.com/asset/?id=4671588152";
  2355.         Decal0.Face = Enum.NormalId.Left;
  2356.         Decal1.Parent = Part4;
  2357.         Decal1.Texture = "http://www.roblox.com/asset/?id=4671588152";
  2358.         Decal1.Face = Enum.NormalId.Top;
  2359.         Decal2.Parent = Part4;
  2360.         Decal2.Texture = "http://www.roblox.com/asset/?id=4671588152";
  2361.         Decal2.Face = Enum.NormalId.Right;
  2362.         Decal3.Parent = Part4;
  2363.         Decal3.Texture = "http://www.roblox.com/asset/?id=4671588152"
  2364.         Decal3.Face = Enum.NormalId.Bottom;
  2365.         Decal4.Parent = Part4;
  2366.         Decal4.Texture = "http://www.roblox.com/asset/?id=4671588152";
  2367.         Decal4.Face = Enum.NormalId.Back;
  2368.         Decal5.Parent = Part4;
  2369.         Decal5.Texture = "http://www.roblox.com/asset/?id=4671588152";
  2370.     end);
  2371.    
  2372.     spawn(function()
  2373.         local Decal0 = Instance.new("Decal");
  2374.         local Decal1 = Instance.new("Decal");
  2375.         local Decal2 = Instance.new("Decal");
  2376.         local Decal3 = Instance.new("Decal");
  2377.         local Decal4 = Instance.new("Decal");
  2378.         local Decal5 = Instance.new("Decal");
  2379.         Decal0.Parent = Part1;
  2380.         Decal0.Texture = "http://www.roblox.com/asset/?id=4671588152";
  2381.         Decal0.Face = Enum.NormalId.Left;
  2382.         Decal1.Parent = Part1;
  2383.         Decal1.Texture = "http://www.roblox.com/asset/?id=4671588152";
  2384.         Decal1.Face = Enum.NormalId.Top;
  2385.         Decal2.Parent = Part1;
  2386.         Decal2.Texture = "http://www.roblox.com/asset/?id=4671588152";
  2387.         Decal2.Face = Enum.NormalId.Right;
  2388.         Decal3.Parent = Part1;
  2389.         Decal3.Texture = "http://www.roblox.com/asset/?id=4671588152";
  2390.         Decal3.Face = Enum.NormalId.Bottom;
  2391.         Decal4.Parent = Part1;
  2392.         Decal4.Texture = "http://www.roblox.com/asset/?id=4671588152";
  2393.         Decal4.Face = Enum.NormalId.Back;
  2394.         Decal5.Parent = Part1;
  2395.         Decal5.Texture = "http://www.roblox.com/asset/?id=4671588152";
  2396.     end);
  2397.    
  2398.     local p1,p2,p3,main,model = Part1,Part4,Part6,Part69,Model0;
  2399.    
  2400.     p1.Locked = true;
  2401.     p2.Locked = true;
  2402.     p3.Locked = true;
  2403.     main.Locked = true;
  2404.    
  2405.     local exploded = false;
  2406.    
  2407.     local bvalue = Instance.new("BoolValue");
  2408.     bvalue.Parent = model;
  2409.     bvalue.Name = 'end crystal explode';
  2410.  
  2411.     local cvalue = Instance.new("BoolValue");
  2412.     cvalue.Parent = model;
  2413.     cvalue.Name = 'end crystal chain activated';
  2414.    
  2415.     workspace.DescendantAdded:Connect(function(obj)
  2416.         if obj:IsA("Explosion") then
  2417.             obj.Hit:Connect(function(hit)
  2418.                 local par = hit.Parent;
  2419.                 if par then
  2420.                     local c = par:FindFirstChild('end crystal explode');
  2421.                     if c and c:IsA("BoolValue") then
  2422.                         c.Value = true;
  2423.                     end;
  2424.                 else
  2425.                     return;
  2426.                 end;
  2427.             end);
  2428.         end;
  2429.     end);
  2430.  
  2431.     for i,v in pairs(model:GetDescendants()) do
  2432.         if v:IsA("BasePart") and v ~= main then
  2433.             local click = Instance.new("ClickDetector");
  2434.             click.MaxActivationDistance = 30;
  2435.             click.CursorIcon = 'rbxassetid://93681360';
  2436.             click.Parent = v;
  2437.        
  2438.             click.MouseClick:Connect(function()
  2439.                 click:Destroy();
  2440.                 bvalue.Value = true;
  2441.             end);
  2442.         end;
  2443.     end;
  2444.    
  2445.     local function explode(par,poss)
  2446.         exploded = true;
  2447.         bvalue.Value = true;
  2448.         p1:Destroy();p2:Destroy();p3:Destroy();main:Destroy();
  2449.         local Part0 = Instance.new("Part");
  2450.         --local ParticleEmitter1 = Instance.new("ParticleEmitter");
  2451.         Part0.Name = "grenade";
  2452.         Part0.Parent = par;
  2453.         Part0.Position = poss;
  2454.         Part0.Transparency = 1;
  2455.         Part0.Size = Vector3.new(4, 0.0500000007, 4);
  2456.         Part0.Anchored = true;
  2457.         Part0.BottomSurface = Enum.SurfaceType.Smooth;
  2458.         Part0.CanCollide = false;
  2459.         Part0.Locked = true;
  2460.         Part0.TopSurface = Enum.SurfaceType.Smooth;
  2461.         --[[
  2462.         ParticleEmitter1.Parent = Part0;
  2463.         ParticleEmitter1.Speed = NumberRange.new(25,30);
  2464.         ParticleEmitter1.Color = ColorSequence.new(Color3.new(1,1,1),Color3.new(1,1,1));
  2465.         ParticleEmitter1.Enabled = false;
  2466.         ParticleEmitter1.LightEmission = 0.80000001192093;
  2467.         ParticleEmitter1.Texture = "rbxassetid://3607612871";
  2468.         ParticleEmitter1.Size = NumberSequence.new(3,0.5);
  2469.         ParticleEmitter1.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093);
  2470.         ParticleEmitter1.LockedToPart = true;
  2471.         ParticleEmitter1.Rate = 10000;
  2472.         ParticleEmitter1.RotSpeed = NumberRange.new(270, 270);
  2473.         ParticleEmitter1.SpreadAngle = Vector2.new(-90, -90);
  2474.         ParticleEmitter1.VelocitySpread = -90;
  2475.         ]]
  2476.         if cvalue.Value == false then
  2477.             local selectedtimepos = maintimepos + 1;
  2478.             if selectedtimepos > #explosionstimepos then
  2479.                 selectedtimepos = 1;
  2480.             end;
  2481.             maintimepos = selectedtimepos;
  2482.             local s = Instance.new("Sound");
  2483.             s.Parent = Part0;
  2484.             s.SoundId = "rbxassetid://4673732522";
  2485.             s.Volume = 4;
  2486.             s.PlaybackSpeed = math.random(10,11)/10;
  2487.             s.TimePosition = explosionstimepos[math.random(1,#explosionstimepos)];
  2488.             s:Play();
  2489.             game:GetService("Debris"):AddItem(s,3.9);
  2490.         end;
  2491.         used = used + 1
  2492.         local radius,mindmg,maxdmg,crystalid,crystalid2 = 10,10,100,math.random(-9999999999,9999999999),math.random(-9999999999,9999999999);
  2493.         local ex = Instance.new("Explosion");
  2494.         ex.Visible = true;
  2495.         ex.Position = poss;
  2496.         ex.BlastRadius = 20;
  2497.         ex.BlastPressure = 100000;
  2498.         ex.DestroyJointRadiusPercent = 0;
  2499.         ex.ExplosionType = Enum.ExplosionType.NoCraters;
  2500.         ex.Parent = Part0;
  2501.         ex.Hit:connect(function(obj, Distance)
  2502.             if Distance <= 20 and obj ~= Part0 then
  2503.                 local targchar,targhum,targtorso,targhead,targleg1,targleg2,targarm1,targarm2,confirm;
  2504.                 pcall(function()
  2505.                     targchar = obj.Parent;
  2506.                 end);
  2507.                 pcall(function()
  2508.                     targhum = targchar:FindFirstChildOfClass("Humanoid");
  2509.                 end);
  2510.                 pcall(function()
  2511.                     targtorso = targchar:FindFirstChild("HumanoidRootPart") or targchar:FindFirstChild("Torso");
  2512.                 end);
  2513.                 pcall(function()
  2514.                     targhead = targchar:FindFirstChild("Head");
  2515.                 end);
  2516.                 pcall(function()
  2517.                     targleg1 = targchar:FindFirstChild("Left Leg") or targchar:FindFirstChild("LeftUpperLeg");
  2518.                 end);
  2519.                 pcall(function()
  2520.                     targleg2 = targchar:FindFirstChild("Right Leg") or targchar:FindFirstChild("RightUpperLeg");
  2521.                 end);
  2522.                 pcall(function()
  2523.                     targarm1 = targchar:FindFirstChild("Left Arm") or targchar:FindFirstChild("LeftUpperArm");
  2524.                 end);
  2525.                 pcall(function()
  2526.                     targarm2 = targchar:FindFirstChild("Right Arm") or targchar:FindFirstChild("RightUpperArm");
  2527.                 end);
  2528.                 pcall(function()
  2529.                     confirm = targhum:FindFirstChild(crystalid .. used .. plr.Name .. crystalid2);
  2530.                 end);
  2531.                 local par = obj.Parent;
  2532.                 if par then
  2533.                     local c = par:FindFirstChild('end crystal chain activated');
  2534.                     if c and c:IsA("BoolValue") then
  2535.                         c.Value = true;
  2536.                     end;
  2537.                 else
  2538.                     return;
  2539.                 end;
  2540.                 if targchar and targhum and targtorso and targhead and targleg1 and targleg2 and targarm1 and targarm2 and not confirm then
  2541.                     local ec_dmg = 100
  2542.                     local ignore = {partfolder,Part0, targchar};
  2543.                     for i,v in ipairs(game:GetService("Players"):GetPlayers()) do
  2544.                         if v and v.Character then
  2545.                             table.insert(ignore,1,v.Character);
  2546.                         end;
  2547.                     end;
  2548.                     local ray1 = Ray.new(poss, (targtorso.Position-poss));
  2549.                     local hit1 = workspace:FindPartOnRayWithIgnoreList(ray1,ignore,false,true);
  2550.                     if hit1 then
  2551.                         ec_dmg = ec_dmg - 30;
  2552.                         --return;
  2553.                     end;
  2554.                     local ray2 = Ray.new(poss, (targleg1.Position-poss));
  2555.                     local hit2 = workspace:FindPartOnRayWithIgnoreList(ray2,ignore,false,true);
  2556.                     if hit2 then
  2557.                         ec_dmg = ec_dmg - 10;
  2558.                     end;
  2559.                     local ray3 = Ray.new(poss, (targleg2.Position-poss));
  2560.                     local hit3 = workspace:FindPartOnRayWithIgnoreList(ray3,ignore,false,true);
  2561.                     if hit3 then
  2562.                         ec_dmg = ec_dmg - 10;
  2563.                     end;
  2564.                     local ray4 = Ray.new(poss, (head.Position-poss));
  2565.                     local hit4 = workspace:FindPartOnRayWithIgnoreList(ray4,ignore,false,true);
  2566.                     if hit4 then
  2567.                         ec_dmg = ec_dmg - 30;
  2568.                     end;
  2569.                     local ray5 = Ray.new(poss, (targarm1.Position-poss));
  2570.                     local hit5 = workspace:FindPartOnRayWithIgnoreList(ray5,ignore,false,true);
  2571.                     if hit5 then
  2572.                         ec_dmg = ec_dmg - 10;
  2573.                     end;
  2574.                     local ray6 = Ray.new(poss, (targarm2.Position-poss));
  2575.                     local hit6 = workspace:FindPartOnRayWithIgnoreList(ray6,ignore,false,true);
  2576.                     if hit6 then
  2577.                         ec_dmg = ec_dmg - 10;
  2578.                     end;
  2579.                     local targY = targtorso.Position.Y;
  2580.                     local confirm = Instance.new("IntValue");
  2581.                     confirm.Name = (crystalid .. used .. plr.Name .. crystalid2);
  2582.                     confirm.Parent = targhum;
  2583.                     game:GetService("Debris"):AddItem(confirm,1);
  2584.                     if targY >= poss.Y then
  2585.                         local up = (targY - poss.Y);
  2586.                         --print('hight;' .. up)
  2587.                         --print('dmg;' .. ec_dmg)
  2588.                         if up >= 0.79 then
  2589.                             targhum:TakeDamage(ec_dmg);
  2590.                         end;
  2591.                     --[[
  2592.                     elseif poss.Y > targY then
  2593.                         local down = poss.Y - targY;
  2594.                         targhum:TakeDamage(1);
  2595.                     ]]
  2596.                     end;
  2597.                 end;
  2598.             end;
  2599.         end);
  2600.         spawn(function()
  2601.             --[[
  2602.             ParticleEmitter1.Enabled = true;
  2603.             wait(.25);
  2604.             ParticleEmitter1.Enabled = false;
  2605.             ]]
  2606.             debris:AddItem(Part0,2);
  2607.             debris:AddItem(ex,2);
  2608.         end);
  2609.     end;
  2610.  
  2611.     local humanoid = Instance.new("Humanoid")
  2612.     humanoid.Parent = model
  2613.     humanoid.MaxHealth = 1
  2614.     humanoid.Health = 1
  2615.     humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  2616.     humanoid.HealthDisplayDistance = Enum.HumanoidHealthDisplayType.AlwaysOff
  2617.     humanoid.HealthChanged:Connect(function()
  2618.         explode(workspace,main.Position);
  2619.     end)
  2620.    
  2621.     bvalue.Changed:Connect(function()
  2622.         if bvalue.Value == true and not exploded then
  2623.             explode(workspace,main.Position);
  2624.         end;
  2625.     end);
  2626.    
  2627.     Model0.ChildRemoved:Connect(function()
  2628.         if not exploded then
  2629.             explode(workspace,main.Position);
  2630.         end;
  2631.     end);
  2632.    
  2633.     local sine = 0;
  2634.     spawn(function()
  2635.         local base_speed = 0.025;
  2636.         local speed1,speed2,speed3 = base_speed/2,base_speed/3,base_speed/1.5;
  2637.         p1.CFrame = p1.CFrame*CFrame.fromEulerAnglesXYZ(45,0,0);
  2638.         p2.CFrame = p2.CFrame*CFrame.fromEulerAnglesXYZ(45,0,0);
  2639.         while not exploded do
  2640.             game:GetService("RunService").Heartbeat:Wait(1/30);
  2641.             sine = sine+2;
  2642.             p1.CFrame = p1.CFrame*CFrame.fromEulerAnglesXYZ(0,speed2,speed2);
  2643.             p2.CFrame = p2.CFrame*CFrame.fromEulerAnglesXYZ(0,speed1,speed1);
  2644.             p3.CFrame = p3.CFrame*CFrame.fromEulerAnglesXYZ(speed3,speed3,0);
  2645.             p1.Position = p1.Position+Vector3.new(0,0.12*math.cos(sine/24),0);
  2646.             p2.Position = p2.Position+Vector3.new(0,0.12*math.cos(sine/24),0);
  2647.             p3.Position = p3.Position+Vector3.new(0,0.12*math.cos(sine/24),0);
  2648.         end;
  2649.     end);
  2650. end;
  2651.  
  2652. local function CheckIfAlive()
  2653.     local alive = false;
  2654.     if (plr and plr.Parent and char and char.Parent and hum and hum.Parent and hum.Health > 0 and torso and torso.Parent) then
  2655.         alive = true;
  2656.     end;
  2657.     return alive;
  2658. end;
  2659.  
  2660. local equipped = false;
  2661.  
  2662. local tool = Instance.new("Tool");
  2663. local handle = Instance.new("Part");
  2664. local Decal2 = Instance.new("Decal");
  2665. local Decal3 = Instance.new("Decal");
  2666. tool.Name = "End Crystal";
  2667. tool.Parent = plr['Backpack'];
  2668. tool.TextureId = "rbxassetid://4124593233";
  2669. tool.Grip = CFrame.new(-2.54576662e-08, -0.0455678105, 0.308264196, -0.99999994, 1.61091539e-05, 6.31738794e-06, -1.62063188e-05, -0.9998703, -0.0161100924, 6.06379626e-06, -0.0161101501, 0.999870241);
  2670. tool.ToolTip = "Keep cautious! Flammable!";
  2671. tool.CanBeDropped = false;
  2672. handle.Name = "Handle";
  2673. handle.Parent = tool;
  2674. handle.CFrame = CFrame.new(-87.6886597, 2.380023, 164.558884, 1, 0, 0, 0, 1, 0, 0, 0, 1);
  2675. handle.Position = Vector3.new(-87.6886597, 2.380023, 164.558884);
  2676. handle.Transparency = 1;
  2677. handle.Size = Vector3.new(0.05, 2, 2);
  2678. handle.BottomSurface = Enum.SurfaceType.Smooth;
  2679. handle.CanCollide = true;
  2680. handle.TopSurface = Enum.SurfaceType.Smooth;
  2681. Decal2.Parent = handle;
  2682. Decal2.Texture = "rbxassetid://4124593233";
  2683. Decal2.Face = Enum.NormalId.Right;
  2684. Decal3.Parent = handle;
  2685. Decal3.Texture = "rbxassetid://4124593233";
  2686. Decal3.Face = Enum.NormalId.Left;
  2687.  
  2688. tool.Equipped:Connect(function()
  2689.     char = tool.Parent;
  2690.     plr = game:GetService("Players"):GetPlayerFromCharacter(char);
  2691.     hum = char:FindFirstChildOfClass("Humanoid");
  2692.     torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart");
  2693.     if not CheckIfAlive() then tool.Parent = nil return end;
  2694.     equipped = true;
  2695. end);
  2696.  
  2697. tool.Unequipped:Connect(function()
  2698.     equipped = false;
  2699. end);
  2700.  
  2701. local crystalremote = Instance.new("RemoteEvent");
  2702. crystalremote.Name = 'crystalremote';
  2703. crystalremote.Parent = tool;
  2704.  
  2705. local lscode = [[
  2706.     local plr = game:GetService("Players").LocalPlayer;
  2707.     local char = plr.Character
  2708.     local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
  2709.     local mouse = plr:GetMouse();
  2710.     local crystalremote = script.Parent:FindFirstChild('crystalremote');
  2711.    
  2712.     mouse.TargetFilter = char
  2713.    
  2714.     mouse.Button1Down:Connect(function()
  2715.         local mpos = mouse.hit.p;
  2716.         local mag = (torso.Position - mpos).magnitude
  2717.         if 10 >= mag then
  2718.             crystalremote:FireServer(1,mpos);
  2719.         end
  2720.     end);
  2721. ]]
  2722. --[[ ^^
  2723.     mouse.KeyDown:Connect(function(key)
  2724.         local targ = mouse.Target;
  2725.         if key == 'e' and targ then
  2726.             pcall(function()
  2727.                 local par = targ.Parent;
  2728.                 if par then
  2729.                     local c = par:FindFirstChild('end crystal explode');
  2730.                     if c and c:IsA("BoolValue") then
  2731.                         --c.Value = true;
  2732.                         crystalremote:FireServer(2,c,targ);
  2733.                     end;
  2734.                 else
  2735.                     return;
  2736.                 end;
  2737.             end);
  2738.         end;
  2739.     end);
  2740. --]]
  2741.  
  2742. NLS(lscode,tool);
  2743. local chitanimid = 0;
  2744. local cooldown = false
  2745.  
  2746. crystalremote.OnServerEvent:Connect(function(plr,mode,data,data2)
  2747.     if mode == 1 and data and CheckIfAlive() and equipped then
  2748.         if not cooldown then else return end
  2749.         cooldown = true
  2750.         spawn(function()
  2751.             chitanimid = 1;
  2752.             if chitanimid == 1 then else return end
  2753.             tween:Create(tool,TweenInfo.new(0.12),{Grip = CFrame.new(5.07131972e-08, 0.381923676, -0.0852522179, -0.999999881, 1.61091466e-05, 6.31792e-06, 6.26118799e-06, -0.00393574359, 0.999992192, 1.61312892e-05, 0.999992251, 0.00393568445)}):Play();
  2754.             chitanimid = 2;
  2755.             wait(0.08);
  2756.             if chitanimid == 2 then else return end
  2757.             tween:Create(tool,TweenInfo.new(0.12),{Grip = CFrame.new(-0.0180762839, -0.0653070137, -0.0547990054, 6.30489922e-06, -0.00393574359, 0.999992192, 0.642799735, 0.766028285, 0.00301082013, -0.766034126, 0.642794847, 0.0025346817)}):Play();
  2758.             chitanimid = 3;
  2759.             wait(0.04);
  2760.             if chitanimid == 3 then else return end
  2761.             tween:Create(tool,TweenInfo.new(0.12),{Grip = CFrame.new(-2.54576662e-08, -0.0455678105, 0.308264196, -0.99999994, 1.61091539e-05, 6.31738794e-06, -1.62063188e-05, -0.9998703, -0.0161100924, 6.06379626e-06, -0.0161101501, 0.999870241)}):Play();
  2762.         end)
  2763.         createcrystal(data+Vector3.new(0,4,0));
  2764.         wait(0.1)
  2765.         cooldown = false
  2766.     elseif mode == 2 and data and data2 then
  2767.         pcall(function()
  2768.             local dist = (torso.Position - data2.Position).Magnitude
  2769.             if 30 >= dist then else return end
  2770.             data.Value = true;
  2771.         end);
  2772.     end;
  2773. end);
  2774. end);
  2775.  
  2776. spawn(function()
  2777. local Tool0 = Instance.new("Tool")
  2778. local Part1 = Instance.new("Part")
  2779. local Texture2 = Instance.new("Texture")
  2780. local Texture3 = Instance.new("Texture")
  2781. local Texture4 = Instance.new("Texture")
  2782. local Texture5 = Instance.new("Texture")
  2783. local Texture6 = Instance.new("Texture")
  2784. local Texture7 = Instance.new("Texture")
  2785. local NumberValue8 = Instance.new("NumberValue")
  2786. local Part9 = Instance.new("Part")
  2787. local Texture10 = Instance.new("Texture")
  2788. local Texture11 = Instance.new("Texture")
  2789. local Texture12 = Instance.new("Texture")
  2790. local Texture13 = Instance.new("Texture")
  2791. local Texture14 = Instance.new("Texture")
  2792. local Texture15 = Instance.new("Texture")
  2793. local Script16 = Instance.new("Script")
  2794. local Script17 = Instance.new("Script")
  2795. local remote1 = Instance.new("RemoteEvent")
  2796. local LocalScript19 = Instance.new("LocalScript")
  2797. local Vector3Value20 = Instance.new("Vector3Value")
  2798. Tool0.Name = "Obsidian"
  2799. Tool0.Parent = plr['Backpack']
  2800. Tool0.TextureId = "rbxassetid://286047170"
  2801. Tool0.CanBeDropped = false
  2802. Tool0.Grip = CFrame.new(0.59161675, 0.105286852, 0.562550008, 0.709374607, -0.693053603, -0.128313914, -0.00493968278, -0.186933011, 0.982360363, -0.704814255, -0.696227431, -0.136029094)
  2803. Tool0.GripForward = Vector3.new(0.128313914, -0.982360363, 0.136029094)
  2804. Tool0.GripPos = Vector3.new(0.59161675, 0.105286852, 0.562550008)
  2805. Tool0.GripRight = Vector3.new(0.709374607, -0.00493968278, -0.704814255)
  2806. Tool0.GripUp = Vector3.new(-0.693053603, -0.186933011, -0.696227431)
  2807. Tool0.ToolTip = "Hardest Block to break!"
  2808. remote1.Name = 'place1'
  2809. remote1.Parent = Tool0
  2810. Part1.Name = "Obsidian"
  2811. Part1.Parent = Tool0
  2812. Part1.CFrame = CFrame.new(123.844437, 2419.15918, 62.8882904, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2813. Part1.Position = Vector3.new(123.844437, 2419.15918, 62.8882904)
  2814. Part1.Transparency = 1
  2815. Part1.Size = Vector3.new(2.5, 2.5, 2.5)
  2816. Part1.BottomSurface = Enum.SurfaceType.Smooth
  2817. Part1.CanCollide = false
  2818. Part1.Material = Enum.Material.Metal
  2819. Part1.TopSurface = Enum.SurfaceType.Smooth
  2820. Texture2.Parent = Part1
  2821. Texture2.Texture = "rbxassetid://286047170"
  2822. Texture2.Transparency = 1
  2823. Texture2.StudsPerTileU = 2.5
  2824. Texture2.StudsPerTileV = 2.5
  2825. Texture3.Parent = Part1
  2826. Texture3.Texture = "rbxassetid://286047170"
  2827. Texture3.Transparency = 1
  2828. Texture3.Face = Enum.NormalId.Right
  2829. Texture3.StudsPerTileU = 2.5
  2830. Texture3.StudsPerTileV = 2.5
  2831. Texture4.Parent = Part1
  2832. Texture4.Texture = "rbxassetid://286047170"
  2833. Texture4.Transparency = 1
  2834. Texture4.Face = Enum.NormalId.Left
  2835. Texture4.StudsPerTileU = 2.5
  2836. Texture4.StudsPerTileV = 2.5
  2837. Texture5.Parent = Part1
  2838. Texture5.Texture = "rbxassetid://286047170"
  2839. Texture5.Transparency = 1
  2840. Texture5.Face = Enum.NormalId.Back
  2841. Texture5.StudsPerTileU = 2.5
  2842. Texture5.StudsPerTileV = 2.5
  2843. Texture6.Parent = Part1
  2844. Texture6.Texture = "rbxassetid://286047170"
  2845. Texture6.Transparency = 1
  2846. Texture6.Face = Enum.NormalId.Bottom
  2847. Texture6.StudsPerTileU = 2.5
  2848. Texture6.StudsPerTileV = 2.5
  2849. Texture7.Parent = Part1
  2850. Texture7.Texture = "rbxassetid://286047170"
  2851. Texture7.Transparency = 1
  2852. Texture7.Face = Enum.NormalId.Top
  2853. Texture7.StudsPerTileU = 2.5
  2854. Texture7.StudsPerTileV = 2.5
  2855. NumberValue8.Name = "hardness"
  2856. NumberValue8.Parent = Part1
  2857. NumberValue8.Value = 16
  2858. Part9.Name = "Handle"
  2859. Part9.Parent = Tool0
  2860. Part9.CFrame = CFrame.new(123.844437, 2419.15918, 62.8882904, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2861. Part9.Position = Vector3.new(123.844437, 2419.15918, 62.8882904)
  2862. Part9.Transparency = 1
  2863. Part9.Size = Vector3.new(1, 1, 1)
  2864. Part9.BottomSurface = Enum.SurfaceType.Smooth
  2865. Part9.Material = Enum.Material.Pebble
  2866. Part9.TopSurface = Enum.SurfaceType.Smooth
  2867. Texture10.Parent = Part9
  2868. Texture10.Texture = "rbxassetid://286047170"
  2869. Texture10.StudsPerTileU = 1
  2870. Texture10.StudsPerTileV = 1
  2871. Texture11.Parent = Part9
  2872. Texture11.Texture = "rbxassetid://286047170"
  2873. Texture11.Face = Enum.NormalId.Right
  2874. Texture11.StudsPerTileU = 1
  2875. Texture11.StudsPerTileV = 1
  2876. Texture12.Parent = Part9
  2877. Texture12.Texture = "rbxassetid://286047170"
  2878. Texture12.Face = Enum.NormalId.Left
  2879. Texture12.StudsPerTileU = 1
  2880. Texture12.StudsPerTileV = 1
  2881. Texture13.Parent = Part9
  2882. Texture13.Texture = "rbxassetid://286047170"
  2883. Texture13.Face = Enum.NormalId.Back
  2884. Texture13.StudsPerTileU = 1
  2885. Texture13.StudsPerTileV = 1
  2886. Texture14.Parent = Part9
  2887. Texture14.Texture = "rbxassetid://286047170"
  2888. Texture14.Face = Enum.NormalId.Bottom
  2889. Texture14.StudsPerTileU = 1
  2890. Texture14.StudsPerTileV = 1
  2891. Texture15.Parent = Part9
  2892. Texture15.Texture = "rbxassetid://286047170"
  2893. Texture15.Face = Enum.NormalId.Top
  2894. Texture15.StudsPerTileU = 1
  2895. Texture15.StudsPerTileV = 1
  2896.  
  2897. local weld = Instance.new("Weld")
  2898. weld.Part0 = Part9
  2899. weld.Part1 = Part1
  2900. weld.Parent = Tool0
  2901.  
  2902. local wool = "rbxassetid://3843797566"
  2903. local metal = "rbxassetid://935281533"
  2904. local sand = "rbxassetid://3843792584"
  2905. local gravel = "rbxassetid://3843794655"
  2906. local wood1 = "rbxassetid://3843789432"
  2907. local wood2 = "rbxassetid://3843786781"
  2908. local grass = "rbxassetid://3843796214"
  2909. local snow = "rbxassetid://3843791122"
  2910.  
  2911. local placesound = Instance.new("Sound")
  2912. placesound.SoundId = metal
  2913. placesound.Volume = 1.5
  2914. placesound.Parent = Part1
  2915.  
  2916. remote1.OnServerEvent:Connect(function(player,t,pos)
  2917.     local block = Part1:Clone()
  2918.     local mcblock = Instance.new("BoolValue",block)
  2919.     mcblock.Name = "mcblock"
  2920.     mcblock.Value = true
  2921.    
  2922.     block.Position = pos
  2923.     block.Transparency = 0
  2924.     block.Rotation = Vector3.new(0,0,0)
  2925.     block.Anchored = true
  2926.     block.CanCollide = true
  2927.     block.Velocity = Vector3.new(0,0,0)
  2928.     block.RotVelocity = Vector3.new(0,0,0)
  2929.    
  2930.     for i,v in pairs(block:GetDescendants()) do
  2931.         if v:IsA("JointInstance") then
  2932.             v:Destroy()
  2933.         elseif v:IsA("Texture") then
  2934.             v.Transparency = 0
  2935.         end
  2936.     end
  2937.    
  2938.     block.Parent = workspace
  2939.     remote1:FireClient(player)
  2940.     placesound:Play()
  2941. end)
  2942.  
  2943. NLS([[
  2944. player = game:GetService("Players").LocalPlayer
  2945. remote1 = script.Parent:WaitForChild("place1")
  2946.  
  2947. function checkcoords(pos)
  2948.     local canplace = true
  2949.     for i,v in pairs(workspace:GetDescendants()) do
  2950.         if v:IsA("BasePart") and v:FindFirstChild("mcblock") and v.Position == pos then
  2951.             canplace = false
  2952.         end
  2953.     end
  2954.     return canplace
  2955. end
  2956.  
  2957. script.Parent.Equipped:Connect(function(mouse)
  2958.     mouse.Button1Down:Connect(function()
  2959.         local pos = mouse.Hit.p
  2960.         local mag = (player.Character.Torso.Position - mouse.Hit.p).magnitude
  2961.         local ts = mouse.TargetSurface.Name
  2962.         local t = mouse.Target
  2963.         local part = mouse.Target
  2964.         local largest = part.Size.X
  2965.         local cango = true
  2966.         for i,v in pairs(workspace:GetDescendants()) do
  2967.             if v:IsA("BasePart") and v.Name == "Baseplate" and v:FindFirstChild("owner") then
  2968.                 if v.owner.Value ~= player and Vector2.new(pos.X-v.Position.X).magnitude < v.range.Value and Vector2.new(pos.Z-v.Position.Z).magnitude < v.range.Value then
  2969.                     cango = false
  2970.                 end
  2971.             end
  2972.         end
  2973.         if part.Size.Y > largest then
  2974.             largest = part.Size.Y
  2975.             if part.Size.Z > largest then
  2976.                 largest = part.Size.Z
  2977.             end
  2978.         end
  2979.         if 10 >= mag and t ~= nil then
  2980.             local function round(Num)
  2981.                 return math.floor(Num + 0.5)
  2982.             end
  2983.             if t.Name == "Base" or t.Name == "Baseplate" then
  2984.                 pos = Vector3.new(round(pos.X/2.5)*2.5,round(pos.Y/2.5)*2.5,round(pos.Z/2.5)*2.5) + Vector3.new(0,script.Parent[script.Parent.Name].Size.Y/2,0)
  2985.             else
  2986.                 if ts == "Top" then
  2987.                     pos = t.Position + Vector3.new(0,script.Parent[script.Parent.Name].Size.Y,0)
  2988.                 elseif ts == "Left" then
  2989.                     pos = t.Position + Vector3.new(-script.Parent[script.Parent.Name].Size.X,0,0)
  2990.                 elseif ts == "Right" then
  2991.                     pos = t.Position + Vector3.new(script.Parent[script.Parent.Name].Size.X,0,0)
  2992.                 elseif ts == "Front" then
  2993.                     pos = t.Position + Vector3.new(0,0,-script.Parent[script.Parent.Name].Size.Z)
  2994.                 elseif ts == "Back" then
  2995.                     pos = t.Position + Vector3.new(0,0,script.Parent[script.Parent.Name].Size.Z)
  2996.                 elseif ts == "Bottom" then
  2997.                     pos = t.Position + Vector3.new(0,-script.Parent[script.Parent.Name].Size.Y,0)
  2998.                 end
  2999.                 pos = Vector3.new(round(pos.X/2.5)*2.5,round(pos.Y/2.5)*2.5,round(pos.Z/2.5)*2.5) + Vector3.new(0,-script.Parent[script.Parent.Name].Size.Y/2,0)
  3000.             end
  3001.             local magpart = Instance.new("Part")
  3002.             magpart.Position = player.Character.Torso.Position - Vector3.new(0,0.5,0)
  3003.             magpart.Size = Vector3.new(2.5,5,2.5)
  3004.             local mag2 = (magpart.Position - pos).magnitude
  3005.             magpart:Destroy()
  3006.             if checkcoords(pos) == true and mag2 > 2.5 and cango then
  3007.                 local localblock = script.Parent[script.Parent.Name]:Clone()
  3008.                 localblock.Position = pos
  3009.                 localblock.Parent = workspace
  3010.                 for i,v in pairs(localblock:GetDescendants()) do
  3011.                     if v:IsA("JointInstance") then
  3012.                         v:Destroy()
  3013.                     elseif v:IsA("Texture") then
  3014.                         v.Transparency = 0
  3015.                     end
  3016.                 end
  3017.                 localblock.Transparency = 0
  3018.                 localblock.Rotation = Vector3.new(0,0,0)
  3019.                 localblock.Anchored = true
  3020.                 localblock.CanCollide = true
  3021.                 if t ~= nil then
  3022.                     remote1:FireServer(t,pos)
  3023.                 end
  3024.                 remote1.OnClientEvent:Connect(function()
  3025.                     if localblock then
  3026.                         localblock:Destroy()
  3027.                     end
  3028.                 end)
  3029.             end
  3030.         end
  3031.     end)
  3032. end)
  3033. ]],Tool0)
  3034.  
  3035. Vector3Value20.Name = "offset"
  3036. Vector3Value20.Parent = Tool0
  3037. Vector3Value20.Value = Vector3.new(-0.25, -0.25, 1)
  3038. end)
  3039.  
  3040. spawn(function()
  3041. local gappletool = Instance.new("Tool")
  3042. local gapple = Instance.new("Part")
  3043. local Decal2 = Instance.new("Decal")
  3044. local Decal3 = Instance.new("Decal")
  3045. gappletool.Name = "Golden Apple"
  3046. gappletool.Parent = plr.Backpack
  3047. gappletool.TextureId = "rbxassetid://3749318589"
  3048. gappletool.Grip = CFrame.new(0.194969162, -0.202951327, 0, 1, 0, -1.74845553e-07, 2.16089315e-08, 0.992333531, 0.123588681, 1.735051e-07, -0.123588681, 0.992333531)
  3049. gappletool.GripForward = Vector3.new(1.74845553e-07, -0.123588681, -0.992333531)
  3050. gappletool.GripPos = Vector3.new(0.194969162, -0.202951327, 0)
  3051. gappletool.GripRight = Vector3.new(1, 2.16089315e-08, 1.735051e-07)
  3052. gappletool.GripUp = Vector3.new(0, 0.992333531, -0.123588681)
  3053. gappletool.ToolTip = "Left: 5"
  3054. gapple.Name = "Handle"
  3055. gapple.Parent = gappletool
  3056. gapple.CFrame = CFrame.new(-87.6886597, 2.380023, 164.558884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3057. gapple.Position = Vector3.new(-87.6886597, 2.380023, 164.558884)
  3058. gapple.Transparency = 1
  3059. gapple.Size = Vector3.new(0.0500000007, 1, 1)
  3060. gapple.BottomSurface = Enum.SurfaceType.Smooth
  3061. gapple.CanCollide = false
  3062. gapple.TopSurface = Enum.SurfaceType.Smooth
  3063. Decal2.Parent = gapple
  3064. Decal2.Texture = "rbxassetid://3749318589"
  3065. Decal2.Face = Enum.NormalId.Right
  3066. Decal3.Parent = gapple
  3067. Decal3.Texture = "rbxassetid://3749318589"
  3068. Decal3.Face = Enum.NormalId.Left
  3069.  
  3070. local left = Instance.new("IntValue")
  3071. local lasteatid = 0
  3072.  
  3073. left.Name = 'left'
  3074. left.Parent = gappletool
  3075. left.Value = 5
  3076.  
  3077. local eatsound = Instance.new("Sound")
  3078. eatsound.SoundId = 'rbxassetid://3389702715'
  3079. eatsound.Volume = 1
  3080. eatsound.Parent = gapple
  3081. local eatsound2 = Instance.new("Sound")
  3082. eatsound2.SoundId = 'rbxassetid://3389703911'
  3083. eatsound2.Volume = 1
  3084. eatsound2.Parent = gapple
  3085. local eatsound3 = Instance.new("Sound")
  3086. eatsound3.SoundId = 'rbxassetid://3389705190'
  3087. eatsound3.Volume = 1
  3088. eatsound3.Parent = gapple
  3089. local burpsound = Instance.new("Sound")
  3090. burpsound.SoundId = 'rbxassetid://3362384054'
  3091. burpsound.Volume = 1
  3092. burpsound.Parent = gapple
  3093.  
  3094. local equipped2 = false
  3095. local using = false
  3096.  
  3097. local function eat()
  3098.     local ate = false
  3099.     local can_eat = true
  3100.     local eatsid = 1
  3101.     spawn(function()
  3102.         while not ate do
  3103.             tween:Create(gappletool,TweenInfo.new(0.2),{Grip = CFrame.new(0.444913447, -0.884199917, 1.49106276, -0.00188598502, 0.511175215, -0.859474421, 0.000825672294, 0.859476447, 0.511174619, 0.999997914, 0.000254422426, -0.00204300135)}):Play()
  3104.             wait(0.1)
  3105.             tween:Create(gappletool,TweenInfo.new(0.2),{Grip = CFrame.new(0.55410701, -0.758452654, 1.49106288, -0.00188598502, 0.511175215, -0.859474421, 0.000825672294, 0.859476447, 0.511174619, 0.999997914, 0.000254422426, -0.00204300135)}):Play()
  3106.             wait(0.1)
  3107.         end
  3108.         tween:Create(gappletool,TweenInfo.new(0.2),{Grip = CFrame.new(0.194969162, -0.202951327, 0, 1, 0, -1.74845553e-07, 2.16089315e-08, 0.992333531, 0.123588681, 1.735051e-07, -0.123588681, 0.992333531)}):Play()
  3109.     end)
  3110.     walkremote:FireClient(plr,1,true)
  3111.     spawn(function()
  3112.         while not ate do
  3113.             if not equipped2 then
  3114.                 can_eat = false
  3115.                 using = false
  3116.                 ate = true
  3117.                 walkremote:FireClient(plr,1,false)
  3118.                 return
  3119.             end
  3120.             eatsid = math.random(1,3)
  3121.             if eatsid == lasteatid then
  3122.                 eatsid = eatsid + 1
  3123.             elseif eatsid == lasteatid and eatsid == 3 then
  3124.                 eatsid = 1
  3125.             end
  3126.             lasteatid = eatsid
  3127.             if eatsid == 1 then
  3128.                 eatsound:Play()
  3129.                 wait(eatsound.TimeLength-0.1)
  3130.                 elseif eatsid == 2 then
  3131.                 eatsound2:Play()
  3132.                 wait(eatsound2.TimeLength-0.1)
  3133.                 elseif eatsid == 3 then
  3134.                 eatsound3:Play()
  3135.                 wait(eatsound3.TimeLength-0.1)
  3136.             end
  3137.         end
  3138.     end)
  3139.     wait(1.5)
  3140.     if equipped2 and can_eat then else return; end;
  3141.     walkremote:FireClient(plr,1,false)
  3142.     burpsound:Play()
  3143.     ate = true
  3144.     left.Value = left.Value - 1
  3145.     gappletool.ToolTip = "Left: " .. left.Value
  3146.     effects.effect2(char,hum,torso,20,5)
  3147.     wait(0.2)
  3148.     if 0 >= left.Value then
  3149.         gappletool:Destroy()
  3150.     end
  3151. end
  3152.  
  3153. gappletool.Equipped:Connect(function()
  3154.     equipped2 = true
  3155. end)
  3156. gappletool.Unequipped:Connect(function()
  3157.     equipped2 = false
  3158. end)
  3159.  
  3160. gappletool.Activated:Connect(function()
  3161.     if equipped2 and not using and left.Value > 0 then
  3162.         using = true
  3163.         eat()
  3164.         using = false
  3165.     end
  3166. end)
  3167. end)
  3168.  
  3169. --[[
  3170. spawn(function()
  3171. local gappletool = Instance.new("Tool")
  3172. local gapple = Instance.new("Part")
  3173. local Decal2 = Instance.new("Decal")
  3174. local Decal3 = Instance.new("Decal")
  3175. gappletool.Name = "Enchanted Golden Apple"
  3176. gappletool.Parent = plr.Backpack
  3177. gappletool.TextureId = "rbxassetid://3749318589"
  3178. gappletool.Grip = CFrame.new(0.194969162, -0.202951327, 0, 1, 0, -1.74845553e-07, 2.16089315e-08, 0.992333531, 0.123588681, 1.735051e-07, -0.123588681, 0.992333531)
  3179. gappletool.GripForward = Vector3.new(1.74845553e-07, -0.123588681, -0.992333531)
  3180. gappletool.GripPos = Vector3.new(0.194969162, -0.202951327, 0)
  3181. gappletool.GripRight = Vector3.new(1, 2.16089315e-08, 1.735051e-07)
  3182. gappletool.GripUp = Vector3.new(0, 0.992333531, -0.123588681)
  3183. gappletool.ToolTip = "Left: 10"
  3184. gapple.Name = "Handle"
  3185. gapple.Parent = gappletool
  3186. gapple.CFrame = CFrame.new(-87.6886597, 2.380023, 164.558884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3187. gapple.Position = Vector3.new(-87.6886597, 2.380023, 164.558884)
  3188. gapple.Transparency = 1
  3189. gapple.Size = Vector3.new(0.0500000007, 1, 1)
  3190. gapple.BottomSurface = Enum.SurfaceType.Smooth
  3191. gapple.CanCollide = false
  3192. gapple.TopSurface = Enum.SurfaceType.Smooth
  3193. Decal2.Parent = gapple
  3194. Decal2.Texture = "rbxassetid://3749318589"
  3195. Decal2.Face = Enum.NormalId.Right
  3196. Decal3.Parent = gapple
  3197. Decal3.Texture = "rbxassetid://3749318589"
  3198. Decal3.Face = Enum.NormalId.Left
  3199.  
  3200. local trans = 0.6
  3201. local speed = 0.05
  3202. local size = 3
  3203. local Texture0 = Instance.new("Texture")
  3204. local Texture1 = Instance.new("Texture")
  3205. local Texture2 = Instance.new("Texture")
  3206. local Texture3 = Instance.new("Texture")
  3207. local Texture4 = Instance.new("Texture")
  3208. local Texture5 = Instance.new("Texture")
  3209. Texture0.Parent = gapple
  3210. Texture0.Texture = "rbxassetid://4771489612"
  3211. Texture0.Transparency = trans
  3212. Texture0.Face = Enum.NormalId.Bottom
  3213. Texture0.StudsPerTileU = size
  3214. Texture0.StudsPerTileV = size
  3215. Texture1.Parent = gapple
  3216. Texture1.Texture = "rbxassetid://4771489612"
  3217. Texture1.Transparency = trans
  3218. Texture1.Face = Enum.NormalId.Top
  3219. Texture1.StudsPerTileU = size
  3220. Texture1.StudsPerTileV = size
  3221. Texture2.Parent = gapple
  3222. Texture2.Texture = "rbxassetid://4771489612"
  3223. Texture2.Transparency = trans
  3224. Texture2.Face = Enum.NormalId.Back
  3225. Texture2.StudsPerTileU = size
  3226. Texture2.StudsPerTileV = size
  3227. Texture3.Parent = gapple
  3228. Texture3.Texture = "rbxassetid://4771489612"
  3229. Texture3.Transparency = trans
  3230. Texture3.Face = Enum.NormalId.Front
  3231. Texture3.StudsPerTileU = size
  3232. Texture3.StudsPerTileV = size
  3233. Texture4.Parent = gapple
  3234. Texture4.Texture = "rbxassetid://4771489612"
  3235. Texture4.Transparency = trans
  3236. Texture4.Face = Enum.NormalId.Left
  3237. Texture4.StudsPerTileU = size
  3238. Texture4.StudsPerTileV = size
  3239. Texture5.Parent = gapple
  3240. Texture5.Texture = "rbxassetid://4771489612"
  3241. Texture5.Transparency = trans
  3242. Texture5.Face = Enum.NormalId.Right
  3243. Texture5.StudsPerTileU = size
  3244. Texture5.StudsPerTileV = size
  3245. spawn(function()
  3246.     game:GetService("RunService").Stepped:Connect(function()
  3247.         Texture0.OffsetStudsU = Texture0.OffsetStudsU + speed
  3248.         Texture1.OffsetStudsU = Texture1.OffsetStudsU + speed
  3249.         Texture2.OffsetStudsU = Texture2.OffsetStudsU + speed
  3250.         Texture3.OffsetStudsU = Texture3.OffsetStudsU + speed
  3251.         Texture4.OffsetStudsU = Texture4.OffsetStudsU + speed
  3252.         Texture5.OffsetStudsU = Texture5.OffsetStudsU + speed
  3253.     end)
  3254. end)
  3255.  
  3256. local left = Instance.new("IntValue")
  3257. local lasteatid = 0
  3258.  
  3259. left.Name = 'left'
  3260. left.Parent = gappletool
  3261. left.Value = 1
  3262.  
  3263. local eatsound = Instance.new("Sound")
  3264. eatsound.SoundId = 'rbxassetid://3389702715'
  3265. eatsound.Volume = 1
  3266. eatsound.Parent = gapple
  3267. local eatsound2 = Instance.new("Sound")
  3268. eatsound2.SoundId = 'rbxassetid://3389703911'
  3269. eatsound2.Volume = 1
  3270. eatsound2.Parent = gapple
  3271. local eatsound3 = Instance.new("Sound")
  3272. eatsound3.SoundId = 'rbxassetid://3389705190'
  3273. eatsound3.Volume = 1
  3274. eatsound3.Parent = gapple
  3275. local burpsound = Instance.new("Sound")
  3276. burpsound.SoundId = 'rbxassetid://3362384054'
  3277. burpsound.Volume = 1
  3278. burpsound.Parent = gapple
  3279.  
  3280. local equipped2 = false
  3281. local using = false
  3282.  
  3283. local function eat()
  3284.     local ate = false
  3285.     local can_eat = true
  3286.     local eatsid = 1
  3287.     spawn(function()
  3288.         while not ate do
  3289.             tween:Create(gappletool,TweenInfo.new(0.2),{Grip = CFrame.new(0.444913447, -0.884199917, 1.49106276, -0.00188598502, 0.511175215, -0.859474421, 0.000825672294, 0.859476447, 0.511174619, 0.999997914, 0.000254422426, -0.00204300135)}):Play()
  3290.             wait(0.1)
  3291.             tween:Create(gappletool,TweenInfo.new(0.2),{Grip = CFrame.new(0.55410701, -0.758452654, 1.49106288, -0.00188598502, 0.511175215, -0.859474421, 0.000825672294, 0.859476447, 0.511174619, 0.999997914, 0.000254422426, -0.00204300135)}):Play()
  3292.             wait(0.1)
  3293.         end
  3294.         tween:Create(gappletool,TweenInfo.new(0.2),{Grip = CFrame.new(0.194969162, -0.202951327, 0, 1, 0, -1.74845553e-07, 2.16089315e-08, 0.992333531, 0.123588681, 1.735051e-07, -0.123588681, 0.992333531)}):Play()
  3295.     end)
  3296.     spawn(function()
  3297.         while not ate do
  3298.             if not equipped2 then
  3299.                 can_eat = false
  3300.                 return
  3301.             end
  3302.             eatsid = math.random(1,3)
  3303.             if eatsid == lasteatid then
  3304.                 eatsid = eatsid + 1
  3305.             elseif eatsid == lasteatid and eatsid == 3 then
  3306.                 eatsid = 1
  3307.             end
  3308.             lasteatid = eatsid
  3309.             if eatsid == 1 then
  3310.                 eatsound:Play()
  3311.                 wait(eatsound.TimeLength-0.1)
  3312.                 elseif eatsid == 2 then
  3313.                 eatsound2:Play()
  3314.                 wait(eatsound2.TimeLength-0.1)
  3315.                 elseif eatsid == 3 then
  3316.                 eatsound3:Play()
  3317.                 wait(eatsound3.TimeLength-0.1)
  3318.             end
  3319.         end
  3320.     end)
  3321.     if equipped2 and can_eat then else using = false; return; end;
  3322.     wait(1.5)
  3323.     burpsound:Play()
  3324.     ate = true
  3325.     left.Value = left.Value - 1
  3326.     gappletool.ToolTip = "Left: " .. left.Value
  3327.     effects.effect2(char,hum,torso,80,20)
  3328.     wait(0.2)
  3329.     if 0 >= left.Value then
  3330.         gappletool:Destroy()
  3331.     end
  3332. end
  3333.  
  3334. gappletool.Equipped:Connect(function()
  3335.     equipped2 = true
  3336. end)
  3337. gappletool.Unequipped:Connect(function()
  3338.     equipped2 = false
  3339. end)
  3340. ]]
  3341.  
  3342. spawn(function()
  3343. local pearltool = Instance.new("Tool")
  3344. local handlee = Instance.new("Part")
  3345. local ParticleEmitter2 = Instance.new("ParticleEmitter")
  3346. local BillboardGui3 = Instance.new("BillboardGui")
  3347. local ImageLabel4 = Instance.new("ImageLabel")
  3348. pearltool.Name = "Ender Pearl"
  3349. pearltool.Parent = owner.Backpack
  3350. pearltool.Grip = CFrame.new(0.200000003, 0, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3351. pearltool.GripPos = Vector3.new(0.200000003, 0, 0.100000001)
  3352. pearltool.ToolTip = "Dont look into their eyes while getting this.."
  3353. pearltool.TextureId = "rbxassetid://140576058"
  3354. handlee.Name = "Handle"
  3355. handlee.Parent = pearltool
  3356. handlee.CFrame = CFrame.new(46.7503319, 4.53458595, 45.4952736, -0.136415645, -0.0254911631, -0.990323722, -0.0140755745, 0.999617755, -0.0237914771, 0.99055177, 0.0106938463, -0.136722296)
  3357. handlee.Orientation = Vector3.new(1.36000001, -97.8600006, -0.810000002)
  3358. handlee.Position = Vector3.new(46.7503319, 4.53458595, 45.4952736)
  3359. handlee.Rotation = Vector3.new(170.130005, -82.0199966, 169.419998)
  3360. handlee.Color = Color3.new(0.0627451, 0.164706, 0.862745)
  3361. handlee.Transparency = 1
  3362. handlee.Size = Vector3.new(0.699999988, 0.699999988, 0.699999988)
  3363. handlee.BottomSurface = Enum.SurfaceType.Smooth
  3364. handlee.BrickColor = BrickColor.new("Lapis")
  3365. handlee.CanCollide = false
  3366. handlee.Material = Enum.Material.Neon
  3367. handlee.TopSurface = Enum.SurfaceType.Smooth
  3368. handlee.brickColor = BrickColor.new("Lapis")
  3369. handlee.Shape = Enum.PartType.Ball
  3370. ParticleEmitter2.Parent = handlee
  3371. ParticleEmitter2.Speed = NumberRange.new(0.60000002384186, 0.60000002384186)
  3372. ParticleEmitter2.Color = ColorSequence.new(Color3.new(0.333333, 0, 0.498039),Color3.new(0.666667, 0, 1))
  3373. ParticleEmitter2.LightInfluence = 1
  3374. ParticleEmitter2.Transparency = NumberSequence.new(0,0,1)
  3375. ParticleEmitter2.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
  3376. ParticleEmitter2.Lifetime = NumberRange.new(0.5, 0.5)
  3377. ParticleEmitter2.Rate = 10
  3378. BillboardGui3.Name = "image"
  3379. BillboardGui3.Parent = handlee
  3380. BillboardGui3.Size = UDim2.new(1, 0, 1, 0)
  3381. ImageLabel4.Parent = BillboardGui3
  3382. ImageLabel4.Size = UDim2.new(1, 0, 1, 0)
  3383. ImageLabel4.BackgroundColor = BrickColor.new("Institutional white")
  3384. ImageLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
  3385. ImageLabel4.BackgroundTransparency = 1
  3386. ImageLabel4.SizeConstraint = Enum.SizeConstraint.RelativeXX
  3387. ImageLabel4.Image = "rbxassetid://140576058"
  3388.  
  3389. local using3 = false
  3390. local equipped3 = false
  3391.  
  3392. local warp = Instance.new("Sound",torso)
  3393. warp.SoundId = "rbxassetid://289556450"
  3394. warp.Volume = 4
  3395. warp.EmitterSize = 4
  3396.  
  3397. function throww(mpos)
  3398.     local pag = Instance.new("Part")
  3399.     pag.Parent = game:GetService("Workspace")
  3400.     pag.CanCollide = false
  3401.     pag.Transparency = 1
  3402.     pag.Anchored = true
  3403.     pag.CanCollide = false
  3404.     pag.CFrame = CFrame.new(handlee.Position,mpos)
  3405.  
  3406.     local fake = handlee:Clone()
  3407.     fake.Parent = game:GetService("Workspace")
  3408.     fake.Name = "splash"
  3409.     fake.CanCollide = false
  3410.     fake.Velocity = pag.CFrame.lookVector * 300
  3411.    
  3412.     fake.Touched:connect(function(part)
  3413.         if part ~= nil then
  3414.             if part.Parent ~= nil then
  3415.                 if part.Parent ~= char and part.Name ~= "Handle" and part.Name ~= "splash" then
  3416.                     local sphere = Instance.new("Part",workspace)
  3417.                     sphere.Shape = Enum.PartType.Ball
  3418.                     sphere.BrickColor = BrickColor.new("Dark indigo")
  3419.                     sphere.Size = Vector3.new(2,2,2)
  3420.                     sphere.Material = Enum.Material.ForceField
  3421.                     sphere.Anchored = true
  3422.                     sphere.CanCollide = false
  3423.                     sphere.Position = fake.Position
  3424.                     spawn(function()
  3425.                         for i = 0,9,1 do
  3426.                             wait()
  3427.                             sphere.Size = sphere.Size+Vector3.new(3,3,3)
  3428.                             sphere.Transparency = sphere.Transparency+.1
  3429.                         end
  3430.                         sphere:Destroy()
  3431.                     end)
  3432.                     if not warp then
  3433.                         warp = Instance.new("Sound")
  3434.                         warp.SoundId = 'rbxassetid://3362346832'
  3435.                         warp.Volume = 1
  3436.                         warp.Parent = torso
  3437.                     end
  3438.                     warp.Volume = 4
  3439.                     warp.EmitterSize = 4
  3440.                     warp:Play()
  3441.                     debris:AddItem(warp,3)
  3442.                     local rotation = char.PrimaryPart.CFrame - char.PrimaryPart.Position
  3443.                     char.PrimaryPart.CFrame = rotation + fake.Position + Vector3.new(0,4,0)
  3444.                     fake:Destroy()
  3445.                 end
  3446.             end
  3447.         end
  3448.     end)
  3449.     pearltool:Destroy()
  3450.     pag:Destroy()
  3451. end
  3452.  
  3453. pearltool.Equipped:Connect(function()
  3454.     equipped3 = true
  3455. end)
  3456. pearltool.Unequipped:Connect(function()
  3457.     equipped3 = false
  3458. end)
  3459.  
  3460. local remote2 = Instance.new("RemoteEvent",char)
  3461. remote2.Name = "pearlremote"
  3462.  
  3463. local code = [[
  3464. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  3465. local remote = script.Parent
  3466. mouse.Button1Down:Connect(function()
  3467. remote:FireServer(1,mouse.Hit.p)
  3468. end)
  3469. ]]
  3470.  
  3471. NLS(code,remote2)
  3472.  
  3473. remote2.OnServerEvent:Connect(function(plr,mode,data)
  3474.     if mode == 1 and equipped3 and not using3 then
  3475.         using3 = true
  3476.         throww(data)
  3477.     end
  3478. end)
  3479. end)
  3480.  
  3481. spawn(function()
  3482. local healgui = Instance.new("ScreenGui")
  3483. local healthframe = Instance.new("Frame")
  3484. healgui.Name = "Healthbar"
  3485. healgui.Parent = plr.PlayerGui
  3486. healgui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  3487. healthframe.Parent = healgui
  3488. healthframe.Position = UDim2.new(0, 0, 0.85, 0)
  3489. healthframe.Size = UDim2.new(0, 750, 0, 0)
  3490. healthframe.BackgroundColor = BrickColor.new("Institutional white")
  3491. healthframe.BackgroundColor3 = Color3.new(1, 1, 1)
  3492. healthframe.BackgroundTransparency = 1
  3493.  
  3494. wait()
  3495. local asset = {
  3496.     "rbxassetid://3751664112",
  3497.     "rbxassetid://3751604954",
  3498.     "rbxassetid://3751611972"
  3499. }
  3500. local ata = {}
  3501. for i = 1, 10 do
  3502.     local imagelabel = Instance.new("ImageLabel")
  3503.     imagelabel.Size = UDim2.new(0, 25, 0, 25)
  3504.     imagelabel.BackgroundTransparency = 1
  3505.     imagelabel.Position = UDim2.new((i+16)*.04, 0, 0, 0)
  3506.     imagelabel.Parent = healthframe
  3507.     table.insert(ata, imagelabel)
  3508. end
  3509. while true do
  3510.     wait(0.1)
  3511.     local healthmeter = hum.Health/hum.MaxHealth
  3512.     for i, v in ipairs(ata) do
  3513.         if healthmeter >= i/10 then
  3514.             v.Image = asset[1]
  3515.         else
  3516.             if healthmeter > i/10-.05 then
  3517.                 v.Image = asset[2]
  3518.             else
  3519.                 v.Image = asset[3]
  3520.             end
  3521.         end
  3522.     end
  3523.     for i, v in ipairs(ata) do
  3524.         if healthmeter <= .2 then
  3525.             v.Position = UDim2.new((i+16)*.04, math.random(-4, 4), 0, math.random(-4, 4))
  3526.         else
  3527.             v.Position = UDim2.new((i+16)*.04, 0, 0, 0)
  3528.         end
  3529.     end
  3530. end
  3531. end)
  3532.  
  3533. debris = game:GetService("Debris")
  3534. tween = game:GetService("TweenService")
  3535.  
  3536. local using = false
  3537. local equipped = false
  3538. local holding = false
  3539.  
  3540. effects = {}
  3541.  
  3542. function effects.sandbox(var,func)
  3543.     local env = getfenv(func)
  3544.     local newenv = setmetatable({},{
  3545.         __index = function(self,k)
  3546.             if k=="script" then
  3547.                 return var
  3548.             else
  3549.                 return env[k]
  3550.             end
  3551.         end,
  3552.     })
  3553.     setfenv(func,newenv)
  3554.     return func
  3555. end
  3556.  
  3557. local hitsound2 = Instance.new("Sound")
  3558. hitsound2.SoundId = 'rbxassetid://3362346832'
  3559. hitsound2.Volume = 1.5
  3560. hitsound2.Parent = handle
  3561.  
  3562. local critsound = Instance.new("Sound")
  3563. critsound.SoundId = 'rbxassetid://4801410586'
  3564. critsound.Volume = 1.5
  3565. critsound.Parent = handle
  3566.  
  3567. function effects.effect(par,tarhum,weld,damage,targtorso,crit)
  3568.     if sword_health > 0 then
  3569.         sword_health = sword_health - math.random(1,2)
  3570.     end
  3571.     local confirm = Instance.new("IntValue",par)
  3572.     confirm.Name = plr.Name .. 'swordhit'
  3573.     if combat_18 then
  3574.         debris:AddItem(confirm,0.09)
  3575.     else
  3576.         debris:AddItem(confirm,0.12)
  3577.     end
  3578.     tarhum:TakeDamage(damage)
  3579.     if not hitsound2 then
  3580.         hitsound2 = Instance.new("Sound")
  3581.         hitsound2.SoundId = 'rbxassetid://3362346832'
  3582.         hitsound2.Volume = 1.5
  3583.         hitsound2.Parent = handle
  3584.     end
  3585.     if not critsound then
  3586.         critsound = Instance.new("Sound")
  3587.         critsound.SoundId = 'rbxassetid://4801410586'
  3588.         critsound.Volume = 1.5
  3589.         critsound.Parent = handle
  3590.     end
  3591.     if math.random(1,2) == 1 and crit then
  3592.         critsound.SoundId = 'rbxassetid://4801410586'
  3593.     elseif math.random(1,2) == 2 and crit then
  3594.         critsound.SoundId = 'rbxassetid://4801410149'
  3595.     elseif math.random(1,2) == 1 then
  3596.         hitsound2.SoundId = 'rbxassetid://3362346832'
  3597.     else
  3598.         hitsound2.SoundId = 'rbxassetid://3362337129'
  3599.     end
  3600.     if crit then
  3601.         critsound:Play()
  3602.     else
  3603.         hitsound2:Play()
  3604.     end
  3605.     spawn(function()
  3606.         local b = Instance.new("BodyVelocity")
  3607.         b.Parent = targtorso
  3608.         b.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3609.         if can_w_tap then
  3610.             can_w_tap = false
  3611.             b.Velocity = torso.CFrame.LookVector*(kb*2) + Vector3.new(0,9,0)
  3612.         else
  3613.             b.Velocity = torso.CFrame.LookVector*(kb*1.25) + Vector3.new(0,9,0)
  3614.         end
  3615.         debris:AddItem(b,0.1)
  3616.     end)
  3617.     for i,v in pairs(par:GetDescendants()) do
  3618.         if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" and not v:IsDescendantOf(char) and not v.Parent:IsA("Tool") and v.Name ~= "fallblock" then
  3619.             spawn(function()
  3620.                 local weld = Instance.new("Weld")
  3621.                 local part = v:Clone()
  3622.                 part.CanCollide = false
  3623.                 part.Massless = true
  3624.                 part.Anchored = false
  3625.                 for i,n in pairs(part:GetDescendants()) do
  3626.                     if not n:IsA("SpecialMesh") then
  3627.                         n:Destroy()
  3628.                     end
  3629.                     if n:IsA("SpecialMesh") then
  3630.                         n.TextureId = ""
  3631.                         n.Scale = n.Scale * 1.001
  3632.                     end
  3633.                 end
  3634.                 weld.Part0 = part
  3635.                 weld.Part1 = v
  3636.                 weld.Parent = part
  3637.                 part.BrickColor = BrickColor.new("Really red")
  3638.                 part.Size = v.Size * 1.001
  3639.                 part.Material = Enum.Material.SmoothPlastic
  3640.                 part.CFrame = v.CFrame
  3641.                 part.Parent = v.Parent
  3642.                 part.Name = "hurtcolor"
  3643.                 if 0.6 >= v.Transparency then
  3644.                     part.Transparency = 0.6
  3645.                 end
  3646.                 if v.Transparency > 0.6 then
  3647.                     part.Transparency = v.Transparency*1.5
  3648.                 end
  3649.                 part.CanCollide = false
  3650.                 wait(0.1)
  3651.                 part:Destroy()
  3652.             end)
  3653.         end
  3654.     end
  3655. end
  3656.  
  3657. function effects.effect2(par,tarhum,weld,health_boost,duration)
  3658.     local o1 = Instance.new("Part")
  3659.     local o2 = Instance.new("ParticleEmitter")
  3660.     o1.Name = "effects"
  3661.     o1.Parent = par
  3662.     o1.Transparency = 1
  3663.     o1.Rotation = Vector3.new(0.0500000007, 0, -0.0199999996)
  3664.     o1.Size = Vector3.new(2.39999962, 5.17000914, 0.970000446)
  3665.     o1.CFrame = CFrame.new(-0.00269600004, 2.58585, 0.00243000011, 0.99999994, 0.000345684297, 6.2623044e-06, -0.000345678796, 0.999999583, -0.000859424355, -6.5593913e-06, 0.000859422144, 0.999999642)
  3666.     o1.BottomSurface = Enum.SurfaceType.Smooth
  3667.     o1.TopSurface = Enum.SurfaceType.Smooth
  3668.     o2.Parent = o1
  3669.     o2.Size = NumberSequence.new(0.74999988079071,0.5,0)
  3670.     o2.Color = ColorSequence.new(Color3.new(0.666667, 0.666667, 0.666667),Color3.new(0.666667, 0.666667, 0.666667))
  3671.     o2.LightEmission = 0.80000001192093
  3672.     o2.Texture = "rbxassetid://3552571288"
  3673.     o2.Lifetime = NumberRange.new(2,2)
  3674.     o2.Rate = 1.5
  3675.     o2.RotSpeed = NumberRange.new(270,270)
  3676.     o2.Speed = NumberRange.new(1.5,1.5)
  3677.     o2.VelocitySpread = 45
  3678.     o2.Color = ColorSequence.new(Color3.new(0.666667, 0.666667, 0.666667),Color3.new(0.666667, 0.666667, 0.666667))
  3679.     local tempweld2 = Instance.new("Weld")
  3680.     tempweld2.Parent = o1
  3681.     tempweld2.Part0 = weld
  3682.     tempweld2.Part1 = o1
  3683.     tempweld2.C0 = weld.CFrame:Inverse()
  3684.     tempweld2.C1 = o1.CFrame:Inverse()
  3685.     tempweld2.C0 = CFrame.new(0,0,0)
  3686.     o2.Enabled = true
  3687.     local cc,chealth,effecting,hit = nil,tarhum.Health,true,false
  3688.     local extra_health = nil
  3689.     spawn(function()
  3690.         wait(duration)
  3691.         effecting = false
  3692.         if o2 then
  3693.             o2:Destroy()
  3694.         end
  3695.     end)
  3696.     cc = tarhum.HealthChanged:Connect(function(health)
  3697.         if health >= chealth then chealth = tarhum.Health; return; end;
  3698.         if not extra_health then hit = true; cc:Disconnect(); return; end;
  3699.         if extra_health and tarhum.Health > 100 then
  3700.             hit = true
  3701.             extra_health.Value = extra_health.Value - (chealth - health);
  3702.             tarhum.MaxHealth = 100 + extra_health.Value;
  3703.         elseif extra_health and 100 > tarhum.Health then
  3704.             hit = true
  3705.             if extra_health and 0 >= extra_health.Value then
  3706.                 tarhum.MaxHealth = 100
  3707.             elseif extra_health and extra_health.Value > 0 then
  3708.                 extra_health.Value = extra_health.Value - (chealth - health)
  3709.                 tarhum.MaxHealth = 100 + extra_health.Value
  3710.             end
  3711.         end
  3712.         if extra_health and 0 >= extra_health.Value then
  3713.             tarhum.MaxHealth = 100
  3714.             cc:Disconnect()
  3715.             hit = true
  3716.             if extra_health then
  3717.                 extra_health:Destroy()
  3718.             end
  3719.         end
  3720.         chealth = tarhum.Health
  3721.     end)
  3722.     local e_h = tarhum:FindFirstChild("extra_health")
  3723.     if e_h then
  3724.         e_h:Destroy()
  3725.     end
  3726.     extra_health = Instance.new("NumberValue")
  3727.     extra_health.Name = 'extra_health'
  3728.     extra_health.Value = health_boost
  3729.     extra_health.Parent = tarhum
  3730.     tarhum.MaxHealth = 100 + health_boost
  3731.     tarhum.Health = tarhum.Health + health_boost
  3732.     spawn(function()
  3733.         while tarhum and effecting do
  3734.             tarhum.Health = tarhum.Health + 5
  3735.             wait(1)
  3736.         end
  3737.         --[[
  3738.         while not hit and extra_health do
  3739.             tarhum.Health = tarhum.Health + 10*0.4
  3740.             wait(1.25)
  3741.         end
  3742.         ]]
  3743.     end)
  3744. end
  3745.  
  3746. local stamina = 100
  3747.  
  3748. function recharge()
  3749.     if 100 > stamina then
  3750.         stamina = stamina + 10
  3751.     end
  3752.     if stamina > 100 then
  3753.         stamina = 100
  3754.     end
  3755. end
  3756.  
  3757. spawn(function()
  3758.     while wait(0.06) do
  3759.         wait(0.06)
  3760.         recharge()
  3761.     end
  3762. end)
  3763.  
  3764. local isFalling = false
  3765. hum.StateChanged:Connect(function(old,new)
  3766.     if new == Enum.HumanoidStateType.Landed then
  3767.         isFalling = false
  3768.     elseif new == Enum.HumanoidStateType.Running then
  3769.         isFalling = false
  3770.     elseif new == Enum.HumanoidStateType.RunningNoPhysics then
  3771.         isFalling = false
  3772.     elseif new == Enum.HumanoidStateType.Jumping then
  3773.         isFalling = true
  3774.     elseif new == Enum.HumanoidStateType.FallingDown then
  3775.         isFalling = true
  3776.     elseif new == Enum.HumanoidStateType.Freefall then
  3777.         isFalling = true
  3778.     elseif new == Enum.HumanoidStateType.Climbing then
  3779.         isFalling = false
  3780.     end
  3781. end)
  3782.  
  3783. local hitanimid = 0
  3784.  
  3785. function hit(target,close)
  3786.     spawn(function()
  3787.         hitanimid = 1
  3788.         if hitanimid == 1 then else return end
  3789.         tween:Create(tool,TweenInfo.new(0.12),{Grip = CFrame.new(-1.12343681, 7.46069873e-14, 0.865265131, -2.96722469e-08, 0.678822041, -0.734302819, -1, -4.37113883e-08, 0, -3.20973932e-08, 0.734302819, 0.678822041)}):Play()
  3790.         hitanimid = 2
  3791.         wait(0.08)
  3792.         if hitanimid == 2 then else return end
  3793.         tween:Create(tool,TweenInfo.new(0.12),{Grip = CFrame.new(-0.825168073, -0.020077154, 1.00834012, -0.275093406, 0.960726619, -0.0364401713, -0.146487176, -0.0044247508, 0.989202619, 0.950192153, 0.277461171, 0.141951352)}):Play()
  3794.         hitanimid = 3
  3795.         wait(0.04)
  3796.         if hitanimid == 3 then else return end
  3797.         tween:Create(tool,TweenInfo.new(0.12),{Grip = CFrame.new(-1.10684741, 4.97379915e-14, 0.99055028, -3.20973932e-08, 0.734302819, 0.6788221, -1, -4.37113883e-08, 0, 2.96722487e-08, -0.6788221, 0.734302819)}):Play()
  3798.     end)
  3799.     if (combat_18 or (stamina > 30 and not combat_18)) and ((target and close) or not first_person) then else return end
  3800.        
  3801.     local temp_dmg = 0
  3802.     local crit = false
  3803.    
  3804.     if combat_18 then
  3805.         temp_dmg = dmg
  3806.     else
  3807.         if isFalling then
  3808.             temp_dmg = (dmg*1.57142857)
  3809.             crit = true
  3810.         elseif stamina > 30 then
  3811.             temp_dmg = dmg
  3812.         end
  3813.         stamina = 0
  3814.     end
  3815.    
  3816.     local connection
  3817.    
  3818.     if not first_person then
  3819.         connection = handle.Touched:Connect(function(obj)
  3820.             local targchar,targtorso,targhum
  3821.             pcall(function()
  3822.                 targchar = obj.Parent
  3823.             end)
  3824.             pcall(function()
  3825.                 targtorso = targchar:FindFirstChild("Torso") or targchar:FindFirstChild("HumanoidRootPart")
  3826.             end)
  3827.             pcall(function()
  3828.                 targhum = targchar:FindFirstChildOfClass("Humanoid")
  3829.             end)
  3830.             if targchar and targchar ~= char and targtorso and targhum then
  3831.                 if targhum ~= nil then
  3832.                     if targhum.Parent then
  3833.                         if not targhum.Parent:FindFirstChild(plr.Name .. "swordhit") and obj.Parent:IsA("Model") and targhum.Health > 0 then
  3834.                             effects.effect(targhum.Parent,targhum,targchar.PrimaryPart,temp_dmg,targtorso,crit)
  3835.                         end
  3836.                     end
  3837.                 end
  3838.             end
  3839.         end)
  3840.     elseif first_person then
  3841.         local targchar,targtorso,targhum
  3842.         for i,v in pairs(workspace:GetChildren()) do
  3843.             if target:IsDescendantOf(v) then
  3844.                 targchar = v
  3845.             end
  3846.         end
  3847.         --[[
  3848.         pcall(function()
  3849.             targchar = target.Parent
  3850.         end)
  3851.         ]]
  3852.         pcall(function()
  3853.             targtorso = targchar:FindFirstChild("Torso") or targchar:FindFirstChild("HumanoidRootPart")
  3854.         end)
  3855.         pcall(function()
  3856.             targhum = targchar:FindFirstChildOfClass("Humanoid")
  3857.         end)
  3858.         if target and targchar and targchar ~= char and targtorso and targhum then
  3859.             if targhum ~= nil then
  3860.                 if targhum.Parent then
  3861.                     if not targhum.Parent:FindFirstChild(plr.Name .. "swordhit") and targchar:IsA("Model") and targhum.Health > 0 then
  3862.                         effects.effect(targhum.Parent,targhum,targchar.PrimaryPart,temp_dmg,targtorso,crit)
  3863.                     end
  3864.                 end
  3865.             end
  3866.         end
  3867.     end
  3868.     if combat_18 then
  3869.         wait(0.09)
  3870.     else
  3871.         wait(0.12)
  3872.     end
  3873.     if connection then
  3874.         spawn(function()
  3875.             wait(0.1)
  3876.             connection:Disconnect()
  3877.         end)
  3878.     end
  3879. end
  3880.  
  3881. tool.Equipped:Connect(function()
  3882.     equipped = true
  3883. end)
  3884. tool.Unequipped:Connect(function()
  3885.     equipped = false
  3886. end)
  3887.  
  3888. local mouseremote = Instance.new("RemoteEvent")
  3889. mouseremote.Name = "mouseremote"
  3890. mouseremote.Parent = tool
  3891.  
  3892. local code = [[
  3893. workspace.Camera.FieldOfView = 90
  3894. local plr = game:GetService("Players").LocalPlayer
  3895. local char = plr.Character
  3896. local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
  3897. local hum = char:FindFirstChildOfClass("Humanoid")
  3898. local mouse = plr:GetMouse()
  3899. local remote = script.Parent:WaitForChild("mouseremote")
  3900.  
  3901. mouse.TargetFilter = char
  3902. plr.CameraMode = Enum.CameraMode.LockFirstPerson
  3903.  
  3904. hum.Died:Connect(function()
  3905.     plr.CameraMode = Enum.CameraMode.Classic
  3906.     workspace.Camera.FieldOfView = 70
  3907. end)
  3908.  
  3909. mouse.Button1Down:Connect(function()
  3910.     local target = mouse.Target
  3911.     local mag = nil
  3912.     local close = false
  3913.     if target and torso then
  3914.         mag = (torso.Position - target.Position).magnitude
  3915.     end
  3916.     if mag and 8 >= mag then
  3917.         close = true
  3918.     end
  3919.     remote:FireServer(1,target,close)
  3920. end)
  3921.  
  3922. mouse.KeyDown:Connect(function(key)
  3923.     if key == "e" then
  3924.         remote:FireServer(2,true)
  3925.     end
  3926. end)
  3927.  
  3928. mouse.KeyUp:Connect(function(key)
  3929.     if key == "e" then
  3930.         remote:FireServer(2,false)
  3931.     end
  3932. end)
  3933. ]]
  3934.  
  3935. NLS(code,tool)
  3936.  
  3937. mouseremote.OnServerEvent:Connect(function(plr,mode,data,data2)
  3938.     if mode == 1 and equipped and not using and not blocking then
  3939.         using = true
  3940.         hit(data,data2)
  3941.         using = false
  3942.     end
  3943.     if mode == 2 then
  3944.         if data then
  3945.             blocking = true
  3946.             tool.Grip = CFrame.new(-0.825168073, -0.020077154, 1.00834012, -0.275093406, 0.960726619, -0.0364401713, -0.146487176, -0.0044247508, 0.989202619, 0.950192153, 0.277461171, 0.141951352)
  3947.             --tween:Create(tool,TweenInfo.new(0.12),{Grip = CFrame.new(-0.825168073, -0.020077154, 1.00834012, -0.275093406, 0.960726619, -0.0364401713, -0.146487176, -0.0044247508, 0.989202619, 0.950192153, 0.277461171, 0.141951352)}):Play()
  3948.         elseif not data then
  3949.             blocking = false
  3950.             tool.Grip = CFrame.new(-1.10684741, 4.97379915e-14, 0.99055028, -3.20973932e-08, 0.734302819, 0.6788221, -1, -4.37113883e-08, 0, 2.96722487e-08, -0.6788221, 0.734302819)
  3951.             --tween:Create(tool,TweenInfo.new(0.12),{Grip = CFrame.new(-1.10684741, 4.97379915e-14, 0.99055028, -3.20973932e-08, 0.734302819, 0.6788221, -1, -4.37113883e-08, 0, 2.96722487e-08, -0.6788221, 0.734302819)}):Play()
  3952.         end
  3953.     end
  3954. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement