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")
- Decal2 = Instance.new("Decal")
- Motor6D3 = Instance.new("Motor6D")
- Motor6D4 = Instance.new("Motor6D")
- Motor6D5 = Instance.new("Motor6D")
- Motor6D6 = Instance.new("Motor6D")
- Motor6D7 = Instance.new("Motor6D")
- MeshPart8 = Instance.new("MeshPart")
- Part9 = Instance.new("Part")
- Motor6D10 = Instance.new("Motor6D")
- Part11 = Instance.new("Part")
- Part12 = Instance.new("Part")
- SpecialMesh13 = Instance.new("SpecialMesh")
- Decal14 = Instance.new("Decal")
- ManualWeld15 = Instance.new("ManualWeld")
- Sound16 = Instance.new("Sound")
- ParticleEmitter17 = Instance.new("ParticleEmitter")
- ParticleEmitter18 = Instance.new("ParticleEmitter")
- Model19 = Instance.new("Model")
- Part20 = Instance.new("Part")
- Part21 = Instance.new("Part")
- Part22 = Instance.new("Part")
- Motor6D23 = Instance.new("Motor6D")
- MeshPart24 = Instance.new("MeshPart")
- Part25 = Instance.new("Part")
- Part26 = Instance.new("Part")
- Part27 = Instance.new("Part")
- SpecialMesh28 = Instance.new("SpecialMesh")
- Decal29 = Instance.new("Decal")
- ManualWeld30 = Instance.new("ManualWeld")
- Part31 = Instance.new("Part")
- Decal32 = Instance.new("Decal")
- Motor6D33 = Instance.new("Motor6D")
- Motor6D34 = Instance.new("Motor6D")
- Motor6D35 = Instance.new("Motor6D")
- Motor6D36 = Instance.new("Motor6D")
- Motor6D37 = Instance.new("Motor6D")
- Humanoid38 = Instance.new("Humanoid")
- Model39 = Instance.new("Model")
- Model40 = Instance.new("Model")
- BodyColors41 = Instance.new("BodyColors")
- Pants42 = Instance.new("Pants")
- CharacterMesh43 = Instance.new("CharacterMesh")
- CharacterMesh44 = Instance.new("CharacterMesh")
- CharacterMesh45 = Instance.new("CharacterMesh")
- CharacterMesh46 = Instance.new("CharacterMesh")
- CharacterMesh47 = Instance.new("CharacterMesh")
- Camera48 = Instance.new("Camera")
- Part49 = Instance.new("Part")
- Part50 = Instance.new("Part")
- Part51 = Instance.new("Part")
- Humanoid52 = Instance.new("Humanoid")
- Model53 = Instance.new("Model")
- Model54 = Instance.new("Model")
- Script55 = Instance.new("Script")
- BodyColors56 = Instance.new("BodyColors")
- Pants57 = Instance.new("Pants")
- Script58 = Instance.new("Script")
- LocalScript59 = Instance.new("LocalScript")
- Script60 = Instance.new("Script")
- Decal61 = Instance.new("Decal")
- CharacterMesh62 = Instance.new("CharacterMesh")
- CharacterMesh63 = Instance.new("CharacterMesh")
- CharacterMesh64 = Instance.new("CharacterMesh")
- CharacterMesh65 = Instance.new("CharacterMesh")
- CharacterMesh66 = Instance.new("CharacterMesh")
- Script67 = Instance.new("Script")
- Script68 = Instance.new("Script")
- StringValue69 = Instance.new("StringValue")
- Animation70 = Instance.new("Animation")
- StringValue71 = Instance.new("StringValue")
- Animation72 = Instance.new("Animation")
- StringValue73 = Instance.new("StringValue")
- Animation74 = Instance.new("Animation")
- NumberValue75 = Instance.new("NumberValue")
- Animation76 = Instance.new("Animation")
- NumberValue77 = Instance.new("NumberValue")
- StringValue78 = Instance.new("StringValue")
- Animation79 = Instance.new("Animation")
- StringValue80 = Instance.new("StringValue")
- Animation81 = Instance.new("Animation")
- StringValue82 = Instance.new("StringValue")
- Animation83 = Instance.new("Animation")
- StringValue84 = Instance.new("StringValue")
- Animation85 = Instance.new("Animation")
- StringValue86 = Instance.new("StringValue")
- Animation87 = Instance.new("Animation")
- Script88 = Instance.new("Script")
- Camera89 = Instance.new("Camera")
- Model0.Name = "Laina"
- Model0.Parent = mas
- Model0.PrimaryPart = Part12
- Part1.Name = "Torso"
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(47.2500229, 5.16120005, 16.2600136, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(47.2500229, 5.16120005, 16.2600136)
- Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part1.Size = Vector3.new(2, 2, 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("Institutional white")
- Part1.CanCollide = false
- Part1.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- 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.Locked = true
- 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("Institutional white")
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.formFactor = Enum.FormFactor.Symmetric
- Decal2.Name = "roblox"
- Decal2.Parent = Part1
- Motor6D3.Name = "Right Shoulder"
- Motor6D3.Parent = Part1
- Motor6D3.MaxVelocity = 0.10000000149012
- Motor6D3.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D3.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D3.Part0 = Part1
- Motor6D3.Part1 = Part49
- Motor6D3.part1 = Part49
- Motor6D4.Name = "Left Shoulder"
- Motor6D4.Parent = Part1
- Motor6D4.MaxVelocity = 0.10000000149012
- Motor6D4.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D4.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D4.Part0 = Part1
- Motor6D4.Part1 = Part11
- Motor6D4.part1 = Part11
- Motor6D5.Name = "Right Hip"
- Motor6D5.Parent = Part1
- Motor6D5.MaxVelocity = 0.10000000149012
- Motor6D5.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D5.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D5.Part0 = Part1
- Motor6D5.Part1 = Part50
- Motor6D5.part1 = Part50
- Motor6D6.Name = "Left Hip"
- Motor6D6.Parent = Part1
- Motor6D6.MaxVelocity = 0.10000000149012
- Motor6D6.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D6.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D6.Part0 = Part1
- Motor6D6.Part1 = Part51
- Motor6D6.part1 = Part51
- Motor6D7.Name = "Neck"
- Motor6D7.Parent = Part1
- Motor6D7.MaxVelocity = 0.10000000149012
- Motor6D7.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D7.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D7.Part0 = Part1
- Motor6D7.Part1 = Part12
- Motor6D7.part1 = Part12
- MeshPart8.Name = "Hair"
- MeshPart8.Parent = Model0
- MeshPart8.CFrame = CFrame.new(47.2800217, 6.55119991, 16.2600117, 0.962253213, 0, -0.27215606, 0, 1, 0, 0.27215606, 0, 0.962253213)
- MeshPart8.Orientation = Vector3.new(0, -15.79, 0)
- MeshPart8.Position = Vector3.new(47.2800217, 6.55119991, 16.2600117)
- MeshPart8.Rotation = Vector3.new(0, -15.79, 0)
- MeshPart8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- MeshPart8.Size = Vector3.new(2.0769999, 3.17400002, 2.16000009)
- MeshPart8.BackParamA = -99999
- MeshPart8.BackParamB = 99999
- MeshPart8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- MeshPart8.BottomParamA = -99999
- MeshPart8.BottomParamB = 99999
- MeshPart8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- MeshPart8.BrickColor = BrickColor.new("Really black")
- MeshPart8.CanCollide = false
- MeshPart8.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- MeshPart8.FrontParamA = -99999
- MeshPart8.FrontParamB = 99999
- MeshPart8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- MeshPart8.LeftParamA = -99999
- MeshPart8.LeftParamB = 99999
- MeshPart8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- MeshPart8.Locked = true
- MeshPart8.Material = Enum.Material.SmoothPlastic
- MeshPart8.RightParamA = -99999
- MeshPart8.RightParamB = 99999
- MeshPart8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- MeshPart8.TopParamA = -99999
- MeshPart8.TopParamB = 99999
- MeshPart8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- MeshPart8.brickColor = BrickColor.new("Really black")
- Part9.Name = "HumanoidRootPart"
- Part9.Parent = Model0
- Part9.CFrame = CFrame.new(47.2500229, 5.16120005, 16.2600136, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part9.Position = Vector3.new(47.2500229, 5.16120005, 16.2600136)
- Part9.Transparency = 1
- Part9.Size = Vector3.new(2, 2, 1)
- Part9.BackParamA = -99999
- Part9.BackParamB = 99999
- Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.BottomParamA = -99999
- Part9.BottomParamB = 99999
- Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.CanCollide = false
- Part9.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- Part9.Elasticity = 0
- Part9.Friction = 2
- Part9.FrontParamA = -99999
- Part9.FrontParamB = 99999
- Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.LeftParamA = -99999
- Part9.LeftParamB = 99999
- Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.Locked = true
- Part9.Material = Enum.Material.SmoothPlastic
- Part9.RightParamA = -99999
- Part9.RightParamB = 99999
- Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.TopParamA = -99999
- Part9.TopParamB = 99999
- Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.FormFactor = Enum.FormFactor.Symmetric
- Part9.formFactor = Enum.FormFactor.Symmetric
- Motor6D10.Name = "RootJoint"
- Motor6D10.Parent = Part9
- Motor6D10.MaxVelocity = 0.10000000149012
- Motor6D10.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D10.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D10.Part0 = Part9
- Motor6D10.Part1 = Part1
- Motor6D10.part1 = Part1
- Part11.Name = "Left Arm"
- Part11.Parent = Model0
- Part11.CFrame = CFrame.new(45.7500229, 5.16120005, 16.2600136, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part11.Position = Vector3.new(45.7500229, 5.16120005, 16.2600136)
- Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part11.Size = Vector3.new(1, 2, 1)
- Part11.BackParamA = -99999
- Part11.BackParamB = 99999
- Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.BottomParamA = -99999
- Part11.BottomParamB = 99999
- Part11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.BrickColor = BrickColor.new("Institutional white")
- Part11.CanCollide = false
- Part11.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- Part11.Elasticity = 0
- Part11.Friction = 2
- Part11.FrontParamA = -99999
- Part11.FrontParamB = 99999
- Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.LeftParamA = -99999
- Part11.LeftParamB = 99999
- Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.Locked = true
- Part11.Material = Enum.Material.SmoothPlastic
- Part11.RightParamA = -99999
- Part11.RightParamB = 99999
- Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.TopParamA = -99999
- Part11.TopParamB = 99999
- Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.brickColor = BrickColor.new("Institutional white")
- Part11.FormFactor = Enum.FormFactor.Symmetric
- Part11.formFactor = Enum.FormFactor.Symmetric
- Part12.Name = "Head"
- Part12.Parent = Model0
- Part12.CFrame = CFrame.new(47.2500229, 6.66120005, 16.2600136, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part12.Position = Vector3.new(47.2500229, 6.66120005, 16.2600136)
- Part12.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part12.Size = Vector3.new(2, 1, 1)
- Part12.BackParamA = -99999
- Part12.BackParamB = 99999
- Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.BottomParamA = -99999
- Part12.BottomParamB = 99999
- Part12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.BrickColor = BrickColor.new("Institutional white")
- Part12.CanCollide = false
- Part12.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- Part12.Elasticity = 0
- Part12.Friction = 2
- Part12.FrontParamA = -99999
- Part12.FrontParamB = 99999
- Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.LeftParamA = -99999
- Part12.LeftParamB = 99999
- Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.Locked = true
- Part12.Material = Enum.Material.SmoothPlastic
- Part12.RightParamA = -99999
- Part12.RightParamB = 99999
- Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.TopParamA = -99999
- Part12.TopParamB = 99999
- Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.brickColor = BrickColor.new("Institutional white")
- Part12.FormFactor = Enum.FormFactor.Symmetric
- Part12.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh13.Name = "3.0 Female Head Mesh"
- SpecialMesh13.Parent = Part12
- SpecialMesh13.MeshId = "rbxassetid://82992952"
- SpecialMesh13.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh13.MeshType = Enum.MeshType.FileMesh
- Decal14.Name = "face"
- Decal14.Parent = Part12
- Decal14.Texture = "rbxassetid://912935344"
- ManualWeld15.Name = "HairWeld"
- ManualWeld15.Parent = Part12
- ManualWeld15.C1 = CFrame.new(-0.0288670063, 0.110000014, 0.00816631317, 0.962253213, 0, 0.27215606, 0, 1, 0, -0.27215606, 0, 0.962253213)
- ManualWeld15.Part0 = Part12
- ManualWeld15.Part1 = MeshPart8
- ManualWeld15.part1 = MeshPart8
- Sound16.Name = "PlasticCreak"
- Sound16.Parent = Part12
- Sound16.Looped = true
- Sound16.EmitterSize = 50
- Sound16.MinDistance = 50
- Sound16.SoundId = "rbxassetid://913163726"
- Sound16.Volume = 1
- ParticleEmitter17.Name = "BrokenHearts"
- ParticleEmitter17.Parent = Part12
- ParticleEmitter17.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter17.Enabled = false
- ParticleEmitter17.Texture = "rbxassetid://912982766"
- ParticleEmitter17.Size = NumberSequence.new(0,0.30000001192093,1,0.30000001192093,0.30000001192093,1,0.30000001192093,0.30000001192093,0.5,0.061728358268738,0.12345671653748,0.37037014961243,0.18518507480621,0.30000001192093,0)
- ParticleEmitter17.Acceleration = Vector3.new(0, -10, 0)
- ParticleEmitter17.Lifetime = NumberRange.new(1.5, 1.5)
- ParticleEmitter17.Rate = 10
- ParticleEmitter17.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter17.SpreadAngle = Vector2.new(-99999, 99999)
- ParticleEmitter17.VelocitySpread = -99999
- ParticleEmitter18.Name = "Hearts"
- ParticleEmitter18.Parent = Part12
- ParticleEmitter18.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0, 0))
- ParticleEmitter18.Enabled = false
- ParticleEmitter18.Texture = "rbxassetid://912982665"
- ParticleEmitter18.Size = NumberSequence.new(0,0.30000001192093,1,0.30000001192093,0.30000001192093,1,0.30000001192093,0.30000001192093,0.5,0.061728358268738,0.12345671653748,0.37037014961243,0.18518507480621,0.30000001192093,0)
- ParticleEmitter18.Acceleration = Vector3.new(0, -2, 0)
- ParticleEmitter18.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter18.Rate = 10
- ParticleEmitter18.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter18.SpreadAngle = Vector2.new(-99999, 99999)
- ParticleEmitter18.VelocitySpread = -99999
- Model19.Name = "Thumbnail"
- Model19.Parent = Model0
- Model19.PrimaryPart = Part27
- Part20.Name = "Right Leg"
- Part20.Parent = Model19
- Part20.CFrame = CFrame.new(47.911644, 3.08003712, 26.5390797, 0.881080627, -0.134276569, 0.45350498, 0.146537408, 0.989171326, 0.00818353891, -0.449692965, 0.05924505, 0.891216159)
- Part20.Orientation = Vector3.new(-0.469999999, 26.9699993, 8.42999935)
- Part20.Position = Vector3.new(47.911644, 3.08003712, 26.5390797)
- Part20.Rotation = Vector3.new(-0.529999971, 26.9699993, 8.67000008)
- Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part20.Size = Vector3.new(1, 2, 1)
- Part20.Anchored = true
- Part20.BackParamA = -99999
- Part20.BackParamB = 99999
- Part20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.BottomParamA = -99999
- Part20.BottomParamB = 99999
- Part20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.BrickColor = BrickColor.new("Institutional white")
- Part20.CanCollide = false
- Part20.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- Part20.Elasticity = 0
- Part20.Friction = 2
- Part20.FrontParamA = -99999
- Part20.FrontParamB = 99999
- Part20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.LeftParamA = -99999
- Part20.LeftParamB = 99999
- Part20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.Locked = true
- Part20.Material = Enum.Material.SmoothPlastic
- Part20.RightParamA = -99999
- Part20.RightParamB = 99999
- Part20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.TopParamA = -99999
- Part20.TopParamB = 99999
- Part20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.brickColor = BrickColor.new("Institutional white")
- Part20.FormFactor = Enum.FormFactor.Symmetric
- Part20.formFactor = Enum.FormFactor.Symmetric
- Part21.Name = "Right Arm"
- Part21.Parent = Model19
- Part21.CFrame = CFrame.new(48.4850121, 4.68301678, 26.5034351, 0.858982503, 0.510150313, 0.0435399301, -0.494998544, 0.805707932, 0.325286269, 0.130864426, -0.300967425, 0.944612682)
- Part21.Orientation = Vector3.new(-18.9799995, 2.63999987, -31.5699997)
- Part21.Position = Vector3.new(48.4850121, 4.68301678, 26.5034351)
- Part21.Rotation = Vector3.new(-19, 2.5, -30.7099991)
- Part21.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part21.Size = Vector3.new(1, 2, 1)
- Part21.Anchored = true
- 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("Institutional white")
- Part21.CanCollide = false
- Part21.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- 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.Locked = true
- 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("Institutional white")
- Part21.FormFactor = Enum.FormFactor.Symmetric
- Part21.formFactor = Enum.FormFactor.Symmetric
- Part22.Name = "HumanoidRootPart"
- Part22.Parent = Model19
- Part22.CFrame = CFrame.new(47.2500229, 5.16120005, 26.2600288, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part22.Position = Vector3.new(47.2500229, 5.16120005, 26.2600288)
- Part22.Transparency = 1
- Part22.Size = Vector3.new(2, 2, 1)
- Part22.Anchored = true
- Part22.BackParamA = -99999
- Part22.BackParamB = 99999
- Part22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.BottomParamA = -99999
- Part22.BottomParamB = 99999
- Part22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.CanCollide = false
- Part22.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- Part22.Elasticity = 0
- Part22.Friction = 2
- Part22.FrontParamA = -99999
- Part22.FrontParamB = 99999
- Part22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.LeftParamA = -99999
- Part22.LeftParamB = 99999
- Part22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.Locked = true
- Part22.Material = Enum.Material.SmoothPlastic
- Part22.RightParamA = -99999
- Part22.RightParamB = 99999
- Part22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.TopParamA = -99999
- Part22.TopParamB = 99999
- Part22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.FormFactor = Enum.FormFactor.Symmetric
- Part22.formFactor = Enum.FormFactor.Symmetric
- Motor6D23.Name = "RootJoint"
- Motor6D23.Parent = Part22
- Motor6D23.MaxVelocity = 0.10000000149012
- Motor6D23.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D23.C1 = CFrame.new(0, 0.239140987, -0.0823602676, -1, 0, 0, 0, -0.282294095, 0.959327936, 0, 0.959327936, 0.282294095)
- Motor6D23.Part0 = Part22
- Motor6D23.Part1 = Part31
- Motor6D23.part1 = Part31
- MeshPart24.Name = "Hair"
- MeshPart24.Parent = Model19
- MeshPart24.CFrame = CFrame.new(47.211937, 6.30066776, 26.0756397, 0.634772539, -0.128739178, 0.761899114, 0.0401865877, 0.990188837, 0.13383238, -0.771653473, -0.054335013, 0.633718252)
- MeshPart24.Orientation = Vector3.new(-7.69000006, 50.25, 2.31999993)
- MeshPart24.Position = Vector3.new(47.211937, 6.30066776, 26.0756397)
- MeshPart24.Rotation = Vector3.new(-11.9200001, 49.6299973, 11.46)
- MeshPart24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- MeshPart24.Size = Vector3.new(2.0769999, 3.17400002, 2.16000009)
- MeshPart24.Anchored = true
- MeshPart24.BackParamA = -99999
- MeshPart24.BackParamB = 99999
- MeshPart24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- MeshPart24.BottomParamA = -99999
- MeshPart24.BottomParamB = 99999
- MeshPart24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- MeshPart24.BrickColor = BrickColor.new("Really black")
- MeshPart24.CanCollide = false
- MeshPart24.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- MeshPart24.FrontParamA = -99999
- MeshPart24.FrontParamB = 99999
- MeshPart24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- MeshPart24.LeftParamA = -99999
- MeshPart24.LeftParamB = 99999
- MeshPart24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- MeshPart24.Locked = true
- MeshPart24.Material = Enum.Material.SmoothPlastic
- MeshPart24.RightParamA = -99999
- MeshPart24.RightParamB = 99999
- MeshPart24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- MeshPart24.TopParamA = -99999
- MeshPart24.TopParamB = 99999
- MeshPart24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- MeshPart24.brickColor = BrickColor.new("Really black")
- Part25.Name = "Left Leg"
- Part25.Parent = Model19
- Part25.CFrame = CFrame.new(46.5831566, 3.05272889, 26.5213165, 0.814022481, 0.105956487, -0.571087241, -0.120899379, 0.992594302, 0.0118318051, 0.568111598, 0.0594127476, 0.820804119)
- Part25.Orientation = Vector3.new(-0.680000007, -34.829998, -6.94000006)
- Part25.Position = Vector3.new(46.5831566, 3.05272889, 26.5213165)
- Part25.Rotation = Vector3.new(-0.829999983, -34.829998, -7.4199996)
- Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part25.Size = Vector3.new(1, 2, 1)
- Part25.Anchored = true
- Part25.BackParamA = -99999
- Part25.BackParamB = 99999
- Part25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.BottomParamA = -99999
- Part25.BottomParamB = 99999
- Part25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.BrickColor = BrickColor.new("Institutional white")
- Part25.CanCollide = false
- Part25.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- Part25.Elasticity = 0
- Part25.Friction = 2
- Part25.FrontParamA = -99999
- Part25.FrontParamB = 99999
- Part25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.LeftParamA = -99999
- Part25.LeftParamB = 99999
- Part25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.Locked = true
- Part25.Material = Enum.Material.SmoothPlastic
- Part25.RightParamA = -99999
- Part25.RightParamB = 99999
- Part25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.TopParamA = -99999
- Part25.TopParamB = 99999
- Part25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.brickColor = BrickColor.new("Institutional white")
- Part25.FormFactor = Enum.FormFactor.Symmetric
- Part25.formFactor = Enum.FormFactor.Symmetric
- Part26.Name = "Left Arm"
- Part26.Parent = Model19
- Part26.CFrame = CFrame.new(46.1211166, 4.70784712, 26.8889332, 0.722645879, -0.371694505, 0.58277452, 0.264717102, 0.92765379, 0.26340729, -0.638520062, -0.0360797942, 0.768759072)
- Part26.Orientation = Vector3.new(-15.2699995, 37.1599998, 15.9299994)
- Part26.Position = Vector3.new(46.1211166, 4.70784712, 26.8889332)
- Part26.Rotation = Vector3.new(-18.9099998, 35.6499977, 27.2199993)
- Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part26.Size = Vector3.new(1, 2, 1)
- Part26.Anchored = true
- Part26.BackParamA = -99999
- Part26.BackParamB = 99999
- Part26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part26.BottomParamA = -99999
- Part26.BottomParamB = 99999
- Part26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part26.BrickColor = BrickColor.new("Institutional white")
- Part26.CanCollide = false
- Part26.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- Part26.Elasticity = 0
- Part26.Friction = 2
- Part26.FrontParamA = -99999
- Part26.FrontParamB = 99999
- Part26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part26.LeftParamA = -99999
- Part26.LeftParamB = 99999
- Part26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part26.Locked = true
- Part26.Material = Enum.Material.SmoothPlastic
- Part26.RightParamA = -99999
- Part26.RightParamB = 99999
- Part26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part26.TopParamA = -99999
- Part26.TopParamB = 99999
- Part26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part26.brickColor = BrickColor.new("Institutional white")
- Part26.FormFactor = Enum.FormFactor.Symmetric
- Part26.formFactor = Enum.FormFactor.Symmetric
- Part27.Name = "Head"
- Part27.Parent = Model19
- Part27.CFrame = CFrame.new(47.1856384, 6.40951109, 26.0970631, 0.40345639, -0.128739178, 0.905896902, 0.00224637985, 0.990188837, 0.139717638, -0.914996147, -0.054335013, 0.399787188)
- Part27.Orientation = Vector3.new(-8.02999973, 66.1899948, 0.129999995)
- Part27.Position = Vector3.new(47.1856384, 6.40951109, 26.0970631)
- Part27.Rotation = Vector3.new(-19.2600002, 64.9399948, 17.6999989)
- Part27.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part27.Size = Vector3.new(2, 1, 1)
- Part27.Anchored = true
- Part27.BackParamA = -99999
- Part27.BackParamB = 99999
- Part27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.BottomParamA = -99999
- Part27.BottomParamB = 99999
- Part27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.BrickColor = BrickColor.new("Institutional white")
- Part27.CanCollide = false
- Part27.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- Part27.Elasticity = 0
- Part27.Friction = 2
- Part27.FrontParamA = -99999
- Part27.FrontParamB = 99999
- Part27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.LeftParamA = -99999
- Part27.LeftParamB = 99999
- Part27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.Locked = true
- Part27.Material = Enum.Material.SmoothPlastic
- Part27.RightParamA = -99999
- Part27.RightParamB = 99999
- Part27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.TopParamA = -99999
- Part27.TopParamB = 99999
- Part27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.brickColor = BrickColor.new("Institutional white")
- Part27.FormFactor = Enum.FormFactor.Symmetric
- Part27.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh28.Name = "3.0 Female Head Mesh"
- SpecialMesh28.Parent = Part27
- SpecialMesh28.MeshId = "rbxassetid://82992952"
- SpecialMesh28.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh28.MeshType = Enum.MeshType.FileMesh
- Decal29.Name = "face"
- Decal29.Parent = Part27
- Decal29.Texture = "rbxassetid://912935344"
- ManualWeld30.Name = "HairWeld"
- ManualWeld30.Parent = Part27
- ManualWeld30.C1 = CFrame.new(-0.0288670063, 0.110000014, 0.00816631317, 0.962253213, 0, 0.27215606, 0, 1, 0, -0.27215606, 0, 0.962253213)
- ManualWeld30.Part0 = Part27
- ManualWeld30.Part1 = MeshPart24
- ManualWeld30.part1 = MeshPart24
- Part31.Name = "Torso"
- Part31.Parent = Model19
- Part31.CFrame = CFrame.new(47.2500229, 4.95505524, 26.4065723, 1, 0, 0, 0, 0.959327936, 0.282294095, 0, -0.282294095, 0.959327936)
- Part31.Orientation = Vector3.new(-16.3999996, 0, 0)
- Part31.Position = Vector3.new(47.2500229, 4.95505524, 26.4065723)
- Part31.Rotation = Vector3.new(-16.3999996, 0, 0)
- Part31.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part31.Size = Vector3.new(2, 2, 1)
- Part31.Anchored = true
- Part31.BackParamA = -99999
- Part31.BackParamB = 99999
- Part31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.BottomParamA = -99999
- Part31.BottomParamB = 99999
- Part31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.BrickColor = BrickColor.new("Institutional white")
- Part31.CanCollide = false
- Part31.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- Part31.Elasticity = 0
- Part31.Friction = 2
- Part31.FrontParamA = -99999
- Part31.FrontParamB = 99999
- Part31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.LeftParamA = -99999
- Part31.LeftParamB = 99999
- Part31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.Locked = true
- Part31.Material = Enum.Material.SmoothPlastic
- Part31.RightParamA = -99999
- Part31.RightParamB = 99999
- Part31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.TopParamA = -99999
- Part31.TopParamB = 99999
- Part31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.brickColor = BrickColor.new("Institutional white")
- Part31.FormFactor = Enum.FormFactor.Symmetric
- Part31.formFactor = Enum.FormFactor.Symmetric
- Decal32.Name = "roblox"
- Decal32.Parent = Part31
- Motor6D33.Name = "Right Shoulder"
- Motor6D33.Parent = Part31
- Motor6D33.MaxVelocity = 0.10000000149012
- Motor6D33.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D33.C1 = CFrame.new(-0.605104446, 0.557415009, 0.00943374634, 0.0141932666, -0.511808157, 0.858982503, 0.0612798631, 0.857899427, 0.510150313, -0.998019695, 0.0453976318, 0.0435399301)
- Motor6D33.Part0 = Part31
- Motor6D33.Part1 = Part21
- Motor6D33.part1 = Part21
- Motor6D34.Name = "Left Shoulder"
- Motor6D34.Parent = Part31
- Motor6D34.MaxVelocity = 0.10000000149012
- Motor6D34.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D34.C1 = CFrame.new(0.683690548, 0.648880661, -0.212750435, -0.537822008, 0.434200943, -0.722645879, 0.227258816, 0.900109231, 0.371694505, 0.811850309, 0.0356778391, -0.58277452)
- Motor6D34.Part0 = Part31
- Motor6D34.Part1 = Part26
- Motor6D34.part1 = Part26
- Motor6D35.Name = "Right Hip"
- Motor6D35.Parent = Part31
- Motor6D35.MaxVelocity = 0.10000000149012
- Motor6D35.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D35.C1 = CFrame.new(0.364956856, 0.869245231, 0.294400215, 0.390036374, 0.26752308, 0.881080627, -0.336072654, 0.932215095, -0.134276569, -0.857278705, -0.24373436, 0.45350498)
- Motor6D35.Part0 = Part31
- Motor6D35.Part1 = Part20
- Motor6D35.part1 = Part20
- Motor6D36.Name = "Left Hip"
- Motor6D36.Parent = Part31
- Motor6D36.MaxVelocity = 0.10000000149012
- Motor6D36.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D36.C1 = CFrame.new(-0.290020466, 0.910706997, 0.338939667, 0.510876119, -0.276356697, -0.814022481, 0.337199807, 0.935451508, -0.105956487, 0.790760338, -0.220357567, 0.571087241)
- Motor6D36.Part0 = Part31
- Motor6D36.Part1 = Part25
- Motor6D36.part1 = Part25
- Motor6D37.Name = "Neck"
- Motor6D37.Parent = Part31
- Motor6D37.MaxVelocity = 0.10000000149012
- Motor6D37.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D37.C1 = CFrame.new(9.53674316e-07, -0.500000477, -9.53674316e-07, -0.40345639, -0.877147198, 0.260453016, 0.128739178, 0.227399379, 0.965254247, -0.905896902, 0.422968477, 0.0211774763)
- Motor6D37.Part0 = Part31
- Motor6D37.Part1 = Part27
- Motor6D37.part1 = Part27
- Humanoid38.Name = "DisplayHumanoid"
- Humanoid38.Parent = Model19
- Humanoid38.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid38.Health = inf
- Humanoid38.HealthDisplayDistance = 0
- Humanoid38.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOff
- Humanoid38.JumpPower = 0
- Humanoid38.LeftLeg = Part25
- Humanoid38.MaxHealth = inf
- Humanoid38.MaxSlopeAngle = 0
- Humanoid38.NameDisplayDistance = 0
- Humanoid38.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
- Humanoid38.RightLeg = Part20
- Humanoid38.Torso = Part22
- Humanoid38.WalkSpeed = 0
- Humanoid38.maxHealth = inf
- Model39.Name = "Status"
- Model39.Parent = Humanoid38
- Model40.Name = "AvalibleSpawns"
- Model40.Parent = Model39
- BodyColors41.Parent = Model19
- BodyColors41.HeadColor = BrickColor.new("Institutional white")
- BodyColors41.HeadColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors41.LeftArmColor = BrickColor.new("Institutional white")
- BodyColors41.LeftArmColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors41.LeftLegColor = BrickColor.new("Institutional white")
- BodyColors41.LeftLegColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors41.RightArmColor = BrickColor.new("Institutional white")
- BodyColors41.RightArmColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors41.RightLegColor = BrickColor.new("Institutional white")
- BodyColors41.RightLegColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors41.TorsoColor = BrickColor.new("Institutional white")
- BodyColors41.TorsoColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- Pants42.Name = "Dress"
- Pants42.Parent = Model19
- Pants42.PantsTemplate = "rbxassetid://912935270"
- CharacterMesh43.Name = "3.0 Female Left Arm"
- CharacterMesh43.Parent = Model19
- CharacterMesh43.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh43.MeshId = 83001137
- CharacterMesh44.Name = "3.0 Female Left Leg"
- CharacterMesh44.Parent = Model19
- CharacterMesh44.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh44.MeshId = 81628361
- CharacterMesh45.Name = "3.0 Female Right Arm"
- CharacterMesh45.Parent = Model19
- CharacterMesh45.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh45.MeshId = 83001181
- CharacterMesh46.Name = "3.0 Female Right Leg"
- CharacterMesh46.Parent = Model19
- CharacterMesh46.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh46.MeshId = 81628308
- CharacterMesh47.Name = "3.0 Female Torso"
- CharacterMesh47.Parent = Model19
- CharacterMesh47.BodyPart = Enum.BodyPart.Torso
- CharacterMesh47.MeshId = 82987757
- Camera48.Name = "ThumbnailCamera"
- Camera48.Parent = Model19
- Camera48.CFrame = CFrame.new(-13.1875181, -0.300000012, -2.97541857, -0.707107067, -0, -0.70710659, -0, 1.00000012, -0, 0.70710659, 0, -0.707107067)
- Camera48.CoordinateFrame = CFrame.new(-13.1875181, -0.300000012, -2.97541857, -0.707107067, -0, -0.70710659, -0, 1.00000012, -0, 0.70710659, 0, -0.707107067)
- Camera48.FieldOfView = 19.999999651642
- Camera48.Focus = CFrame.new(-11.7733049, -0.300000012, -1.56120443, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera48.HeadLocked = false
- Camera48.HeadScale = 0
- Camera48.focus = CFrame.new(-11.7733049, -0.300000012, -1.56120443, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part49.Name = "Right Arm"
- Part49.Parent = Model0
- Part49.CFrame = CFrame.new(48.7500229, 5.16120005, 16.2600136, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part49.Position = Vector3.new(48.7500229, 5.16120005, 16.2600136)
- Part49.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part49.Size = Vector3.new(1, 2, 1)
- Part49.BackParamA = -99999
- Part49.BackParamB = 99999
- Part49.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.BottomParamA = -99999
- Part49.BottomParamB = 99999
- Part49.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.BrickColor = BrickColor.new("Institutional white")
- Part49.CanCollide = false
- Part49.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- Part49.Elasticity = 0
- Part49.Friction = 2
- Part49.FrontParamA = -99999
- Part49.FrontParamB = 99999
- Part49.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.LeftParamA = -99999
- Part49.LeftParamB = 99999
- Part49.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.Locked = true
- Part49.Material = Enum.Material.SmoothPlastic
- Part49.RightParamA = -99999
- Part49.RightParamB = 99999
- Part49.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.TopParamA = -99999
- Part49.TopParamB = 99999
- Part49.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.brickColor = BrickColor.new("Institutional white")
- Part49.FormFactor = Enum.FormFactor.Symmetric
- Part49.formFactor = Enum.FormFactor.Symmetric
- Part50.Name = "Right Leg"
- Part50.Parent = Model0
- Part50.CFrame = CFrame.new(47.7500229, 3.16120005, 16.2600136, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part50.Position = Vector3.new(47.7500229, 3.16120005, 16.2600136)
- Part50.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part50.Size = Vector3.new(1, 2, 1)
- Part50.BackParamA = -99999
- Part50.BackParamB = 99999
- Part50.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part50.BottomParamA = -99999
- Part50.BottomParamB = 99999
- Part50.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part50.BrickColor = BrickColor.new("Institutional white")
- Part50.CanCollide = false
- Part50.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- Part50.Elasticity = 0
- Part50.Friction = 2
- Part50.FrontParamA = -99999
- Part50.FrontParamB = 99999
- Part50.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part50.LeftParamA = -99999
- Part50.LeftParamB = 99999
- Part50.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part50.Locked = true
- Part50.Material = Enum.Material.SmoothPlastic
- Part50.RightParamA = -99999
- Part50.RightParamB = 99999
- Part50.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part50.TopParamA = -99999
- Part50.TopParamB = 99999
- Part50.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part50.brickColor = BrickColor.new("Institutional white")
- Part50.FormFactor = Enum.FormFactor.Symmetric
- Part50.formFactor = Enum.FormFactor.Symmetric
- Part51.Name = "Left Leg"
- Part51.Parent = Model0
- Part51.CFrame = CFrame.new(46.7500229, 3.16120005, 16.2600136, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part51.Position = Vector3.new(46.7500229, 3.16120005, 16.2600136)
- Part51.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part51.Size = Vector3.new(1, 2, 1)
- Part51.BackParamA = -99999
- Part51.BackParamB = 99999
- Part51.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part51.BottomParamA = -99999
- Part51.BottomParamB = 99999
- Part51.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part51.BrickColor = BrickColor.new("Institutional white")
- Part51.CanCollide = false
- Part51.CustomPhysicalProperties = 0.699999988, 2, 0, 100, 0
- Part51.Elasticity = 0
- Part51.Friction = 2
- Part51.FrontParamA = -99999
- Part51.FrontParamB = 99999
- Part51.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part51.LeftParamA = -99999
- Part51.LeftParamB = 99999
- Part51.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part51.Locked = true
- Part51.Material = Enum.Material.SmoothPlastic
- Part51.RightParamA = -99999
- Part51.RightParamB = 99999
- Part51.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part51.TopParamA = -99999
- Part51.TopParamB = 99999
- Part51.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part51.brickColor = BrickColor.new("Institutional white")
- Part51.FormFactor = Enum.FormFactor.Symmetric
- Part51.formFactor = Enum.FormFactor.Symmetric
- Humanoid52.Name = "SeductiveWoman"
- Humanoid52.Parent = Model0
- Humanoid52.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid52.Health = inf
- Humanoid52.HealthDisplayDistance = 0
- Humanoid52.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOff
- Humanoid52.JumpPower = 60
- Humanoid52.LeftLeg = Part51
- Humanoid52.MaxHealth = inf
- Humanoid52.MaxSlopeAngle = 89.900001525879
- Humanoid52.NameDisplayDistance = 0
- Humanoid52.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
- Humanoid52.RightLeg = Part50
- Humanoid52.Torso = Part9
- Humanoid52.WalkSpeed = 18
- Humanoid52.maxHealth = inf
- Model53.Name = "Status"
- Model53.Parent = Humanoid52
- Model54.Name = "AvalibleSpawns"
- Model54.Parent = Model53
- Script55.Name = "Respawn"
- Script55.Parent = Model0
- table.insert(cors,sandbox(Script55,function()
- --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
- local PlayerSpawning=false; --[[ Change this to true if you want the NPC to spawn like a player, and change this to false if you want the NPC to spawn at it's current position. ]]--
- local AdvancedRespawnScript=script;
- repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model";
- local Laina=AdvancedRespawnScript.Parent;
- if AdvancedRespawnScript and Laina and Laina:FindFirstChild("Thumbnail")then
- Laina:FindFirstChild("Thumbnail"):Destroy();
- end;
- local GameDerbis=Game:GetService("Debris");
- local LainaHumanoid;
- for _,Child in pairs(Laina:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- LainaHumanoid=Child;
- end;
- end;
- local Respawndant=Laina:Clone();
- if PlayerSpawning then --[[ LOOK AT LINE: 2. ]]--
- coroutine.resume(coroutine.create(function()
- if Laina and LainaHumanoid and LainaHumanoid:FindFirstChild("Status")and not LainaHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns")then
- SpawnModel=Instance.new("Model");
- SpawnModel.Parent=LainaHumanoid.Status;
- SpawnModel.Name="AvalibleSpawns";
- else
- SpawnModel=LainaHumanoid:FindFirstChild("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:GetService("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));
- end;
- function Respawn()
- Wait(5);
- Respawndant.Parent=Laina.Parent;
- Respawndant:makeJoints();
- Respawndant:FindFirstChild("Head"):MakeJoints();
- Respawndant:FindFirstChild("Torso"):MakeJoints();
- Laina:remove();
- end;
- if AdvancedRespawnScript and Laina and LainaHumanoid then
- LainaHumanoid.Died:connect(Respawn);
- end;
- --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
- end))
- BodyColors56.Parent = Model0
- BodyColors56.HeadColor = BrickColor.new("Institutional white")
- BodyColors56.HeadColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors56.LeftArmColor = BrickColor.new("Institutional white")
- BodyColors56.LeftArmColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors56.LeftLegColor = BrickColor.new("Institutional white")
- BodyColors56.LeftLegColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors56.RightArmColor = BrickColor.new("Institutional white")
- BodyColors56.RightArmColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors56.RightLegColor = BrickColor.new("Institutional white")
- BodyColors56.RightLegColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors56.TorsoColor = BrickColor.new("Institutional white")
- BodyColors56.TorsoColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- Pants57.Name = "Dress"
- Pants57.Parent = Model0
- Pants57.PantsTemplate = "rbxassetid://912935270"
- Script58.Name = "LainaMain"
- Script58.Parent = Model0
- table.insert(cors,sandbox(Script58,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:IsA("Humanoid")and Child.Health~=0 then
- LainaHumanoid=Child;
- end;
- end;
- local LeftLegC0,RightLegC0,LeftArmC0,RightArmC0,HeadC0,LeftLegC02,RightLegC02=CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0),CFrame.new(1,-1,0,0,0,1,0,1,-0,-1,0,0),CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0),CFrame.new(1,0.5,0,0,0,1,0,1,-0,-1,0,0),CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0),CFrame.new(-0.5,-1,0.5,0,0,-1,0,1,0,1,0,0),CFrame.new(0.5,-1,0.5,0,0,1,0,1,-0,-1,0,0);
- 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.8699)),IgnoreList)
- end;
- while Wait(0)do
- if LainaScript and Laina and Laina:FindFirstChild("Torso") and LainaHumanoid and LainaHumanoid.Health~=0 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:IsA("Humanoid")and Child.Health~=0 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 and not LainaHumanoid.Sit and not IsOnTop then
- LainaHumanoid.Jump=true;
- end;
- end;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health==0 and Laina:FindFirstChild("Head") and Laina:FindFirstChild("Head"):FindFirstChild("face")and Laina:FindFirstChild("Head"):FindFirstChild("Hearts")and Laina:FindFirstChild("Head"):FindFirstChild("BrokenHearts")and Laina:FindFirstChild("Head"):FindFirstChild("PlasticCreak")then
- Laina:FindFirstChild("Head"):FindFirstChild("face").Texture="rbxassetid://912935337";
- Laina:FindFirstChild("Head"):FindFirstChild("Hearts").Enabled=false;
- Laina:FindFirstChild("Head"):FindFirstChild("BrokenHearts").Enabled=true;
- if LainaScript~=nil and Laina~=nil and Laina:FindFirstChild("Head")~=nil and Laina:FindFirstChild("Head"):FindFirstChild("PlasticCreak")~=nil and Laina:FindFirstChild("Head"):FindFirstChild("PlasticCreak").IsPlaying then
- Laina:FindFirstChild("Head"):FindFirstChild("PlasticCreak"):Stop();
- end;
- if LainaScript~=nil and Laina~=nil and Laina:FindFirstChild("Torso")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Left Hip")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Left Shoulder")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Neck")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Right Hip")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Right Shoulder")~=nil then
- Laina:FindFirstChild("Torso"):FindFirstChild("Left Hip").C0=LeftLegC0;
- Laina:FindFirstChild("Torso"):FindFirstChild("Left Shoulder").C0=LeftArmC0;
- Laina:FindFirstChild("Torso"):FindFirstChild("Neck").C0=HeadC0;
- Laina:FindFirstChild("Torso"):FindFirstChild("Right Hip").C0=RightLegC0;
- Laina:FindFirstChild("Torso"):FindFirstChild("Right Shoulder").C0=RightArmC0;
- end;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health~=0 and Laina:FindFirstChild("Head") and Laina:FindFirstChild("Head"):FindFirstChild("face")and Laina:FindFirstChild("Head"):FindFirstChild("Hearts")and Laina:FindFirstChild("Head"):FindFirstChild("BrokenHearts")and Laina:FindFirstChild("Head"):FindFirstChild("PlasticCreak")and not IsOnTop then
- Laina:FindFirstChild("Head"):FindFirstChild("face").Texture="rbxassetid://912935344";
- Laina:FindFirstChild("Head"):FindFirstChild("Hearts").Enabled=false;
- Laina:FindFirstChild("Head"):FindFirstChild("BrokenHearts").Enabled=false;
- if LainaScript~=nil and Laina~=nil and Laina:FindFirstChild("Head")~=nil and Laina:FindFirstChild("Head"):FindFirstChild("PlasticCreak")~=nil and Laina:FindFirstChild("Head"):FindFirstChild("PlasticCreak").IsPlaying then
- Laina:FindFirstChild("Head"):FindFirstChild("PlasticCreak"):Stop();
- end;
- if LainaScript~=nil and Laina~=nil and Laina:FindFirstChild("Torso")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Left Hip")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Left Shoulder")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Neck")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Right Hip")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Right Shoulder")~=nil then
- Laina:FindFirstChild("Torso"):FindFirstChild("Left Hip").C0=LeftLegC0;
- Laina:FindFirstChild("Torso"):FindFirstChild("Left Shoulder").C0=LeftArmC0;
- Laina:FindFirstChild("Torso"):FindFirstChild("Neck").C0=HeadC0;
- Laina:FindFirstChild("Torso"):FindFirstChild("Right Hip").C0=RightLegC0;
- Laina:FindFirstChild("Torso"):FindFirstChild("Right Shoulder").C0=RightArmC0;
- end;
- elseif Laina and LainaHumanoid and LainaHumanoid.Health~=0 and Laina:FindFirstChild("Head") and Laina:FindFirstChild("Head"):FindFirstChild("face")and Laina:FindFirstChild("Head"):FindFirstChild("Hearts")and Laina:FindFirstChild("Head"):FindFirstChild("BrokenHearts")and Laina:FindFirstChild("Head"):FindFirstChild("PlasticCreak")and IsOnTop then
- Laina:FindFirstChild("Head"):FindFirstChild("face").Texture="rbxassetid://912935342";
- Laina:FindFirstChild("Head"):FindFirstChild("Hearts").Enabled=true;
- Laina:FindFirstChild("Head"):FindFirstChild("BrokenHearts").Enabled=false;
- if LainaScript~=nil and Laina~=nil and Laina:FindFirstChild("Head")~=nil and Laina:FindFirstChild("Head"):FindFirstChild("PlasticCreak")~=nil and not Laina:FindFirstChild("Head"):FindFirstChild("PlasticCreak").IsPlaying then
- Laina:FindFirstChild("Head"):FindFirstChild("PlasticCreak"):Play();
- end;
- local LRotation,RRotation,LARotation,RARotation,HRotation=math.sin(tick()*9.86)*0.5,math.sin(tick()*9.86)*0.5,math.sin(tick()*9.86)*-0.3,math.sin(tick()*9.86)*-0.3,math.sin(tick()*9.86)*-0.3
- if LainaScript~=nil and Laina~=nil and Laina:FindFirstChild("Torso")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Left Hip")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Left Shoulder")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Neck")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Right Hip")~=nil and Laina:FindFirstChild("Torso"):FindFirstChild("Right Shoulder")~=nil then
- Laina:FindFirstChild("Torso"):FindFirstChild("Left Hip").C0=LeftLegC02*CFrame.fromEulerAnglesXYZ(1.5,1.5-LRotation,-1);
- Laina:FindFirstChild("Torso"):FindFirstChild("Left Shoulder").C0=LeftArmC0*CFrame.fromEulerAnglesXYZ(0,0,0.3+LARotation);
- Laina:FindFirstChild("Torso"):FindFirstChild("Neck").C0=HeadC0*CFrame.fromEulerAnglesXYZ(0.5+HRotation,0,0);
- Laina:FindFirstChild("Torso"):FindFirstChild("Right Hip").C0=RightLegC02*CFrame.fromEulerAnglesXYZ(1.5,-1.5+RRotation,1);
- Laina:FindFirstChild("Torso"):FindFirstChild("Right Shoulder").C0=RightArmC0*CFrame.fromEulerAnglesXYZ(0,0,-0.3-RARotation);
- end;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health~=0 and not LainaHumanoid.AutoJumpEnabled then
- LainaHumanoid.AutoJumpEnabled=true;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health~=0 and not LainaHumanoid.AutoRotate then
- LainaHumanoid.AutoRotate=true;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health~=0 and LainaHumanoid.PlatformStand then
- LainaHumanoid.PlatformStand=false;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health~=0 and LainaHumanoid.Sit and not IsOnTop then
- LainaHumanoid.Sit=false;
- end;
- if Laina and LainaHumanoid and LainaHumanoid.Health~=0 then
- LainaHumanoid.JumpPower=60;
- LainaHumanoid.WalkSpeed=20;
- end;
- local NoticeDistance=99999e99999;
- for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
- if TargetModel and TargetModel:IsA("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~=nil and Child:IsA("Humanoid")and Child.Health~=0 then
- FoundHumanoid=Child;
- end;
- end;
- if Laina and Laina:FindFirstChild("HumanoidRootPart")and LainaHumanoid and LainaHumanoid.Health~=0 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 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()*9.86)*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 and Laina and LainaHumanoid and LainaHumanoid.Health~=0 then
- if TargetModel and FoundHumanoid and FoundHumanoid.Health~=0 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 and FoundHumanoid:FindFirstChild("Status")and FoundHumanoid:FindFirstChild("Status").ClassName=="Model"or TargetModel and FoundHumanoid and FoundHumanoid.Health~=0 and not FoundHumanoid:FindFirstChild("Status")then
- local JumpOkNPC=LainaScript:FindFirstChild("JumpOkNPC"):Clone();
- JumpOkNPC.Parent=TargetModel;
- JumpOkNPC.Disabled=false;
- end;
- end;
- Spawn(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 and Laina and LainaHumanoid and LainaHumanoid.Health~=0 then
- LainaHumanoid.Sit=true;
- if Laina and LainaHumanoid and LainaHumanoid.Health~=0 and Laina:FindFirstChild("Torso")and LainaWeld then
- LainaWeld.C0=CFrame.new(0,-0.1,-1.4)*CFrame.fromEulerAnglesXYZ(-0.7+math.sin(tick()*9.86)*0.3,math.pi,0);
- end;
- if TargetModel~=nil and TargetPart~=nil and FoundHumanoid~=nil and FoundHumanoid.Health~=0 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))
- LocalScript59.Name = "JumpOk"
- LocalScript59.Parent = Script58
- table.insert(cors,sandbox(LocalScript59,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))
- LocalScript59.Disabled = true
- Script60.Name = "JumpOkNPC"
- Script60.Parent = Script58
- table.insert(cors,sandbox(Script60,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))
- Script60.Disabled = true
- Decal61.Parent = Script58
- Decal61.Texture = "http://www.roblox.com/asset/?id=912935342"
- CharacterMesh62.Name = "3.0 Female Left Arm"
- CharacterMesh62.Parent = Model0
- CharacterMesh62.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh62.MeshId = 83001137
- CharacterMesh63.Name = "3.0 Female Left Leg"
- CharacterMesh63.Parent = Model0
- CharacterMesh63.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh63.MeshId = 81628361
- CharacterMesh64.Name = "3.0 Female Right Arm"
- CharacterMesh64.Parent = Model0
- CharacterMesh64.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh64.MeshId = 83001181
- CharacterMesh65.Name = "3.0 Female Right Leg"
- CharacterMesh65.Parent = Model0
- CharacterMesh65.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh65.MeshId = 81628308
- CharacterMesh66.Name = "3.0 Female Torso"
- CharacterMesh66.Parent = Model0
- CharacterMesh66.BodyPart = Enum.BodyPart.Torso
- CharacterMesh66.MeshId = 82987757
- Script67.Name = "SoundNew"
- Script67.Parent = Model0
- table.insert(cors,sandbox(Script67,function()
- --[[ Compact mode by: Brutez. ]]--
- Spawn(function()
- local SFX,Humanoid,Head,Sounds={Died=0;Running=1;Swimming=2;Climbing=3,Jumping=4;GettingUp=5;FreeFalling=6;FallingDown=7;Landing=8;Splash=9;},nil,nil,{};
- local Figure=script.Parent;Head=Figure:FindFirstChild("Head");while not Humanoid do for _,NewHumanoid in pairs(Figure:GetChildren())do if NewHumanoid:IsA("Humanoid")then Humanoid=NewHumanoid;break;end;end;Figure.ChildAdded:wait();end;Sounds[SFX.Died]=Head:FindFirstChild("Died");Sounds[SFX.Running]=Head:FindFirstChild("Running");Sounds[SFX.Swimming]=Head:FindFirstChild("Swimming");Sounds[SFX.Climbing]=Head:FindFirstChild("Climbing");Sounds[SFX.Jumping]=Head:FindFirstChild("Jumping");Sounds[SFX.GettingUp]=Head:FindFirstChild("GettingUp");Sounds[SFX.FreeFalling]=Head:FindFirstChild("FreeFalling");Sounds[SFX.Landing]=Head:FindFirstChild("Landing");Sounds[SFX.Splash]=Head:FindFirstChild("Splash");
- local Util={YForLineGivenXAndTwoPts=function(x,pt1x,pt1y,pt2x,pt2y)local m=(pt1y-pt2y)/(pt1x-pt2x);local b=(pt1y-m*pt1x);return m*x+b;end;Clamp=function(val,min,max)return math.min(max,math.max(min,val));end;HorizontalSpeed=function(Head)local hVel=Head.Velocity+Vector3.new(0,-Head.Velocity.Y,0);return hVel.magnitude;end;VerticalSpeed=function(Head)return math.abs(Head.Velocity.Y);end;Play=function(sound)if sound.TimePosition~=0 then sound.TimePosition=0;end;if not sound.IsPlaying then sound.Playing=true;end;end;Pause=function(sound)if sound.IsPlaying then sound.Playing=false;end;end;Resume=function(sound)if not sound.IsPlaying then sound.Playing=true;end;end;Stop=function(sound)if sound.IsPlaying then sound.Playing=false;end;if sound.TimePosition~=0 then sound.TimePosition=0;end;end;};
- local playingLoopedSounds={};local activeState=nil;function setSoundInPlayingLoopedSounds(sound)for i=1,#playingLoopedSounds do if playingLoopedSounds[i]==sound then return;end;end;table.insert(playingLoopedSounds,sound);end;function stopPlayingLoopedSoundsExcept(except)for i=#playingLoopedSounds,1,-1 do if playingLoopedSounds[i]~=except then Util.Pause(playingLoopedSounds[i]);table.remove(playingLoopedSounds,i);end;end;end;local stateUpdateHandler={[Enum.HumanoidStateType.Dead]=function()stopPlayingLoopedSoundsExcept();local sound=Sounds[SFX.Died];Util.Play(sound);end;[Enum.HumanoidStateType.RunningNoPhysics]=function()stateUpdated(Enum.HumanoidStateType.Running);end;[Enum.HumanoidStateType.Running]=function()local sound=Sounds[SFX.Running];stopPlayingLoopedSoundsExcept(sound);if Util.HorizontalSpeed(Head)>0.5 then Util.Resume(sound);setSoundInPlayingLoopedSounds(sound);else stopPlayingLoopedSoundsExcept();end;end;[Enum.HumanoidStateType.Swimming]=function()if activeState~=Enum.HumanoidStateType.Swimming and Util.VerticalSpeed(Head)>0.1 then local splashSound=Sounds[SFX.Splash];splashSound.Volume=Util.Clamp(Util.YForLineGivenXAndTwoPts(Util.VerticalSpeed(Head),100,0.28,350,1),0,1);Util.Play(splashSound);end;do local sound=Sounds[SFX.Swimming];stopPlayingLoopedSoundsExcept(sound);Util.Resume(sound);setSoundInPlayingLoopedSounds(sound);end;end;[Enum.HumanoidStateType.Climbing]=function()local sound=Sounds[SFX.Climbing];if Util.VerticalSpeed(Head)>0.1 then Util.Resume(sound);stopPlayingLoopedSoundsExcept(sound);else stopPlayingLoopedSoundsExcept();end;setSoundInPlayingLoopedSounds(sound);end;[Enum.HumanoidStateType.Jumping]=function()if activeState==Enum.HumanoidStateType.Jumping then return;end;stopPlayingLoopedSoundsExcept();local sound=Sounds[SFX.Jumping];Util.Play(sound);end;[Enum.HumanoidStateType.GettingUp]=function()stopPlayingLoopedSoundsExcept();local sound=Sounds[SFX.GettingUp];Util.Play(sound);end;[Enum.HumanoidStateType.Freefall]=function()if activeState==Enum.HumanoidStateType.Freefall then return;end;local sound=Sounds[SFX.FreeFalling];sound.Volume=0;stopPlayingLoopedSoundsExcept();end;[Enum.HumanoidStateType.FallingDown]=function()stopPlayingLoopedSoundsExcept();end;[Enum.HumanoidStateType.Landed]=function()stopPlayingLoopedSoundsExcept();if Util.VerticalSpeed(Head)>75 then local landingSound=Sounds[SFX.Landing];landingSound.Volume=Util.Clamp(Util.YForLineGivenXAndTwoPts(Util.VerticalSpeed(Head),50,0,100,1),0,1);Util.Play(landingSound);end;end;[Enum.HumanoidStateType.Seated]=function()stopPlayingLoopedSoundsExcept();end;};function stateUpdated(state)if stateUpdateHandler[state]~=nil then stateUpdateHandler[state]();end;activeState=state;end;Humanoid.Died:connect(function()stateUpdated(Enum.HumanoidStateType.Dead);end);Humanoid.Running:connect(function()stateUpdated(Enum.HumanoidStateType.Running);end);Humanoid.Swimming:connect(function()stateUpdated(Enum.HumanoidStateType.Swimming);end);Humanoid.Climbing:connect(function()stateUpdated(Enum.HumanoidStateType.Climbing);end);Humanoid.Jumping:connect(function()stateUpdated(Enum.HumanoidStateType.Jumping);end);Humanoid.GettingUp:connect(function()stateUpdated(Enum.HumanoidStateType.GettingUp);end);Humanoid.FreeFalling:connect(function()stateUpdated(Enum.HumanoidStateType.Freefall);end);Humanoid.FallingDown:connect(function()stateUpdated(Enum.HumanoidStateType.FallingDown);end);Humanoid.StateChanged:connect(function(old,new)stateUpdated(new);end);function onUpdate(stepDeltaSeconds,tickSpeedSeconds)local stepScale=stepDeltaSeconds/tickSpeedSeconds;do local sound=Sounds[SFX.FreeFalling];if activeState==Enum.HumanoidStateType.Freefall then if Head.Velocity.Y<0 and Util.VerticalSpeed(Head)>75 then Util.Resume(sound);local ANIMATION_LENGTH_SECONDS=1.1;local normalizedIncrement=tickSpeedSeconds/ANIMATION_LENGTH_SECONDS;sound.Volume=Util.Clamp(sound.Volume+normalizedIncrement*stepScale,0,1);else sound.Volume=0;end;else Util.Pause(sound);end;end;do local sound=Sounds[SFX.Running];if activeState==Enum.HumanoidStateType.Running then if Util.HorizontalSpeed(Head)<0.5 then Util.Pause(sound);end;end;end;end;local lastTick=tick();local TICK_SPEED_SECONDS=0.25;while true do onUpdate(tick()-lastTick,TICK_SPEED_SECONDS);lastTick=tick();wait(TICK_SPEED_SECONDS);end;
- end);
- --[[ Compact mode by: Brutez. ]]--
- function CreateNewSound(name,id,looped,pitch,parent)
- local sound=Instance.new("Sound");
- sound.SoundId=id;
- sound.Name=name;
- sound.archivable=false;
- sound.Parent=parent;
- sound.Pitch=pitch;
- sound.Looped=looped;
- sound.MinDistance=20;
- sound.MaxDistance=10000;
- sound.Volume=1;
- return sound;
- end;
- local head=script.Parent:FindFirstChild("Head");
- CreateNewSound("GettingUp","rbxasset://sounds/action_get_up.mp3",false,1,head);
- CreateNewSound("Died","rbxasset://sounds/uuhhh.mp3",false,1,head);
- CreateNewSound("FreeFalling","rbxasset://sounds/action_falling.mp3",true,1,head);
- CreateNewSound("Jumping","rbxasset://sounds/action_jump.mp3",false,1,head);
- CreateNewSound("Landing","rbxasset://sounds/action_jump_land.mp3",false,1,head);
- CreateNewSound("Splash","rbxasset://sounds/impact_water.mp3",false,1,head);
- CreateNewSound("Running","rbxasset://sounds/action_footsteps_plastic.mp3",true,1.85,head);
- CreateNewSound("Swimming","rbxasset://sounds/action_swim.mp3",true,1.6,head);
- CreateNewSound("Climbing","rbxasset://sounds/action_footsteps_plastic.mp3",true,1,head);
- end))
- Script68.Name = "AnimateNew"
- Script68.Parent = Model0
- table.insert(cors,sandbox(Script68,function()
- local Figure = script.Parent
- local Torso = Figure:FindFirstChild("Torso")
- local RightShoulder = Torso:FindFirstChild("Right Shoulder")
- local LeftShoulder = Torso:FindFirstChild("Left Shoulder")
- local RightHip = Torso:FindFirstChild("Right Hip")
- local LeftHip = Torso:FindFirstChild("Left Hip")
- local Neck = Torso:FindFirstChild("Neck")
- local Humanoid;
- for _,Child in pairs(Figure:GetChildren())do
- if Child~=nil and Child:IsA("Humanoid")and Child.Health~=0 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)
- currentAnimTrack.Priority = Enum.AnimationPriority.Core
- -- 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, priority)
- 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)
- if priority then
- toolAnimTrack.Priority = priority
- end
- -- 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
- if emoteNames[currentAnim] == nil then
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- end
- 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, Enum.AnimationPriority.Idle)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action)
- 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
- -- print("Wha " .. pose)
- 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)
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Figure.Parent ~= nil do
- local _, time = wait(0.1)
- move(time)
- end
- end))
- StringValue69.Name = "climb"
- StringValue69.Parent = Script68
- Animation70.Name = "ClimbAnim"
- Animation70.Parent = StringValue69
- Animation70.AnimationId = "http://www.roblox.com/asset/?id=180436334"
- StringValue71.Name = "fall"
- StringValue71.Parent = Script68
- Animation72.Name = "FallAnim"
- Animation72.Parent = StringValue71
- Animation72.AnimationId = "http://www.roblox.com/asset/?id=180436148"
- StringValue73.Name = "idle"
- StringValue73.Parent = Script68
- Animation74.Name = "Animation1"
- Animation74.Parent = StringValue73
- Animation74.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- NumberValue75.Name = "Weight"
- NumberValue75.Parent = Animation74
- NumberValue75.Value = 9
- Animation76.Name = "Animation2"
- Animation76.Parent = StringValue73
- Animation76.AnimationId = "http://www.roblox.com/asset/?id=180435792"
- NumberValue77.Name = "Weight"
- NumberValue77.Parent = Animation76
- NumberValue77.Value = 1
- StringValue78.Name = "jump"
- StringValue78.Parent = Script68
- Animation79.Name = "JumpAnim"
- Animation79.Parent = StringValue78
- Animation79.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue80.Name = "run"
- StringValue80.Parent = Script68
- Animation81.Name = "RunAnim"
- Animation81.Parent = StringValue80
- Animation81.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- StringValue82.Name = "sit"
- StringValue82.Parent = Script68
- Animation83.Name = "SitAnim"
- Animation83.Parent = StringValue82
- Animation83.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- StringValue84.Name = "toolnone"
- StringValue84.Parent = Script68
- Animation85.Name = "ToolNoneAnim"
- Animation85.Parent = StringValue84
- Animation85.AnimationId = "http://www.roblox.com/asset/?id=182393478"
- StringValue86.Name = "walk"
- StringValue86.Parent = Script68
- Animation87.Name = "WalkAnim"
- Animation87.Parent = StringValue86
- Animation87.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- Script88.Name = "HealthNew"
- Script88.Parent = Model0
- table.insert(cors,sandbox(Script88,function()
- --[[ By: Brutez. ]]--
- local LainaHealthScript=script;
- local Laina=LainaHealthScript.Parent;
- local LainaHumanoid;
- for _,Child in pairs(Laina:GetChildren())do
- if Child~=nil and Child:IsA("Humanoid")and Child.Health~=0 then
- LainaHumanoid=Child;
- end;
- end;
- local Regenerating=false;
- function UpdateHealth()
- if not Regenerating then
- Regenerating=true;
- Spawn(function()
- while LainaHumanoid.Health<LainaHumanoid.MaxHealth do
- local StoredHealth=LainaHumanoid.Health;
- if StoredHealth>0 and StoredHealth<LainaHumanoid.MaxHealth then
- local AdditionalHealth=0.01*LainaHumanoid.MaxHealth;
- StoredHealth=StoredHealth+AdditionalHealth;
- LainaHumanoid.Health=math.min(StoredHealth,LainaHumanoid.MaxHealth);
- end;
- Wait(0.3);
- end;
- if LainaHumanoid.Health>LainaHumanoid.MaxHealth then
- LainaHumanoid.Health=LainaHumanoid.MaxHealth;
- end;
- Regenerating=false;
- end);
- end;
- end;
- LainaHumanoid.HealthChanged:connect(UpdateHealth);
- --[[ By: Brutez. ]]--
- end))
- Camera89.Name = "ThumbnailCamera"
- Camera89.Parent = Model0
- Camera89.CFrame = CFrame.new(-13.1875181, -0.300000012, -2.97541857, -0.707107067, -0, -0.70710659, -0, 1.00000012, -0, 0.70710659, 0, -0.707107067)
- Camera89.CoordinateFrame = CFrame.new(-13.1875181, -0.300000012, -2.97541857, -0.707107067, -0, -0.70710659, -0, 1.00000012, -0, 0.70710659, 0, -0.707107067)
- Camera89.FieldOfView = 19.999999651642
- Camera89.Focus = CFrame.new(-11.7733049, -0.300000012, -1.56120443, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera89.HeadLocked = false
- Camera89.HeadScale = 0
- Camera89.focus = CFrame.new(-11.7733049, -0.300000012, -1.56120443, 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