Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made by N3xul
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Tool")
- o2 = Instance.new("Part")
- o3 = Instance.new("SpecialMesh")
- o4 = Instance.new("Sound")
- o5 = Instance.new("Sound")
- o7 = Instance.new("Script")
- o8 = Instance.new("LocalScript")
- o9 = Instance.new("Animation")
- o10 = Instance.new("Animation")
- o11 = Instance.new("Animation")
- o12 = Instance.new("LocalScript")
- o13 = Instance.new("Fire")
- o14 = Instance.new("Animation")
- o15 = Instance.new("Script")
- o1.Name = "BoneScythe"
- o1.Parent = mas
- o1.TextureId = "http://www.roblox.com/asset/?id=95891250"
- o1.GripForward = Vector3.new(-1, 0, -0)
- o1.GripPos = Vector3.new(0.939999998, -4.69999981, -0.159999996)
- o1.GripRight = Vector3.new(0, 0, -1)
- o2.Name = "Handle"
- o2.Parent = o1
- o2.Position = Vector3.new(-36.2000008, 9.70189285, 170.599991)
- o2.Rotation = Vector3.new(-0.00712239183, 2.90283042e-005, -0.0461782068)
- o2.FormFactor = Enum.FormFactor.Custom
- o2.Size = Vector3.new(4.59999704, 2.20000029, 0.500000358)
- o2.CFrame = CFrame.new(-36.2000008, 9.70189285, 170.599991, 0.999998569, 0.000805960735, 5.06639481e-007, -0.000806277676, 0.999998569, 0.000124309096, 8.94069672e-008, -0.000124018639, 0.999999285)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Position = Vector3.new(-36.2000008, 9.70189285, 170.599991)
- o3.Parent = o2
- o3.MeshId = "http://www.roblox.com/asset/?id=95891318"
- o3.Scale = Vector3.new(0.800000012, 0.800000012, 0.800000012)
- o3.TextureId = "http://www.roblox.com/asset/?id=95891299"
- o3.MeshType = Enum.MeshType.FileMesh
- o4.Name = "SwordSlash"
- o4.Parent = o2
- o4.SoundId = "rbxasset://sounds//swordslash.wav"
- o4.Volume = 1
- o5.Name = "Gong"
- o5.Parent = o2
- o5.SoundId = "http://www.roblox.com/asset/?id=96098241"
- o5.Volume = 1
- o7.Name = "ScytheScript"
- o7.Parent = o1
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- -----------------
- --| Constants |--
- -----------------
- local HIT_DAMAGE = 20
- local LIMB_DEBRIS_TIME = 4 --NOTE: Should be less than respawn time
- local SLASH_COOLDOWN = 0.7
- local IGNORE_LIST = {torso = 1, handle = 1, effect = 1, water = 1} --NOTE: Keys must be lowercase, values must evaluate to true
- --------------------
- --| WaitForChild |--
- --------------------
- -- Waits for parent.child to exist, then returns it
- local function WaitForChild(parent, childName)
- assert(parent, "ERROR: WaitForChild: parent is nil")
- while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
- return parent[childName]
- end
- -----------------
- --| Variables |--
- -----------------
- local DebrisService = Game:GetService('Debris')
- local PlayersService = Game:GetService('Players')
- local Tool = script.Parent
- local ToolHandle = Tool.Handle
- local MyModel = nil
- local MyPlayer = nil
- -------------------------
- --| Utility Functions |--
- -------------------------
- -- Returns a character ancestor and its Humanoid, or nil
- local function FindCharacterAncestor(subject)
- if subject and subject ~= Workspace then
- local humanoid = subject:FindFirstChild('Humanoid')
- if humanoid then
- return subject, humanoid
- else
- return FindCharacterAncestor(subject.Parent)
- end
- end
- return nil
- end
- -- Removes any old creator tags and applies new ones to the specified target
- local function ApplyTags(target)
- while target:FindFirstChild('creator') do
- target.creator:Destroy()
- end
- local creatorTag = Instance.new('ObjectValue')
- creatorTag.Value = MyPlayer
- creatorTag.Name = 'creator' --NOTE: Must be called 'creator' for website stats
- local iconTag = Instance.new('StringValue')
- iconTag.Value = Tool.TextureId
- iconTag.Name = 'icon'
- iconTag.Parent = creatorTag
- creatorTag.Parent = target
- DebrisService:AddItem(creatorTag, 4)
- end
- -----------------------
- --| Other Functions |--
- -----------------------
- local function OnTouched(otherPart)
- if otherPart and not IGNORE_LIST[string.lower(otherPart.Name)] then
- local character, humanoid = FindCharacterAncestor(otherPart)
- if character and humanoid and character ~= MyModel then
- ApplyTags(humanoid)
- humanoid:TakeDamage(HIT_DAMAGE)
- if humanoid.Health > 0 and humanoid.Torso then -- Cut limbs
- for _, child in pairs(humanoid.Torso:GetChildren()) do
- if child:IsA('JointInstance') and (child.Part0 == otherPart or child.Part1 == otherPart) then
- child:Destroy()
- DebrisService:AddItem(otherPart, LIMB_DEBRIS_TIME)
- otherPart.Parent = Workspace
- otherPart.CanCollide = true
- end
- end
- end
- end
- end
- end
- local function OnEquipped()
- MyModel = Tool.Parent
- MyPlayer = PlayersService:GetPlayerFromCharacter(MyModel)
- end
- local function OnActivated()
- if Tool.Enabled and MyModel:FindFirstChild('Humanoid') and MyModel.Humanoid.Health > 0 then
- Tool.Enabled = false --NOTE: Starts the animation
- local connection = ToolHandle.Touched:connect(OnTouched)
- Delay(0.4, function() --NOTE: Hardcoded length of animation :[
- if connection then
- connection:disconnect()
- end
- end)
- local slashSound = ToolHandle:FindFirstChild('SwordSlash')
- if slashSound then
- slashSound:Play()
- end
- wait(SLASH_COOLDOWN)
- Tool.Enabled = true
- end
- end
- --------------------
- --| Script Logic |--
- --------------------
- Tool.Equipped:connect(OnEquipped)
- Tool.Activated:connect(OnActivated)
- end,o7)
- end))
- o8.Name = "MostAnimations"
- o8.Parent = o1
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- --------------------
- --| WaitForChild |--
- --------------------
- -- Waits for parent.child to exist, then returns it
- local function WaitForChild(parent, childName)
- assert(parent, "ERROR: WaitForChild: parent is nil")
- while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
- return parent[childName]
- end
- -----------------
- --| Variables |--
- -----------------
- local Tool = script.Parent
- local ScytheEquipAnimation = WaitForChild(script, 'ScytheEquip2')
- local ScytheIdleAnimation = WaitForChild(script, 'ScytheIdle2')
- local ScytheSlashAnimation = WaitForChild(script, 'ScytheSlash')
- local ScytheEquipTrack = nil
- local ScytheIdleTrack = nil
- local ScytheSlashTrack = nil
- -----------------
- --| Functions |--
- -----------------
- local function OnEquipped()
- local myModel = Tool.Parent
- local humanoid = myModel:FindFirstChild('Humanoid')
- if humanoid then -- Preload animations
- ScytheEquipTrack = humanoid:LoadAnimation(ScytheEquipAnimation)
- if ScytheEquipTrack then ScytheEquipTrack:Play() end
- ScytheIdleTrack = humanoid:LoadAnimation(ScytheIdleAnimation)
- if ScytheIdleTrack then ScytheIdleTrack:Play() end
- ScytheSlashTrack = humanoid:LoadAnimation(ScytheSlashAnimation)
- end
- end
- local function OnChanged(property)
- if property == 'Enabled' and Tool.Enabled == false then
- if ScytheSlashTrack then ScytheSlashTrack:Play() end
- end
- end
- local function OnUnequipped()
- -- Stop all animations
- if ScytheEquipTrack then ScytheEquipTrack:Stop() end
- if ScytheIdleTrack then ScytheIdleTrack:Stop() end
- if ScytheSlashTrack then ScytheSlashTrack:Stop() end
- end
- --------------------
- --| Script Logic |--
- --------------------
- Tool.Equipped:connect(OnEquipped)
- Tool.Changed:connect(OnChanged)
- Tool.Unequipped:connect(OnUnequipped)
- end,o8)
- end))
- o9.Name = "ScytheEquip2"
- o9.Parent = o8
- o9.AnimationId = "http://www.roblox.com/Asset?ID=96064636"
- o10.Name = "ScytheIdle2"
- o10.Parent = o8
- o10.AnimationId = "http://www.roblox.com/Asset?ID=96065457"
- o11.Name = "ScytheSlash"
- o11.Parent = o8
- o11.AnimationId = "http://www.roblox.com/Asset?ID=96071496"
- o12.Name = "RaiseSkeletons"
- o12.Parent = o1
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- -----------------
- --| Constants |--
- -----------------
- local SPAWN_RADIUS = 8 -- Studs
- local SUMMON_COOLDOWN = 8
- local SKELETON_ASSET_ID = 53604463
- local SKELETON_DURATION = 30
- --------------------
- --| WaitForChild |--
- --------------------
- -- Waits for parent.child to exist, then returns it
- local function WaitForChild(parent, childName)
- assert(parent, "ERROR: WaitForChild: parent is nil")
- while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
- return parent[childName]
- end
- -----------------
- --| Variables |--
- -----------------
- local InsertService = Game:GetService('InsertService')
- local DebrisService = Game:GetService('Debris')
- local PlayersService = Game:GetService('Players')
- local Tool = script.Parent
- local ToolHandle = Tool.Handle
- local MyPlayer = PlayersService.LocalPlayer
- local SkeletonScript = WaitForChild(script, 'SkeletonScript')
- local Fire = WaitForChild(script, 'Fire')
- local SummonAnimation = WaitForChild(script, 'Summon')
- local GongSound = WaitForChild(ToolHandle, 'Gong')
- local MyModel = nil
- local Skeleton = nil
- local LastSummonTime = 0
- local SummonTrack = nil
- -----------------
- --| Functions |--
- -----------------
- local function MakeSkeleton()
- Skeleton = InsertService:LoadAsset(SKELETON_ASSET_ID):GetChildren()[1]
- if Skeleton then
- local head = Skeleton:FindFirstChild('Head')
- if head then
- head.Transparency = 0.99
- end
- local skeletonScriptClone = SkeletonScript:Clone()
- skeletonScriptClone.Parent = Skeleton
- skeletonScriptClone.Disabled = false
- local creatorTag = Instance.new('ObjectValue')
- creatorTag.Name = 'creator' --NOTE: Must be called 'creator' for website stats
- creatorTag.Value = MyPlayer
- local iconTag = Instance.new('StringValue', creatorTag)
- iconTag.Name = 'icon'
- iconTag.Value = Tool.TextureId
- creatorTag.Parent = Skeleton
- end
- end
- local function SpawnSkeleton(spawnPosition)
- if Skeleton then
- -- Hellfire
- local firePart = Instance.new('Part')
- firePart.Name = 'Effect'
- firePart.Transparency = 1
- firePart.FormFactor = Enum.FormFactor.Custom
- firePart.Size = Vector3.new()
- firePart.Anchored = true
- firePart.CanCollide = false
- firePart.CFrame = CFrame.new(spawnPosition - Vector3.new(0, 4, 0))
- local fireClone = Fire:Clone()
- fireClone.Parent = firePart
- Delay(0.5, function()
- if fireClone then
- fireClone.Enabled = false
- end
- end)
- DebrisService:AddItem(firePart, 3)
- firePart.Parent = Workspace
- -- Spawn
- local skeletonClone = Skeleton:Clone()
- DebrisService:AddItem(skeletonClone, SKELETON_DURATION)
- skeletonClone.Parent = Workspace
- skeletonClone:MoveTo(spawnPosition) --NOTE: Model must be in Workspace
- -- Rise!
- local torso = skeletonClone:FindFirstChild('Torso')
- if torso then
- torso.CFrame = torso.CFrame - Vector3.new(0, 4.5, 0)
- for i = 0, 4.5, 0.45 do
- torso.CFrame = torso.CFrame + Vector3.new(0, i, 0)
- wait(1/30)
- end
- end
- end
- end
- local function RaiseSkeletons()
- if not Skeleton then -- Try again
- MakeSkeleton()
- end
- for theta = -135, -45, 45 do
- SpawnSkeleton(MyModel.Torso.CFrame:pointToWorldSpace(Vector3.new(math.cos(theta), 0, math.sin(theta)) * SPAWN_RADIUS))
- end
- end
- --NOTE: Ugly!
- local function OnKeyDown(key)
- key = string.lower(key)
- if key == 'e' then
- local now = time()
- if now > LastSummonTime + SUMMON_COOLDOWN then
- LastSummonTime = now
- local humanoid = MyModel:FindFirstChild('Humanoid')
- if humanoid then
- humanoid.WalkSpeed = 0
- end
- Spawn(function()
- for i = 1, 3 do
- if GongSound then GongSound:Play() end
- wait(1.5)
- end
- end)
- if SummonTrack then
- SummonTrack:Play()
- wait(3.125)
- end
- RaiseSkeletons()
- wait(1)
- if humanoid then
- humanoid.WalkSpeed = 16
- end
- end
- end
- end
- local function OnEquipped(mouse)
- MyModel = Tool.Parent
- mouse.KeyDown:connect(OnKeyDown)
- local humanoid = MyModel:FindFirstChild('Humanoid')
- if humanoid then -- Preload animations
- SummonTrack = humanoid:LoadAnimation(SummonAnimation)
- end
- end
- local function OnUnequipped()
- if SummonTrack then SummonTrack:Stop() end
- end
- --------------------
- --| Script Logic |--
- --------------------
- MakeSkeleton()
- Tool.Equipped:connect(OnEquipped)
- Tool.Unequipped:connect(OnUnequipped)
- end,o12)
- end))
- o13.Parent = o12
- o13.Size = 10
- o13.Color = Color3.new(1, 0, 0)
- o13.Heat = 25
- o13.SecondaryColor = Color3.new(0, 0, 0)
- o14.Name = "Summon"
- o14.Parent = o12
- o14.AnimationId = "http://www.roblox.com/Asset?ID=93693205"
- o15.Name = "SkeletonScript"
- o15.Parent = o12
- o15.Disabled = true
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- --Made by Stickmasterluke
- --Zombie artificial stupidity script
- --(Modified for skeletons)
- sp=script.Parent
- lastattack=0
- nextrandom=0
- --nextsound=0
- nextjump=0
- chasing=false
- variance=4
- damage=11
- attackrange=4.5
- sightrange=60
- runspeed=18
- wonderspeed=8
- healthregen=false
- colors={"Sand red","Dusty Rose","Medium blue","Sand blue","Lavender","Earth green","Brown","Medium stone grey","Brick yellow"}
- function raycast(spos,vec,currentdist)
- local hit2,pos2=game.Workspace:FindPartOnRay(Ray.new(spos+(vec*.01),vec*currentdist),sp)
- if hit2~=nil and pos2 then
- if hit2.Transparency>=.8 or hit2.Name=="Handle" or string.sub(hit2.Name,1,6)=="Effect" then
- local currentdist=currentdist-(pos2-spos).magnitude
- return raycast(pos2,vec,currentdist)
- end
- end
- return hit2,pos2
- end
- function waitForChild(parent,childName)
- local child=parent:findFirstChild(childName)
- if child then return child end
- while true do
- child=parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- -- ANIMATION
- -- declarations
- local Torso=waitForChild(sp,"Torso")
- local Head=waitForChild(sp,"Head")
- local RightShoulder=waitForChild(Torso,"Right Shoulder")
- local LeftShoulder=waitForChild(Torso,"Left Shoulder")
- local RightHip=waitForChild(Torso,"Right Hip")
- local LeftHip=waitForChild(Torso,"Left Hip")
- local Neck=waitForChild(Torso,"Neck")
- local Humanoid=waitForChild(sp,"Humanoid")
- local BodyColors=waitForChild(sp,"Body Colors")
- local pose="Standing"
- --local hitsound=waitForChild(Torso,"HitSound")
- --[[
- local sounds={
- waitForChild(Torso,"GroanSound"),
- waitForChild(Torso,"RawrSound")
- }
- --]]
- if healthregen then
- local regenscript=waitForChild(sp,"HealthRegenerationScript")
- regenscript.Disabled=false
- end
- Humanoid.WalkSpeed=wonderspeed
- local toolAnim="None"
- local toolAnimTime=0
- BodyColors.HeadColor=BrickColor.new("Grime")
- local randomcolor1=colors[math.random(1,#colors)]
- BodyColors.TorsoColor=BrickColor.new(randomcolor1)
- BodyColors.LeftArmColor=BrickColor.new(randomcolor1)
- BodyColors.RightArmColor=BrickColor.new(randomcolor1)
- local randomcolor2=colors[math.random(1,#colors)]
- BodyColors.LeftLegColor=BrickColor.new(randomcolor2)
- BodyColors.RightLegColor=BrickColor.new(randomcolor2)
- function onRunning(speed)
- if speed>0 then
- pose="Running"
- else
- pose="Standing"
- end
- end
- function onDied()
- pose="Dead"
- end
- function onJumping()
- pose="Jumping"
- end
- function onClimbing()
- pose="Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- function moveJump()
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- RightShoulder.DesiredAngle=3.14
- LeftShoulder.DesiredAngle=-3.14
- RightHip.DesiredAngle=0
- LeftHip.DesiredAngle=0
- end
- function moveFreeFall()
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity =0.5
- RightShoulder.DesiredAngle=3.14
- LeftShoulder.DesiredAngle=-3.14
- RightHip.DesiredAngle=0
- LeftHip.DesiredAngle=0
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder.DesiredAngle=3.14 /2
- LeftShoulder.DesiredAngle=-3.14 /2
- RightHip.DesiredAngle=3.14 /2
- LeftHip.DesiredAngle=-3.14 /2
- end
- function animate(time)
- local amplitude
- local frequency
- if (pose == "Jumping") then
- moveJump()
- return
- end
- if (pose == "FreeFall") then
- moveFreeFall()
- return
- end
- if (pose == "Seated") then
- moveSit()
- return
- end
- local climbFudge = 0
- if (pose == "Running") then
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- amplitude = 1
- frequency = 9
- elseif (pose == "Climbing") then
- RightShoulder.MaxVelocity = 0.5
- LeftShoulder.MaxVelocity = 0.5
- amplitude = 1
- frequency = 9
- climbFudge = 3.14
- else
- amplitude = 0.1
- frequency = 1
- end
- desiredAngle = amplitude * math.sin(time*frequency)
- if not chasing and frequency==9 then
- frequency=4
- end
- if chasing then
- RightShoulder.DesiredAngle=math.pi/2
- LeftShoulder.DesiredAngle=-math.pi/2
- RightHip.DesiredAngle=-desiredAngle*2
- LeftHip.DesiredAngle=-desiredAngle*2
- else
- RightShoulder.DesiredAngle=desiredAngle + climbFudge
- LeftShoulder.DesiredAngle=desiredAngle - climbFudge
- RightHip.DesiredAngle=-desiredAngle
- LeftHip.DesiredAngle=-desiredAngle
- end
- end
- function attack(time,attackpos)
- if time-lastattack>=1 then
- local hit,pos=raycast(Torso.Position,(attackpos-Torso.Position).unit,attackrange)
- if hit and hit.Parent~=nil and hit.Parent.Name~=sp.Name then
- local h=hit.Parent:FindFirstChild("Humanoid")
- if h then
- local creator=sp:FindFirstChild("creator")
- if creator then
- if creator.Value~=nil then
- if creator.Value~=game.Players:GetPlayerFromCharacter(h.Parent) then
- for i,oldtag in ipairs(h:GetChildren()) do
- if oldtag.Name=="creator" then
- oldtag:remove()
- end
- end
- creator:clone().Parent=h
- else
- return
- end
- end
- end
- h:TakeDamage(damage)
- --[[
- hitsound.Volume=.5+(.5*math.random())
- hitsound.Pitch=.5+math.random()
- hitsound:Play()
- --]]
- if RightShoulder and LeftShoulder then
- RightShoulder.CurrentAngle=0
- LeftShoulder.CurrentAngle=0
- end
- end
- end
- lastattack=time
- end
- end
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- function populatehumanoids(mdl)
- if mdl.ClassName=="Humanoid" then
- table.insert(humanoids,mdl)
- end
- for i2,mdl2 in ipairs(mdl:GetChildren()) do
- populatehumanoids(mdl2)
- end
- end
- --[[
- function playsound(time)
- nextsound=time+5+(math.random()*5)
- local randomsound=sounds[math.random(1,#sounds)]
- randomsound.Volume=.5+(.5*math.random())
- randomsound.Pitch=.5+(.5*math.random())
- randomsound:Play()
- end
- --]]
- while sp.Parent~=nil and Humanoid and Humanoid.Parent~=nil and Humanoid.Health>0 and Torso and Head and Torso~=nil and Torso.Parent~=nil do
- local _,time=wait(1/3)
- humanoids={}
- populatehumanoids(game.Workspace)
- closesttarget=nil
- closestdist=sightrange
- local creator=sp:FindFirstChild("creator")
- for i,h in ipairs(humanoids) do
- if h and h.Parent~=nil then
- if h.Health>0 and h.Parent.Name~=sp.Name and h.Parent~=sp then
- local plr=game.Players:GetPlayerFromCharacter(h.Parent)
- if creator==nil or plr==nil or creator.Value~=plr then
- local t=h.Parent:FindFirstChild("Torso")
- if t~=nil then
- local dist=(t.Position-Torso.Position).magnitude
- if dist<closestdist then
- closestdist=dist
- closesttarget=t
- end
- end
- end
- end
- end
- end
- if closesttarget~=nil then
- if not chasing then
- --playsound(time)
- chasing=true
- Humanoid.WalkSpeed=runspeed
- end
- Humanoid:MoveTo(closesttarget.Position+(Vector3.new(1,1,1)*(variance*((math.random()*2)-1))),closesttarget)
- if math.random()<.5 then
- attack(time,closesttarget.Position)
- end
- else
- if chasing then
- chasing=false
- Humanoid.WalkSpeed=wonderspeed
- end
- if time>nextrandom then
- nextrandom=time+3+(math.random()*5)
- local randompos=Torso.Position+((Vector3.new(1,1,1)*math.random()-Vector3.new(.5,.5,.5))*40)
- Humanoid:MoveTo(randompos,game.Workspace.Terrain)
- end
- end
- --[[
- if time>nextsound then
- playsound(time)
- end
- --]]
- if time>nextjump then
- nextjump=time+7+(math.random()*5)
- Humanoid.Jump=true
- end
- animate(time)
- end
- wait(4)
- sp:remove() --Rest In Pizza
- end,o15)
- end))
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = game:GetService("Players").LocalPlayer.Backpack
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement