Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = owner
- local char = plr.Character
- local hum = char:FindFirstChildOfClass("Humanoid")
- local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
- 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")
- if hum.RigType ~= Enum.HumanoidRigType.R6 then warn("turn r6 or it wont work lol") return end
- local tool = Instance.new("Tool")
- local handle = Instance.new("Part")
- local SpecialMesh2 = Instance.new("SpecialMesh")
- tool.Name = "Diamond Sword"
- tool.Parent = plr.Backpack
- tool.TextureId = 'rbxassetid://3610692290'
- tool.ToolTip = [[
- Does 3.5 + 1.5 hearts of damage (50)
- ]]
- 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)
- handle.Name = "Handle"
- handle.Parent = tool
- handle.Size = Vector3.new(3.1400001, 0.195999995, 3.1400001)
- handle.BottomSurface = Enum.SurfaceType.Smooth
- handle.CanCollide = false
- handle.TopSurface = Enum.SurfaceType.Smooth
- SpecialMesh2.Parent = handle
- SpecialMesh2.MeshId = "rbxassetid://3676810102"
- SpecialMesh2.Scale = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- SpecialMesh2.TextureId = "rbxassetid://3676810220"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- warn([[
- - Made by KrYn0MoRe
- - You can jump crit with the sword
- - Holding e on a sword makes the sword block 20% damage
- - Holding Left Control makes you sprint
- ]])
- local sword_meta = {sharpness = 3, knockback = 0}
- local dmg = 35 + (5 * sword_meta.sharpness)
- local kb = 25 + (3 * sword_meta.knockback)
- local armourleft = 4
- local blocking = false
- local first_person = true
- local can_w_tap = false
- local combat_18 = true
- hum.JumpPower = 35
- local hscript = char:FindFirstChild("Health")
- if hscript then
- hscript:Destroy()
- end
- local walkremote = Instance.new("RemoteEvent")
- walkremote.Name = 'walkremote'
- walkremote.Parent = char
- walkremote.OnServerEvent:Connect(function(plr,mode,data)
- if mode == 1 then
- can_w_tap = data
- end
- end)
- NLS([[
- player = game:GetService("Players").LocalPlayer
- mouse = player:GetMouse()
- char = player.Character
- hum = char:FindFirstChildOfClass("Humanoid")
- local walkremote = script.Parent
- local oldspeed = hum.WalkSpeed
- local eating = false
- local running = false
- mouse.KeyDown:Connect(function(key)
- if string.byte(key) == 50 then
- running = true
- if not eating then
- hum.WalkSpeed = 24
- walkremote:FireServer(1,true)
- end
- end
- end)
- mouse.KeyUp:Connect(function(key)
- if string.byte(key) == 50 then
- running = false
- if not eating then
- hum.WalkSpeed = oldspeed
- walkremote:FireServer(1,false)
- end
- end
- if key == 'w' and hum.WalkSpeed == 24 then
- walkremote:FireServer(1,true)
- end
- end)
- walkremote.OnClientEvent:Connect(function(mode,data)
- if mode == 1 then
- if data == true then
- eating = true
- hum.WalkSpeed = 10
- if running then
- walkremote:FireServer(1,false)
- end
- elseif data == false then
- eating = false
- if running then
- hum.WalkSpeed = 24
- walkremote:FireServer(1,true)
- elseif not running then
- hum.WalkSpeed = oldspeed
- walkremote:FireServer(2,false)
- walkremote:FireServer(1,false)
- end
- end
- end
- end)
- ]],walkremote)
- local function Added(item)
- if item:IsA("Explosion") then
- local function ExplosionHit(part)
- if part == torso then
- local Directed = (torso.Position - item.Position)
- if Directed.X ~= 0 or Directed.Y ~= 0 or Directed.Z ~= 0 then
- torso.Velocity = torso.Velocity + Directed.unit * 80
- end
- end
- end
- item.Hit:Connect(ExplosionHit)
- end
- end
- game.Workspace.DescendantAdded:Connect(Added)
- local sethealth = 0
- local helmet,tors,rf,lf,rl,ll,la,ra
- local helmet_health = 363
- local chestplate_health = 528
- local leggings_health = 495
- local boots_health = 429
- local sword_health = 1561
- 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}
- local falldamage = Instance.new("Sound")
- falldamage.SoundId = 'rbxassetid://535681058'
- falldamage.Volume = 2
- falldamage.Parent = torso
- local fallremote = Instance.new("RemoteEvent")
- fallremote.Name = 'fallremote'
- fallremote.Parent = char
- fallremote.OnServerEvent:Connect(function(player,mag,hum)
- if char:FindFirstChild("deathmsg") then
- char.deathmsg.Value = " fell to their death"
- end
- if boots_health > 0 and boots_meta.Feather_Falling > 0 then
- hum:TakeDamage(((hum.MaxHealth/100)*mag*2)/boots_meta.Feather_Falling) --/(20*boots_meta.Feather_Falling))
- else
- hum:TakeDamage((hum.MaxHealth/100)*mag*2)
- end
- if mag < 14 then
- falldamage.SoundId = "rbxassetid://4057626616"
- falldamage:Play()
- elseif mag >= 14 then
- falldamage.SoundId = "rbxassetid://535681058"
- falldamage:Play()
- end
- end)
- NLS([[
- player = game:GetService("Players").LocalPlayer
- mouse = player:GetMouse()
- repeat wait() until player.Character
- char = player.Character
- repeat wait() until char:FindFirstChildOfClass("Humanoid")
- repeat wait() until char.Head.Anchored == false
- hum = char:FindFirstChildOfClass("Humanoid")
- fallremote = script.Parent
- pos = Vector3.new()
- isFalling = false
- hum.FreeFalling:Connect(function()
- if not char:FindFirstChild("fallblock") then
- local e = Instance.new("Part",char)
- e.Anchored = true
- e.Size = Vector3.new()
- e.Transparency = 1
- e.CanCollide = false
- e.Name = "fallblock"
- e.Position = char.Torso.Position
- pos = e.Position
- elseif char:FindFirstChild("fallblock") then
- pos = char.fallblock.Position
- end
- end)
- hum.Climbing:Connect(function()
- isFalling = false
- pos = Vector3.new()
- end)
- hum.StateChanged:Connect(function(state)
- if state == Enum.HumanoidStateType.Landed then
- if char:FindFirstChild("fallblock") then
- char.fallblock:Destroy()
- end
- local mag = math.abs(pos.Y - char.Torso.Position.Y)
- pos = Vector3.new()
- if mag >= 8 then
- fallremote:FireServer(mag,hum)
- end
- elseif state == Enum.HumanoidStateType.Climbing then
- pos = Vector3.new()
- isFalling = false
- end
- end)
- ]],fallremote)
- local breaksound = Instance.new("Sound")
- breaksound.SoundId = 'rbxassetid://4670097025'
- breaksound.Volume = 2
- breaksound.Parent = torso
- --[[
- spawn(function()
- while wait(0.1) do
- local tempcount = 4
- if 0 >= boots_health then
- if rf and rf.Parent and lf and lf.Parent then
- breaksound.PlaybackSpeed = math.random(90,100)/100
- breaksound:Play()
- rf:Destroy()
- lf:Destroy()
- end
- boots_health = 0
- tempcount = tempcount - 1
- end
- if 0 >= leggings_health then
- if ll and ll.Parent and rl and rl.Parent then
- breaksound.PlaybackSpeed = math.random(90,100)/100
- breaksound:Play()
- ll:Destroy()
- rl:Destroy()
- end
- leggings_health = 0
- tempcount = tempcount - 1
- end
- if 0 >= chestplate_health then
- if tors and tors.Parent and ra and ra.Parent and la and la.Parent then
- breaksound.PlaybackSpeed = math.random(90,100)/100
- breaksound:Play()
- tors:Destroy()
- ra:Destroy()
- la:Destroy()
- end
- chestplate_health = 0
- tempcount = tempcount - 1
- end
- if 0 >= helmet_health then
- if helmet and helmet.Parent then
- breaksound.PlaybackSpeed = math.random(90,100)/100
- breaksound:Play()
- helmet:Destroy()
- end
- helmet_health = 0
- tempcount = tempcount - 1
- end
- if 0 >= sword_health then
- if tool and tool.Parent then
- breaksound.PlaybackSpeed = math.random(90,100)/100
- breaksound:Play()
- tool:Destroy()
- end
- sword_health = 0
- end
- armourleft = tempcount
- end
- end)
- ]]
- local currentHealth = hum.Health
- hum.HealthChanged:Connect(function(health)
- local change = math.abs(currentHealth - health)
- local damage = change
- local heal,calcdamage = 0,damage
- if health >= currentHealth then currentHealth = health return end
- local reduction = 0
- if boots_health > 0 then
- reduction = reduction + 0.12
- end
- if leggings_health > 0 then
- reduction = reduction + 0.24
- end
- if chestplate_health > 0 then
- reduction = reduction + 0.32
- end
- if helmet_health > 0 then
- reduction = reduction + 0.12
- end
- calcdamage = calcdamage*(1-reduction)
- if boots_health > 0 then
- calcdamage = calcdamage*(1-(0.04*boots_meta.Protection))
- end
- if chestplate_health > 0 then
- calcdamage = calcdamage*(1-(0.04*chestplate_meta.Protection))
- end
- if leggings_health > 0 then
- calcdamage = calcdamage*(1-(0.04*leggings_meta.Protection))
- end
- if helmet_health > 0 then
- calcdamage = calcdamage*(1-(0.04*helmet_meta.Protection))
- end
- if blocking then
- calcdamage = calcdamage*(1-0.2)
- heal = heal+(damage-calcdamage)
- currentHealth = health+(heal)
- sword_health = sword_health-(calcdamage*(1-0.5))
- hum.Health = currentHealth
- else
- heal = heal+(damage-calcdamage)
- --print('calcdamage:' .. calcdamage)
- --print('return health: ' .. heal)
- currentHealth = health+(heal)
- hum.Health = currentHealth
- end
- currentHealth = hum.Health
- if boots_health > 0 then
- if blocking then
- boots_health = boots_health - (damage*0.125)/boots_meta.Unbreaking
- else
- boots_health = boots_health - (damage*0.25)/boots_meta.Unbreaking
- end
- end
- if leggings_health > 0 then
- if blocking then
- leggings_health = leggings_health - (damage*0.125)/leggings_meta.Unbreaking
- else
- leggings_health = leggings_health - (damage*0.25)/leggings_meta.Unbreaking
- end
- end
- if chestplate_health > 0 then
- if blocking then
- chestplate_health = chestplate_health - (damage*0.125)/chestplate_meta.Unbreaking
- else
- chestplate_health = chestplate_health - (damage*0.25)/chestplate_meta.Unbreaking
- end
- end
- if helmet_health > 0 then
- if blocking then
- helmet_health = helmet_health - (damage*0.125)/helmet_meta.Unbreaking
- else
- helmet_health = helmet_health - (damage*0.25)/helmet_meta.Unbreaking
- end
- end
- end)
- spawn(function()
- local Model0 = Instance.new("Model")
- local helmesh = Instance.new("SpecialMesh")
- helmet = Instance.new("Part")
- tors = Instance.new("Part")
- rf = Instance.new("Part")
- lf = Instance.new("Part")
- rl = Instance.new("Part")
- ll = Instance.new("Part")
- la = Instance.new("Part")
- ra = Instance.new("Part")
- Model0.Name = "Armour"
- Model0.Parent = char
- helmet.Name = "hed"
- helmet.Parent = Model0
- helmet.Color = Color3.new(0.686275, 0.866667, 1)
- helmet.Size = Vector3.new(1.2, 1.2, 1.2)
- helmet.BottomSurface = Enum.SurfaceType.Smooth
- helmet.BrickColor = BrickColor.new("Pastel light blue")
- helmet.CanCollide = false
- helmet.Material = Enum.Material.Glass
- helmet.Reflectance = 0
- helmet.TopSurface = Enum.SurfaceType.Smooth
- helmet.brickColor = BrickColor.new("Pastel light blue")
- helmesh.Parent = helmet
- helmesh.MeshType = Enum.MeshType.Head
- helmesh.MeshId = "rbxassetid://3751864981"
- helmesh.Scale = Vector3.new(1.1,1.1,1.1)
- tors.Name = "torso"
- tors.Parent = Model0
- tors.CFrame = CFrame.new(-92.0820007, 6.14984703, 168.476135, 0.030222008, 0, -0.99954325, 0, 1, 0, 0.99954325, 0, 0.030222008)
- tors.Orientation = Vector3.new(0, -88.2699966, 0)
- tors.Position = Vector3.new(-92.0820007, 6.14984703, 168.476135)
- tors.Rotation = Vector3.new(0, -88.2699966, 0)
- tors.Color = Color3.new(0.686275, 0.866667, 1)
- tors.Size = Vector3.new(2.05, 2.05, 1.12)
- tors.BottomSurface = Enum.SurfaceType.Smooth
- tors.BrickColor = BrickColor.new("Pastel light blue")
- tors.CanCollide = false
- tors.Material = Enum.Material.Glass
- tors.Reflectance = 0
- tors.TopSurface = Enum.SurfaceType.Smooth
- tors.brickColor = BrickColor.new("Pastel light blue")
- rf.Name = "rf"
- rf.Parent = Model0
- rf.CFrame = CFrame.new(-92.0612946, 3.69500494, 168.995316, 0.99954313, 0, 0.0302240029, 0, 1, 0, -0.0302240029, 0, 0.99954313)
- rf.Orientation = Vector3.new(0, 1.73000002, 0)
- rf.Position = Vector3.new(-92.0612946, 3.69500494, 168.995316)
- rf.Rotation = Vector3.new(0, 1.73000002, 0)
- rf.Color = Color3.new(0.686275, 0.866667, 1)
- rf.Size = Vector3.new(1.2, 1.03, 1.2)
- rf.BottomSurface = Enum.SurfaceType.Smooth
- rf.BrickColor = BrickColor.new("Pastel light blue")
- rf.CanCollide = false
- rf.Material = Enum.Material.Glass
- rf.Reflectance = 0
- rf.TopSurface = Enum.SurfaceType.Smooth
- rf.brickColor = BrickColor.new("Pastel light blue")
- lf.Name = "lf"
- lf.Parent = Model0
- lf.CFrame = CFrame.new(-92.1074066, 3.69500494, 167.965942, 0.99954313, 0, 0.0302240029, 0, 1, 0, -0.0302240029, 0, 0.99954313)
- lf.Orientation = Vector3.new(0, 1.73000002, 0)
- lf.Position = Vector3.new(-92.1074066, 3.69500494, 167.965942)
- lf.Rotation = Vector3.new(0, 1.73000002, 0)
- lf.Color = Color3.new(0.686275, 0.866667, 1)
- lf.Size = Vector3.new(1.2, 1.03, 1.2)
- lf.BottomSurface = Enum.SurfaceType.Smooth
- lf.BrickColor = BrickColor.new("Pastel light blue")
- lf.CanCollide = false
- lf.Material = Enum.Material.Glass
- lf.Reflectance = 0
- lf.TopSurface = Enum.SurfaceType.Smooth
- lf.brickColor = BrickColor.new("Pastel light blue")
- rl.Name = "rl"
- rl.Parent = Model0
- rl.CFrame = CFrame.new(-92.0612946, 3.69500494, 168.995316, 0.99954313, 0, 0.0302240029, 0, 1, 0, -0.0302240029, 0, 0.99954313)
- rl.Orientation = Vector3.new(0, 1.73000002, 0)
- rl.Position = Vector3.new(-92.0612946, 3.69500494, 168.995316)
- rl.Rotation = Vector3.new(0, 1.73000002, 0)
- rl.Color = Color3.new(0.686275, 0.866667, 1)
- rl.Size = Vector3.new(1.05, 1.03, 1.05)
- rl.BottomSurface = Enum.SurfaceType.Smooth
- rl.BrickColor = BrickColor.new("Pastel light blue")
- rl.CanCollide = false
- rl.Material = Enum.Material.Glass
- rl.Reflectance = 0
- rl.TopSurface = Enum.SurfaceType.Smooth
- rl.brickColor = BrickColor.new("Pastel light blue")
- ll.Name = "ll"
- ll.Parent = Model0
- ll.CFrame = CFrame.new(-92.1074066, 3.69500494, 167.965942, 0.99954313, 0, 0.0302240029, 0, 1, 0, -0.0302240029, 0, 0.99954313)
- ll.Orientation = Vector3.new(0, 1.73000002, 0)
- ll.Position = Vector3.new(-92.1074066, 3.69500494, 167.965942)
- ll.Rotation = Vector3.new(0, 1.73000002, 0)
- ll.Color = Color3.new(0.686275, 0.866667, 1)
- ll.Size = Vector3.new(1.05, 1.03, 1.05)
- ll.BottomSurface = Enum.SurfaceType.Smooth
- ll.BrickColor = BrickColor.new("Pastel light blue")
- ll.CanCollide = false
- ll.Material = Enum.Material.Glass
- ll.Reflectance = 0
- ll.TopSurface = Enum.SurfaceType.Smooth
- ll.brickColor = BrickColor.new("Pastel light blue")
- la.Name = "la"
- la.Parent = Model0
- la.CFrame = CFrame.new(-92.1023865, 6.75484705, 166.973526, 0.030222008, 0, -0.99954325, 0, 1, 0, 0.99954325, 0, 0.030222008)
- la.Orientation = Vector3.new(0, -88.2699966, 0)
- la.Position = Vector3.new(-92.1023865, 6.75484705, 166.973526)
- la.Rotation = Vector3.new(0, -88.2699966, 0)
- la.Color = Color3.new(0.686275, 0.866667, 1)
- la.Size = Vector3.new(1.03000021, 0.919999659, 1.09000087)
- la.BottomSurface = Enum.SurfaceType.Smooth
- la.BrickColor = BrickColor.new("Pastel light blue")
- la.CanCollide = false
- la.Material = Enum.Material.Glass
- la.Reflectance = 0
- la.TopSurface = Enum.SurfaceType.Smooth
- la.brickColor = BrickColor.new("Pastel light blue")
- ra.Name = "ra"
- ra.Parent = Model0
- ra.CFrame = CFrame.new(-92.0112152, 6.75484705, 169.989319, 0.0302217808, 0, -0.999535739, 0, 1, 0, 0.999535739, 0, 0.0302217808)
- ra.Orientation = Vector3.new(0, -88.2699966, 0)
- ra.Position = Vector3.new(-92.0112152, 6.75484705, 169.989319)
- ra.Rotation = Vector3.new(0, -88.25, 0)
- ra.Color = Color3.new(0.686275, 0.866667, 1)
- ra.Size = Vector3.new(1.08000016, 0.919999659, 1.09000087)
- ra.BottomSurface = Enum.SurfaceType.Smooth
- ra.BrickColor = BrickColor.new("Pastel light blue")
- ra.CanCollide = false
- ra.Material = Enum.Material.Glass
- ra.Reflectance = 0
- ra.TopSurface = Enum.SurfaceType.Smooth
- ra.brickColor = BrickColor.new("Pastel light blue")
- for i,v in pairs(Model0:GetChildren()) do
- if v ~= helmet then
- local trans = 0.6
- local speed = 0.05
- local size = 6
- local Texture0 = Instance.new("Texture")
- local Texture1 = Instance.new("Texture")
- local Texture2 = Instance.new("Texture")
- local Texture3 = Instance.new("Texture")
- local Texture4 = Instance.new("Texture")
- local Texture5 = Instance.new("Texture")
- Texture0.Parent = v
- Texture0.Texture = "rbxassetid://4771489612"
- Texture0.Transparency = trans
- Texture0.Face = Enum.NormalId.Bottom
- Texture0.StudsPerTileU = size
- Texture0.StudsPerTileV = size
- Texture1.Parent = v
- Texture1.Texture = "rbxassetid://4771489612"
- Texture1.Transparency = trans
- Texture1.Face = Enum.NormalId.Top
- Texture1.StudsPerTileU = size
- Texture1.StudsPerTileV = size
- Texture2.Parent = v
- Texture2.Texture = "rbxassetid://4771489612"
- Texture2.Transparency = trans
- Texture2.Face = Enum.NormalId.Back
- Texture2.StudsPerTileU = size
- Texture2.StudsPerTileV = size
- Texture3.Parent = v
- Texture3.Texture = "rbxassetid://4771489612"
- Texture3.Transparency = trans
- Texture3.Face = Enum.NormalId.Front
- Texture3.StudsPerTileU = size
- Texture3.StudsPerTileV = size
- Texture4.Parent = v
- Texture4.Texture = "rbxassetid://4771489612"
- Texture4.Transparency = trans
- Texture4.Face = Enum.NormalId.Left
- Texture4.StudsPerTileU = size
- Texture4.StudsPerTileV = size
- Texture5.Parent = v
- Texture5.Texture = "rbxassetid://4771489612"
- Texture5.Transparency = trans
- Texture5.Face = Enum.NormalId.Right
- Texture5.StudsPerTileU = size
- Texture5.StudsPerTileV = size
- spawn(function()
- game:GetService("RunService").Stepped:Connect(function()
- Texture0.OffsetStudsU = Texture0.OffsetStudsU + speed
- Texture1.OffsetStudsU = Texture1.OffsetStudsU + speed
- Texture2.OffsetStudsU = Texture2.OffsetStudsU + speed
- Texture3.OffsetStudsU = Texture3.OffsetStudsU + speed
- Texture4.OffsetStudsU = Texture4.OffsetStudsU + speed
- Texture5.OffsetStudsU = Texture5.OffsetStudsU + speed
- end)
- end)
- end
- end
- for i,v in pairs(Model0:GetChildren()) do
- v.Parent = char
- end
- Model0:Destroy()
- local weld1 = Instance.new("Weld")
- weld1.Parent = ra
- weld1.Part0 = rarm
- weld1.Part1 = ra
- weld1.C0 = CFrame.new(0,.6,0)
- local weld2 = Instance.new("Weld")
- weld2.Parent = la
- weld2.Part0 = larm
- weld2.Part1 = la
- weld2.C0 = CFrame.new(0,.6,0)
- local weld3 = Instance.new("Weld")
- weld3.Parent = rf
- weld3.Part0 = rleg
- weld3.Part1 = rf
- weld3.C0 = CFrame.new(0,-.53,0)
- local weld4 = Instance.new("Weld")
- weld4.Parent = lf
- weld4.Part0 = lleg
- weld4.Part1 = lf
- weld4.C0 = CFrame.new(0,-.53,0)
- local weld3 = Instance.new("Weld")
- weld3.Parent = rl
- weld3.Part0 = rleg
- weld3.Part1 = rl
- weld3.C0 = CFrame.new(0,0.5,0)
- local weld4 = Instance.new("Weld")
- weld4.Parent = ll
- weld4.Part0 = lleg
- weld4.Part1 = ll
- weld4.C0 = CFrame.new(0,0.5,0)
- local weld5 = Instance.new("Weld")
- weld5.Parent = tors
- weld5.Part0 = torso
- weld5.Part1 = tors
- weld5.C0 = CFrame.new(0,0,0)
- local weld6 = Instance.new("Weld")
- weld6.Parent = helmet
- weld6.Part0 = head
- weld6.Part1 = helmet
- weld6.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-90),0)
- end)
- local ScreenGui0 = Instance.new("ScreenGui")
- local Frame1 = Instance.new("Frame")
- local setimg = Instance.new("ImageLabel")
- local padding = Instance.new("UIPadding")
- padding.Parent = Frame1
- helmettxt = Instance.new("TextLabel")
- chesttxt = Instance.new("TextLabel")
- leggingstxt = Instance.new("TextLabel")
- bootstxt = Instance.new("TextLabel")
- humhptxt = Instance.new("TextLabel")
- ScreenGui0.Parent = plr.PlayerGui
- ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame1.Parent = ScreenGui0
- Frame1.Size = UDim2.new(1, 0, 1, 0)
- Frame1.BackgroundColor = BrickColor.new("Institutional white")
- Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame1.BackgroundTransparency = 1
- setimg.Name = "set"
- setimg.Parent = Frame1
- setimg.Position = UDim2.new(0.911, 0, 0.555, 0)
- setimg.Size = UDim2.new(0, 175, 0, 227)
- setimg.BackgroundColor = BrickColor.new("Institutional white")
- setimg.BackgroundColor3 = Color3.new(1, 1, 1)
- setimg.BackgroundTransparency = 1
- setimg.Image = "http://www.roblox.com/asset/?id=3749951077"
- setimg.ScaleType = Enum.ScaleType.Fit
- helmettxt.Name = "helmet"
- helmettxt.Parent = Frame1
- helmettxt.Position = UDim2.new(0.876623392, 0, 0.553892195, 0)
- helmettxt.Size = UDim2.new(0, 102, 0, 50)
- helmettxt.BackgroundColor = BrickColor.new("Institutional white")
- helmettxt.BackgroundColor3 = Color3.new(1, 1, 1)
- helmettxt.BackgroundTransparency = 1
- helmettxt.Font = Enum.Font.SourceSans
- helmettxt.FontSize = Enum.FontSize.Size48
- helmettxt.Text = "363/363"
- helmettxt.TextColor = BrickColor.new("Institutional white")
- helmettxt.TextColor3 = Color3.new(1, 1, 1)
- helmettxt.TextScaled = true
- helmettxt.TextSize = 40
- helmettxt.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
- helmettxt.TextStrokeTransparency = 0
- helmettxt.TextWrap = true
- helmettxt.TextWrapped = true
- chesttxt.Name = "chestplate"
- chesttxt.Parent = Frame1
- chesttxt.Position = UDim2.new(0.876623392, 0, 0.61, 0)
- chesttxt.Size = UDim2.new(0, 102, 0, 50)
- chesttxt.BackgroundColor = BrickColor.new("Institutional white")
- chesttxt.BackgroundColor3 = Color3.new(1, 1, 1)
- chesttxt.BackgroundTransparency = 1
- chesttxt.Font = Enum.Font.SourceSans
- chesttxt.FontSize = Enum.FontSize.Size48
- chesttxt.Text = "528/528"
- chesttxt.TextColor = BrickColor.new("Institutional white")
- chesttxt.TextColor3 = Color3.new(1, 1, 1)
- chesttxt.TextScaled = true
- chesttxt.TextSize = 40
- chesttxt.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
- chesttxt.TextStrokeTransparency = 0
- chesttxt.TextWrap = true
- chesttxt.TextWrapped = true
- leggingstxt.Name = "leggings"
- leggingstxt.Parent = Frame1
- leggingstxt.Position = UDim2.new(0.876623392, 0, 0.68, 0)
- leggingstxt.Size = UDim2.new(0, 102, 0, 50)
- leggingstxt.BackgroundColor = BrickColor.new("Institutional white")
- leggingstxt.BackgroundColor3 = Color3.new(1, 1, 1)
- leggingstxt.BackgroundTransparency = 1
- leggingstxt.Font = Enum.Font.SourceSans
- leggingstxt.FontSize = Enum.FontSize.Size48
- leggingstxt.Text = "495/495"
- leggingstxt.TextColor = BrickColor.new("Institutional white")
- leggingstxt.TextColor3 = Color3.new(1, 1, 1)
- leggingstxt.TextScaled = true
- leggingstxt.TextSize = 40
- leggingstxt.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
- leggingstxt.TextStrokeTransparency = 0
- leggingstxt.TextWrap = true
- leggingstxt.TextWrapped = true
- bootstxt.Name = "boots"
- bootstxt.Parent = Frame1
- bootstxt.Position = UDim2.new(0.876623392, 0, 0.74, 0)
- bootstxt.Size = UDim2.new(0, 102, 0, 50)
- bootstxt.BackgroundColor = BrickColor.new("Institutional white")
- bootstxt.BackgroundColor3 = Color3.new(0/255, 144/255, 0/255)
- bootstxt.BackgroundTransparency = 1
- bootstxt.Font = Enum.Font.SourceSans
- bootstxt.FontSize = Enum.FontSize.Size48
- bootstxt.Text = "429/429"
- bootstxt.TextColor = BrickColor.new("Institutional white")
- bootstxt.TextColor3 = Color3.new(1, 1, 1)
- bootstxt.TextScaled = true
- bootstxt.TextSize = 40
- bootstxt.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
- bootstxt.TextStrokeTransparency = 0
- bootstxt.TextWrap = true
- bootstxt.TextWrapped = true
- swordimg = Instance.new("ImageLabel")
- swordtxt = Instance.new("TextLabel")
- swordimg.Name = "sword"
- swordimg.Parent = Frame1
- swordimg.Position = UDim2.new(0.948, 0, 0.455, 0)
- swordimg.Size = UDim2.new(0, 61, 0, 59)
- swordimg.BackgroundColor = BrickColor.new("Institutional white")
- swordimg.BackgroundColor3 = Color3.new(1, 1, 1)
- swordimg.BackgroundTransparency = 1
- swordimg.Image = "rbxassetid://3610692290"
- swordimg.ScaleType = Enum.ScaleType.Fit
- swordtxt.Name = "sword"
- swordtxt.Parent = Frame1
- swordtxt.Position = UDim2.new(0.872364461, 0, 0.46257484, 0)
- swordtxt.Size = UDim2.new(0, 102, 0, 50)
- swordtxt.BackgroundColor = BrickColor.new("Institutional white")
- swordtxt.BackgroundColor3 = Color3.new(1, 1, 1)
- swordtxt.BackgroundTransparency = 1
- swordtxt.Font = Enum.Font.SourceSans
- swordtxt.FontSize = Enum.FontSize.Size48
- swordtxt.Text = "1561/1561"
- swordtxt.TextColor = BrickColor.new("Institutional white")
- swordtxt.TextColor3 = Color3.new(1, 1, 1)
- swordtxt.TextScaled = true
- swordtxt.TextSize = 40
- swordtxt.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
- swordtxt.TextStrokeTransparency = 0
- swordtxt.TextWrap = true
- swordtxt.TextWrapped = true
- humhptxt.Name = "hp"
- humhptxt.Parent = Frame1
- humhptxt.Position = UDim2.new(0.35, 0, 0.78, 0)
- humhptxt.Size = UDim2.new(0, 102, 0, 50)
- humhptxt.BackgroundColor = BrickColor.new("Institutional white")
- humhptxt.BackgroundColor3 = Color3.new(1, 1, 1)
- humhptxt.BackgroundTransparency = 1
- humhptxt.Font = Enum.Font.SourceSans
- humhptxt.FontSize = Enum.FontSize.Size48
- humhptxt.Text = "100/100"
- humhptxt.TextColor = BrickColor.new("Institutional white")
- humhptxt.TextColor3 = Color3.new(1, 1, 1)
- humhptxt.TextScaled = true
- humhptxt.TextSize = 40
- humhptxt.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
- humhptxt.TextStrokeTransparency = 0
- humhptxt.TextWrap = true
- humhptxt.TextWrapped = true
- spawn(function()
- game:GetService("RunService").Stepped:Connect(function()
- local tempcount = 4
- if 0 >= boots_health then
- if rf and rf.Parent and lf and lf.Parent then
- breaksound.PlaybackSpeed = math.random(90,100)/100
- breaksound:Play()
- rf:Destroy()
- lf:Destroy()
- end
- boots_health = 0
- tempcount = tempcount - 1
- end
- if 0 >= leggings_health then
- if ll and ll.Parent and rl and rl.Parent then
- breaksound.PlaybackSpeed = math.random(90,100)/100
- breaksound:Play()
- ll:Destroy()
- rl:Destroy()
- end
- leggings_health = 0
- tempcount = tempcount - 1
- end
- if 0 >= chestplate_health then
- if tors and tors.Parent and ra and ra.Parent and la and la.Parent then
- breaksound.PlaybackSpeed = math.random(90,100)/100
- breaksound:Play()
- tors:Destroy()
- ra:Destroy()
- la:Destroy()
- end
- chestplate_health = 0
- tempcount = tempcount - 1
- end
- if 0 >= helmet_health then
- if helmet and helmet.Parent then
- breaksound.PlaybackSpeed = math.random(90,100)/100
- breaksound:Play()
- helmet:Destroy()
- end
- helmet_health = 0
- tempcount = tempcount - 1
- end
- if 0 >= sword_health then
- if tool and tool.Parent then
- breaksound.PlaybackSpeed = math.random(90,100)/100
- breaksound:Play()
- tool:Destroy()
- end
- sword_health = 0
- end
- armourleft = tempcount
- if 0 >= (boots_health) then
- bootstxt.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
- elseif 107.25 >= (boots_health) then
- bootstxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
- elseif 214.5 >= (boots_health) then
- bootstxt.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
- else
- bootstxt.TextStrokeColor3 = Color3.fromRGB(0, 255, 0)
- end
- if 0 >= (leggings_health) then
- leggingstxt.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
- elseif 123.75 >= (leggings_health) then
- leggingstxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
- elseif 247.5 >= (leggings_health) then
- leggingstxt.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
- else
- leggingstxt.TextStrokeColor3 = Color3.fromRGB(0, 255, 0)
- end
- if 0 >= (chestplate_health) then
- chesttxt.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
- elseif 132 >= (chestplate_health) then
- chesttxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
- elseif 264 >= (chestplate_health) then
- chesttxt.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
- else
- chesttxt.TextStrokeColor3 = Color3.fromRGB(0, 255, 0)
- end
- if 0 >= (helmet_health) then
- helmettxt.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
- elseif 90.75 >= (helmet_health) then
- helmettxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
- elseif 181.5 >= (helmet_health) then
- helmettxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
- else
- helmettxt.TextStrokeColor3 = Color3.fromRGB(0, 255, 0)
- end
- if 0 >= (sword_health) then
- swordtxt.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
- elseif 390.25 >= (sword_health) then
- swordtxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
- elseif 780.5 >= (sword_health) then
- swordtxt.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
- else
- swordtxt.TextStrokeColor3 = Color3.fromRGB(0, 255, 0)
- end
- if 0 >= (hum.Health) then
- humhptxt.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
- elseif hum.MaxHealth/3 >= (hum.Health) then
- humhptxt.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
- elseif hum.MaxHealth/2 >= (hum.Health) then
- humhptxt.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
- else
- humhptxt.TextStrokeColor3 = Color3.fromRGB(0, 255, 0)
- end
- swordtxt.Text = sword_health-sword_health%1 .. "/1561"
- bootstxt.Text = (boots_health)-(boots_health)%1 .. "/429"
- leggingstxt.Text = (leggings_health)-(leggings_health)%1 .. "/495"
- chesttxt.Text = (chestplate_health)-(chestplate_health)%1 .. "/528"
- helmettxt.Text = (helmet_health)-(helmet_health)%1 .. "/363"
- --humhptxt.Text = (hum.Health/hum.MaxHealth*100)-(hum.Health/hum.MaxHealth*100)%1 .. "/" .. (hum.MaxHealth*(100/hum.MaxHealth))-(hum.MaxHealth*(100/hum.MaxHealth))%1
- humhptxt.Text = hum.Health-hum.Health%1 .. "/" .. hum.MaxHealth-hum.MaxHealth%1
- end)
- end)
- --[[
- spawn(function()
- local pickaxe = Instance.new("Tool")
- local Part1 = Instance.new("Part")
- local Part2 = Instance.new("Part")
- local Part3 = Instance.new("Part")
- local Part4 = Instance.new("Part")
- local Part5 = Instance.new("Part")
- local Part6 = Instance.new("Part")
- local Part7 = Instance.new("Part")
- local Part8 = Instance.new("Part")
- local Part9 = Instance.new("Part")
- local Part10 = Instance.new("Part")
- local Part11 = Instance.new("Part")
- local Part12 = Instance.new("Part")
- local Part13 = Instance.new("Part")
- local Part14 = Instance.new("Part")
- local Part15 = Instance.new("Part")
- local Part16 = Instance.new("Part")
- local Part17 = Instance.new("Part")
- local Part18 = Instance.new("Part")
- local Part19 = Instance.new("Part")
- local Part20 = Instance.new("Part")
- local Part21 = Instance.new("Part")
- local Part22 = Instance.new("Part")
- local Part23 = Instance.new("Part")
- local Part24 = Instance.new("Part")
- local Part25 = Instance.new("Part")
- local Part26 = Instance.new("Part")
- local Part27 = Instance.new("Part")
- local Part28 = Instance.new("Part")
- local Part29 = Instance.new("Part")
- local Part30 = Instance.new("Part")
- local Part31 = Instance.new("Part")
- local Part32 = Instance.new("Part")
- local Part33 = Instance.new("Part")
- local Part34 = Instance.new("Part")
- local Part35 = Instance.new("Part")
- local Part36 = Instance.new("Part")
- local Part37 = Instance.new("Part")
- local Part38 = Instance.new("Part")
- local Part39 = Instance.new("Part")
- local Part40 = Instance.new("Part")
- local Part41 = Instance.new("Part")
- local Part42 = Instance.new("Part")
- local Part43 = Instance.new("Part")
- local Part44 = Instance.new("Part")
- local Part45 = Instance.new("Part")
- local Part46 = Instance.new("Part")
- local Part47 = Instance.new("Part")
- local Part48 = Instance.new("Part")
- local Part49 = Instance.new("Part")
- local Part50 = Instance.new("Part")
- local Part51 = Instance.new("Part")
- local Part52 = Instance.new("Part")
- local Part53 = Instance.new("Part")
- local Part54 = Instance.new("Part")
- local Part55 = Instance.new("Part")
- local Part56 = Instance.new("Part")
- local Part57 = Instance.new("Part")
- local Part58 = Instance.new("Part")
- local Part59 = Instance.new("Part")
- local Part60 = Instance.new("Part")
- local Part61 = Instance.new("Part")
- local Part62 = Instance.new("Part")
- local Part63 = Instance.new("Part")
- local Part64 = Instance.new("Part")
- local Part65 = Instance.new("Part")
- local Part66 = Instance.new("Part")
- local Part67 = Instance.new("Part")
- local Part68 = Instance.new("Part")
- local Part69 = Instance.new("Part")
- pickaxe.Name = "Diamond Pickaxe"
- pickaxe.Parent = plr['Backpack']
- 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)
- Part1.Name = "Handle"
- Part1.Parent = pickaxe
- Part1.CFrame = CFrame.new(-91.2440414, 1.54000008, 168.927994, 0, 1, 0, 1, 0, 0, 0, 0, -1)
- Part1.Orientation = Vector3.new(0, 180, 90)
- Part1.Position = Vector3.new(-91.2440414, 1.54000008, 168.927994)
- Part1.Rotation = Vector3.new(-180, 0, -90)
- Part1.Transparency = 1
- Part1.Size = Vector3.new(3.13938284, 0.257209837, 3.28999996)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.CanCollide = false
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part2.Parent = pickaxe
- Part2.CFrame = CFrame.new(-91.2410736, 2.48615575, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part2.Orientation = Vector3.new(0, 90, 0)
- Part2.Position = Vector3.new(-91.2410736, 2.48615575, 170.193314)
- Part2.Rotation = Vector3.new(0, 90, 0)
- Part2.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part2.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part2.BrickColor = BrickColor.new("Black")
- Part2.CanCollide = false
- Part2.Material = Enum.Material.SmoothPlastic
- Part2.brickColor = BrickColor.new("Black")
- Part2.FormFactor = Enum.FormFactor.Symmetric
- Part2.formFactor = Enum.FormFactor.Symmetric
- Part3.Parent = pickaxe
- Part3.CFrame = CFrame.new(-91.2410736, 1.74769378, 169.454865, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part3.Orientation = Vector3.new(0, 90, 0)
- Part3.Position = Vector3.new(-91.2410736, 1.74769378, 169.454865)
- Part3.Rotation = Vector3.new(0, 90, 0)
- Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part3.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part3.BrickColor = BrickColor.new("Black")
- Part3.CanCollide = false
- Part3.Material = Enum.Material.SmoothPlastic
- Part3.brickColor = BrickColor.new("Black")
- Part3.FormFactor = Enum.FormFactor.Symmetric
- Part3.formFactor = Enum.FormFactor.Symmetric
- Part4.Parent = pickaxe
- Part4.CFrame = CFrame.new(-91.2410736, 0.86153996, 168.224075, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part4.Orientation = Vector3.new(0, 90, 0)
- Part4.Position = Vector3.new(-91.2410736, 0.86153996, 168.224075)
- Part4.Rotation = Vector3.new(0, 90, 0)
- Part4.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part4.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part4.BrickColor = BrickColor.new("Dark orange")
- Part4.CanCollide = false
- Part4.Material = Enum.Material.SmoothPlastic
- Part4.brickColor = BrickColor.new("Dark orange")
- Part4.FormFactor = Enum.FormFactor.Symmetric
- Part4.formFactor = Enum.FormFactor.Symmetric
- Part5.Parent = pickaxe
- Part5.CFrame = CFrame.new(-91.2410736, 0.123077869, 167.731796, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part5.Orientation = Vector3.new(0, 90, 0)
- Part5.Position = Vector3.new(-91.2410736, 0.123077869, 167.731796)
- Part5.Rotation = Vector3.new(0, 90, 0)
- Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part5.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part5.BrickColor = BrickColor.new("Black")
- Part5.CanCollide = false
- Part5.Material = Enum.Material.SmoothPlastic
- Part5.brickColor = BrickColor.new("Black")
- Part5.FormFactor = Enum.FormFactor.Symmetric
- Part5.formFactor = Enum.FormFactor.Symmetric
- Part6.Parent = pickaxe
- Part6.CFrame = CFrame.new(-91.2410736, 0.369231939, 167.485641, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part6.Orientation = Vector3.new(0, 90, 0)
- Part6.Position = Vector3.new(-91.2410736, 0.369231939, 167.485641)
- Part6.Rotation = Vector3.new(0, 90, 0)
- Part6.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part6.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part6.BrickColor = BrickColor.new("Reddish brown")
- Part6.CanCollide = false
- Part6.Material = Enum.Material.SmoothPlastic
- Part6.brickColor = BrickColor.new("Reddish brown")
- Part6.FormFactor = Enum.FormFactor.Symmetric
- Part6.formFactor = Enum.FormFactor.Symmetric
- Part7.Parent = pickaxe
- Part7.CFrame = CFrame.new(-91.2410736, 0.615385711, 168.224075, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part7.Orientation = Vector3.new(0, 90, 0)
- Part7.Position = Vector3.new(-91.2410736, 0.615385711, 168.224075)
- Part7.Rotation = Vector3.new(0, 90, 0)
- Part7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part7.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part7.BrickColor = BrickColor.new("Black")
- Part7.CanCollide = false
- Part7.Material = Enum.Material.SmoothPlastic
- Part7.brickColor = BrickColor.new("Black")
- Part7.FormFactor = Enum.FormFactor.Symmetric
- Part7.formFactor = Enum.FormFactor.Symmetric
- Part8.Parent = pickaxe
- Part8.CFrame = CFrame.new(-91.2410736, 1.30461645, 168.962555, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part8.Orientation = Vector3.new(0, 90, 0)
- Part8.Position = Vector3.new(-91.2410736, 1.30461645, 168.962555)
- Part8.Rotation = Vector3.new(0, 90, 0)
- Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part8.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part8.BrickColor = BrickColor.new("Black")
- Part8.CanCollide = false
- Part8.Material = Enum.Material.SmoothPlastic
- Part8.brickColor = BrickColor.new("Black")
- Part8.FormFactor = Enum.FormFactor.Symmetric
- Part8.formFactor = Enum.FormFactor.Symmetric
- Part9.Parent = pickaxe
- Part9.CFrame = CFrame.new(-91.2410736, 0.123077869, 167.485641, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part9.Orientation = Vector3.new(0, 90, 0)
- Part9.Position = Vector3.new(-91.2410736, 0.123077869, 167.485641)
- Part9.Rotation = Vector3.new(0, 90, 0)
- Part9.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part9.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part9.BrickColor = BrickColor.new("Brown")
- Part9.CanCollide = false
- Part9.Material = Enum.Material.SmoothPlastic
- Part9.brickColor = BrickColor.new("Brown")
- Part9.FormFactor = Enum.FormFactor.Symmetric
- Part9.formFactor = Enum.FormFactor.Symmetric
- Part10.Parent = pickaxe
- Part10.CFrame = CFrame.new(-91.2410736, 0.763077974, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part10.Orientation = Vector3.new(0, 90, 0)
- Part10.Position = Vector3.new(-91.2410736, 0.763077974, 170.193314)
- Part10.Rotation = Vector3.new(0, 90, 0)
- Part10.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part10.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part10.BrickColor = BrickColor.new("Dark stone grey")
- Part10.CanCollide = false
- Part10.Material = Enum.Material.SmoothPlastic
- Part10.Reflectance = 0.30000001192093
- Part10.brickColor = BrickColor.new("Dark stone grey")
- Part10.FormFactor = Enum.FormFactor.Symmetric
- Part10.formFactor = Enum.FormFactor.Symmetric
- Part11.Parent = pickaxe
- Part11.CFrame = CFrame.new(-91.2410736, 1.10769367, 168.224075, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part11.Orientation = Vector3.new(0, 90, 0)
- Part11.Position = Vector3.new(-91.2410736, 1.10769367, 168.224075)
- Part11.Rotation = Vector3.new(0, 90, 0)
- Part11.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part11.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part11.BrickColor = BrickColor.new("Reddish brown")
- Part11.CanCollide = false
- Part11.Material = Enum.Material.SmoothPlastic
- Part11.brickColor = BrickColor.new("Reddish brown")
- Part11.FormFactor = Enum.FormFactor.Symmetric
- Part11.formFactor = Enum.FormFactor.Symmetric
- Part12.Parent = pickaxe
- Part12.CFrame = CFrame.new(-91.2410736, 1.25538588, 170.439468, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part12.Orientation = Vector3.new(0, 90, 0)
- Part12.Position = Vector3.new(-91.2410736, 1.25538588, 170.439468)
- Part12.Rotation = Vector3.new(0, 90, 0)
- Part12.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part12.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part12.BrickColor = BrickColor.new("Dark stone grey")
- Part12.CanCollide = false
- Part12.Material = Enum.Material.SmoothPlastic
- Part12.Reflectance = 0.30000001192093
- Part12.brickColor = BrickColor.new("Dark stone grey")
- Part12.FormFactor = Enum.FormFactor.Symmetric
- Part12.formFactor = Enum.FormFactor.Symmetric
- Part13.Parent = pickaxe
- Part13.CFrame = CFrame.new(-91.2410736, 1.05846286, 168.7164, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part13.Orientation = Vector3.new(0, 90, 0)
- Part13.Position = Vector3.new(-91.2410736, 1.05846286, 168.7164)
- Part13.Rotation = Vector3.new(0, 90, 0)
- Part13.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part13.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part13.BrickColor = BrickColor.new("Black")
- Part13.CanCollide = false
- Part13.Material = Enum.Material.SmoothPlastic
- Part13.brickColor = BrickColor.new("Black")
- Part13.FormFactor = Enum.FormFactor.Symmetric
- Part13.formFactor = Enum.FormFactor.Symmetric
- Part14.Parent = pickaxe
- Part14.CFrame = CFrame.new(-91.2410736, 1.25538588, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part14.Orientation = Vector3.new(0, 90, 0)
- Part14.Position = Vector3.new(-91.2410736, 1.25538588, 170.193314)
- Part14.Rotation = Vector3.new(0, 90, 0)
- Part14.Color = Color3.new(0, 1, 1)
- Part14.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part14.BrickColor = BrickColor.new("Toothpaste")
- Part14.CanCollide = false
- Part14.Material = Enum.Material.SmoothPlastic
- Part14.Reflectance = 0.30000001192093
- Part14.brickColor = BrickColor.new("Toothpaste")
- Part14.FormFactor = Enum.FormFactor.Symmetric
- Part14.formFactor = Enum.FormFactor.Symmetric
- Part15.Parent = pickaxe
- Part15.CFrame = CFrame.new(-91.2410736, 2.97846365, 168.470245, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part15.Orientation = Vector3.new(0, 90, 0)
- Part15.Position = Vector3.new(-91.2410736, 2.97846365, 168.470245)
- Part15.Rotation = Vector3.new(0, 90, 0)
- Part15.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part15.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part15.BrickColor = BrickColor.new("Dark stone grey")
- Part15.CanCollide = false
- Part15.Material = Enum.Material.SmoothPlastic
- Part15.Reflectance = 0.30000001192093
- Part15.brickColor = BrickColor.new("Dark stone grey")
- Part15.FormFactor = Enum.FormFactor.Symmetric
- Part15.formFactor = Enum.FormFactor.Symmetric
- Part16.Parent = pickaxe
- Part16.CFrame = CFrame.new(-91.2410736, 2.48615575, 168.7164, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part16.Orientation = Vector3.new(0, 90, 0)
- Part16.Position = Vector3.new(-91.2410736, 2.48615575, 168.7164)
- Part16.Rotation = Vector3.new(0, 90, 0)
- Part16.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part16.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part16.BrickColor = BrickColor.new("Dark stone grey")
- Part16.CanCollide = false
- Part16.Material = Enum.Material.SmoothPlastic
- Part16.Reflectance = 0.30000001192093
- Part16.brickColor = BrickColor.new("Dark stone grey")
- Part16.FormFactor = Enum.FormFactor.Symmetric
- Part16.formFactor = Enum.FormFactor.Symmetric
- Part17.Parent = pickaxe
- Part17.CFrame = CFrame.new(-91.2410736, 0.615385711, 167.731796, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part17.Orientation = Vector3.new(0, 90, 0)
- Part17.Position = Vector3.new(-91.2410736, 0.615385711, 167.731796)
- Part17.Rotation = Vector3.new(0, 90, 0)
- Part17.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part17.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part17.BrickColor = BrickColor.new("Reddish brown")
- Part17.CanCollide = false
- Part17.Material = Enum.Material.SmoothPlastic
- Part17.brickColor = BrickColor.new("Reddish brown")
- Part17.FormFactor = Enum.FormFactor.Symmetric
- Part17.formFactor = Enum.FormFactor.Symmetric
- Part18.Parent = pickaxe
- Part18.CFrame = CFrame.new(-91.2410736, 1.25538588, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part18.Orientation = Vector3.new(0, 90, 0)
- Part18.Position = Vector3.new(-91.2410736, 1.25538588, 169.947174)
- Part18.Rotation = Vector3.new(0, 90, 0)
- Part18.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part18.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part18.BrickColor = BrickColor.new("Dark stone grey")
- Part18.CanCollide = false
- Part18.Material = Enum.Material.SmoothPlastic
- Part18.Reflectance = 0.30000001192093
- Part18.brickColor = BrickColor.new("Dark stone grey")
- Part18.FormFactor = Enum.FormFactor.Symmetric
- Part18.formFactor = Enum.FormFactor.Symmetric
- Part19.Parent = pickaxe
- Part19.CFrame = CFrame.new(-91.2410736, 2.97846365, 168.7164, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part19.Orientation = Vector3.new(0, 90, 0)
- Part19.Position = Vector3.new(-91.2410736, 2.97846365, 168.7164)
- Part19.Rotation = Vector3.new(0, 90, 0)
- Part19.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part19.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part19.BrickColor = BrickColor.new("Dark stone grey")
- Part19.CanCollide = false
- Part19.Material = Enum.Material.SmoothPlastic
- Part19.Reflectance = 0.30000001192093
- Part19.brickColor = BrickColor.new("Dark stone grey")
- Part19.FormFactor = Enum.FormFactor.Symmetric
- Part19.formFactor = Enum.FormFactor.Symmetric
- Part20.Parent = pickaxe
- Part20.CFrame = CFrame.new(-91.2410736, 0.369231939, 167.977936, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part20.Orientation = Vector3.new(0, 90, 0)
- Part20.Position = Vector3.new(-91.2410736, 0.369231939, 167.977936)
- Part20.Rotation = Vector3.new(0, 90, 0)
- Part20.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part20.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part20.BrickColor = BrickColor.new("Black")
- Part20.CanCollide = false
- Part20.Material = Enum.Material.SmoothPlastic
- Part20.brickColor = BrickColor.new("Black")
- Part20.FormFactor = Enum.FormFactor.Symmetric
- Part20.formFactor = Enum.FormFactor.Symmetric
- Part21.Parent = pickaxe
- Part21.CFrame = CFrame.new(-91.2410736, 0.369231939, 167.731796, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part21.Orientation = Vector3.new(0, 90, 0)
- Part21.Position = Vector3.new(-91.2410736, 0.369231939, 167.731796)
- Part21.Rotation = Vector3.new(0, 90, 0)
- Part21.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part21.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part21.BrickColor = BrickColor.new("Dark orange")
- Part21.CanCollide = false
- Part21.Material = Enum.Material.SmoothPlastic
- Part21.brickColor = BrickColor.new("Dark orange")
- Part21.FormFactor = Enum.FormFactor.Symmetric
- Part21.formFactor = Enum.FormFactor.Symmetric
- Part22.Parent = pickaxe
- Part22.CFrame = CFrame.new(-91.2410736, 1.50153995, 170.439468, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part22.Orientation = Vector3.new(0, 90, 0)
- Part22.Position = Vector3.new(-91.2410736, 1.50153995, 170.439468)
- Part22.Rotation = Vector3.new(0, 90, 0)
- Part22.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part22.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part22.BrickColor = BrickColor.new("Dark stone grey")
- Part22.CanCollide = false
- Part22.Material = Enum.Material.SmoothPlastic
- Part22.Reflectance = 0.30000001192093
- Part22.brickColor = BrickColor.new("Dark stone grey")
- Part22.FormFactor = Enum.FormFactor.Symmetric
- Part22.formFactor = Enum.FormFactor.Symmetric
- Part23.Parent = pickaxe
- Part23.CFrame = CFrame.new(-91.2410736, 0.615385711, 167.977936, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part23.Orientation = Vector3.new(0, 90, 0)
- Part23.Position = Vector3.new(-91.2410736, 0.615385711, 167.977936)
- Part23.Rotation = Vector3.new(0, 90, 0)
- Part23.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part23.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part23.BrickColor = BrickColor.new("Brown")
- Part23.CanCollide = false
- Part23.Material = Enum.Material.SmoothPlastic
- Part23.brickColor = BrickColor.new("Brown")
- Part23.FormFactor = Enum.FormFactor.Symmetric
- Part23.formFactor = Enum.FormFactor.Symmetric
- Part24.Parent = pickaxe
- Part24.CFrame = CFrame.new(-91.2410736, 0.86153996, 167.977936, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part24.Orientation = Vector3.new(0, 90, 0)
- Part24.Position = Vector3.new(-91.2410736, 0.86153996, 167.977936)
- Part24.Rotation = Vector3.new(0, 90, 0)
- Part24.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part24.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part24.BrickColor = BrickColor.new("Reddish brown")
- Part24.CanCollide = false
- Part24.Material = Enum.Material.SmoothPlastic
- Part24.brickColor = BrickColor.new("Reddish brown")
- Part24.FormFactor = Enum.FormFactor.Symmetric
- Part24.formFactor = Enum.FormFactor.Symmetric
- Part25.Parent = pickaxe
- Part25.CFrame = CFrame.new(-91.2410736, 0.86153996, 168.470245, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part25.Orientation = Vector3.new(0, 90, 0)
- Part25.Position = Vector3.new(-91.2410736, 0.86153996, 168.470245)
- Part25.Rotation = Vector3.new(0, 90, 0)
- Part25.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part25.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part25.BrickColor = BrickColor.new("Black")
- Part25.CanCollide = false
- Part25.Material = Enum.Material.SmoothPlastic
- Part25.brickColor = BrickColor.new("Black")
- Part25.FormFactor = Enum.FormFactor.Symmetric
- Part25.formFactor = Enum.FormFactor.Symmetric
- Part26.Parent = pickaxe
- Part26.CFrame = CFrame.new(-91.2410736, 1.00923204, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part26.Orientation = Vector3.new(0, 90, 0)
- Part26.Position = Vector3.new(-91.2410736, 1.00923204, 170.193314)
- Part26.Rotation = Vector3.new(0, 90, 0)
- Part26.Color = Color3.new(0, 1, 1)
- Part26.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part26.BrickColor = BrickColor.new("Toothpaste")
- Part26.CanCollide = false
- Part26.Material = Enum.Material.SmoothPlastic
- Part26.Reflectance = 0.30000001192093
- Part26.brickColor = BrickColor.new("Toothpaste")
- Part26.FormFactor = Enum.FormFactor.Symmetric
- Part26.formFactor = Enum.FormFactor.Symmetric
- Part27.Parent = pickaxe
- Part27.CFrame = CFrame.new(-91.2410736, 1.35384727, 168.470245, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part27.Orientation = Vector3.new(0, 90, 0)
- Part27.Position = Vector3.new(-91.2410736, 1.35384727, 168.470245)
- Part27.Rotation = Vector3.new(0, 90, 0)
- Part27.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part27.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part27.BrickColor = BrickColor.new("Reddish brown")
- Part27.CanCollide = false
- Part27.Material = Enum.Material.SmoothPlastic
- Part27.brickColor = BrickColor.new("Reddish brown")
- Part27.FormFactor = Enum.FormFactor.Symmetric
- Part27.formFactor = Enum.FormFactor.Symmetric
- Part28.Parent = pickaxe
- Part28.CFrame = CFrame.new(-91.2410736, 1.30461645, 168.7164, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part28.Orientation = Vector3.new(0, 90, 0)
- Part28.Position = Vector3.new(-91.2410736, 1.30461645, 168.7164)
- Part28.Rotation = Vector3.new(0, 90, 0)
- Part28.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part28.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part28.BrickColor = BrickColor.new("Dark orange")
- Part28.CanCollide = false
- Part28.Material = Enum.Material.SmoothPlastic
- Part28.brickColor = BrickColor.new("Dark orange")
- Part28.FormFactor = Enum.FormFactor.Symmetric
- Part28.formFactor = Enum.FormFactor.Symmetric
- Part29.Parent = pickaxe
- Part29.CFrame = CFrame.new(-91.2410736, 2.48615575, 168.470245, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part29.Orientation = Vector3.new(0, 90, 0)
- Part29.Position = Vector3.new(-91.2410736, 2.48615575, 168.470245)
- Part29.Rotation = Vector3.new(0, 90, 0)
- Part29.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part29.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part29.BrickColor = BrickColor.new("Dark stone grey")
- Part29.CanCollide = false
- Part29.Material = Enum.Material.SmoothPlastic
- Part29.Reflectance = 0.30000001192093
- Part29.brickColor = BrickColor.new("Dark stone grey")
- Part29.FormFactor = Enum.FormFactor.Symmetric
- Part29.formFactor = Enum.FormFactor.Symmetric
- Part30.Parent = pickaxe
- Part30.CFrame = CFrame.new(-91.2410736, 1.00923204, 170.439468, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part30.Orientation = Vector3.new(0, 90, 0)
- Part30.Position = Vector3.new(-91.2410736, 1.00923204, 170.439468)
- Part30.Rotation = Vector3.new(0, 90, 0)
- Part30.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part30.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part30.BrickColor = BrickColor.new("Dark stone grey")
- Part30.CanCollide = false
- Part30.Material = Enum.Material.SmoothPlastic
- Part30.Reflectance = 0.30000001192093
- Part30.brickColor = BrickColor.new("Dark stone grey")
- Part30.FormFactor = Enum.FormFactor.Symmetric
- Part30.formFactor = Enum.FormFactor.Symmetric
- Part31.Parent = pickaxe
- Part31.CFrame = CFrame.new(-91.2410736, 2.73231006, 168.224075, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part31.Orientation = Vector3.new(0, 90, 0)
- Part31.Position = Vector3.new(-91.2410736, 2.73231006, 168.224075)
- Part31.Rotation = Vector3.new(0, 90, 0)
- Part31.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part31.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part31.BrickColor = BrickColor.new("Dark stone grey")
- Part31.CanCollide = false
- Part31.Material = Enum.Material.SmoothPlastic
- Part31.Reflectance = 0.30000001192093
- Part31.brickColor = BrickColor.new("Dark stone grey")
- Part31.FormFactor = Enum.FormFactor.Symmetric
- Part31.formFactor = Enum.FormFactor.Symmetric
- Part32.Parent = pickaxe
- Part32.CFrame = CFrame.new(-91.2410736, 1.55077076, 168.962555, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part32.Orientation = Vector3.new(0, 90, 0)
- Part32.Position = Vector3.new(-91.2410736, 1.55077076, 168.962555)
- Part32.Rotation = Vector3.new(0, 90, 0)
- Part32.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part32.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part32.BrickColor = BrickColor.new("Brown")
- Part32.CanCollide = false
- Part32.Material = Enum.Material.SmoothPlastic
- Part32.brickColor = BrickColor.new("Brown")
- Part32.FormFactor = Enum.FormFactor.Symmetric
- Part32.formFactor = Enum.FormFactor.Symmetric
- Part33.Parent = pickaxe
- Part33.CFrame = CFrame.new(-91.2410736, 1.50153995, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part33.Orientation = Vector3.new(0, 90, 0)
- Part33.Position = Vector3.new(-91.2410736, 1.50153995, 169.947174)
- Part33.Rotation = Vector3.new(0, 90, 0)
- Part33.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part33.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part33.BrickColor = BrickColor.new("Dark stone grey")
- Part33.CanCollide = false
- Part33.Material = Enum.Material.SmoothPlastic
- Part33.Reflectance = 0.30000001192093
- Part33.brickColor = BrickColor.new("Dark stone grey")
- Part33.FormFactor = Enum.FormFactor.Symmetric
- Part33.formFactor = Enum.FormFactor.Symmetric
- Part34.Parent = pickaxe
- Part34.CFrame = CFrame.new(-91.2410736, 1.55077076, 168.7164, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part34.Orientation = Vector3.new(0, 90, 0)
- Part34.Position = Vector3.new(-91.2410736, 1.55077076, 168.7164)
- Part34.Rotation = Vector3.new(0, 90, 0)
- Part34.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part34.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part34.BrickColor = BrickColor.new("Reddish brown")
- Part34.CanCollide = false
- Part34.Material = Enum.Material.SmoothPlastic
- Part34.brickColor = BrickColor.new("Reddish brown")
- Part34.FormFactor = Enum.FormFactor.Symmetric
- Part34.formFactor = Enum.FormFactor.Symmetric
- Part35.Parent = pickaxe
- Part35.CFrame = CFrame.new(-91.2410736, 2.73231006, 168.470245, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part35.Orientation = Vector3.new(0, 90, 0)
- Part35.Position = Vector3.new(-91.2410736, 2.73231006, 168.470245)
- Part35.Rotation = Vector3.new(0, 90, 0)
- Part35.Color = Color3.new(0, 1, 1)
- Part35.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part35.BrickColor = BrickColor.new("Toothpaste")
- Part35.CanCollide = false
- Part35.Material = Enum.Material.SmoothPlastic
- Part35.Reflectance = 0.30000001192093
- Part35.brickColor = BrickColor.new("Toothpaste")
- Part35.FormFactor = Enum.FormFactor.Symmetric
- Part35.formFactor = Enum.FormFactor.Symmetric
- Part36.Parent = pickaxe
- Part36.CFrame = CFrame.new(-91.2410736, 1.10769367, 168.470245, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part36.Orientation = Vector3.new(0, 90, 0)
- Part36.Position = Vector3.new(-91.2410736, 1.10769367, 168.470245)
- Part36.Rotation = Vector3.new(0, 90, 0)
- Part36.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part36.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part36.BrickColor = BrickColor.new("Brown")
- Part36.CanCollide = false
- Part36.Material = Enum.Material.SmoothPlastic
- Part36.brickColor = BrickColor.new("Brown")
- Part36.FormFactor = Enum.FormFactor.Symmetric
- Part36.formFactor = Enum.FormFactor.Symmetric
- Part37.Parent = pickaxe
- Part37.CFrame = CFrame.new(-91.2410736, 1.50153995, 169.20871, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part37.Orientation = Vector3.new(0, 90, 0)
- Part37.Position = Vector3.new(-91.2410736, 1.50153995, 169.20871)
- Part37.Rotation = Vector3.new(0, 90, 0)
- Part37.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part37.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part37.BrickColor = BrickColor.new("Black")
- Part37.CanCollide = false
- Part37.Material = Enum.Material.SmoothPlastic
- Part37.brickColor = BrickColor.new("Black")
- Part37.FormFactor = Enum.FormFactor.Symmetric
- Part37.formFactor = Enum.FormFactor.Symmetric
- Part38.Parent = pickaxe
- Part38.CFrame = CFrame.new(-91.2410736, 1.00923204, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part38.Orientation = Vector3.new(0, 90, 0)
- Part38.Position = Vector3.new(-91.2410736, 1.00923204, 169.947174)
- Part38.Rotation = Vector3.new(0, 90, 0)
- Part38.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part38.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part38.BrickColor = BrickColor.new("Dark stone grey")
- Part38.CanCollide = false
- Part38.Material = Enum.Material.SmoothPlastic
- Part38.Reflectance = 0.30000001192093
- Part38.brickColor = BrickColor.new("Dark stone grey")
- Part38.FormFactor = Enum.FormFactor.Symmetric
- Part38.formFactor = Enum.FormFactor.Symmetric
- Part39.Parent = pickaxe
- Part39.CFrame = CFrame.new(-91.2410736, 2.73231006, 168.7164, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part39.Orientation = Vector3.new(0, 90, 0)
- Part39.Position = Vector3.new(-91.2410736, 2.73231006, 168.7164)
- Part39.Rotation = Vector3.new(0, 90, 0)
- Part39.Color = Color3.new(0, 1, 1)
- Part39.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part39.BrickColor = BrickColor.new("Toothpaste")
- Part39.CanCollide = false
- Part39.Material = Enum.Material.SmoothPlastic
- Part39.Reflectance = 0.30000001192093
- Part39.brickColor = BrickColor.new("Toothpaste")
- Part39.FormFactor = Enum.FormFactor.Symmetric
- Part39.formFactor = Enum.FormFactor.Symmetric
- Part40.Parent = pickaxe
- Part40.CFrame = CFrame.new(-91.2410736, 1.74769378, 169.20871, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part40.Orientation = Vector3.new(0, 90, 0)
- Part40.Position = Vector3.new(-91.2410736, 1.74769378, 169.20871)
- Part40.Rotation = Vector3.new(0, 90, 0)
- Part40.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part40.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part40.BrickColor = BrickColor.new("Dark orange")
- Part40.CanCollide = false
- Part40.Material = Enum.Material.SmoothPlastic
- Part40.brickColor = BrickColor.new("Dark orange")
- Part40.FormFactor = Enum.FormFactor.Symmetric
- Part40.formFactor = Enum.FormFactor.Symmetric
- Part41.Parent = pickaxe
- Part41.CFrame = CFrame.new(-91.2410736, 1.74769378, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part41.Orientation = Vector3.new(0, 90, 0)
- Part41.Position = Vector3.new(-91.2410736, 1.74769378, 170.193314)
- Part41.Rotation = Vector3.new(0, 90, 0)
- Part41.Color = Color3.new(0, 1, 1)
- Part41.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part41.BrickColor = BrickColor.new("Toothpaste")
- Part41.CanCollide = false
- Part41.Material = Enum.Material.SmoothPlastic
- Part41.Reflectance = 0.30000001192093
- Part41.brickColor = BrickColor.new("Toothpaste")
- Part41.FormFactor = Enum.FormFactor.Symmetric
- Part41.formFactor = Enum.FormFactor.Symmetric
- Part42.Parent = pickaxe
- Part42.CFrame = CFrame.new(-91.2410736, 2.73231006, 169.20871, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part42.Orientation = Vector3.new(0, 90, 0)
- Part42.Position = Vector3.new(-91.2410736, 2.73231006, 169.20871)
- Part42.Rotation = Vector3.new(0, 90, 0)
- Part42.Color = Color3.new(0, 1, 1)
- Part42.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part42.BrickColor = BrickColor.new("Toothpaste")
- Part42.CanCollide = false
- Part42.Material = Enum.Material.SmoothPlastic
- Part42.Reflectance = 0.30000001192093
- Part42.brickColor = BrickColor.new("Toothpaste")
- Part42.FormFactor = Enum.FormFactor.Symmetric
- Part42.formFactor = Enum.FormFactor.Symmetric
- Part43.Parent = pickaxe
- Part43.CFrame = CFrame.new(-91.2410736, 1.74769378, 170.439468, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part43.Orientation = Vector3.new(0, 90, 0)
- Part43.Position = Vector3.new(-91.2410736, 1.74769378, 170.439468)
- Part43.Rotation = Vector3.new(0, 90, 0)
- Part43.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part43.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part43.BrickColor = BrickColor.new("Dark stone grey")
- Part43.CanCollide = false
- Part43.Material = Enum.Material.SmoothPlastic
- Part43.Reflectance = 0.30000001192093
- Part43.brickColor = BrickColor.new("Dark stone grey")
- Part43.FormFactor = Enum.FormFactor.Symmetric
- Part43.formFactor = Enum.FormFactor.Symmetric
- Part44.Parent = pickaxe
- Part44.CFrame = CFrame.new(-91.2410736, 1.99384785, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part44.Orientation = Vector3.new(0, 90, 0)
- Part44.Position = Vector3.new(-91.2410736, 1.99384785, 169.947174)
- Part44.Rotation = Vector3.new(0, 90, 0)
- Part44.Color = Color3.new(0, 1, 1)
- Part44.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part44.BrickColor = BrickColor.new("Toothpaste")
- Part44.CanCollide = false
- Part44.Material = Enum.Material.SmoothPlastic
- Part44.Reflectance = 0.30000001192093
- Part44.brickColor = BrickColor.new("Toothpaste")
- Part44.FormFactor = Enum.FormFactor.Symmetric
- Part44.formFactor = Enum.FormFactor.Symmetric
- Part45.Parent = pickaxe
- Part45.CFrame = CFrame.new(-91.2410736, 1.99384785, 170.439468, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part45.Orientation = Vector3.new(0, 90, 0)
- Part45.Position = Vector3.new(-91.2410736, 1.99384785, 170.439468)
- Part45.Rotation = Vector3.new(0, 90, 0)
- Part45.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part45.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part45.BrickColor = BrickColor.new("Dark stone grey")
- Part45.CanCollide = false
- Part45.Material = Enum.Material.SmoothPlastic
- Part45.Reflectance = 0.30000001192093
- Part45.brickColor = BrickColor.new("Dark stone grey")
- Part45.FormFactor = Enum.FormFactor.Symmetric
- Part45.formFactor = Enum.FormFactor.Symmetric
- Part46.Parent = pickaxe
- Part46.CFrame = CFrame.new(-91.2410736, 2.73231006, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part46.Orientation = Vector3.new(0, 90, 0)
- Part46.Position = Vector3.new(-91.2410736, 2.73231006, 170.193314)
- Part46.Rotation = Vector3.new(0, 90, 0)
- Part46.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part46.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part46.BrickColor = BrickColor.new("Brown")
- Part46.CanCollide = false
- Part46.Material = Enum.Material.SmoothPlastic
- Part46.brickColor = BrickColor.new("Brown")
- Part46.FormFactor = Enum.FormFactor.Symmetric
- Part46.formFactor = Enum.FormFactor.Symmetric
- Part47.Parent = pickaxe
- Part47.CFrame = CFrame.new(-91.2410736, 2.48615575, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part47.Orientation = Vector3.new(0, 90, 0)
- Part47.Position = Vector3.new(-91.2410736, 2.48615575, 169.947174)
- Part47.Rotation = Vector3.new(0, 90, 0)
- Part47.Color = Color3.new(0.627451, 0.372549, 0.207843)
- Part47.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part47.BrickColor = BrickColor.new("Dark orange")
- Part47.CanCollide = false
- Part47.Material = Enum.Material.SmoothPlastic
- Part47.brickColor = BrickColor.new("Dark orange")
- Part47.FormFactor = Enum.FormFactor.Symmetric
- Part47.formFactor = Enum.FormFactor.Symmetric
- Part48.Parent = pickaxe
- Part48.CFrame = CFrame.new(-91.2410736, 2.73231006, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part48.Orientation = Vector3.new(0, 90, 0)
- Part48.Position = Vector3.new(-91.2410736, 2.73231006, 169.947174)
- Part48.Rotation = Vector3.new(0, 90, 0)
- Part48.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part48.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part48.BrickColor = BrickColor.new("Reddish brown")
- Part48.CanCollide = false
- Part48.Material = Enum.Material.SmoothPlastic
- Part48.brickColor = BrickColor.new("Reddish brown")
- Part48.FormFactor = Enum.FormFactor.Symmetric
- Part48.formFactor = Enum.FormFactor.Symmetric
- Part49.Parent = pickaxe
- Part49.CFrame = CFrame.new(-91.2410736, 2.24000144, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part49.Orientation = Vector3.new(0, 90, 0)
- Part49.Position = Vector3.new(-91.2410736, 2.24000144, 169.947174)
- Part49.Rotation = Vector3.new(0, 90, 0)
- Part49.Color = Color3.new(0, 1, 1)
- Part49.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part49.BrickColor = BrickColor.new("Toothpaste")
- Part49.CanCollide = false
- Part49.Material = Enum.Material.SmoothPlastic
- Part49.Reflectance = 0.30000001192093
- Part49.brickColor = BrickColor.new("Toothpaste")
- Part49.FormFactor = Enum.FormFactor.Symmetric
- Part49.formFactor = Enum.FormFactor.Symmetric
- Part50.Parent = pickaxe
- Part50.CFrame = CFrame.new(-91.2410736, 2.73231006, 169.454865, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part50.Orientation = Vector3.new(0, 90, 0)
- Part50.Position = Vector3.new(-91.2410736, 2.73231006, 169.454865)
- Part50.Rotation = Vector3.new(0, 90, 0)
- Part50.Color = Color3.new(0, 1, 1)
- Part50.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part50.BrickColor = BrickColor.new("Toothpaste")
- Part50.CanCollide = false
- Part50.Material = Enum.Material.SmoothPlastic
- Part50.Reflectance = 0.30000001192093
- Part50.brickColor = BrickColor.new("Toothpaste")
- Part50.FormFactor = Enum.FormFactor.Symmetric
- Part50.formFactor = Enum.FormFactor.Symmetric
- Part51.Parent = pickaxe
- Part51.CFrame = CFrame.new(-91.2410736, 1.99384785, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part51.Orientation = Vector3.new(0, 90, 0)
- Part51.Position = Vector3.new(-91.2410736, 1.99384785, 170.193314)
- Part51.Rotation = Vector3.new(0, 90, 0)
- Part51.Color = Color3.new(0, 1, 1)
- Part51.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part51.BrickColor = BrickColor.new("Toothpaste")
- Part51.CanCollide = false
- Part51.Material = Enum.Material.SmoothPlastic
- Part51.Reflectance = 0.30000001192093
- Part51.brickColor = BrickColor.new("Toothpaste")
- Part51.FormFactor = Enum.FormFactor.Symmetric
- Part51.formFactor = Enum.FormFactor.Symmetric
- Part52.Parent = pickaxe
- Part52.CFrame = CFrame.new(-91.2410736, 2.24000144, 169.454865, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part52.Orientation = Vector3.new(0, 90, 0)
- Part52.Position = Vector3.new(-91.2410736, 2.24000144, 169.454865)
- Part52.Rotation = Vector3.new(0, 90, 0)
- Part52.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part52.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part52.BrickColor = BrickColor.new("Reddish brown")
- Part52.CanCollide = false
- Part52.Material = Enum.Material.SmoothPlastic
- Part52.brickColor = BrickColor.new("Reddish brown")
- Part52.FormFactor = Enum.FormFactor.Symmetric
- Part52.formFactor = Enum.FormFactor.Symmetric
- Part53.Parent = pickaxe
- Part53.CFrame = CFrame.new(-91.2410736, 2.97846365, 169.454865, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part53.Orientation = Vector3.new(0, 90, 0)
- Part53.Position = Vector3.new(-91.2410736, 2.97846365, 169.454865)
- Part53.Rotation = Vector3.new(0, 90, 0)
- Part53.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part53.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part53.BrickColor = BrickColor.new("Dark stone grey")
- Part53.CanCollide = false
- Part53.Material = Enum.Material.SmoothPlastic
- Part53.Reflectance = 0.30000001192093
- Part53.brickColor = BrickColor.new("Dark stone grey")
- Part53.FormFactor = Enum.FormFactor.Symmetric
- Part53.formFactor = Enum.FormFactor.Symmetric
- Part54.Parent = pickaxe
- Part54.CFrame = CFrame.new(-91.2410736, 2.73231006, 169.701035, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part54.Orientation = Vector3.new(0, 90, 0)
- Part54.Position = Vector3.new(-91.2410736, 2.73231006, 169.701035)
- Part54.Rotation = Vector3.new(0, 90, 0)
- Part54.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part54.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part54.BrickColor = BrickColor.new("Dark stone grey")
- Part54.CanCollide = false
- Part54.Material = Enum.Material.SmoothPlastic
- Part54.Reflectance = 0.30000001192093
- Part54.brickColor = BrickColor.new("Dark stone grey")
- Part54.FormFactor = Enum.FormFactor.Symmetric
- Part54.formFactor = Enum.FormFactor.Symmetric
- Part55.Parent = pickaxe
- Part55.CFrame = CFrame.new(-91.2410736, 2.24000144, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part55.Orientation = Vector3.new(0, 90, 0)
- Part55.Position = Vector3.new(-91.2410736, 2.24000144, 170.193314)
- Part55.Rotation = Vector3.new(0, 90, 0)
- Part55.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part55.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part55.BrickColor = BrickColor.new("Dark stone grey")
- Part55.CanCollide = false
- Part55.Material = Enum.Material.SmoothPlastic
- Part55.Reflectance = 0.30000001192093
- Part55.brickColor = BrickColor.new("Dark stone grey")
- Part55.FormFactor = Enum.FormFactor.Symmetric
- Part55.formFactor = Enum.FormFactor.Symmetric
- Part56.Parent = pickaxe
- Part56.CFrame = CFrame.new(-91.2410736, 2.48615575, 169.20871, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part56.Orientation = Vector3.new(0, 90, 0)
- Part56.Position = Vector3.new(-91.2410736, 2.48615575, 169.20871)
- Part56.Rotation = Vector3.new(0, 90, 0)
- Part56.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part56.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part56.BrickColor = BrickColor.new("Dark stone grey")
- Part56.CanCollide = false
- Part56.Material = Enum.Material.SmoothPlastic
- Part56.Reflectance = 0.30000001192093
- Part56.brickColor = BrickColor.new("Dark stone grey")
- Part56.FormFactor = Enum.FormFactor.Symmetric
- Part56.formFactor = Enum.FormFactor.Symmetric
- Part57.Parent = pickaxe
- Part57.CFrame = CFrame.new(-91.2410736, 2.48615575, 169.454865, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part57.Orientation = Vector3.new(0, 90, 0)
- Part57.Position = Vector3.new(-91.2410736, 2.48615575, 169.454865)
- Part57.Rotation = Vector3.new(0, 90, 0)
- Part57.Color = Color3.new(0, 1, 1)
- Part57.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part57.BrickColor = BrickColor.new("Toothpaste")
- Part57.CanCollide = false
- Part57.Material = Enum.Material.SmoothPlastic
- Part57.Reflectance = 0.30000001192093
- Part57.brickColor = BrickColor.new("Toothpaste")
- Part57.FormFactor = Enum.FormFactor.Symmetric
- Part57.formFactor = Enum.FormFactor.Symmetric
- Part58.Parent = pickaxe
- Part58.CFrame = CFrame.new(-91.2410736, 2.48615575, 169.701035, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part58.Orientation = Vector3.new(0, 90, 0)
- Part58.Position = Vector3.new(-91.2410736, 2.48615575, 169.701035)
- Part58.Rotation = Vector3.new(0, 90, 0)
- Part58.Color = Color3.new(0, 1, 1)
- Part58.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part58.BrickColor = BrickColor.new("Toothpaste")
- Part58.CanCollide = false
- Part58.Material = Enum.Material.SmoothPlastic
- Part58.Reflectance = 0.30000001192093
- Part58.brickColor = BrickColor.new("Toothpaste")
- Part58.FormFactor = Enum.FormFactor.Symmetric
- Part58.formFactor = Enum.FormFactor.Symmetric
- Part59.Parent = pickaxe
- Part59.CFrame = CFrame.new(-91.2410736, 1.99384785, 169.454865, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part59.Orientation = Vector3.new(0, 90, 0)
- Part59.Position = Vector3.new(-91.2410736, 1.99384785, 169.454865)
- Part59.Rotation = Vector3.new(0, 90, 0)
- Part59.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part59.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part59.BrickColor = BrickColor.new("Brown")
- Part59.CanCollide = false
- Part59.Material = Enum.Material.SmoothPlastic
- Part59.brickColor = BrickColor.new("Brown")
- Part59.FormFactor = Enum.FormFactor.Symmetric
- Part59.formFactor = Enum.FormFactor.Symmetric
- Part60.Parent = pickaxe
- Part60.CFrame = CFrame.new(-91.2410736, 2.73231006, 168.962555, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part60.Orientation = Vector3.new(0, 90, 0)
- Part60.Position = Vector3.new(-91.2410736, 2.73231006, 168.962555)
- Part60.Rotation = Vector3.new(0, 90, 0)
- Part60.Color = Color3.new(0, 1, 1)
- Part60.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part60.BrickColor = BrickColor.new("Toothpaste")
- Part60.CanCollide = false
- Part60.Material = Enum.Material.SmoothPlastic
- Part60.Reflectance = 0.30000001192093
- Part60.brickColor = BrickColor.new("Toothpaste")
- Part60.FormFactor = Enum.FormFactor.Symmetric
- Part60.formFactor = Enum.FormFactor.Symmetric
- Part61.Parent = pickaxe
- Part61.CFrame = CFrame.new(-91.2410736, 1.74769378, 169.947174, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part61.Orientation = Vector3.new(0, 90, 0)
- Part61.Position = Vector3.new(-91.2410736, 1.74769378, 169.947174)
- Part61.Rotation = Vector3.new(0, 90, 0)
- Part61.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part61.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part61.BrickColor = BrickColor.new("Dark stone grey")
- Part61.CanCollide = false
- Part61.Material = Enum.Material.SmoothPlastic
- Part61.Reflectance = 0.30000001192093
- Part61.brickColor = BrickColor.new("Dark stone grey")
- Part61.FormFactor = Enum.FormFactor.Symmetric
- Part61.formFactor = Enum.FormFactor.Symmetric
- Part62.Parent = pickaxe
- Part62.CFrame = CFrame.new(-91.2410736, 1.99384785, 169.20871, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part62.Orientation = Vector3.new(0, 90, 0)
- Part62.Position = Vector3.new(-91.2410736, 1.99384785, 169.20871)
- Part62.Rotation = Vector3.new(0, 90, 0)
- Part62.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part62.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part62.BrickColor = BrickColor.new("Reddish brown")
- Part62.CanCollide = false
- Part62.Material = Enum.Material.SmoothPlastic
- Part62.brickColor = BrickColor.new("Reddish brown")
- Part62.FormFactor = Enum.FormFactor.Symmetric
- Part62.formFactor = Enum.FormFactor.Symmetric
- Part63.Parent = pickaxe
- Part63.CFrame = CFrame.new(-91.2410736, 2.48615575, 168.962555, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part63.Orientation = Vector3.new(0, 90, 0)
- Part63.Position = Vector3.new(-91.2410736, 2.48615575, 168.962555)
- Part63.Rotation = Vector3.new(0, 90, 0)
- Part63.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part63.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part63.BrickColor = BrickColor.new("Dark stone grey")
- Part63.CanCollide = false
- Part63.Material = Enum.Material.SmoothPlastic
- Part63.Reflectance = 0.30000001192093
- Part63.brickColor = BrickColor.new("Dark stone grey")
- Part63.FormFactor = Enum.FormFactor.Symmetric
- Part63.formFactor = Enum.FormFactor.Symmetric
- Part64.Parent = pickaxe
- Part64.CFrame = CFrame.new(-91.2410736, 1.50153995, 170.193314, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part64.Orientation = Vector3.new(0, 90, 0)
- Part64.Position = Vector3.new(-91.2410736, 1.50153995, 170.193314)
- Part64.Rotation = Vector3.new(0, 90, 0)
- Part64.Color = Color3.new(0, 1, 1)
- Part64.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part64.BrickColor = BrickColor.new("Toothpaste")
- Part64.CanCollide = false
- Part64.Material = Enum.Material.SmoothPlastic
- Part64.Reflectance = 0.30000001192093
- Part64.brickColor = BrickColor.new("Toothpaste")
- Part64.FormFactor = Enum.FormFactor.Symmetric
- Part64.formFactor = Enum.FormFactor.Symmetric
- Part65.Parent = pickaxe
- Part65.CFrame = CFrame.new(-91.2410736, 2.97846365, 168.962555, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part65.Orientation = Vector3.new(0, 90, 0)
- Part65.Position = Vector3.new(-91.2410736, 2.97846365, 168.962555)
- Part65.Rotation = Vector3.new(0, 90, 0)
- Part65.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part65.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part65.BrickColor = BrickColor.new("Dark stone grey")
- Part65.CanCollide = false
- Part65.Material = Enum.Material.SmoothPlastic
- Part65.Reflectance = 0.30000001192093
- Part65.brickColor = BrickColor.new("Dark stone grey")
- Part65.FormFactor = Enum.FormFactor.Symmetric
- Part65.formFactor = Enum.FormFactor.Symmetric
- Part66.Parent = pickaxe
- Part66.CFrame = CFrame.new(-91.2410736, 1.79692483, 168.962555, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part66.Orientation = Vector3.new(0, 90, 0)
- Part66.Position = Vector3.new(-91.2410736, 1.79692483, 168.962555)
- Part66.Rotation = Vector3.new(0, 90, 0)
- Part66.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part66.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part66.BrickColor = BrickColor.new("Reddish brown")
- Part66.CanCollide = false
- Part66.Material = Enum.Material.SmoothPlastic
- Part66.brickColor = BrickColor.new("Reddish brown")
- Part66.FormFactor = Enum.FormFactor.Symmetric
- Part66.formFactor = Enum.FormFactor.Symmetric
- Part67.Parent = pickaxe
- Part67.CFrame = CFrame.new(-91.2410736, 2.97846365, 169.20871, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part67.Orientation = Vector3.new(0, 90, 0)
- Part67.Position = Vector3.new(-91.2410736, 2.97846365, 169.20871)
- Part67.Rotation = Vector3.new(0, 90, 0)
- Part67.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part67.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part67.BrickColor = BrickColor.new("Dark stone grey")
- Part67.CanCollide = false
- Part67.Material = Enum.Material.SmoothPlastic
- Part67.Reflectance = 0.30000001192093
- Part67.brickColor = BrickColor.new("Dark stone grey")
- Part67.FormFactor = Enum.FormFactor.Symmetric
- Part67.formFactor = Enum.FormFactor.Symmetric
- Part68.Parent = pickaxe
- Part68.CFrame = CFrame.new(-91.2410736, 2.24000144, 169.701035, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part68.Orientation = Vector3.new(0, 90, 0)
- Part68.Position = Vector3.new(-91.2410736, 2.24000144, 169.701035)
- Part68.Rotation = Vector3.new(0, 90, 0)
- Part68.Color = Color3.new(0, 1, 1)
- Part68.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part68.BrickColor = BrickColor.new("Toothpaste")
- Part68.CanCollide = false
- Part68.Material = Enum.Material.SmoothPlastic
- Part68.Reflectance = 0.30000001192093
- Part68.brickColor = BrickColor.new("Toothpaste")
- Part68.FormFactor = Enum.FormFactor.Symmetric
- Part68.formFactor = Enum.FormFactor.Symmetric
- Part69.Parent = pickaxe
- Part69.CFrame = CFrame.new(-91.2410736, 1.99384785, 169.701035, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part69.Orientation = Vector3.new(0, 90, 0)
- Part69.Position = Vector3.new(-91.2410736, 1.99384785, 169.701035)
- Part69.Rotation = Vector3.new(0, 90, 0)
- Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part69.Size = Vector3.new(0.24615413, 0.24615413, 0.24615413)
- Part69.BrickColor = BrickColor.new("Black")
- Part69.CanCollide = false
- Part69.Material = Enum.Material.SmoothPlastic
- Part69.brickColor = BrickColor.new("Black")
- Part69.FormFactor = Enum.FormFactor.Symmetric
- Part69.formFactor = Enum.FormFactor.Symmetric
- for i,v in pairs(pickaxe:GetChildren()) do
- if v:IsA("Part") and v ~= Part1 then
- local weld = Instance.new("Weld")
- weld.Part0 = Part1
- weld.Part1 = v
- weld.C0 = Part1.CFrame:Inverse()
- weld.C1 = v.CFrame:Inverse()
- --weld.C0 = CFrame.new(0,0,0)
- weld.Parent = v
- end
- end
- local pickaxeremote = Instance.new("RemoteEvent")
- pickaxeremote.Name = 'pickaxeremote'
- pickaxeremote.Parent = pickaxe
- local phases = {
- 4811884582,
- 4811884652,
- 4811884736,
- 4811884792,
- 4811884851,
- 4811884902,
- 4811884998,
- 4811885064,
- 4811885127,
- 4811885205
- }
- local bds = {
- ["Grass"] = 379482039,
- ["Sand"] = 379482039,
- ["Dirt"] = 379482039,
- ["Leaves"] = 379482039,
- ["Stone"] = 507863457,
- ["Bedrock"] = 507863457,
- ["Glass"] = 2676503368,
- ['Default'] = 507863457
- }
- local materialsounds = {
- ["default"] = 507863857,
- ["stone"] = 507863857,
- ["wood"] = 507863857,--507863457,
- ["grass"] = 507863105,
- ["sand"] = 507863105,
- ["leaves"] = 507863105,
- ["dirt"] = 507864112,
- }
- function get_material_sound(p)
- local material = p.Material
- local soundid = ""
- local soundid2 = ""
- if material == Enum.Material.Brick then
- soundid = bds['Stone']
- soundid2 = materialsounds['stone']
- elseif material == Enum.Material.Cobblestone then
- soundid = bds['Stone']
- soundid2 = materialsounds['stone']
- elseif material == Enum.Material.Concrete then
- soundid = bds['Stone']
- soundid2 = materialsounds['stone']
- elseif material == Enum.Material.CorrodedMetal then
- soundid = bds['Stone']
- soundid2 = materialsounds['stone']
- elseif material == Enum.Material.DiamondPlate then
- soundid = bds['Stone']
- soundid2 = materialsounds['stone']
- elseif material == Enum.Material.Fabric then
- soundid = bds['Leaves']
- soundid2 = materialsounds['leaves']
- elseif material == Enum.Material.Foil then
- soundid = bds['Leaves']
- soundid2 = materialsounds['leaves']
- elseif material == Enum.Material.ForceField then
- soundid = bds['Bedrock']
- soundid2 = materialsounds['default']
- elseif material == Enum.Material.Glass then
- soundid = bds['Glass']
- soundid2 = materialsounds['default']
- elseif material == Enum.Material.Granite then
- soundid = bds['Stone']
- soundid2 = materialsounds['stone']
- elseif material == Enum.Material.Grass then
- soundid = bds['Grass']
- soundid2 = materialsounds['grass']
- elseif material == Enum.Material.Ice then
- soundid = bds['Glass']
- soundid2 = materialsounds['stone']
- elseif material == Enum.Material.Marble then
- soundid = bds['Stone']
- soundid2 = materialsounds['stone']
- elseif material == Enum.Material.Metal then
- soundid = bds['Stone']
- soundid2 = materialsounds['stone']
- elseif material == Enum.Material.Neon then
- soundid = bds['Bedrock']
- soundid2 = materialsounds['stone']
- elseif material == Enum.Material.Pebble then
- soundid = bds['Stone']
- soundid2 = materialsounds['stone']
- elseif material == Enum.Material.Plastic then
- soundid = bds['Stone']
- soundid2 = materialsounds['default']
- elseif material == Enum.Material.Sand then
- soundid = bds['Sand']
- soundid2 = materialsounds['sand']
- elseif material == Enum.Material.Slate then
- soundid = bds['Stone']
- soundid2 = materialsounds['stone']
- elseif material == Enum.Material.SmoothPlastic then
- soundid = bds['Stone']
- soundid2 = materialsounds['default']
- elseif material == Enum.Material.Wood then
- soundid = bds['Default']
- soundid2 = materialsounds['wood']
- elseif material == Enum.Material.WoodPlanks then
- soundid = bds['Default']
- soundid2 = materialsounds['wood']
- else
- soundid = bds['Default']
- soundid2 = materialsounds['default']
- end
- return soundid,soundid2
- end
- local destroy_sound = Instance.new("Sound")
- destroy_sound.SoundId = 'rbxassetid://507863457'
- destroy_sound.Volume = 1
- destroy_sound.Parent = Part1
- local breaking_sound = Instance.new("Sound")
- breaking_sound.SoundId = 'rbxassetid://507863857'
- breaking_sound.Volume = 1
- breaking_sound.Parent = Part1
- local destroy_textures = {}
- local last_target = nil
- local phase = 0
- local hitanimid = 0
- local using = false
- local animating = false
- local equipped = false
- pickaxe.Equipped:Connect(function()
- equipped = true
- end)
- pickaxe.Unequipped:Connect(function()
- equipped = false
- end)
- pickaxeremote.OnServerEvent:Connect(function(plr,target,close)
- if not using and equipped then
- elseif not equipped then
- phase = 0
- last_target = nil
- for i,v in pairs(destroy_textures) do
- if v then
- v:Destroy()
- end
- table.remove(destroy_textures,i)
- end
- wait(0.07);
- using = false;
- return;
- else
- return;
- end
- using = true
- spawn(function()
- if not animating then
- animating = true
- hitanimid = 1
- if hitanimid == 1 then else return end
- 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()
- hitanimid = 2
- wait(0.08)
- if hitanimid == 2 then else return end
- 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()
- hitanimid = 3
- wait(0.04)
- if hitanimid == 3 then else return end
- 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()
- animating = false
- end
- end)
- if target and close then
- else
- phase = 0
- last_target = nil
- for i,v in pairs(destroy_textures) do
- if v then
- v:Destroy()
- end
- table.remove(destroy_textures,i)
- end
- wait(0.07);
- using = false;
- return;
- end;
- if target and target == last_target then
- breaking_sound:Play()
- phase = phase + 1
- if phase > 10 then
- destroy_sound:Play()
- target:Destroy()
- phase = 0
- last_target = nil
- for i,v in pairs(destroy_textures) do
- if v then
- v:Destroy()
- end
- table.remove(destroy_textures,i)
- end
- wait(0.07);
- using = false;
- return
- end
- if 6 > #destroy_textures then
- local Texture0 = Instance.new("Decal")
- local Texture1 = Instance.new("Decal")
- local Texture2 = Instance.new("Decal")
- local Texture3 = Instance.new("Decal")
- local Texture4 = Instance.new("Decal")
- local Texture5 = Instance.new("Decal")
- Texture0.Parent = target
- Texture0.Texture = 'rbxassetid://' .. phases[phase]
- Texture0.Transparency = 0
- Texture0.Face = Enum.NormalId.Bottom
- Texture1.Parent = target
- Texture1.Texture = 'rbxassetid://' .. phases[phase]
- Texture1.Transparency = 0
- Texture1.Face = Enum.NormalId.Top
- Texture2.Parent = target
- Texture2.Texture = 'rbxassetid://' .. phases[phase]
- Texture2.Transparency = 0
- Texture2.Face = Enum.NormalId.Back
- Texture3.Parent = target
- Texture3.Texture = 'rbxassetid://' .. phases[phase]
- Texture3.Transparency = 0
- Texture3.Face = Enum.NormalId.Front
- Texture4.Parent = target
- Texture4.Texture = 'rbxassetid://' .. phases[phase]
- Texture4.Transparency = 0
- Texture4.Face = Enum.NormalId.Left
- Texture5.Parent = target
- Texture5.Texture = 'rbxassetid://' .. phases[phase]
- Texture5.Transparency = 0
- Texture5.Face = Enum.NormalId.Right
- table.insert(destroy_textures,1,Texture0)
- table.insert(destroy_textures,1,Texture1)
- table.insert(destroy_textures,1,Texture2)
- table.insert(destroy_textures,1,Texture3)
- table.insert(destroy_textures,1,Texture4)
- table.insert(destroy_textures,1,Texture5)
- else
- for i,v in pairs(destroy_textures) do
- if v then
- v.Texture = 'rbxassetid://' .. phases[phase]
- end
- end
- end
- elseif target and target ~= last_target then
- breaking_sound:Play()
- phase = 0
- last_target = target
- for i,v in pairs(destroy_textures) do
- if v then
- v:Destroy()
- end
- table.remove(destroy_textures,i)
- end
- phase = phase + 1
- local Texture0 = Instance.new("Decal")
- local Texture1 = Instance.new("Decal")
- local Texture2 = Instance.new("Decal")
- local Texture3 = Instance.new("Decal")
- local Texture4 = Instance.new("Decal")
- local Texture5 = Instance.new("Decal")
- Texture0.Parent = target
- Texture0.Texture = 'rbxassetid://' .. phases[phase]
- Texture0.Transparency = 0
- Texture0.Face = Enum.NormalId.Bottom
- Texture1.Parent = target
- Texture1.Texture = 'rbxassetid://' .. phases[phase]
- Texture1.Transparency = 0
- Texture1.Face = Enum.NormalId.Top
- Texture2.Parent = target
- Texture2.Texture = 'rbxassetid://' .. phases[phase]
- Texture2.Transparency = 0
- Texture2.Face = Enum.NormalId.Back
- Texture3.Parent = target
- Texture3.Texture = 'rbxassetid://' .. phases[phase]
- Texture3.Transparency = 0
- Texture3.Face = Enum.NormalId.Front
- Texture4.Parent = target
- Texture4.Texture = 'rbxassetid://' .. phases[phase]
- Texture4.Transparency = 0
- Texture4.Face = Enum.NormalId.Left
- Texture5.Parent = target
- Texture5.Texture = 'rbxassetid://' .. phases[phase]
- Texture5.Transparency = 0
- Texture5.Face = Enum.NormalId.Right
- table.insert(destroy_textures,1,Texture0)
- table.insert(destroy_textures,1,Texture1)
- table.insert(destroy_textures,1,Texture2)
- table.insert(destroy_textures,1,Texture3)
- table.insert(destroy_textures,1,Texture4)
- table.insert(destroy_textures,1,Texture5)
- end
- wait(0.07)
- using = false
- end)
- NLS([
- wait()
- local plr = game:GetService("Players").LocalPlayer
- local char = plr.Character
- local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
- local hum = char:FindFirstChildOfClass("Humanoid")
- local remote = script.Parent:WaitForChild("pickaxeremote")
- local mouse = plr:GetMouse()
- mouse.TargetFilter = char
- local holding = false
- mouse.Button1Down:Connect(function()
- holding = true
- while holding do
- local target = mouse.Target
- local targchar,targtorso,targhum
- local mag = nil
- local close = false
- local Can_Mine = true
- if target and torso then
- mag = (torso.Position - target.Position).magnitude
- end
- if mag and 10 >= mag then
- close = true
- end
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if target and target:IsDescendantOf(v.Character) then
- Can_Mine = false
- end
- end
- if Can_Mine then else wait(0.07) return end
- spawn(function()
- remote:FireServer(target,close)
- end)
- wait(0.07)
- end
- end)
- mouse.Button1Up:Connect(function()
- wait(0.07)
- holding = false
- remote:FireServer(nil,false)
- end)
- ],pickaxe)
- end)
- ]]
- spawn(function()
- local plr = owner;
- local char = plr.Character;
- local hum = char:FindFirstChildOfClass("Humanoid");
- local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart");
- local partfolder = Instance.new("Folder");
- partfolder.Parent = script;
- partfolder.Name = 'partfolder';
- local debris = game:GetService("Debris");
- local tween = game:GetService("TweenService");
- local explosionstimepos = {0,4,8,12,16};
- local maintimepos = 1;
- local used = 0
- local function createcrystal(pos)
- local Model0 = Instance.new("Model");
- local Part1 = Instance.new("Part");
- local Part4 = Instance.new("Part");
- local Part6 = Instance.new("Part");
- local Part69 = Instance.new("Part");
- Model0.Name = "End Crystal";
- Model0.Parent = partfolder;
- Part1.Name = "Outside";
- Part1.Parent = Model0;
- Part1.Orientation = Vector3.new(0, 45, 0);
- Part1.Position = pos+Vector3.new(0,0.5,0);
- Part1.Rotation = Vector3.new(0, 45, 0);
- Part1.Color = Color3.new(0.666667, 0, 0.666667);
- Part1.Material = Enum.Material.Fabric;
- Part1.Transparency = 1;
- Part1.Size = Vector3.new(3.5, 3.5, 3.5);
- Part1.Anchored = true;
- Part1.BottomSurface = Enum.SurfaceType.Smooth;
- Part1.BrickColor = BrickColor.new("Magenta");
- Part1.CanCollide = false;
- Part1.TopSurface = Enum.SurfaceType.Smooth;
- Part1.brickColor = BrickColor.new("Magenta");
- Part69.Name = "HumanoidRootPart";
- Part69.Parent = Model0;
- Part69.Orientation = Vector3.new(0, 45, 0);
- Part69.Position = pos-Vector3.new(0,4.3,0);
- Part69.Rotation = Vector3.new(0, 45, 0);
- Part69.Material = Enum.Material.Concrete;
- Part69.Color = Color3.new(0, 0, 0);
- Part69.Transparency = 1;
- Part69.Size = Vector3.new(0.05, 0.5, 0.05);
- Part69.Anchored = true;
- Part69.CanCollide = false;
- Part4.Name = "Torso";
- Part4.Parent = Model0;
- Part4.Orientation = Vector3.new(45, 0, 0);
- Part4.Position = pos+Vector3.new(0,0.5,0);
- Part4.Rotation = Vector3.new(45, 0, 0);
- Part4.Color = Color3.new(0.666667, 0, 0.666667);
- Part4.Material = Enum.Material.Fabric;
- Part4.Transparency = 1;
- Part4.Size = Vector3.new(3.2, 3.2, 3.2);
- Part4.Anchored = true;
- Part4.BottomSurface = Enum.SurfaceType.Smooth;
- Part4.BrickColor = BrickColor.new("Magenta");
- Part4.CanCollide = false;
- Part4.TopSurface = Enum.SurfaceType.Smooth;
- Part4.brickColor = BrickColor.new("Magenta");
- Part6.Name = "Head";
- Part6.Parent = Model0;
- Part6.Orientation = Vector3.new(45, 0, 0);
- Part6.Position = pos+Vector3.new(0,0.5,0);
- Part6.Rotation = Vector3.new(45, 0, 0);
- Part6.Color = Color3.new(0.666667, 0, 0.666667);
- Part6.Size = Vector3.new(2.5, 2.5, 2.5);
- Part6.Anchored = true;
- Part6.BottomSurface = Enum.SurfaceType.Smooth;
- Part6.BrickColor = BrickColor.new("Magenta");
- Part6.CanCollide = false;
- Part6.Material = Enum.Material.Fabric;
- Part6.TopSurface = Enum.SurfaceType.Smooth;
- Part6.brickColor = BrickColor.new("Magenta");
- spawn(function()
- local Decal0 = Instance.new("Decal");
- local Decal1 = Instance.new("Decal");
- local Decal2 = Instance.new("Decal");
- local Decal3 = Instance.new("Decal");
- local Decal4 = Instance.new("Decal");
- local Decal5 = Instance.new("Decal");
- Decal0.Parent = Part6;
- Decal0.Texture = "http://www.roblox.com/asset/?id=4671609130";
- Decal0.Face = Enum.NormalId.Left;
- Decal1.Parent = Part6;
- Decal1.Texture = "http://www.roblox.com/asset/?id=4671609130";
- Decal1.Face = Enum.NormalId.Top;
- Decal2.Parent = Part6;
- Decal2.Texture = "http://www.roblox.com/asset/?id=4671609130";
- Decal2.Face = Enum.NormalId.Right;
- Decal3.Parent = Part6;
- Decal3.Texture = "http://www.roblox.com/asset/?id=4671609130";
- Decal3.Face = Enum.NormalId.Bottom;
- Decal4.Parent = Part6;
- Decal4.Texture = "http://www.roblox.com/asset/?id=4671609130";
- Decal4.Face = Enum.NormalId.Back;
- Decal5.Parent = Part6;
- Decal5.Texture = "http://www.roblox.com/asset/?id=4671609130";
- end);
- spawn(function()
- local Decal0 = Instance.new("Decal");
- local Decal1 = Instance.new("Decal");
- local Decal2 = Instance.new("Decal");
- local Decal3 = Instance.new("Decal");
- local Decal4 = Instance.new("Decal");
- local Decal5 = Instance.new("Decal");
- Decal0.Parent = Part4;
- Decal0.Texture = "http://www.roblox.com/asset/?id=4671588152";
- Decal0.Face = Enum.NormalId.Left;
- Decal1.Parent = Part4;
- Decal1.Texture = "http://www.roblox.com/asset/?id=4671588152";
- Decal1.Face = Enum.NormalId.Top;
- Decal2.Parent = Part4;
- Decal2.Texture = "http://www.roblox.com/asset/?id=4671588152";
- Decal2.Face = Enum.NormalId.Right;
- Decal3.Parent = Part4;
- Decal3.Texture = "http://www.roblox.com/asset/?id=4671588152"
- Decal3.Face = Enum.NormalId.Bottom;
- Decal4.Parent = Part4;
- Decal4.Texture = "http://www.roblox.com/asset/?id=4671588152";
- Decal4.Face = Enum.NormalId.Back;
- Decal5.Parent = Part4;
- Decal5.Texture = "http://www.roblox.com/asset/?id=4671588152";
- end);
- spawn(function()
- local Decal0 = Instance.new("Decal");
- local Decal1 = Instance.new("Decal");
- local Decal2 = Instance.new("Decal");
- local Decal3 = Instance.new("Decal");
- local Decal4 = Instance.new("Decal");
- local Decal5 = Instance.new("Decal");
- Decal0.Parent = Part1;
- Decal0.Texture = "http://www.roblox.com/asset/?id=4671588152";
- Decal0.Face = Enum.NormalId.Left;
- Decal1.Parent = Part1;
- Decal1.Texture = "http://www.roblox.com/asset/?id=4671588152";
- Decal1.Face = Enum.NormalId.Top;
- Decal2.Parent = Part1;
- Decal2.Texture = "http://www.roblox.com/asset/?id=4671588152";
- Decal2.Face = Enum.NormalId.Right;
- Decal3.Parent = Part1;
- Decal3.Texture = "http://www.roblox.com/asset/?id=4671588152";
- Decal3.Face = Enum.NormalId.Bottom;
- Decal4.Parent = Part1;
- Decal4.Texture = "http://www.roblox.com/asset/?id=4671588152";
- Decal4.Face = Enum.NormalId.Back;
- Decal5.Parent = Part1;
- Decal5.Texture = "http://www.roblox.com/asset/?id=4671588152";
- end);
- local p1,p2,p3,main,model = Part1,Part4,Part6,Part69,Model0;
- p1.Locked = true;
- p2.Locked = true;
- p3.Locked = true;
- main.Locked = true;
- local exploded = false;
- local bvalue = Instance.new("BoolValue");
- bvalue.Parent = model;
- bvalue.Name = 'end crystal explode';
- local cvalue = Instance.new("BoolValue");
- cvalue.Parent = model;
- cvalue.Name = 'end crystal chain activated';
- workspace.DescendantAdded:Connect(function(obj)
- if obj:IsA("Explosion") then
- obj.Hit:Connect(function(hit)
- local par = hit.Parent;
- if par then
- local c = par:FindFirstChild('end crystal explode');
- if c and c:IsA("BoolValue") then
- c.Value = true;
- end;
- else
- return;
- end;
- end);
- end;
- end);
- for i,v in pairs(model:GetDescendants()) do
- if v:IsA("BasePart") and v ~= main then
- local click = Instance.new("ClickDetector");
- click.MaxActivationDistance = 30;
- click.CursorIcon = 'rbxassetid://93681360';
- click.Parent = v;
- click.MouseClick:Connect(function()
- click:Destroy();
- bvalue.Value = true;
- end);
- end;
- end;
- local function explode(par,poss)
- exploded = true;
- bvalue.Value = true;
- p1:Destroy();p2:Destroy();p3:Destroy();main:Destroy();
- local Part0 = Instance.new("Part");
- --local ParticleEmitter1 = Instance.new("ParticleEmitter");
- Part0.Name = "grenade";
- Part0.Parent = par;
- Part0.Position = poss;
- Part0.Transparency = 1;
- Part0.Size = Vector3.new(4, 0.0500000007, 4);
- Part0.Anchored = true;
- Part0.BottomSurface = Enum.SurfaceType.Smooth;
- Part0.CanCollide = false;
- Part0.Locked = true;
- Part0.TopSurface = Enum.SurfaceType.Smooth;
- --[[
- ParticleEmitter1.Parent = Part0;
- ParticleEmitter1.Speed = NumberRange.new(25,30);
- ParticleEmitter1.Color = ColorSequence.new(Color3.new(1,1,1),Color3.new(1,1,1));
- ParticleEmitter1.Enabled = false;
- ParticleEmitter1.LightEmission = 0.80000001192093;
- ParticleEmitter1.Texture = "rbxassetid://3607612871";
- ParticleEmitter1.Size = NumberSequence.new(3,0.5);
- ParticleEmitter1.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093);
- ParticleEmitter1.LockedToPart = true;
- ParticleEmitter1.Rate = 10000;
- ParticleEmitter1.RotSpeed = NumberRange.new(270, 270);
- ParticleEmitter1.SpreadAngle = Vector2.new(-90, -90);
- ParticleEmitter1.VelocitySpread = -90;
- ]]
- if cvalue.Value == false then
- local selectedtimepos = maintimepos + 1;
- if selectedtimepos > #explosionstimepos then
- selectedtimepos = 1;
- end;
- maintimepos = selectedtimepos;
- local s = Instance.new("Sound");
- s.Parent = Part0;
- s.SoundId = "rbxassetid://4673732522";
- s.Volume = 4;
- s.PlaybackSpeed = math.random(10,11)/10;
- s.TimePosition = explosionstimepos[math.random(1,#explosionstimepos)];
- s:Play();
- game:GetService("Debris"):AddItem(s,3.9);
- end;
- used = used + 1
- local radius,mindmg,maxdmg,crystalid,crystalid2 = 10,10,100,math.random(-9999999999,9999999999),math.random(-9999999999,9999999999);
- local ex = Instance.new("Explosion");
- ex.Visible = true;
- ex.Position = poss;
- ex.BlastRadius = 20;
- ex.BlastPressure = 100000;
- ex.DestroyJointRadiusPercent = 0;
- ex.ExplosionType = Enum.ExplosionType.NoCraters;
- ex.Parent = Part0;
- ex.Hit:connect(function(obj, Distance)
- if Distance <= 20 and obj ~= Part0 then
- local targchar,targhum,targtorso,targhead,targleg1,targleg2,targarm1,targarm2,confirm;
- pcall(function()
- targchar = obj.Parent;
- end);
- pcall(function()
- targhum = targchar:FindFirstChildOfClass("Humanoid");
- end);
- pcall(function()
- targtorso = targchar:FindFirstChild("HumanoidRootPart") or targchar:FindFirstChild("Torso");
- end);
- pcall(function()
- targhead = targchar:FindFirstChild("Head");
- end);
- pcall(function()
- targleg1 = targchar:FindFirstChild("Left Leg") or targchar:FindFirstChild("LeftUpperLeg");
- end);
- pcall(function()
- targleg2 = targchar:FindFirstChild("Right Leg") or targchar:FindFirstChild("RightUpperLeg");
- end);
- pcall(function()
- targarm1 = targchar:FindFirstChild("Left Arm") or targchar:FindFirstChild("LeftUpperArm");
- end);
- pcall(function()
- targarm2 = targchar:FindFirstChild("Right Arm") or targchar:FindFirstChild("RightUpperArm");
- end);
- pcall(function()
- confirm = targhum:FindFirstChild(crystalid .. used .. plr.Name .. crystalid2);
- end);
- local par = obj.Parent;
- if par then
- local c = par:FindFirstChild('end crystal chain activated');
- if c and c:IsA("BoolValue") then
- c.Value = true;
- end;
- else
- return;
- end;
- if targchar and targhum and targtorso and targhead and targleg1 and targleg2 and targarm1 and targarm2 and not confirm then
- local ec_dmg = 100
- local ignore = {partfolder,Part0, targchar};
- for i,v in ipairs(game:GetService("Players"):GetPlayers()) do
- if v and v.Character then
- table.insert(ignore,1,v.Character);
- end;
- end;
- local ray1 = Ray.new(poss, (targtorso.Position-poss));
- local hit1 = workspace:FindPartOnRayWithIgnoreList(ray1,ignore,false,true);
- if hit1 then
- ec_dmg = ec_dmg - 30;
- --return;
- end;
- local ray2 = Ray.new(poss, (targleg1.Position-poss));
- local hit2 = workspace:FindPartOnRayWithIgnoreList(ray2,ignore,false,true);
- if hit2 then
- ec_dmg = ec_dmg - 10;
- end;
- local ray3 = Ray.new(poss, (targleg2.Position-poss));
- local hit3 = workspace:FindPartOnRayWithIgnoreList(ray3,ignore,false,true);
- if hit3 then
- ec_dmg = ec_dmg - 10;
- end;
- local ray4 = Ray.new(poss, (head.Position-poss));
- local hit4 = workspace:FindPartOnRayWithIgnoreList(ray4,ignore,false,true);
- if hit4 then
- ec_dmg = ec_dmg - 30;
- end;
- local ray5 = Ray.new(poss, (targarm1.Position-poss));
- local hit5 = workspace:FindPartOnRayWithIgnoreList(ray5,ignore,false,true);
- if hit5 then
- ec_dmg = ec_dmg - 10;
- end;
- local ray6 = Ray.new(poss, (targarm2.Position-poss));
- local hit6 = workspace:FindPartOnRayWithIgnoreList(ray6,ignore,false,true);
- if hit6 then
- ec_dmg = ec_dmg - 10;
- end;
- local targY = targtorso.Position.Y;
- local confirm = Instance.new("IntValue");
- confirm.Name = (crystalid .. used .. plr.Name .. crystalid2);
- confirm.Parent = targhum;
- game:GetService("Debris"):AddItem(confirm,1);
- if targY >= poss.Y then
- local up = (targY - poss.Y);
- --print('hight;' .. up)
- --print('dmg;' .. ec_dmg)
- if up >= 0.79 then
- targhum:TakeDamage(ec_dmg);
- end;
- --[[
- elseif poss.Y > targY then
- local down = poss.Y - targY;
- targhum:TakeDamage(1);
- ]]
- end;
- end;
- end;
- end);
- spawn(function()
- --[[
- ParticleEmitter1.Enabled = true;
- wait(.25);
- ParticleEmitter1.Enabled = false;
- ]]
- debris:AddItem(Part0,2);
- debris:AddItem(ex,2);
- end);
- end;
- local humanoid = Instance.new("Humanoid")
- humanoid.Parent = model
- humanoid.MaxHealth = 1
- humanoid.Health = 1
- humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- humanoid.HealthDisplayDistance = Enum.HumanoidHealthDisplayType.AlwaysOff
- humanoid.HealthChanged:Connect(function()
- explode(workspace,main.Position);
- end)
- bvalue.Changed:Connect(function()
- if bvalue.Value == true and not exploded then
- explode(workspace,main.Position);
- end;
- end);
- Model0.ChildRemoved:Connect(function()
- if not exploded then
- explode(workspace,main.Position);
- end;
- end);
- local sine = 0;
- spawn(function()
- local base_speed = 0.025;
- local speed1,speed2,speed3 = base_speed/2,base_speed/3,base_speed/1.5;
- p1.CFrame = p1.CFrame*CFrame.fromEulerAnglesXYZ(45,0,0);
- p2.CFrame = p2.CFrame*CFrame.fromEulerAnglesXYZ(45,0,0);
- while not exploded do
- game:GetService("RunService").Heartbeat:Wait(1/30);
- sine = sine+2;
- p1.CFrame = p1.CFrame*CFrame.fromEulerAnglesXYZ(0,speed2,speed2);
- p2.CFrame = p2.CFrame*CFrame.fromEulerAnglesXYZ(0,speed1,speed1);
- p3.CFrame = p3.CFrame*CFrame.fromEulerAnglesXYZ(speed3,speed3,0);
- p1.Position = p1.Position+Vector3.new(0,0.12*math.cos(sine/24),0);
- p2.Position = p2.Position+Vector3.new(0,0.12*math.cos(sine/24),0);
- p3.Position = p3.Position+Vector3.new(0,0.12*math.cos(sine/24),0);
- end;
- end);
- end;
- local function CheckIfAlive()
- local alive = false;
- 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
- alive = true;
- end;
- return alive;
- end;
- local equipped = false;
- local tool = Instance.new("Tool");
- local handle = Instance.new("Part");
- local Decal2 = Instance.new("Decal");
- local Decal3 = Instance.new("Decal");
- tool.Name = "End Crystal";
- tool.Parent = plr['Backpack'];
- tool.TextureId = "rbxassetid://4124593233";
- 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);
- tool.ToolTip = "Keep cautious! Flammable!";
- tool.CanBeDropped = false;
- handle.Name = "Handle";
- handle.Parent = tool;
- handle.CFrame = CFrame.new(-87.6886597, 2.380023, 164.558884, 1, 0, 0, 0, 1, 0, 0, 0, 1);
- handle.Position = Vector3.new(-87.6886597, 2.380023, 164.558884);
- handle.Transparency = 1;
- handle.Size = Vector3.new(0.05, 2, 2);
- handle.BottomSurface = Enum.SurfaceType.Smooth;
- handle.CanCollide = true;
- handle.TopSurface = Enum.SurfaceType.Smooth;
- Decal2.Parent = handle;
- Decal2.Texture = "rbxassetid://4124593233";
- Decal2.Face = Enum.NormalId.Right;
- Decal3.Parent = handle;
- Decal3.Texture = "rbxassetid://4124593233";
- Decal3.Face = Enum.NormalId.Left;
- tool.Equipped:Connect(function()
- char = tool.Parent;
- plr = game:GetService("Players"):GetPlayerFromCharacter(char);
- hum = char:FindFirstChildOfClass("Humanoid");
- torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart");
- if not CheckIfAlive() then tool.Parent = nil return end;
- equipped = true;
- end);
- tool.Unequipped:Connect(function()
- equipped = false;
- end);
- local crystalremote = Instance.new("RemoteEvent");
- crystalremote.Name = 'crystalremote';
- crystalremote.Parent = tool;
- local lscode = [[
- local plr = game:GetService("Players").LocalPlayer;
- local char = plr.Character
- local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
- local mouse = plr:GetMouse();
- local crystalremote = script.Parent:FindFirstChild('crystalremote');
- mouse.TargetFilter = char
- mouse.Button1Down:Connect(function()
- local mpos = mouse.hit.p;
- local mag = (torso.Position - mpos).magnitude
- if 10 >= mag then
- crystalremote:FireServer(1,mpos);
- end
- end);
- ]]
- --[[ ^^
- mouse.KeyDown:Connect(function(key)
- local targ = mouse.Target;
- if key == 'e' and targ then
- pcall(function()
- local par = targ.Parent;
- if par then
- local c = par:FindFirstChild('end crystal explode');
- if c and c:IsA("BoolValue") then
- --c.Value = true;
- crystalremote:FireServer(2,c,targ);
- end;
- else
- return;
- end;
- end);
- end;
- end);
- --]]
- NLS(lscode,tool);
- local chitanimid = 0;
- local cooldown = false
- crystalremote.OnServerEvent:Connect(function(plr,mode,data,data2)
- if mode == 1 and data and CheckIfAlive() and equipped then
- if not cooldown then else return end
- cooldown = true
- spawn(function()
- chitanimid = 1;
- if chitanimid == 1 then else return end
- 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();
- chitanimid = 2;
- wait(0.08);
- if chitanimid == 2 then else return end
- 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();
- chitanimid = 3;
- wait(0.04);
- if chitanimid == 3 then else return end
- 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();
- end)
- createcrystal(data+Vector3.new(0,4,0));
- wait(0.1)
- cooldown = false
- elseif mode == 2 and data and data2 then
- pcall(function()
- local dist = (torso.Position - data2.Position).Magnitude
- if 30 >= dist then else return end
- data.Value = true;
- end);
- end;
- end);
- end);
- spawn(function()
- local Tool0 = Instance.new("Tool")
- local Part1 = Instance.new("Part")
- local Texture2 = Instance.new("Texture")
- local Texture3 = Instance.new("Texture")
- local Texture4 = Instance.new("Texture")
- local Texture5 = Instance.new("Texture")
- local Texture6 = Instance.new("Texture")
- local Texture7 = Instance.new("Texture")
- local NumberValue8 = Instance.new("NumberValue")
- local Part9 = Instance.new("Part")
- local Texture10 = Instance.new("Texture")
- local Texture11 = Instance.new("Texture")
- local Texture12 = Instance.new("Texture")
- local Texture13 = Instance.new("Texture")
- local Texture14 = Instance.new("Texture")
- local Texture15 = Instance.new("Texture")
- local Script16 = Instance.new("Script")
- local Script17 = Instance.new("Script")
- local remote1 = Instance.new("RemoteEvent")
- local LocalScript19 = Instance.new("LocalScript")
- local Vector3Value20 = Instance.new("Vector3Value")
- Tool0.Name = "Obsidian"
- Tool0.Parent = plr['Backpack']
- Tool0.TextureId = "rbxassetid://286047170"
- Tool0.CanBeDropped = false
- 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)
- Tool0.GripForward = Vector3.new(0.128313914, -0.982360363, 0.136029094)
- Tool0.GripPos = Vector3.new(0.59161675, 0.105286852, 0.562550008)
- Tool0.GripRight = Vector3.new(0.709374607, -0.00493968278, -0.704814255)
- Tool0.GripUp = Vector3.new(-0.693053603, -0.186933011, -0.696227431)
- Tool0.ToolTip = "Hardest Block to break!"
- remote1.Name = 'place1'
- remote1.Parent = Tool0
- Part1.Name = "Obsidian"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(123.844437, 2419.15918, 62.8882904, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(123.844437, 2419.15918, 62.8882904)
- Part1.Transparency = 1
- Part1.Size = Vector3.new(2.5, 2.5, 2.5)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.CanCollide = false
- Part1.Material = Enum.Material.Metal
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Texture2.Parent = Part1
- Texture2.Texture = "rbxassetid://286047170"
- Texture2.Transparency = 1
- Texture2.StudsPerTileU = 2.5
- Texture2.StudsPerTileV = 2.5
- Texture3.Parent = Part1
- Texture3.Texture = "rbxassetid://286047170"
- Texture3.Transparency = 1
- Texture3.Face = Enum.NormalId.Right
- Texture3.StudsPerTileU = 2.5
- Texture3.StudsPerTileV = 2.5
- Texture4.Parent = Part1
- Texture4.Texture = "rbxassetid://286047170"
- Texture4.Transparency = 1
- Texture4.Face = Enum.NormalId.Left
- Texture4.StudsPerTileU = 2.5
- Texture4.StudsPerTileV = 2.5
- Texture5.Parent = Part1
- Texture5.Texture = "rbxassetid://286047170"
- Texture5.Transparency = 1
- Texture5.Face = Enum.NormalId.Back
- Texture5.StudsPerTileU = 2.5
- Texture5.StudsPerTileV = 2.5
- Texture6.Parent = Part1
- Texture6.Texture = "rbxassetid://286047170"
- Texture6.Transparency = 1
- Texture6.Face = Enum.NormalId.Bottom
- Texture6.StudsPerTileU = 2.5
- Texture6.StudsPerTileV = 2.5
- Texture7.Parent = Part1
- Texture7.Texture = "rbxassetid://286047170"
- Texture7.Transparency = 1
- Texture7.Face = Enum.NormalId.Top
- Texture7.StudsPerTileU = 2.5
- Texture7.StudsPerTileV = 2.5
- NumberValue8.Name = "hardness"
- NumberValue8.Parent = Part1
- NumberValue8.Value = 16
- Part9.Name = "Handle"
- Part9.Parent = Tool0
- Part9.CFrame = CFrame.new(123.844437, 2419.15918, 62.8882904, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part9.Position = Vector3.new(123.844437, 2419.15918, 62.8882904)
- Part9.Transparency = 1
- Part9.Size = Vector3.new(1, 1, 1)
- Part9.BottomSurface = Enum.SurfaceType.Smooth
- Part9.Material = Enum.Material.Pebble
- Part9.TopSurface = Enum.SurfaceType.Smooth
- Texture10.Parent = Part9
- Texture10.Texture = "rbxassetid://286047170"
- Texture10.StudsPerTileU = 1
- Texture10.StudsPerTileV = 1
- Texture11.Parent = Part9
- Texture11.Texture = "rbxassetid://286047170"
- Texture11.Face = Enum.NormalId.Right
- Texture11.StudsPerTileU = 1
- Texture11.StudsPerTileV = 1
- Texture12.Parent = Part9
- Texture12.Texture = "rbxassetid://286047170"
- Texture12.Face = Enum.NormalId.Left
- Texture12.StudsPerTileU = 1
- Texture12.StudsPerTileV = 1
- Texture13.Parent = Part9
- Texture13.Texture = "rbxassetid://286047170"
- Texture13.Face = Enum.NormalId.Back
- Texture13.StudsPerTileU = 1
- Texture13.StudsPerTileV = 1
- Texture14.Parent = Part9
- Texture14.Texture = "rbxassetid://286047170"
- Texture14.Face = Enum.NormalId.Bottom
- Texture14.StudsPerTileU = 1
- Texture14.StudsPerTileV = 1
- Texture15.Parent = Part9
- Texture15.Texture = "rbxassetid://286047170"
- Texture15.Face = Enum.NormalId.Top
- Texture15.StudsPerTileU = 1
- Texture15.StudsPerTileV = 1
- local weld = Instance.new("Weld")
- weld.Part0 = Part9
- weld.Part1 = Part1
- weld.Parent = Tool0
- local wool = "rbxassetid://3843797566"
- local metal = "rbxassetid://935281533"
- local sand = "rbxassetid://3843792584"
- local gravel = "rbxassetid://3843794655"
- local wood1 = "rbxassetid://3843789432"
- local wood2 = "rbxassetid://3843786781"
- local grass = "rbxassetid://3843796214"
- local snow = "rbxassetid://3843791122"
- local placesound = Instance.new("Sound")
- placesound.SoundId = metal
- placesound.Volume = 1.5
- placesound.Parent = Part1
- remote1.OnServerEvent:Connect(function(player,t,pos)
- local block = Part1:Clone()
- local mcblock = Instance.new("BoolValue",block)
- mcblock.Name = "mcblock"
- mcblock.Value = true
- block.Position = pos
- block.Transparency = 0
- block.Rotation = Vector3.new(0,0,0)
- block.Anchored = true
- block.CanCollide = true
- block.Velocity = Vector3.new(0,0,0)
- block.RotVelocity = Vector3.new(0,0,0)
- for i,v in pairs(block:GetDescendants()) do
- if v:IsA("JointInstance") then
- v:Destroy()
- elseif v:IsA("Texture") then
- v.Transparency = 0
- end
- end
- block.Parent = workspace
- remote1:FireClient(player)
- placesound:Play()
- end)
- NLS([[
- player = game:GetService("Players").LocalPlayer
- remote1 = script.Parent:WaitForChild("place1")
- function checkcoords(pos)
- local canplace = true
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BasePart") and v:FindFirstChild("mcblock") and v.Position == pos then
- canplace = false
- end
- end
- return canplace
- end
- script.Parent.Equipped:Connect(function(mouse)
- mouse.Button1Down:Connect(function()
- local pos = mouse.Hit.p
- local mag = (player.Character.Torso.Position - mouse.Hit.p).magnitude
- local ts = mouse.TargetSurface.Name
- local t = mouse.Target
- local part = mouse.Target
- local largest = part.Size.X
- local cango = true
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BasePart") and v.Name == "Baseplate" and v:FindFirstChild("owner") then
- 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
- cango = false
- end
- end
- end
- if part.Size.Y > largest then
- largest = part.Size.Y
- if part.Size.Z > largest then
- largest = part.Size.Z
- end
- end
- if 10 >= mag and t ~= nil then
- local function round(Num)
- return math.floor(Num + 0.5)
- end
- if t.Name == "Base" or t.Name == "Baseplate" then
- 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)
- else
- if ts == "Top" then
- pos = t.Position + Vector3.new(0,script.Parent[script.Parent.Name].Size.Y,0)
- elseif ts == "Left" then
- pos = t.Position + Vector3.new(-script.Parent[script.Parent.Name].Size.X,0,0)
- elseif ts == "Right" then
- pos = t.Position + Vector3.new(script.Parent[script.Parent.Name].Size.X,0,0)
- elseif ts == "Front" then
- pos = t.Position + Vector3.new(0,0,-script.Parent[script.Parent.Name].Size.Z)
- elseif ts == "Back" then
- pos = t.Position + Vector3.new(0,0,script.Parent[script.Parent.Name].Size.Z)
- elseif ts == "Bottom" then
- pos = t.Position + Vector3.new(0,-script.Parent[script.Parent.Name].Size.Y,0)
- end
- 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)
- end
- local magpart = Instance.new("Part")
- magpart.Position = player.Character.Torso.Position - Vector3.new(0,0.5,0)
- magpart.Size = Vector3.new(2.5,5,2.5)
- local mag2 = (magpart.Position - pos).magnitude
- magpart:Destroy()
- if checkcoords(pos) == true and mag2 > 2.5 and cango then
- local localblock = script.Parent[script.Parent.Name]:Clone()
- localblock.Position = pos
- localblock.Parent = workspace
- for i,v in pairs(localblock:GetDescendants()) do
- if v:IsA("JointInstance") then
- v:Destroy()
- elseif v:IsA("Texture") then
- v.Transparency = 0
- end
- end
- localblock.Transparency = 0
- localblock.Rotation = Vector3.new(0,0,0)
- localblock.Anchored = true
- localblock.CanCollide = true
- if t ~= nil then
- remote1:FireServer(t,pos)
- end
- remote1.OnClientEvent:Connect(function()
- if localblock then
- localblock:Destroy()
- end
- end)
- end
- end
- end)
- end)
- ]],Tool0)
- Vector3Value20.Name = "offset"
- Vector3Value20.Parent = Tool0
- Vector3Value20.Value = Vector3.new(-0.25, -0.25, 1)
- end)
- spawn(function()
- local gappletool = Instance.new("Tool")
- local gapple = Instance.new("Part")
- local Decal2 = Instance.new("Decal")
- local Decal3 = Instance.new("Decal")
- gappletool.Name = "Golden Apple"
- gappletool.Parent = plr.Backpack
- gappletool.TextureId = "rbxassetid://3749318589"
- 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)
- gappletool.GripForward = Vector3.new(1.74845553e-07, -0.123588681, -0.992333531)
- gappletool.GripPos = Vector3.new(0.194969162, -0.202951327, 0)
- gappletool.GripRight = Vector3.new(1, 2.16089315e-08, 1.735051e-07)
- gappletool.GripUp = Vector3.new(0, 0.992333531, -0.123588681)
- gappletool.ToolTip = "Left: 5"
- gapple.Name = "Handle"
- gapple.Parent = gappletool
- gapple.CFrame = CFrame.new(-87.6886597, 2.380023, 164.558884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- gapple.Position = Vector3.new(-87.6886597, 2.380023, 164.558884)
- gapple.Transparency = 1
- gapple.Size = Vector3.new(0.0500000007, 1, 1)
- gapple.BottomSurface = Enum.SurfaceType.Smooth
- gapple.CanCollide = false
- gapple.TopSurface = Enum.SurfaceType.Smooth
- Decal2.Parent = gapple
- Decal2.Texture = "rbxassetid://3749318589"
- Decal2.Face = Enum.NormalId.Right
- Decal3.Parent = gapple
- Decal3.Texture = "rbxassetid://3749318589"
- Decal3.Face = Enum.NormalId.Left
- local left = Instance.new("IntValue")
- local lasteatid = 0
- left.Name = 'left'
- left.Parent = gappletool
- left.Value = 5
- local eatsound = Instance.new("Sound")
- eatsound.SoundId = 'rbxassetid://3389702715'
- eatsound.Volume = 1
- eatsound.Parent = gapple
- local eatsound2 = Instance.new("Sound")
- eatsound2.SoundId = 'rbxassetid://3389703911'
- eatsound2.Volume = 1
- eatsound2.Parent = gapple
- local eatsound3 = Instance.new("Sound")
- eatsound3.SoundId = 'rbxassetid://3389705190'
- eatsound3.Volume = 1
- eatsound3.Parent = gapple
- local burpsound = Instance.new("Sound")
- burpsound.SoundId = 'rbxassetid://3362384054'
- burpsound.Volume = 1
- burpsound.Parent = gapple
- local equipped2 = false
- local using = false
- local function eat()
- local ate = false
- local can_eat = true
- local eatsid = 1
- spawn(function()
- while not ate do
- 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()
- wait(0.1)
- 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()
- wait(0.1)
- end
- 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()
- end)
- walkremote:FireClient(plr,1,true)
- spawn(function()
- while not ate do
- if not equipped2 then
- can_eat = false
- using = false
- ate = true
- walkremote:FireClient(plr,1,false)
- return
- end
- eatsid = math.random(1,3)
- if eatsid == lasteatid then
- eatsid = eatsid + 1
- elseif eatsid == lasteatid and eatsid == 3 then
- eatsid = 1
- end
- lasteatid = eatsid
- if eatsid == 1 then
- eatsound:Play()
- wait(eatsound.TimeLength-0.1)
- elseif eatsid == 2 then
- eatsound2:Play()
- wait(eatsound2.TimeLength-0.1)
- elseif eatsid == 3 then
- eatsound3:Play()
- wait(eatsound3.TimeLength-0.1)
- end
- end
- end)
- wait(1.5)
- if equipped2 and can_eat then else return; end;
- walkremote:FireClient(plr,1,false)
- burpsound:Play()
- ate = true
- left.Value = left.Value - 1
- gappletool.ToolTip = "Left: " .. left.Value
- effects.effect2(char,hum,torso,20,5)
- wait(0.2)
- if 0 >= left.Value then
- gappletool:Destroy()
- end
- end
- gappletool.Equipped:Connect(function()
- equipped2 = true
- end)
- gappletool.Unequipped:Connect(function()
- equipped2 = false
- end)
- gappletool.Activated:Connect(function()
- if equipped2 and not using and left.Value > 0 then
- using = true
- eat()
- using = false
- end
- end)
- end)
- --[[
- spawn(function()
- local gappletool = Instance.new("Tool")
- local gapple = Instance.new("Part")
- local Decal2 = Instance.new("Decal")
- local Decal3 = Instance.new("Decal")
- gappletool.Name = "Enchanted Golden Apple"
- gappletool.Parent = plr.Backpack
- gappletool.TextureId = "rbxassetid://3749318589"
- 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)
- gappletool.GripForward = Vector3.new(1.74845553e-07, -0.123588681, -0.992333531)
- gappletool.GripPos = Vector3.new(0.194969162, -0.202951327, 0)
- gappletool.GripRight = Vector3.new(1, 2.16089315e-08, 1.735051e-07)
- gappletool.GripUp = Vector3.new(0, 0.992333531, -0.123588681)
- gappletool.ToolTip = "Left: 10"
- gapple.Name = "Handle"
- gapple.Parent = gappletool
- gapple.CFrame = CFrame.new(-87.6886597, 2.380023, 164.558884, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- gapple.Position = Vector3.new(-87.6886597, 2.380023, 164.558884)
- gapple.Transparency = 1
- gapple.Size = Vector3.new(0.0500000007, 1, 1)
- gapple.BottomSurface = Enum.SurfaceType.Smooth
- gapple.CanCollide = false
- gapple.TopSurface = Enum.SurfaceType.Smooth
- Decal2.Parent = gapple
- Decal2.Texture = "rbxassetid://3749318589"
- Decal2.Face = Enum.NormalId.Right
- Decal3.Parent = gapple
- Decal3.Texture = "rbxassetid://3749318589"
- Decal3.Face = Enum.NormalId.Left
- local trans = 0.6
- local speed = 0.05
- local size = 3
- local Texture0 = Instance.new("Texture")
- local Texture1 = Instance.new("Texture")
- local Texture2 = Instance.new("Texture")
- local Texture3 = Instance.new("Texture")
- local Texture4 = Instance.new("Texture")
- local Texture5 = Instance.new("Texture")
- Texture0.Parent = gapple
- Texture0.Texture = "rbxassetid://4771489612"
- Texture0.Transparency = trans
- Texture0.Face = Enum.NormalId.Bottom
- Texture0.StudsPerTileU = size
- Texture0.StudsPerTileV = size
- Texture1.Parent = gapple
- Texture1.Texture = "rbxassetid://4771489612"
- Texture1.Transparency = trans
- Texture1.Face = Enum.NormalId.Top
- Texture1.StudsPerTileU = size
- Texture1.StudsPerTileV = size
- Texture2.Parent = gapple
- Texture2.Texture = "rbxassetid://4771489612"
- Texture2.Transparency = trans
- Texture2.Face = Enum.NormalId.Back
- Texture2.StudsPerTileU = size
- Texture2.StudsPerTileV = size
- Texture3.Parent = gapple
- Texture3.Texture = "rbxassetid://4771489612"
- Texture3.Transparency = trans
- Texture3.Face = Enum.NormalId.Front
- Texture3.StudsPerTileU = size
- Texture3.StudsPerTileV = size
- Texture4.Parent = gapple
- Texture4.Texture = "rbxassetid://4771489612"
- Texture4.Transparency = trans
- Texture4.Face = Enum.NormalId.Left
- Texture4.StudsPerTileU = size
- Texture4.StudsPerTileV = size
- Texture5.Parent = gapple
- Texture5.Texture = "rbxassetid://4771489612"
- Texture5.Transparency = trans
- Texture5.Face = Enum.NormalId.Right
- Texture5.StudsPerTileU = size
- Texture5.StudsPerTileV = size
- spawn(function()
- game:GetService("RunService").Stepped:Connect(function()
- Texture0.OffsetStudsU = Texture0.OffsetStudsU + speed
- Texture1.OffsetStudsU = Texture1.OffsetStudsU + speed
- Texture2.OffsetStudsU = Texture2.OffsetStudsU + speed
- Texture3.OffsetStudsU = Texture3.OffsetStudsU + speed
- Texture4.OffsetStudsU = Texture4.OffsetStudsU + speed
- Texture5.OffsetStudsU = Texture5.OffsetStudsU + speed
- end)
- end)
- local left = Instance.new("IntValue")
- local lasteatid = 0
- left.Name = 'left'
- left.Parent = gappletool
- left.Value = 1
- local eatsound = Instance.new("Sound")
- eatsound.SoundId = 'rbxassetid://3389702715'
- eatsound.Volume = 1
- eatsound.Parent = gapple
- local eatsound2 = Instance.new("Sound")
- eatsound2.SoundId = 'rbxassetid://3389703911'
- eatsound2.Volume = 1
- eatsound2.Parent = gapple
- local eatsound3 = Instance.new("Sound")
- eatsound3.SoundId = 'rbxassetid://3389705190'
- eatsound3.Volume = 1
- eatsound3.Parent = gapple
- local burpsound = Instance.new("Sound")
- burpsound.SoundId = 'rbxassetid://3362384054'
- burpsound.Volume = 1
- burpsound.Parent = gapple
- local equipped2 = false
- local using = false
- local function eat()
- local ate = false
- local can_eat = true
- local eatsid = 1
- spawn(function()
- while not ate do
- 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()
- wait(0.1)
- 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()
- wait(0.1)
- end
- 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()
- end)
- spawn(function()
- while not ate do
- if not equipped2 then
- can_eat = false
- return
- end
- eatsid = math.random(1,3)
- if eatsid == lasteatid then
- eatsid = eatsid + 1
- elseif eatsid == lasteatid and eatsid == 3 then
- eatsid = 1
- end
- lasteatid = eatsid
- if eatsid == 1 then
- eatsound:Play()
- wait(eatsound.TimeLength-0.1)
- elseif eatsid == 2 then
- eatsound2:Play()
- wait(eatsound2.TimeLength-0.1)
- elseif eatsid == 3 then
- eatsound3:Play()
- wait(eatsound3.TimeLength-0.1)
- end
- end
- end)
- if equipped2 and can_eat then else using = false; return; end;
- wait(1.5)
- burpsound:Play()
- ate = true
- left.Value = left.Value - 1
- gappletool.ToolTip = "Left: " .. left.Value
- effects.effect2(char,hum,torso,80,20)
- wait(0.2)
- if 0 >= left.Value then
- gappletool:Destroy()
- end
- end
- gappletool.Equipped:Connect(function()
- equipped2 = true
- end)
- gappletool.Unequipped:Connect(function()
- equipped2 = false
- end)
- ]]
- spawn(function()
- local pearltool = Instance.new("Tool")
- local handlee = Instance.new("Part")
- local ParticleEmitter2 = Instance.new("ParticleEmitter")
- local BillboardGui3 = Instance.new("BillboardGui")
- local ImageLabel4 = Instance.new("ImageLabel")
- pearltool.Name = "Ender Pearl"
- pearltool.Parent = owner.Backpack
- pearltool.Grip = CFrame.new(0.200000003, 0, 0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- pearltool.GripPos = Vector3.new(0.200000003, 0, 0.100000001)
- pearltool.ToolTip = "Dont look into their eyes while getting this.."
- pearltool.TextureId = "rbxassetid://140576058"
- handlee.Name = "Handle"
- handlee.Parent = pearltool
- 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)
- handlee.Orientation = Vector3.new(1.36000001, -97.8600006, -0.810000002)
- handlee.Position = Vector3.new(46.7503319, 4.53458595, 45.4952736)
- handlee.Rotation = Vector3.new(170.130005, -82.0199966, 169.419998)
- handlee.Color = Color3.new(0.0627451, 0.164706, 0.862745)
- handlee.Transparency = 1
- handlee.Size = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- handlee.BottomSurface = Enum.SurfaceType.Smooth
- handlee.BrickColor = BrickColor.new("Lapis")
- handlee.CanCollide = false
- handlee.Material = Enum.Material.Neon
- handlee.TopSurface = Enum.SurfaceType.Smooth
- handlee.brickColor = BrickColor.new("Lapis")
- handlee.Shape = Enum.PartType.Ball
- ParticleEmitter2.Parent = handlee
- ParticleEmitter2.Speed = NumberRange.new(0.60000002384186, 0.60000002384186)
- ParticleEmitter2.Color = ColorSequence.new(Color3.new(0.333333, 0, 0.498039),Color3.new(0.666667, 0, 1))
- ParticleEmitter2.LightInfluence = 1
- ParticleEmitter2.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter2.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
- ParticleEmitter2.Lifetime = NumberRange.new(0.5, 0.5)
- ParticleEmitter2.Rate = 10
- BillboardGui3.Name = "image"
- BillboardGui3.Parent = handlee
- BillboardGui3.Size = UDim2.new(1, 0, 1, 0)
- ImageLabel4.Parent = BillboardGui3
- ImageLabel4.Size = UDim2.new(1, 0, 1, 0)
- ImageLabel4.BackgroundColor = BrickColor.new("Institutional white")
- ImageLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel4.BackgroundTransparency = 1
- ImageLabel4.SizeConstraint = Enum.SizeConstraint.RelativeXX
- ImageLabel4.Image = "rbxassetid://140576058"
- local using3 = false
- local equipped3 = false
- local warp = Instance.new("Sound",torso)
- warp.SoundId = "rbxassetid://289556450"
- warp.Volume = 4
- warp.EmitterSize = 4
- function throww(mpos)
- local pag = Instance.new("Part")
- pag.Parent = game:GetService("Workspace")
- pag.CanCollide = false
- pag.Transparency = 1
- pag.Anchored = true
- pag.CanCollide = false
- pag.CFrame = CFrame.new(handlee.Position,mpos)
- local fake = handlee:Clone()
- fake.Parent = game:GetService("Workspace")
- fake.Name = "splash"
- fake.CanCollide = false
- fake.Velocity = pag.CFrame.lookVector * 300
- fake.Touched:connect(function(part)
- if part ~= nil then
- if part.Parent ~= nil then
- if part.Parent ~= char and part.Name ~= "Handle" and part.Name ~= "splash" then
- local sphere = Instance.new("Part",workspace)
- sphere.Shape = Enum.PartType.Ball
- sphere.BrickColor = BrickColor.new("Dark indigo")
- sphere.Size = Vector3.new(2,2,2)
- sphere.Material = Enum.Material.ForceField
- sphere.Anchored = true
- sphere.CanCollide = false
- sphere.Position = fake.Position
- spawn(function()
- for i = 0,9,1 do
- wait()
- sphere.Size = sphere.Size+Vector3.new(3,3,3)
- sphere.Transparency = sphere.Transparency+.1
- end
- sphere:Destroy()
- end)
- if not warp then
- warp = Instance.new("Sound")
- warp.SoundId = 'rbxassetid://3362346832'
- warp.Volume = 1
- warp.Parent = torso
- end
- warp.Volume = 4
- warp.EmitterSize = 4
- warp:Play()
- debris:AddItem(warp,3)
- local rotation = char.PrimaryPart.CFrame - char.PrimaryPart.Position
- char.PrimaryPart.CFrame = rotation + fake.Position + Vector3.new(0,4,0)
- fake:Destroy()
- end
- end
- end
- end)
- pearltool:Destroy()
- pag:Destroy()
- end
- pearltool.Equipped:Connect(function()
- equipped3 = true
- end)
- pearltool.Unequipped:Connect(function()
- equipped3 = false
- end)
- local remote2 = Instance.new("RemoteEvent",char)
- remote2.Name = "pearlremote"
- local code = [[
- local mouse = game:GetService("Players").LocalPlayer:GetMouse()
- local remote = script.Parent
- mouse.Button1Down:Connect(function()
- remote:FireServer(1,mouse.Hit.p)
- end)
- ]]
- NLS(code,remote2)
- remote2.OnServerEvent:Connect(function(plr,mode,data)
- if mode == 1 and equipped3 and not using3 then
- using3 = true
- throww(data)
- end
- end)
- end)
- spawn(function()
- local healgui = Instance.new("ScreenGui")
- local healthframe = Instance.new("Frame")
- healgui.Name = "Healthbar"
- healgui.Parent = plr.PlayerGui
- healgui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- healthframe.Parent = healgui
- healthframe.Position = UDim2.new(0, 0, 0.85, 0)
- healthframe.Size = UDim2.new(0, 750, 0, 0)
- healthframe.BackgroundColor = BrickColor.new("Institutional white")
- healthframe.BackgroundColor3 = Color3.new(1, 1, 1)
- healthframe.BackgroundTransparency = 1
- wait()
- local asset = {
- "rbxassetid://3751664112",
- "rbxassetid://3751604954",
- "rbxassetid://3751611972"
- }
- local ata = {}
- for i = 1, 10 do
- local imagelabel = Instance.new("ImageLabel")
- imagelabel.Size = UDim2.new(0, 25, 0, 25)
- imagelabel.BackgroundTransparency = 1
- imagelabel.Position = UDim2.new((i+16)*.04, 0, 0, 0)
- imagelabel.Parent = healthframe
- table.insert(ata, imagelabel)
- end
- while true do
- wait(0.1)
- local healthmeter = hum.Health/hum.MaxHealth
- for i, v in ipairs(ata) do
- if healthmeter >= i/10 then
- v.Image = asset[1]
- else
- if healthmeter > i/10-.05 then
- v.Image = asset[2]
- else
- v.Image = asset[3]
- end
- end
- end
- for i, v in ipairs(ata) do
- if healthmeter <= .2 then
- v.Position = UDim2.new((i+16)*.04, math.random(-4, 4), 0, math.random(-4, 4))
- else
- v.Position = UDim2.new((i+16)*.04, 0, 0, 0)
- end
- end
- end
- end)
- debris = game:GetService("Debris")
- tween = game:GetService("TweenService")
- local using = false
- local equipped = false
- local holding = false
- effects = {}
- function effects.sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- local hitsound2 = Instance.new("Sound")
- hitsound2.SoundId = 'rbxassetid://3362346832'
- hitsound2.Volume = 1.5
- hitsound2.Parent = handle
- local critsound = Instance.new("Sound")
- critsound.SoundId = 'rbxassetid://4801410586'
- critsound.Volume = 1.5
- critsound.Parent = handle
- function effects.effect(par,tarhum,weld,damage,targtorso,crit)
- if sword_health > 0 then
- sword_health = sword_health - math.random(1,2)
- end
- local confirm = Instance.new("IntValue",par)
- confirm.Name = plr.Name .. 'swordhit'
- if combat_18 then
- debris:AddItem(confirm,0.09)
- else
- debris:AddItem(confirm,0.12)
- end
- tarhum:TakeDamage(damage)
- if not hitsound2 then
- hitsound2 = Instance.new("Sound")
- hitsound2.SoundId = 'rbxassetid://3362346832'
- hitsound2.Volume = 1.5
- hitsound2.Parent = handle
- end
- if not critsound then
- critsound = Instance.new("Sound")
- critsound.SoundId = 'rbxassetid://4801410586'
- critsound.Volume = 1.5
- critsound.Parent = handle
- end
- if math.random(1,2) == 1 and crit then
- critsound.SoundId = 'rbxassetid://4801410586'
- elseif math.random(1,2) == 2 and crit then
- critsound.SoundId = 'rbxassetid://4801410149'
- elseif math.random(1,2) == 1 then
- hitsound2.SoundId = 'rbxassetid://3362346832'
- else
- hitsound2.SoundId = 'rbxassetid://3362337129'
- end
- if crit then
- critsound:Play()
- else
- hitsound2:Play()
- end
- spawn(function()
- local b = Instance.new("BodyVelocity")
- b.Parent = targtorso
- b.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- if can_w_tap then
- can_w_tap = false
- b.Velocity = torso.CFrame.LookVector*(kb*2) + Vector3.new(0,9,0)
- else
- b.Velocity = torso.CFrame.LookVector*(kb*1.25) + Vector3.new(0,9,0)
- end
- debris:AddItem(b,0.1)
- end)
- for i,v in pairs(par:GetDescendants()) do
- if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" and not v:IsDescendantOf(char) and not v.Parent:IsA("Tool") and v.Name ~= "fallblock" then
- spawn(function()
- local weld = Instance.new("Weld")
- local part = v:Clone()
- part.CanCollide = false
- part.Massless = true
- part.Anchored = false
- for i,n in pairs(part:GetDescendants()) do
- if not n:IsA("SpecialMesh") then
- n:Destroy()
- end
- if n:IsA("SpecialMesh") then
- n.TextureId = ""
- n.Scale = n.Scale * 1.001
- end
- end
- weld.Part0 = part
- weld.Part1 = v
- weld.Parent = part
- part.BrickColor = BrickColor.new("Really red")
- part.Size = v.Size * 1.001
- part.Material = Enum.Material.SmoothPlastic
- part.CFrame = v.CFrame
- part.Parent = v.Parent
- part.Name = "hurtcolor"
- if 0.6 >= v.Transparency then
- part.Transparency = 0.6
- end
- if v.Transparency > 0.6 then
- part.Transparency = v.Transparency*1.5
- end
- part.CanCollide = false
- wait(0.1)
- part:Destroy()
- end)
- end
- end
- end
- function effects.effect2(par,tarhum,weld,health_boost,duration)
- local o1 = Instance.new("Part")
- local o2 = Instance.new("ParticleEmitter")
- o1.Name = "effects"
- o1.Parent = par
- o1.Transparency = 1
- o1.Rotation = Vector3.new(0.0500000007, 0, -0.0199999996)
- o1.Size = Vector3.new(2.39999962, 5.17000914, 0.970000446)
- 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)
- o1.BottomSurface = Enum.SurfaceType.Smooth
- o1.TopSurface = Enum.SurfaceType.Smooth
- o2.Parent = o1
- o2.Size = NumberSequence.new(0.74999988079071,0.5,0)
- o2.Color = ColorSequence.new(Color3.new(0.666667, 0.666667, 0.666667),Color3.new(0.666667, 0.666667, 0.666667))
- o2.LightEmission = 0.80000001192093
- o2.Texture = "rbxassetid://3552571288"
- o2.Lifetime = NumberRange.new(2,2)
- o2.Rate = 1.5
- o2.RotSpeed = NumberRange.new(270,270)
- o2.Speed = NumberRange.new(1.5,1.5)
- o2.VelocitySpread = 45
- o2.Color = ColorSequence.new(Color3.new(0.666667, 0.666667, 0.666667),Color3.new(0.666667, 0.666667, 0.666667))
- local tempweld2 = Instance.new("Weld")
- tempweld2.Parent = o1
- tempweld2.Part0 = weld
- tempweld2.Part1 = o1
- tempweld2.C0 = weld.CFrame:Inverse()
- tempweld2.C1 = o1.CFrame:Inverse()
- tempweld2.C0 = CFrame.new(0,0,0)
- o2.Enabled = true
- local cc,chealth,effecting,hit = nil,tarhum.Health,true,false
- local extra_health = nil
- spawn(function()
- wait(duration)
- effecting = false
- if o2 then
- o2:Destroy()
- end
- end)
- cc = tarhum.HealthChanged:Connect(function(health)
- if health >= chealth then chealth = tarhum.Health; return; end;
- if not extra_health then hit = true; cc:Disconnect(); return; end;
- if extra_health and tarhum.Health > 100 then
- hit = true
- extra_health.Value = extra_health.Value - (chealth - health);
- tarhum.MaxHealth = 100 + extra_health.Value;
- elseif extra_health and 100 > tarhum.Health then
- hit = true
- if extra_health and 0 >= extra_health.Value then
- tarhum.MaxHealth = 100
- elseif extra_health and extra_health.Value > 0 then
- extra_health.Value = extra_health.Value - (chealth - health)
- tarhum.MaxHealth = 100 + extra_health.Value
- end
- end
- if extra_health and 0 >= extra_health.Value then
- tarhum.MaxHealth = 100
- cc:Disconnect()
- hit = true
- if extra_health then
- extra_health:Destroy()
- end
- end
- chealth = tarhum.Health
- end)
- local e_h = tarhum:FindFirstChild("extra_health")
- if e_h then
- e_h:Destroy()
- end
- extra_health = Instance.new("NumberValue")
- extra_health.Name = 'extra_health'
- extra_health.Value = health_boost
- extra_health.Parent = tarhum
- tarhum.MaxHealth = 100 + health_boost
- tarhum.Health = tarhum.Health + health_boost
- spawn(function()
- while tarhum and effecting do
- tarhum.Health = tarhum.Health + 5
- wait(1)
- end
- --[[
- while not hit and extra_health do
- tarhum.Health = tarhum.Health + 10*0.4
- wait(1.25)
- end
- ]]
- end)
- end
- local stamina = 100
- function recharge()
- if 100 > stamina then
- stamina = stamina + 10
- end
- if stamina > 100 then
- stamina = 100
- end
- end
- spawn(function()
- while wait(0.06) do
- wait(0.06)
- recharge()
- end
- end)
- local isFalling = false
- hum.StateChanged:Connect(function(old,new)
- if new == Enum.HumanoidStateType.Landed then
- isFalling = false
- elseif new == Enum.HumanoidStateType.Running then
- isFalling = false
- elseif new == Enum.HumanoidStateType.RunningNoPhysics then
- isFalling = false
- elseif new == Enum.HumanoidStateType.Jumping then
- isFalling = true
- elseif new == Enum.HumanoidStateType.FallingDown then
- isFalling = true
- elseif new == Enum.HumanoidStateType.Freefall then
- isFalling = true
- elseif new == Enum.HumanoidStateType.Climbing then
- isFalling = false
- end
- end)
- local hitanimid = 0
- function hit(target,close)
- spawn(function()
- hitanimid = 1
- if hitanimid == 1 then else return end
- 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()
- hitanimid = 2
- wait(0.08)
- if hitanimid == 2 then else return end
- 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()
- hitanimid = 3
- wait(0.04)
- if hitanimid == 3 then else return end
- 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()
- end)
- if (combat_18 or (stamina > 30 and not combat_18)) and ((target and close) or not first_person) then else return end
- local temp_dmg = 0
- local crit = false
- if combat_18 then
- temp_dmg = dmg
- else
- if isFalling then
- temp_dmg = (dmg*1.57142857)
- crit = true
- elseif stamina > 30 then
- temp_dmg = dmg
- end
- stamina = 0
- end
- local connection
- if not first_person then
- connection = handle.Touched:Connect(function(obj)
- local targchar,targtorso,targhum
- pcall(function()
- targchar = obj.Parent
- end)
- pcall(function()
- targtorso = targchar:FindFirstChild("Torso") or targchar:FindFirstChild("HumanoidRootPart")
- end)
- pcall(function()
- targhum = targchar:FindFirstChildOfClass("Humanoid")
- end)
- if targchar and targchar ~= char and targtorso and targhum then
- if targhum ~= nil then
- if targhum.Parent then
- if not targhum.Parent:FindFirstChild(plr.Name .. "swordhit") and obj.Parent:IsA("Model") and targhum.Health > 0 then
- effects.effect(targhum.Parent,targhum,targchar.PrimaryPart,temp_dmg,targtorso,crit)
- end
- end
- end
- end
- end)
- elseif first_person then
- local targchar,targtorso,targhum
- for i,v in pairs(workspace:GetChildren()) do
- if target:IsDescendantOf(v) then
- targchar = v
- end
- end
- --[[
- pcall(function()
- targchar = target.Parent
- end)
- ]]
- pcall(function()
- targtorso = targchar:FindFirstChild("Torso") or targchar:FindFirstChild("HumanoidRootPart")
- end)
- pcall(function()
- targhum = targchar:FindFirstChildOfClass("Humanoid")
- end)
- if target and targchar and targchar ~= char and targtorso and targhum then
- if targhum ~= nil then
- if targhum.Parent then
- if not targhum.Parent:FindFirstChild(plr.Name .. "swordhit") and targchar:IsA("Model") and targhum.Health > 0 then
- effects.effect(targhum.Parent,targhum,targchar.PrimaryPart,temp_dmg,targtorso,crit)
- end
- end
- end
- end
- end
- if combat_18 then
- wait(0.09)
- else
- wait(0.12)
- end
- if connection then
- spawn(function()
- wait(0.1)
- connection:Disconnect()
- end)
- end
- end
- tool.Equipped:Connect(function()
- equipped = true
- end)
- tool.Unequipped:Connect(function()
- equipped = false
- end)
- local mouseremote = Instance.new("RemoteEvent")
- mouseremote.Name = "mouseremote"
- mouseremote.Parent = tool
- local code = [[
- workspace.Camera.FieldOfView = 90
- local plr = game:GetService("Players").LocalPlayer
- local char = plr.Character
- local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
- local hum = char:FindFirstChildOfClass("Humanoid")
- local mouse = plr:GetMouse()
- local remote = script.Parent:WaitForChild("mouseremote")
- mouse.TargetFilter = char
- plr.CameraMode = Enum.CameraMode.LockFirstPerson
- hum.Died:Connect(function()
- plr.CameraMode = Enum.CameraMode.Classic
- workspace.Camera.FieldOfView = 70
- end)
- mouse.Button1Down:Connect(function()
- local target = mouse.Target
- local mag = nil
- local close = false
- if target and torso then
- mag = (torso.Position - target.Position).magnitude
- end
- if mag and 8 >= mag then
- close = true
- end
- remote:FireServer(1,target,close)
- end)
- mouse.KeyDown:Connect(function(key)
- if key == "e" then
- remote:FireServer(2,true)
- end
- end)
- mouse.KeyUp:Connect(function(key)
- if key == "e" then
- remote:FireServer(2,false)
- end
- end)
- ]]
- NLS(code,tool)
- mouseremote.OnServerEvent:Connect(function(plr,mode,data,data2)
- if mode == 1 and equipped and not using and not blocking then
- using = true
- hit(data,data2)
- using = false
- end
- if mode == 2 then
- if data then
- blocking = true
- 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)
- --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()
- elseif not data then
- blocking = false
- 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)
- --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()
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement