Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function 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
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Decal3 = Instance.new("Decal")
- ParticleEmitter4 = Instance.new("ParticleEmitter")
- ParticleEmitter5 = Instance.new("ParticleEmitter")
- Weld6 = Instance.new("Weld")
- Part7 = Instance.new("Part")
- Decal8 = Instance.new("Decal")
- Motor6D9 = Instance.new("Motor6D")
- Motor6D10 = Instance.new("Motor6D")
- Motor6D11 = Instance.new("Motor6D")
- Motor6D12 = Instance.new("Motor6D")
- Motor6D13 = Instance.new("Motor6D")
- Part14 = Instance.new("Part")
- Part15 = Instance.new("Part")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Humanoid18 = Instance.new("Humanoid")
- Model19 = Instance.new("Model")
- Model20 = Instance.new("Model")
- Part21 = Instance.new("Part")
- Motor6D22 = Instance.new("Motor6D")
- Script23 = Instance.new("Script")
- LocalScript24 = Instance.new("LocalScript")
- BodyColors25 = Instance.new("BodyColors")
- Script26 = Instance.new("Script")
- StringValue27 = Instance.new("StringValue")
- Animation28 = Instance.new("Animation")
- StringValue29 = Instance.new("StringValue")
- Animation30 = Instance.new("Animation")
- StringValue31 = Instance.new("StringValue")
- Animation32 = Instance.new("Animation")
- NumberValue33 = Instance.new("NumberValue")
- Animation34 = Instance.new("Animation")
- NumberValue35 = Instance.new("NumberValue")
- StringValue36 = Instance.new("StringValue")
- Animation37 = Instance.new("Animation")
- StringValue38 = Instance.new("StringValue")
- Animation39 = Instance.new("Animation")
- StringValue40 = Instance.new("StringValue")
- Animation41 = Instance.new("Animation")
- StringValue42 = Instance.new("StringValue")
- Animation43 = Instance.new("Animation")
- StringValue44 = Instance.new("StringValue")
- Animation45 = Instance.new("Animation")
- Pants46 = Instance.new("Pants")
- Script47 = Instance.new("Script")
- Script48 = Instance.new("Script")
- CharacterMesh49 = Instance.new("CharacterMesh")
- CharacterMesh50 = Instance.new("CharacterMesh")
- CharacterMesh51 = Instance.new("CharacterMesh")
- CharacterMesh52 = Instance.new("CharacterMesh")
- CharacterMesh53 = Instance.new("CharacterMesh")
- Hat54 = Instance.new("Hat")
- Part55 = Instance.new("Part")
- SpecialMesh56 = Instance.new("SpecialMesh")
- Script57 = Instance.new("Script")
- LocalScript58 = Instance.new("LocalScript")
- Script59 = Instance.new("Script")
- Camera60 = Instance.new("Camera")
- Model0.Name = "Laina"
- Model0.Parent = Model0
- Model0.PrimaryPart = Part1
- Part1.Name = "Head"
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(6.10009718, 12.638236, -3.32999802, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(6.10009718, 12.638236, -3.32999802)
- Part1.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part1.Size = Vector3.new(2, 1, 1)
- Part1.BackParamA = -99999
- Part1.BackParamB = 99999
- Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.BottomParamA = -99999
- Part1.BottomParamB = 99999
- Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.BrickColor = BrickColor.new("Cool yellow")
- Part1.CanCollide = false
- Part1.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part1.Elasticity = 0
- Part1.Friction = 2
- Part1.FrontParamA = -99999
- Part1.FrontParamB = 99999
- Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.LeftParamA = -99999
- Part1.LeftParamB = 99999
- Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.RightParamA = -99999
- Part1.RightParamB = 99999
- Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.TopParamA = -99999
- Part1.TopParamB = 99999
- Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.brickColor = BrickColor.new("Cool yellow")
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh2.Parent = Part1
- SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal3.Name = "face"
- Decal3.Parent = Part1
- Decal3.Texture = "rbxassetid://116690930"
- ParticleEmitter4.Name = "Hearts"
- ParticleEmitter4.Parent = Part1
- ParticleEmitter4.Speed = NumberRange.new(1, 1)
- ParticleEmitter4.Enabled = false
- ParticleEmitter4.Texture = "rbxassetid://332222673"
- ParticleEmitter4.Size = NumberSequence.new(0,0.30000001192093,1,0.30000001192093,0.3125,1.3749998807907,0.30000001192093,0)
- ParticleEmitter4.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter4.Rate = 10
- ParticleEmitter4.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter4.SpreadAngle = Vector2.new(50, 50)
- ParticleEmitter4.VelocitySpread = 50
- ParticleEmitter5.Name = "BrokenHearts"
- ParticleEmitter5.Parent = Part1
- ParticleEmitter5.Speed = NumberRange.new(3, 3)
- ParticleEmitter5.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter5.Enabled = false
- ParticleEmitter5.Texture = "rbxassetid://11476663"
- ParticleEmitter5.Size = NumberSequence.new(0,0.30000001192093,1,0.30000001192093,0.30000001192093,0)
- ParticleEmitter5.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter5.Rate = 10
- ParticleEmitter5.RotSpeed = NumberRange.new(-100, 100)
- Weld6.Name = "HeadWeld"
- Weld6.Parent = Part1
- Weld6.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld6.C1 = CFrame.new(0, 0.899999976, 0, 1, 0, 0, 0, 0.995037198, 0.0995037183, 0, -0.0995037183, 0.995037198)
- Weld6.Part0 = Part1
- Weld6.Part1 = Part55
- Weld6.part1 = Part55
- Part7.Name = "Torso"
- Part7.Parent = Model0
- Part7.CFrame = CFrame.new(6.10009718, 11.138236, -3.32999802, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part7.Position = Vector3.new(6.10009718, 11.138236, -3.32999802)
- Part7.Color = Color3.new(0.156863, 0.498039, 0.278431)
- Part7.Size = Vector3.new(2, 2, 1)
- Part7.BackParamA = -99999
- Part7.BackParamB = 99999
- Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.BottomParamA = -99999
- Part7.BottomParamB = 99999
- Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.BrickColor = BrickColor.new("Dark green")
- Part7.CanCollide = false
- Part7.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part7.Elasticity = 0
- Part7.Friction = 2
- Part7.FrontParamA = -99999
- Part7.FrontParamB = 99999
- Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.LeftParamA = -99999
- Part7.LeftParamB = 99999
- Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.Material = Enum.Material.SmoothPlastic
- Part7.RightParamA = -99999
- Part7.RightParamB = 99999
- Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.TopParamA = -99999
- Part7.TopParamB = 99999
- Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.brickColor = BrickColor.new("Dark green")
- Part7.FormFactor = Enum.FormFactor.Symmetric
- Part7.formFactor = Enum.FormFactor.Symmetric
- Decal8.Name = "roblox"
- Decal8.Parent = Part7
- Motor6D9.Name = "Right Shoulder"
- Motor6D9.Parent = Part7
- Motor6D9.MaxVelocity = 0.10000000149012
- Motor6D9.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D9.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D9.Part0 = Part7
- Motor6D9.Part1 = Part15
- Motor6D9.part1 = Part15
- Motor6D9.DesiredAngle = -0.071469336748123
- Motor6D10.Name = "Left Shoulder"
- Motor6D10.Parent = Part7
- Motor6D10.MaxVelocity = 0.10000000149012
- Motor6D10.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D10.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D10.Part0 = Part7
- Motor6D10.Part1 = Part14
- Motor6D10.part1 = Part14
- Motor6D10.DesiredAngle = -0.071469336748123
- Motor6D11.Name = "Right Hip"
- Motor6D11.Parent = Part7
- Motor6D11.MaxVelocity = 0.10000000149012
- Motor6D11.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D11.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D11.Part0 = Part7
- Motor6D11.Part1 = Part17
- Motor6D11.part1 = Part17
- Motor6D11.DesiredAngle = 0.071469336748123
- Motor6D12.Name = "Left Hip"
- Motor6D12.Parent = Part7
- Motor6D12.MaxVelocity = 0.10000000149012
- Motor6D12.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D12.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D12.Part0 = Part7
- Motor6D12.Part1 = Part16
- Motor6D12.part1 = Part16
- Motor6D12.DesiredAngle = 0.071469336748123
- Motor6D13.Name = "Neck"
- Motor6D13.Parent = Part7
- Motor6D13.MaxVelocity = 0.10000000149012
- Motor6D13.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D13.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D13.Part0 = Part7
- Motor6D13.Part1 = Part1
- Motor6D13.part1 = Part1
- Part14.Name = "Left Arm"
- Part14.Parent = Model0
- Part14.CFrame = CFrame.new(4.60009718, 11.138236, -3.32999802, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part14.Position = Vector3.new(4.60009718, 11.138236, -3.32999802)
- Part14.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part14.Size = Vector3.new(1, 2, 1)
- Part14.BackParamA = -99999
- Part14.BackParamB = 99999
- Part14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part14.BottomParamA = -99999
- Part14.BottomParamB = 99999
- Part14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part14.BrickColor = BrickColor.new("Cool yellow")
- Part14.CanCollide = false
- Part14.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part14.Elasticity = 0
- Part14.Friction = 2
- Part14.FrontParamA = -99999
- Part14.FrontParamB = 99999
- Part14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part14.LeftParamA = -99999
- Part14.LeftParamB = 99999
- Part14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part14.Material = Enum.Material.SmoothPlastic
- Part14.RightParamA = -99999
- Part14.RightParamB = 99999
- Part14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part14.TopParamA = -99999
- Part14.TopParamB = 99999
- Part14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part14.brickColor = BrickColor.new("Cool yellow")
- Part14.FormFactor = Enum.FormFactor.Symmetric
- Part14.formFactor = Enum.FormFactor.Symmetric
- Part15.Name = "Right Arm"
- Part15.Parent = Model0
- Part15.CFrame = CFrame.new(7.60009718, 11.138236, -3.32999802, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part15.Position = Vector3.new(7.60009718, 11.138236, -3.32999802)
- Part15.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part15.Size = Vector3.new(1, 2, 1)
- Part15.BackParamA = -99999
- Part15.BackParamB = 99999
- Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.BottomParamA = -99999
- Part15.BottomParamB = 99999
- Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.BrickColor = BrickColor.new("Cool yellow")
- Part15.CanCollide = false
- Part15.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part15.Elasticity = 0
- Part15.Friction = 2
- Part15.FrontParamA = -99999
- Part15.FrontParamB = 99999
- Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.LeftParamA = -99999
- Part15.LeftParamB = 99999
- Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.Material = Enum.Material.SmoothPlastic
- Part15.RightParamA = -99999
- Part15.RightParamB = 99999
- Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.TopParamA = -99999
- Part15.TopParamB = 99999
- Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part15.brickColor = BrickColor.new("Cool yellow")
- Part15.FormFactor = Enum.FormFactor.Symmetric
- Part15.formFactor = Enum.FormFactor.Symmetric
- Part16.Name = "Left Leg"
- Part16.Parent = Model0
- Part16.CFrame = CFrame.new(5.60009718, 9.13823605, -3.32999802, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part16.Position = Vector3.new(5.60009718, 9.13823605, -3.32999802)
- Part16.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part16.Size = Vector3.new(1, 2, 1)
- Part16.BackParamA = -99999
- Part16.BackParamB = 99999
- Part16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.BottomParamA = -99999
- Part16.BottomParamB = 99999
- Part16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.BrickColor = BrickColor.new("Bright blue")
- Part16.CanCollide = false
- Part16.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part16.Elasticity = 0
- Part16.Friction = 2
- Part16.FrontParamA = -99999
- Part16.FrontParamB = 99999
- Part16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.LeftParamA = -99999
- Part16.LeftParamB = 99999
- Part16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.Material = Enum.Material.SmoothPlastic
- Part16.RightParamA = -99999
- Part16.RightParamB = 99999
- Part16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.TopParamA = -99999
- Part16.TopParamB = 99999
- Part16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.brickColor = BrickColor.new("Bright blue")
- Part16.FormFactor = Enum.FormFactor.Symmetric
- Part16.formFactor = Enum.FormFactor.Symmetric
- Part17.Name = "Right Leg"
- Part17.Parent = Model0
- Part17.CFrame = CFrame.new(6.60009718, 9.13823605, -3.32999802, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part17.Position = Vector3.new(6.60009718, 9.13823605, -3.32999802)
- Part17.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part17.Size = Vector3.new(1, 2, 1)
- Part17.BackParamA = -99999
- Part17.BackParamB = 99999
- Part17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.BottomParamA = -99999
- Part17.BottomParamB = 99999
- Part17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.BrickColor = BrickColor.new("Bright blue")
- Part17.CanCollide = false
- Part17.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part17.Elasticity = 0
- Part17.Friction = 2
- Part17.FrontParamA = -99999
- Part17.FrontParamB = 99999
- Part17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.LeftParamA = -99999
- Part17.LeftParamB = 99999
- Part17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.Material = Enum.Material.SmoothPlastic
- Part17.RightParamA = -99999
- Part17.RightParamB = 99999
- Part17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.TopParamA = -99999
- Part17.TopParamB = 99999
- Part17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.brickColor = BrickColor.new("Bright blue")
- Part17.FormFactor = Enum.FormFactor.Symmetric
- Part17.formFactor = Enum.FormFactor.Symmetric
- Humanoid18.Parent = Model0
- Humanoid18.Health = 200
- Humanoid18.JumpPower = 60
- Humanoid18.LeftLeg = Part16
- Humanoid18.MaxHealth = 200
- Humanoid18.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid18.RightLeg = Part17
- Humanoid18.Torso = Part21
- Humanoid18.WalkSpeed = 18
- Humanoid18.maxHealth = 200
- Model19.Name = "Status"
- Model19.Parent = Humanoid18
- Model20.Name = "AvalibleSpawns"
- Model20.Parent = Model19
- Part21.Name = "HumanoidRootPart"
- Part21.Parent = Model0
- Part21.CFrame = CFrame.new(6.10009718, 11.138236, -3.32999802, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part21.Position = Vector3.new(6.10009718, 11.138236, -3.32999802)
- Part21.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part21.Transparency = 1
- Part21.Size = Vector3.new(2, 2, 1)
- Part21.BackParamA = -99999
- Part21.BackParamB = 99999
- Part21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.BottomParamA = -99999
- Part21.BottomParamB = 99999
- Part21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.BrickColor = BrickColor.new("Bright blue")
- Part21.CanCollide = false
- Part21.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part21.Elasticity = 0
- Part21.Friction = 2
- Part21.FrontParamA = -99999
- Part21.FrontParamB = 99999
- Part21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.LeftParamA = -99999
- Part21.LeftParamB = 99999
- Part21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.Material = Enum.Material.SmoothPlastic
- Part21.RightParamA = -99999
- Part21.RightParamB = 99999
- Part21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.TopParamA = -99999
- Part21.TopParamB = 99999
- Part21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.brickColor = BrickColor.new("Bright blue")
- Part21.FormFactor = Enum.FormFactor.Symmetric
- Part21.formFactor = Enum.FormFactor.Symmetric
- Motor6D22.Name = "RootJoint"
- Motor6D22.Parent = Part21
- Motor6D22.MaxVelocity = 0.10000000149012
- Motor6D22.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D22.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D22.Part0 = Part21
- Motor6D22.Part1 = Part7
- Motor6D22.part1 = Part7
- Script23.Name = "Sound"
- Script23.Parent = Model0
- table.insert(cors,sandbox(Script23,function()
- ---This server script creates the sounds and also exists so that it can be easily copied into an NPC and create sounds for that NPC.
- --Remove the local script if you copy this into an NPC.
- 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
- function newSound(name, id)
- local sound = Instance.new("Sound")
- sound.SoundId = id
- sound.Name = name
- sound.archivable = false
- sound.Parent = script.Parent.Head
- return sound
- end
- -- declarations
- local sGettingUp = newSound("GettingUp", "rbxasset://sounds/action_get_up.mp3")
- local sDied = newSound("Died", "rbxasset://sounds/uuhhh.mp3")
- local sFreeFalling = newSound("FreeFalling", "rbxasset://sounds/action_falling.mp3")
- local sJumping = newSound("Jumping", "rbxasset://sounds/action_jump.mp3")
- local sLanding = newSound("Landing", "rbxasset://sounds/action_jump_land.mp3")
- local sSplash = newSound("Splash", "rbxasset://sounds/impact_water.mp3")
- local sRunning = newSound("Running", "rbxasset://sounds/action_footsteps_plastic.mp3")
- sRunning.Looped = true
- local sSwimming = newSound("Swimming", "rbxasset://sounds/action_swim.mp3")
- sSwimming.Looped = true
- local sClimbing = newSound("Climbing", "rbxasset://sounds/action_footsteps_plastic.mp3")
- sClimbing.Looped = true
- local Figure = script.Parent
- local Head = waitForChild(Figure, "Head")
- local Humanoid;
- for _,Child in pairs(Figure:GetChildren())do
- if Child and Child.ClassName=="Humanoid"then
- Humanoid=Child;
- end;
- end;
- local hasPlayer = game.Players:GetPlayerFromCharacter(script.Parent)
- local filteringEnabled = game.Workspace.FilteringEnabled
- local prevState = "None"
- -- functions
- function onDied()
- stopLoopedSounds()
- for _,Child in pairs(Figure:FindFirstChild("Head"):GetChildren())do
- if Child and Child.ClassName=="Sound"then
- Child.Volume=0
- Child:Stop()
- end
- end
- sDied.Volume=1;
- sDied:Play();
- end
- local fallCount = 0
- local fallSpeed = 0
- function onStateFall(state, sound)
- fallCount = fallCount + 1
- if state then
- sound.Volume = 0
- sound:Play()
- Spawn( function()
- local t = 0
- local thisFall = fallCount
- while t < 1.5 and fallCount == thisFall do
- local vol = math.max(t - 0.3 , 0)
- sound.Volume = vol
- wait(0.1)
- t = t + 0.1
- end
- end)
- else
- sound:Stop()
- end
- fallSpeed = math.max(fallSpeed, math.abs(Head.Velocity.Y))
- end
- function onStateNoStop(state, sound)
- if state then
- sound:Play()
- end
- end
- function onRunning(speed)
- sClimbing:Stop()
- sSwimming:Stop()
- if (prevState == "FreeFall" and fallSpeed > 0.1) then
- local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
- sLanding.Volume = vol
- sLanding:Play()
- fallSpeed = 0
- end
- if speed>0.5 then
- sRunning:Play()
- sRunning.Pitch = speed / 8.0
- else
- sRunning:Stop()
- end
- prevState = "Run"
- end
- function onSwimming(speed)
- if (prevState ~= "Swim" and speed > 0.1) then
- local volume = math.min(1.0, speed / 350)
- sSplash.Volume = volume
- sSplash:Play()
- prevState = "Swim"
- end
- sClimbing:Stop()
- sRunning:Stop()
- sSwimming.Pitch = 1.6
- sSwimming:Play()
- end
- function onClimbing(speed)
- sRunning:Stop()
- sSwimming:Stop()
- if speed>0.01 then
- sClimbing:Play()
- sClimbing.Pitch = speed / 5.5
- else
- sClimbing:Stop()
- end
- prevState = "Climb"
- end
- -- connect up
- function stopLoopedSounds()
- sRunning:Stop()
- sClimbing:Stop()
- sSwimming:Stop()
- end
- if hasPlayer == nil then
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Swimming:connect(onSwimming)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.Jumping:connect(function(state) onStateNoStop(state, sJumping) prevState = "Jump" end)
- Humanoid.GettingUp:connect(function(state) stopLoopedSounds() onStateNoStop(state, sGettingUp) prevState = "GetUp" end)
- Humanoid.FreeFalling:connect(function(state) stopLoopedSounds() onStateFall(state, sFreeFalling) prevState = "FreeFall" end)
- Humanoid.FallingDown:connect(function(state) stopLoopedSounds() end)
- Humanoid.StateChanged:connect(function(old, new)
- if not (new.Name == "Dead" or
- new.Name == "Running" or
- new.Name == "RunningNoPhysics" or
- new.Name == "Swimming" or
- new.Name == "Jumping" or
- new.Name == "GettingUp" or
- new.Name == "Freefall" or
- new.Name == "FallingDown") then
- stopLoopedSounds()
- end
- end)
- end
- end))
- LocalScript24.Name = "LocalSound"
- LocalScript24.Parent = Script23
- table.insert(cors,sandbox(LocalScript24,function()
- --This local script will run only for the player whos character it is in. It's changes to the sounds will replicate as they are changes to the character.
- -- util
- 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
- -- declarations
- local Figure = script.Parent.Parent
- local Head = waitForChild(Figure, "Head")
- local Humanoid = waitForChild(Figure, "Humanoid")
- local sGettingUp = waitForChild(Head, "GettingUp")
- local sDied = waitForChild(Head, "Died")
- local sFreeFalling = waitForChild(Head, "FreeFalling")
- local sJumping = waitForChild(Head, "Jumping")
- local sLanding = waitForChild(Head, "Landing")
- local sSplash = waitForChild(Head, "Splash")
- local sRunning = waitForChild(Head, "Running")
- sRunning.Looped = true
- local sSwimming = waitForChild(Head, "Swimming")
- sSwimming.Looped = true
- local sClimbing =waitForChild(Head, "Climbing")
- sClimbing.Looped = true
- local prevState = "None"
- -- functions
- function onDied()
- stopLoopedSounds()
- sDied:Play()
- end
- local fallCount = 0
- local fallSpeed = 0
- function onStateFall(state, sound)
- fallCount = fallCount + 1
- if state then
- sound.Volume = 0
- sound:Play()
- Spawn( function()
- local t = 0
- local thisFall = fallCount
- while t < 1.5 and fallCount == thisFall do
- local vol = math.max(t - 0.3 , 0)
- sound.Volume = vol
- wait(0.1)
- t = t + 0.1
- end
- end)
- else
- sound:Stop()
- end
- fallSpeed = math.max(fallSpeed, math.abs(Head.Velocity.Y))
- end
- function onStateNoStop(state, sound)
- if state then
- sound:Play()
- end
- end
- function onRunning(speed)
- sClimbing:Stop()
- sSwimming:Stop()
- if (prevState == "FreeFall" and fallSpeed > 0.1) then
- local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
- sLanding.Volume = vol
- sLanding:Play()
- fallSpeed = 0
- end
- if speed>0.5 then
- sRunning:Play()
- sRunning.Pitch = speed / 8.0
- else
- sRunning:Stop()
- end
- prevState = "Run"
- end
- function onSwimming(speed)
- if (prevState ~= "Swim" and speed > 0.1) then
- local volume = math.min(1.0, speed / 350)
- sSplash.Volume = volume
- sSplash:Play()
- prevState = "Swim"
- end
- sClimbing:Stop()
- sRunning:Stop()
- sSwimming.Pitch = 1.6
- sSwimming:Play()
- end
- function onClimbing(speed)
- sRunning:Stop()
- sSwimming:Stop()
- if speed>0.01 then
- sClimbing:Play()
- sClimbing.Pitch = speed / 5.5
- else
- sClimbing:Stop()
- end
- prevState = "Climb"
- end
- -- connect up
- function stopLoopedSounds()
- sRunning:Stop()
- sClimbing:Stop()
- sSwimming:Stop()
- end
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Swimming:connect(onSwimming)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.Jumping:connect(function(state) onStateNoStop(state, sJumping) prevState = "Jump" end)
- Humanoid.GettingUp:connect(function(state) stopLoopedSounds() onStateNoStop(state, sGettingUp) prevState = "GetUp" end)
- Humanoid.FreeFalling:connect(function(state) stopLoopedSounds() onStateFall(state, sFreeFalling) prevState = "FreeFall" end)
- Humanoid.FallingDown:connect(function(state) stopLoopedSounds() end)
- Humanoid.StateChanged:connect(function(old, new)
- if not (new.Name == "Dead" or
- new.Name == "Running" or
- new.Name == "RunningNoPhysics" or
- new.Name == "Swimming" or
- new.Name == "Jumping" or
- new.Name == "GettingUp" or
- new.Name == "Freefall" or
- new.Name == "FallingDown") then
- stopLoopedSounds()
- end
- end)
- end))
- LocalScript24.Disabled = true
- BodyColors25.Parent = Model0
- BodyColors25.HeadColor = BrickColor.new("Institutional white")
- BodyColors25.HeadColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors25.LeftArmColor = BrickColor.new("Institutional white")
- BodyColors25.LeftArmColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors25.LeftLegColor = BrickColor.new("Institutional white")
- BodyColors25.LeftLegColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors25.RightArmColor = BrickColor.new("Institutional white")
- BodyColors25.RightArmColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors25.RightLegColor = BrickColor.new("Institutional white")
- BodyColors25.RightLegColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors25.TorsoColor = BrickColor.new("Institutional white")
- BodyColors25.TorsoColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- Script26.Name = "AnimateSauce"
- Script26.Parent = Model0
- table.insert(cors,sandbox(Script26,function()
- 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
- local Figure = script.Parent
- local Torso = waitForChild(Figure, "Torso")
- 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;
- for _,Child in pairs(Figure:GetChildren())do
- if Child and Child.ClassName=="Humanoid"then
- Humanoid=Child;
- end;
- end;
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimInstance = nil
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
- { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
- },
- run = {
- { id = "run.xml", weight = 10 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
- },
- sit = {
- { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
- --{ id = "slash.xml", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
- },
- dance1 = {
- { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
- },
- }
- local dances = {"dance1", "dance2", "dance3"}
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- function configureAnimationSet(name, fileList)
- if (animTable[name] ~= nil) then
- for _, connection in pairs(animTable[name].connections) do
- connection:disconnect()
- end
- end
- animTable[name] = {}
- animTable[name].count = 0
- animTable[name].totalWeight = 0
- animTable[name].connections = {}
- -- check for config values
- local config = script:FindFirstChild(name)
- if (config ~= nil) then
- --print("Loading anims " .. name)
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- local idx = 1
- for _, childPart in pairs(config:GetChildren()) do
- if (childPart:IsA("Animation")) then
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx] = {}
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild("Weight")
- if (weightObject == nil) then
- animTable[name][idx].weight = 1
- else
- animTable[name][idx].weight = weightObject.Value
- end
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- --print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
- idx = idx + 1
- end
- end
- end
- -- fallback to defaults
- if (animTable[name].count <= 0) then
- for idx, anim in pairs(fileList) do
- animTable[name][idx] = {}
- animTable[name][idx].anim = Instance.new("Animation")
- animTable[name][idx].anim.Name = name
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name][idx].weight = anim.weight
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- --print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
- end
- end
- end
- -- Setup animation objects
- function scriptChildModified(child)
- local fileList = animNames[child.Name]
- if (fileList ~= nil) then
- configureAnimationSet(child.Name, fileList)
- end
- end
- script.ChildAdded:connect(scriptChildModified)
- script.ChildRemoved:connect(scriptChildModified)
- for name, fileList in pairs(animNames) do
- configureAnimationSet(name, fileList)
- end
- -- ANIMATION
- -- declarations
- local toolAnim = "None"
- local toolAnimTime = 0
- local jumpAnimTime = 0
- local jumpAnimDuration = 0.3
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.3
- local jumpMaxLimbVelocity = 0.75
- -- functions
- function stopAllAnimations()
- local oldAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
- oldAnim = "idle"
- end
- currentAnim = ""
- currentAnimInstance = nil
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop()
- currentAnimTrack:Destroy()
- currentAnimTrack = nil
- end
- return oldAnim
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- local repeatAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
- repeatAnim = "idle"
- end
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.0, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- --print(animName .. " " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- switch animation
- if (anim ~= currentAnimInstance) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- currentAnimSpeed = 1.0
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- currentAnimInstance = anim
- -- set up keyframe name triggers
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local toolAnimInstance = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- --print("Keyframe : ".. frameName)
- playToolAnimation(toolAnimName, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- --print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- if (toolAnimInstance ~= anim) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- toolAnimInstance = anim
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- toolAnimInstance = nil
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed>0.01 then
- playAnimation("walk", 0.1, Humanoid)
- if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
- setAnimationSpeed(speed / 14.5)
- end
- pose = "Running"
- else
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- playAnimation("jump", 0.1, Humanoid)
- jumpAnimTime = jumpAnimDuration
- pose = "Jumping"
- end
- function onClimbing(speed)
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / 12.0)
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- if (jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- end
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- function onSwimming(speed)
- if speed>0 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function getTool()
- for _, kid in ipairs(Figure:GetChildren()) do
- if kid.className == "Tool" then return kid end
- end
- return nil
- end
- function getToolAnim(tool)
- for _, c in ipairs(tool:GetChildren()) do
- if c.Name == "toolanim" and c.className == "StringValue" then
- return c
- end
- end
- return nil
- end
- function animateTool()
- if (toolAnim == "None") then
- playToolAnimation("toolnone", toolTransitionTime, Humanoid)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid)
- return
- end
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- LeftShoulder:SetDesiredAngle(-3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- LeftHip:SetDesiredAngle(-3.14 /2)
- end
- local lastTick = 0
- function move(time)
- local amplitude = 1
- local frequency = 1
- local deltaTime = time - lastTick
- lastTick = time
- local climbFudge = 0
- local setAngles = false
- if (jumpAnimTime > 0) then
- jumpAnimTime = jumpAnimTime - deltaTime
- end
- if (pose == "FreeFall" and jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- elseif (pose == "Seated") then
- playAnimation("sit", 0.5, Humanoid)
- return
- elseif (pose == "Running") then
- playAnimation("walk", 0.1, Humanoid)
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- stopAllAnimations()
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- if (setAngles) then
- local desiredAngle = amplitude * math.sin(time * frequency)
- RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
- LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
- RightHip:SetDesiredAngle(-desiredAngle)
- LeftHip:SetDesiredAngle(-desiredAngle)
- end
- -- Tool Animation handling
- local tool = getTool()
- if tool and tool:FindFirstChild("Handle") then
- local animStringValueObject = getToolAnim(tool)
- if animStringValueObject then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = time + .3
- end
- if time > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- stopToolAnimations()
- toolAnim = "None"
- toolAnimInstance = nil
- toolAnimTime = 0
- end
- end
- -- connect events
- 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)
- Humanoid.Swimming:connect(onSwimming)
- local runService = game:GetService("RunService");
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Wait(0)do
- local _,time=wait(0)
- move(time)
- end
- end))
- StringValue27.Name = "climb"
- StringValue27.Parent = Script26
- Animation28.Name = "ClimbAnim"
- Animation28.Parent = StringValue27
- Animation28.AnimationId = "http://www.roblox.com/asset/?id=180436334"
- StringValue29.Name = "fall"
- StringValue29.Parent = Script26
- Animation30.Name = "FallAnim"
- Animation30.Parent = StringValue29
- Animation30.AnimationId = "http://www.roblox.com/asset/?id=180436148"
- StringValue31.Name = "idle"
- StringValue31.Parent = Script26
- Animation32.Name = "Animation1"
- Animation32.Parent = StringValue31
- Animation32.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- NumberValue33.Name = "Weight"
- NumberValue33.Parent = Animation32
- NumberValue33.Value = 9
- Animation34.Name = "Animation2"
- Animation34.Parent = StringValue31
- Animation34.AnimationId = "http://www.roblox.com/asset/?id=180435792"
- NumberValue35.Name = "Weight"
- NumberValue35.Parent = Animation34
- NumberValue35.Value = 1
- StringValue36.Name = "jump"
- StringValue36.Parent = Script26
- Animation37.Name = "JumpAnim"
- Animation37.Parent = StringValue36
- Animation37.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue38.Name = "run"
- StringValue38.Parent = Script26
- Animation39.Name = "RunAnim"
- Animation39.Parent = StringValue38
- Animation39.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- StringValue40.Name = "sit"
- StringValue40.Parent = Script26
- Animation41.Name = "SitAnim"
- Animation41.Parent = StringValue40
- Animation41.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- StringValue42.Name = "toolnone"
- StringValue42.Parent = Script26
- Animation43.Name = "ToolNoneAnim"
- Animation43.Parent = StringValue42
- Animation43.AnimationId = "http://www.roblox.com/asset/?id=182393478"
- StringValue44.Name = "walk"
- StringValue44.Parent = Script26
- Animation45.Name = "WalkAnim"
- Animation45.Parent = StringValue44
- Animation45.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- Pants46.Name = "Pants"
- Pants46.Parent = Model0
- Pants46.PantsTemplate = "rbxassetid://36299419"
- Script47.Name = "Health"
- Script47.Parent = Model0
- table.insert(cors,sandbox(Script47,function()
- --Responsible for regening a player's humanoid's health
- -- declarations
- local Figure = script.Parent
- local Head = Figure:WaitForChild("Head")
- local Humanoid = Figure:WaitForChild("Humanoid")
- local regening = false
- -- regeneration
- function regenHealth()
- if regening then return end
- regening = true
- while Humanoid.Health < Humanoid.MaxHealth do
- local s = wait(1)
- local health = Humanoid.Health
- if health > 0 and health < Humanoid.MaxHealth then
- local newHealthDelta = 0.01 * s * Humanoid.MaxHealth
- health = health + newHealthDelta
- Humanoid.Health = math.min(health,Humanoid.MaxHealth)
- end
- end
- if Humanoid.Health > Humanoid.MaxHealth then
- Humanoid.Health = Humanoid.MaxHealth
- end
- regening = false
- end
- Humanoid.HealthChanged:connect(regenHealth)
- end))
- Script48.Name = "Respawn"
- Script48.Parent = Model0
- table.insert(cors,sandbox(Script48,function()
- --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
- local AdvancedRespawnScript=script;
- local Laina=AdvancedRespawnScript.Parent;
- local GameDerbis=Game:GetService("Debris");
- repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model";
- local LainaHumanoid;
- for _,Child in pairs(Laina:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health>0.001 then
- LainaHumanoid=Child;
- end;
- end;
- local Respawndant=Laina:Clone();
- coroutine.resume(coroutine.create(function()
- if not Laina.Humanoid.Status:FindFirstChild("AvalibleSpawns")then
- SpawnModel=Instance.new("Model");
- SpawnModel.Parent=Laina.Humanoid.Status;
- SpawnModel.Name="AvalibleSpawns";
- else
- SpawnModel=Laina.Humanoid.Status:FindFirstChild("AvalibleSpawns");
- end;
- function FindSpawn(SearchValue)
- local PartsArchivable=SearchValue:GetChildren();
- for AreaSearch=1,#PartsArchivable do
- if PartsArchivable[AreaSearch].className=="SpawnLocation"then
- local PositionValue=Instance.new("Vector3Value",SpawnModel);
- PositionValue.Value=PartsArchivable[AreaSearch].Position;
- PositionValue.Name=PartsArchivable[AreaSearch].Duration;
- end;
- FindSpawn(PartsArchivable[AreaSearch]);
- end;
- end;
- FindSpawn(Game.Workspace);
- local SpawnChilden=SpawnModel:GetChildren();
- if#SpawnChilden>0 then
- local SpawnItself=SpawnChilden[math.random(1,#SpawnChilden)];
- local RespawningForceField=Instance.new("ForceField");
- RespawningForceField.Parent=Laina;
- RespawningForceField.Name="SpawnForceField";
- GameDerbis:AddItem(RespawningForceField,SpawnItself.Name);
- Laina:MoveTo(SpawnItself.Value+Vector3.new(0,3.5,0));
- else
- if Laina:FindFirstChild("SpawnForceField")then
- Laina:FindFirstChild("SpawnForceField"):Destroy();
- end;
- Laina:MoveTo(Vector3.new(0,115,0));
- end;
- end));
- function Respawn()
- Wait(5);
- Respawndant.Parent=Laina.Parent;
- Respawndant:makeJoints();
- Respawndant:FindFirstChild("Head"):MakeJoints();
- Respawndant:FindFirstChild("Torso"):MakeJoints();
- Laina:remove();
- end;
- LainaHumanoid.Died:connect(Respawn);
- --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
- end))
- CharacterMesh49.Name = "3.0 Female Left Arm"
- CharacterMesh49.Parent = Model0
- CharacterMesh49.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh49.MeshId = 83001137
- CharacterMesh50.Name = "3.0 Female Left Leg"
- CharacterMesh50.Parent = Model0
- CharacterMesh50.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh50.MeshId = 81628361
- CharacterMesh51.Name = "3.0 Female Right Arm"
- CharacterMesh51.Parent = Model0
- CharacterMesh51.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh51.MeshId = 83001181
- CharacterMesh52.Name = "3.0 Female Right Leg"
- CharacterMesh52.Parent = Model0
- CharacterMesh52.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh52.MeshId = 81628308
- CharacterMesh53.Name = "3.0 Female Torso"
- CharacterMesh53.Parent = Model0
- CharacterMesh53.BodyPart = Enum.BodyPart.Torso
- CharacterMesh53.MeshId = 82987757
- Hat54.Name = "LongHairHeadBand Black"
- Hat54.Parent = Model0
- Hat54.AttachmentForward = Vector3.new(-0, -0.0995037183, -0.995037198)
- Hat54.AttachmentPoint = CFrame.new(0, 0.899999976, 0, 1, 0, 0, 0, 0.995037198, 0.0995037183, 0, -0.0995037183, 0.995037198)
- Hat54.AttachmentPos = Vector3.new(0, 0.899999976, 0)
- Hat54.AttachmentUp = Vector3.new(0, 0.995037198, -0.0995037183)
- Part55.Name = "Handle"
- Part55.Parent = Hat54
- Part55.CFrame = CFrame.new(6.10009718, 12.2427025, -3.41955137, 1, 0, 0, 0, 0.995037198, -0.0995037183, 0, 0.0995037183, 0.995037198)
- Part55.Orientation = Vector3.new(5.71000004, 0, 0)
- Part55.Position = Vector3.new(6.10009718, 12.2427025, -3.41955137)
- Part55.Rotation = Vector3.new(5.71000004, 0, 0)
- Part55.Size = Vector3.new(1, 2.4000001, 2)
- Part55.BottomSurface = Enum.SurfaceType.Smooth
- Part55.CanCollide = false
- Part55.TopSurface = Enum.SurfaceType.Smooth
- Part55.FormFactor = Enum.FormFactor.Plate
- Part55.formFactor = Enum.FormFactor.Plate
- SpecialMesh56.Parent = Part55
- SpecialMesh56.MeshId = "rbxassetid://13070796"
- SpecialMesh56.TextureId = "rbxassetid://14765363"
- SpecialMesh56.MeshType = Enum.MeshType.FileMesh
- Script57.Name = "LainaMain"
- Script57.Parent = Model0
- table.insert(cors,sandbox(Script57,function()
- --[[ By: Brutez. ]]--
- local LainaScript=script;
- repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model"and script.Parent:FindFirstChild("Head")and script.Parent:FindFirstChild("Torso");
- local Laina=LainaScript.Parent;
- local LainaHumanoid;
- for _,Child in pairs(Laina:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health>0.001 then
- LainaHumanoid=Child;
- end;
- end;
- local LainaWeld;
- local LainaBodyGyro;
- RecreateThingies=function()
- LainaWeld=Instance.new("Weld");
- LainaWeld.Name="LainaWeld";
- LainaBodyGyro=Instance.new("BodyGyro");
- LainaBodyGyro.Name="LainaBodyGyro";
- LainaBodyGyro.cframe=CFrame.new(Vector3.new(0,0,0),Vector3.new(0,5000000,0));
- LainaBodyGyro.D=300;
- LainaBodyGyro.maxTorque=Vector3.new(99999e99999,99999e99999,0);
- LainaBodyGyro.P=7000;
- end;
- RecreateThingies();
- local IsOnTop=false;
- function RayCast(Position, Direction, MaxDistance, IgnoreList)
- return Game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
- end;
- while Wait(0)do
- if LainaScript and Laina and Laina:FindFirstChild("Torso") and LainaHumanoid and LainaHumanoid.Health>0.001 then
- local TargetPoint=LainaHumanoid.TargetPoint;
- local Blockage,BlockagePos=RayCast((Laina:FindFirstChild("Torso").CFrame+CFrame.new(Laina:FindFirstChild("Torso").Position,Vector3.new(TargetPoint.X,Laina:FindFirstChild("Torso").Position.Y,TargetPoint.Z)).lookVector*(Laina:FindFirstChild("Torso").Size.Z/2)).p,Laina:FindFirstChild("Torso").CFrame.lookVector,(Laina:FindFirstChild("Torso").Size.Z*2.5),{Laina,Laina})
- local Jumpable=false;
- if Blockage then
- Jumpable=true;
- if Blockage and Blockage.Parent and Blockage.Parent.ClassName~="Workspace"then
- local BlockageHumanoid;
- for _,Child in pairs(Blockage.Parent:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health>0.001 then
- BlockageHumanoid=Child;
- end;
- end;
- if Blockage and Blockage:IsA("Terrain")then
- local CellPos=Blockage:WorldToCellPreferSolid((BlockagePos-Vector3.new(0,2,0)));
- local CellMaterial,CellShape,CellOrientation=Blockage:GetCell(CellPos.X,CellPos.Y,CellPos.Z);
- if CellMaterial==Enum.CellMaterial.Water then
- Jumpable=false;
- end;
- elseif BlockageHumanoid or Blockage.ClassName=="TrussPart"or Blockage.ClassName=="WedgePart"then
- Jumpable=false;
- end;
- end;
- if Jumpable and LainaScript and Laina and LainaHumanoid and LainaHumanoid.Health>0.001 and not LainaHumanoid.Sit and not IsOnTop then
- LainaHumanoid.Jump=true;
- end;
- end;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health<0.001 and Laina:FindFirstChild("Head") and Laina:FindFirstChild("Head"):FindFirstChild("face")and Laina:FindFirstChild("Head"):FindFirstChild("Hearts")and Laina:FindFirstChild("Head"):FindFirstChild("BrokenHearts")then
- Laina:FindFirstChild("Head"):FindFirstChild("face").Texture="rbxassetid://116692982";
- Laina:FindFirstChild("Head"):FindFirstChild("Hearts").Enabled=false;
- Laina:FindFirstChild("Head"):FindFirstChild("BrokenHearts").Enabled=true;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health>0.001 and Laina:FindFirstChild("Head") and Laina:FindFirstChild("Head"):FindFirstChild("face")and Laina:FindFirstChild("Head"):FindFirstChild("Hearts")and Laina:FindFirstChild("Head"):FindFirstChild("BrokenHearts")and not IsOnTop then
- Laina:FindFirstChild("Head"):FindFirstChild("face").Texture="rbxassetid://116690930";
- Laina:FindFirstChild("Head"):FindFirstChild("Hearts").Enabled=false;
- Laina:FindFirstChild("Head"):FindFirstChild("BrokenHearts").Enabled=false;
- elseif Laina and LainaHumanoid and LainaHumanoid.Health>0.001 and Laina:FindFirstChild("Head") and Laina:FindFirstChild("Head"):FindFirstChild("face")and Laina:FindFirstChild("Head"):FindFirstChild("Hearts")and Laina:FindFirstChild("Head"):FindFirstChild("BrokenHearts")and IsOnTop then
- Laina:FindFirstChild("Head"):FindFirstChild("face").Texture="rbxassetid://116649842";
- Laina:FindFirstChild("Head"):FindFirstChild("Hearts").Enabled=true;
- Laina:FindFirstChild("Head"):FindFirstChild("BrokenHearts").Enabled=false;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health>0.001 and not LainaHumanoid.AutoJumpEnabled then
- LainaHumanoid.AutoJumpEnabled=true;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health>0.001 and not LainaHumanoid.AutoRotate then
- LainaHumanoid.AutoRotate=true;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health>0.001 and LainaHumanoid.PlatformStand then
- LainaHumanoid.PlatformStand=false;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health>0.001 and LainaHumanoid.Sit and not IsOnTop then
- LainaHumanoid.Sit=false;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health>0.001 then
- LainaHumanoid.JumpPower=70;
- LainaHumanoid.WalkSpeed=20;
- end;
- local JumpChance=math.random(1,300);
- if Laina and LainaHumanoid and LainaHumanoid.Health>0.001 and JumpChance==1 and not IsOnTop then
- LainaHumanoid.Jump=true;
- end;
- local NoticeDistance=99999e99999;
- for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
- if TargetModel and TargetModel.className=="Model"and TargetModel~=Laina and TargetModel:FindFirstChild("Torso")and TargetModel:FindFirstChild("Head")then
- local TargetPart=TargetModel:FindFirstChild("Torso");
- local FoundHumanoid;
- for _,Child in pairs(TargetModel:GetChildren())do
- if Child.ClassName=="Humanoid"then
- FoundHumanoid=Child;
- end;
- end;
- if Laina and Laina:FindFirstChild("HumanoidRootPart")and LainaHumanoid and LainaHumanoid.Health>0.001 and TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-Laina:FindFirstChild("HumanoidRootPart").Position).magnitude<NoticeDistance and not IsOnTop then
- NoticeDistance=(TargetPart.Position-Laina:FindFirstChild("HumanoidRootPart").Position).magnitude;
- if Laina and Laina:FindFirstChild("HumanoidRootPart")and LainaHumanoid and LainaHumanoid.Health>0.001 and TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and FoundHumanoid.Jump and not IsOnTop then
- LainaHumanoid.Jump=true;
- end;
- LainaHumanoid:MoveTo(TargetPart.Position+(TargetPart.Position-Laina:FindFirstChild("Torso").Position).unit*2,Game:GetService("Workspace"):FindFirstChild("Terrain"));
- if TargetPart and FoundHumanoid and FoundHumanoid.Health>0 and(TargetPart.Position-Laina:FindFirstChild("HumanoidRootPart").Position).magnitude<5 and not IsOnTop then
- IsOnTop=true;
- LainaWeld.Parent=Laina:FindFirstChild("Torso");
- LainaWeld.Part1=Laina:FindFirstChild("Torso");
- LainaWeld.C0=CFrame.new(0,-0.1,-1.4)*CFrame.fromEulerAnglesXYZ(-0.7+math.sin(tick()*10)*0.3,math.pi,0);
- LainaWeld.Part0=TargetPart;
- LainaBodyGyro.Parent=TargetPart;
- if LainaScript and LainaScript:FindFirstChild("JumpOk")and LainaScript:FindFirstChild("JumpOkNPC")and TargetModel.Parent~=nil and TargetPart.Parent~=nil and LainaBodyGyro~=nil and FoundHumanoid.Parent~=nil and LainaWeld.Parent~=nil and LainaBodyGyro.Parent~=nil and FoundHumanoid.Health>0.001 and Laina and LainaHumanoid and LainaHumanoid.Health>0.001 then
- if TargetModel and FoundHumanoid and FoundHumanoid.Health>0.001 and FoundHumanoid:FindFirstChild("Status")and FoundHumanoid:FindFirstChild("Status").ClassName=="Status"then
- local JumpOk=LainaScript:FindFirstChild("JumpOk"):Clone();
- JumpOk.Parent=TargetModel;
- JumpOk.Disabled=false;
- elseif TargetModel and FoundHumanoid and FoundHumanoid.Health>0.001 and FoundHumanoid:FindFirstChild("Status")and FoundHumanoid:FindFirstChild("Status").ClassName=="Model"or TargetModel and FoundHumanoid and FoundHumanoid.Health>0.001 and not FoundHumanoid:FindFirstChild("Status")then
- local JumpOkNPC=LainaScript:FindFirstChild("JumpOkNPC"):Clone();
- JumpOkNPC.Parent=TargetModel;
- JumpOkNPC.Disabled=false;
- end;
- end;
- coroutine.resume(coroutine.create(function()
- while Wait(0)do
- if TargetModel.Parent~=nil and TargetPart.Parent~=nil and FoundHumanoid.Parent~=nil and LainaWeld.Parent~=nil and LainaBodyGyro.Parent~=nil and FoundHumanoid.Health>0.001 and Laina and LainaHumanoid and LainaHumanoid.Health>0.001 then
- LainaHumanoid.Sit=true;
- if Laina and LainaHumanoid and LainaHumanoid.Health>0.001 and Laina:FindFirstChild("Torso")and LainaWeld then
- LainaWeld.C0=CFrame.new(0,-0.1,-1.4)*CFrame.fromEulerAnglesXYZ(-0.7+math.sin(tick()*10)*0.3,math.pi,0);
- end;
- if TargetModel~=nil and TargetPart~=nil and FoundHumanoid~=nil and FoundHumanoid.Health>0.001 then
- FoundHumanoid.Jump=false;
- FoundHumanoid.Sit=true;
- end;
- else
- IsOnTop=false;
- if LainaWeld then
- LainaWeld:Destroy();
- end;
- if LainaBodyGyro then
- LainaBodyGyro:Destroy();
- end;
- RecreateThingies();
- break
- end;
- end;
- end));
- end;
- end;
- end;
- end;
- end;
- --[[ By: Brutez. ]]--
- end))
- LocalScript58.Name = "JumpOk"
- LocalScript58.Parent = Script57
- table.insert(cors,sandbox(LocalScript58,function()
- --[[ By: Brutez. ]]--
- local JumpScript=script;
- repeat Wait(0);until script and script.Parent and script.Parent.ClassName=="Model"and script.Parent:FindFirstChild("Head")and script.Parent:FindFirstChild("Torso");
- local ROBLOXian=JumpScript.Parent;
- local ROBLOXianHumanoid;
- for _,Child in pairs(ROBLOXian:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health>0.001 then
- ROBLOXianHumanoid=Child;
- end;
- end;
- if JumpScript and ROBLOXian and ROBLOXian.ClassName=="Model"and ROBLOXian:FindFirstChild("Head")and ROBLOXian:FindFirstChild("Torso")and ROBLOXianHumanoid and ROBLOXianHumanoid.Health>0.001 then
- ROBLOXianHumanoid.Changed:connect(function()
- if JumpScript and ROBLOXian and ROBLOXian.ClassName=="Model"and ROBLOXian:FindFirstChild("Head")and ROBLOXian:FindFirstChild("Torso")and ROBLOXianHumanoid and ROBLOXianHumanoid.Health>0.001 and ROBLOXianHumanoid.Jump then
- ROBLOXianHumanoid.Jump=false;
- end;
- end);
- end;
- while Wait(0)do
- if JumpScript and ROBLOXian and ROBLOXian.ClassName=="Model"and ROBLOXian:FindFirstChild("Head")and ROBLOXian:FindFirstChild("Torso")and ROBLOXianHumanoid and ROBLOXianHumanoid.Health>0.001 and not ROBLOXian:FindFirstChild("Torso"):FindFirstChild("LainaBodyGyro")then
- JumpScript.Disabled=true;
- JumpScript:Destroy();
- break
- end;
- end;
- --[[ By: Brutez. ]]--
- end))
- LocalScript58.Disabled = true
- Script59.Name = "JumpOkNPC"
- Script59.Parent = Script57
- table.insert(cors,sandbox(Script59,function()
- --[[ By: Brutez. ]]--
- local JumpScript=script;
- repeat Wait(0);until script and script.Parent and script.Parent.ClassName=="Model"and script.Parent:FindFirstChild("Head")and script.Parent:FindFirstChild("Torso");
- local ROBLOXian=JumpScript.Parent;
- local ROBLOXianHumanoid;
- for _,Child in pairs(ROBLOXian:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health>0.001 then
- ROBLOXianHumanoid=Child;
- end;
- end;
- if JumpScript and ROBLOXian and ROBLOXian.ClassName=="Model"and ROBLOXian:FindFirstChild("Head")and ROBLOXian:FindFirstChild("Torso")and ROBLOXianHumanoid and ROBLOXianHumanoid.Health>0.001 then
- ROBLOXianHumanoid.Changed:connect(function()
- if JumpScript and ROBLOXian and ROBLOXian.ClassName=="Model"and ROBLOXian:FindFirstChild("Head")and ROBLOXian:FindFirstChild("Torso")and ROBLOXianHumanoid and ROBLOXianHumanoid.Health>0.001 and ROBLOXianHumanoid.Jump then
- ROBLOXianHumanoid.Jump=false;
- end;
- end);
- end;
- while Wait(0)do
- if JumpScript and ROBLOXian and ROBLOXian.ClassName=="Model"and ROBLOXian:FindFirstChild("Head")and ROBLOXian:FindFirstChild("Torso")and ROBLOXianHumanoid and ROBLOXianHumanoid.Health>0.001 and not ROBLOXian:FindFirstChild("Torso"):FindFirstChild("LainaBodyGyro")then
- JumpScript.Disabled=true;
- JumpScript:Destroy();
- break
- end;
- end;
- --[[ By: Brutez. ]]--
- end))
- Script59.Disabled = true
- Camera60.Name = "ThumbnailCamera"
- Camera60.Parent = Model0
- Camera60.CFrame = CFrame.new(-1.4118109e-06, 1.5, -9.34999943, -1, -0, -1.50995788e-07, -0, 1, -0, 1.50995788e-07, 0, -1)
- Camera60.CoordinateFrame = CFrame.new(-1.4118109e-06, 1.5, -9.34999943, -1, -0, -1.50995788e-07, -0, 1, -0, 1.50995788e-07, 0, -1)
- Camera60.FieldOfView = 19.999999651642
- Camera60.Focus = CFrame.new(-1.10981932e-06, 1.5, -7.34999943, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera60.focus = CFrame.new(-1.10981932e-06, 1.5, -7.34999943, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement