Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Workspace.BlackKash.Humanoid.MaxHealth = 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999e+999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
- plr = game.Players.LocalPlayer
- char = plr.Character
- ff = Instance.new('ForceField', char)
- ff.Visible = false
- --[[disappear,
- appear,
- transform, 1-9
- dance,
- guns, ot
- guns, out
- guns, in
- guns, explodingbullet
- guns, smokebullet
- guns, normalbullet
- ride,
- unride,
- ]]--
- char = game.Players.LocalPlayer.Character
- plr = game.Players.LocalPlayer
- char.Archivable = true
- folder = Instance.new('Folder', game.Workspace.CurrentCamera)
- folder.Name = 'DataValue'
- nvm = Instance.new('NumberValue', game.Workspace.CurrentCamera)
- nvm.Value = 0
- nvm.Name = "IsGunsOut"
- nvm2 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
- nvm2.Value = 1
- nvm2.Name = "IsFollowMode"
- nvm3 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
- nvm3.Value = 0
- nvm3.Name = "IsRideMode"
- nvm4 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
- nvm4.Value = 0
- nvm4.Name = "IsVisible"
- nvm5 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
- nvm5.Value = 0
- nvm5.Name = "IsBulletType"
- nvm.Parent = folder
- nvm2.Parent = folder
- nvm3.Parent = folder
- nvm4.Parent = folder
- nvm5.Parent = folder
- bg1 = char:Clone()
- bg1.Archivable = false
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bgname1 = math.random(1, 10)
- if bgname1 == 1 then
- bg1.Name = "John"
- end
- if bgname1 == 2 then
- bg1.Name = "Max"
- end
- if bgname1 == 3 then
- bg1.Name = "Christian"
- end
- if bgname1 == 4 then
- bg1.Name = "Laurence"
- end
- if bgname1 == 5 then
- bg1.Name = "Kelvin"
- end
- if bgname1 == 6 then
- bg1.Name = "Johvany"
- end
- if bgname1 == 7 then
- bg1.Name = "Scott"
- end
- if bgname1 == 8 then
- bg1.Name = "Jonathan"
- end
- if bgname1 == 9 then
- bg1.Name = "Darryl"
- end
- if bgname1 == 10 then
- bg1.Name = "Archie"
- end
- bgpoint1 = Instance.new('Part', char)
- bgpoint1.Anchored = false
- bgpoint1.CanCollide = false
- bgpoint1.Transparency = 1
- bgpoint1.Size = Vector3.new(0.2,0.2,0.2)
- Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
- Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- Weld.Part1 = bgpoint1
- Weld.C1 = CFrame.new(10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- bg2 = char:Clone()
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Archivable = false
- bgname2 = math.random(1, 10)
- if bgname2 == 1 then
- bg2.Name = "John"
- end
- if bgname2 == 2 then
- bg2.Name = "Max"
- end
- if bgname2 == 3 then
- bg2.Name = "Christian"
- end
- if bgname2 == 4 then
- bg2.Name = "Kevin"
- end
- if bgname2 == 5 then
- bg2.Name = "Steven"
- end
- if bgname2 == 6 then
- bg2.Name = "Steve"
- end
- if bgname2 == 7 then
- bg2.Name = "David"
- end
- if bgname2 == 8 then
- bg2.Name = "Michael"
- end
- if bgname2 == 9 then
- bg2.Name = "Robert"
- end
- if bgname2 == 10 then
- bg2.Name = "James"
- end
- bgpoint2 = Instance.new('Part', char)
- bgpoint2.Anchored = false
- bgpoint2.CanCollide = false
- bgpoint2.Transparency = 1
- bgpoint2.Size = Vector3.new(0.2,0.2,0.2)
- Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
- Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- Weld.Part1 = bgpoint2
- Weld.C1 = CFrame.new(-10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Accessory') then
- c:Destroy()
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Accessory') then
- c:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('CharacterMesh') then
- c:Destroy()
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('CharacterMesh') then
- c:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
- end
- end
- bg2.Parent = char
- bg1.Parent = char
- bg2.Torso.CFrame = bgpoint2.CFrame
- bg1.Torso.CFrame = bgpoint1.CFrame
- health = game.Players.LocalPlayer.Character.Humanoid.Health
- game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function()
- if game.Players.LocalPlayer.Character.Humanoid.Health < health then
- bgheal = math.random(1, 2)
- if bgheal == 1 then
- bgpoint1.CFrame = char.Torso.CFrame
- Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
- Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- Weld.Part1 = bgpoint1
- Weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wait(3.5)
- char.Humanoid.Health = char.Humanoid.Health + 50
- bgpoint1.CFrame = char.Torso.CFrame * CFrame.new(0,0.1,0)
- Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
- Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- Weld.Part1 = bgpoint1
- Weld.C1 = CFrame.new(10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- if bgheal == 2 then
- bgpoint2.CFrame = char.Torso.CFrame
- Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
- Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- Weld.Part1 = bgpoint2
- Weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wait(3.5)
- char.Humanoid.Health = char.Humanoid.Health + 50
- bgpoint2.CFrame = char.Torso.CFrame * CFrame.new(0,0.1,0)
- Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
- Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- Weld.Part1 = bgpoint2
- Weld.C1 = CFrame.new(-10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- end
- health = game.Players.LocalPlayer.Character.Humanoid.Health
- end)
- bgskin = math.random(1, 2)
- if bgskin == 1 then
- r = bg1:getChildren()
- for i = 1, #r do
- if r[i].className == "Part" then
- r[i].BrickColor = BrickColor.new('Institutional white')
- end
- end
- end
- if bgskin == 1 then
- a = bg2:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i].BrickColor = BrickColor.new('Institutional white')
- end
- end
- end
- game.Players.LocalPlayer.Chatted:connect(function(say)
- if say == "disappear," then
- bg1["Head"].Transparency = 1
- bg1["Left Arm"].Transparency = 1
- bg1["Left Leg"].Transparency = 1
- bg1["Right Leg"].Transparency = 1
- bg1["Right Arm"].Transparency = 1
- bg1["Torso"].Transparency = 1
- bg1.Head.face.Transparency = 1
- bg2["Head"].Transparency = 1
- bg2["Left Arm"].Transparency = 1
- bg2["Left Leg"].Transparency = 1
- bg2["Right Leg"].Transparency = 1
- bg2["Right Arm"].Transparency = 1
- bg2["Torso"].Transparency = 1
- bg2.Head.face.Transparency = 1
- brick22 = Instance.new("Part")
- brick22.CanCollide = false
- brick22.Anchored = true
- brick22.CFrame = bg1.Torso.CFrame
- brick22.Transparency = 1
- brick22.Parent = game.Workspace
- brick222 = Instance.new("Part")
- brick222.CanCollide = false
- brick222.Anchored = true
- brick222.CFrame = bg2.Torso.CFrame
- brick222.Transparency = 1
- brick222.Parent = game.Workspace
- local sou2 = Instance.new("Sound")
- sou2.Pitch = 1
- sou2.Volume = 1
- sou2.SoundId = "rbxassetid://722960601"
- sou2.Parent = bg1.Torso
- sou2:Play()
- local pe2 = Instance.new("ParticleEmitter")
- pe2.Acceleration = Vector3.new(0, 8, 0)
- pe2.Lifetime = NumberRange.new(1, 1.5)
- pe2.Rate = 20000
- pe2.RotSpeed = NumberRange.new(-30, 30)
- pe2.Rotation = NumberRange.new(0, 360)
- pe2.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe2.Texture = "rbxassetid://244221440"
- pe2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe2.ZOffset = 5
- pe2.VelocitySpread = 360
- pe2.Parent = brick22
- pe2.Enabled = true
- clpe2 = pe2:Clone()
- clpe2.Parent = brick222
- wait(0.25)
- pe2.Enabled = false
- clpe2.Enabled = false
- nvm4.Value = 1
- bg1.Humanoid.HipHeight = 10000
- bg2.Humanoid.HipHeight = 10000
- end
- if say == "appear," then
- bg1.Humanoid.HipHeight = 0
- bg2.Humanoid.HipHeight = 0
- bg1.Torso.CFrame = bgpoint1.CFrame
- bg2.Torso.CFrame = bgpoint2.CFrame
- bg1["Head"].Transparency = 0
- bg1["Left Arm"].Transparency = 0
- bg1["Left Leg"].Transparency = 0
- bg1["Right Leg"].Transparency = 0
- bg1["Right Arm"].Transparency = 0
- bg1["Torso"].Transparency = 0
- bg1.Head.face.Transparency = 0
- bg2["Head"].Transparency = 0
- bg2["Left Arm"].Transparency = 0
- bg2["Left Leg"].Transparency = 0
- bg2["Right Leg"].Transparency = 0
- bg2["Right Arm"].Transparency = 0
- bg2["Torso"].Transparency = 0
- bg2.Head.face.Transparency = 0
- brick223 = Instance.new("Part")
- brick223.CanCollide = false
- brick223.Anchored = true
- brick223.CFrame = bg1.Torso.CFrame
- brick223.Transparency = 1
- brick223.Parent = game.Workspace
- brick2223 = Instance.new("Part")
- brick2223.CanCollide = false
- brick2223.Anchored = true
- brick2223.CFrame = bg2.Torso.CFrame
- brick2223.Transparency = 1
- brick2223.Parent = game.Workspace
- local sou23 = Instance.new("Sound")
- sou23.Pitch = 1
- sou23.Volume = 1
- sou23.SoundId = "rbxassetid://722960601"
- sou23.Parent = bg1.Torso
- sou23:Play()
- local pe2 = Instance.new("ParticleEmitter")
- pe2.Acceleration = Vector3.new(0, 8, 0)
- pe2.Lifetime = NumberRange.new(1, 1.5)
- pe2.Rate = 20000
- pe2.RotSpeed = NumberRange.new(-30, 30)
- pe2.Rotation = NumberRange.new(0, 360)
- pe2.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe2.Texture = "rbxassetid://244221440"
- pe2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe2.ZOffset = 5
- pe2.VelocitySpread = 360
- pe2.Parent = brick223
- pe2.Enabled = true
- clpe2 = pe2:Clone()
- clpe2.Parent = brick2223
- wait(0.25)
- pe2.Enabled = false
- clpe2.Enabled = false
- nvm4.Value = 0
- end
- if say == "transform, 9" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=70292296"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=31728834"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=31728834"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=70292296"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=1038653"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=1038654"
- hair.BrickColor = BrickColor.new('Pearl')
- hairmesh.Scale = Vector3.new(1, 1, 1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 8" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=11380099"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=11380110"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=11380110"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=11380099"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=5808536"
- hair.BrickColor = BrickColor.new('Pearl')
- hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 4" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "rbxassetid://519774803"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "rbxassetid://519782833"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "rbxassetid://519782833"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "rbxassetid://519774803"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=1309894"
- hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 3" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=108783381"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=412444864"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=412444864"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=108783381"
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=1028788"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=1028787"
- hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- hair3 = Instance.new("Part", bg1.Head)
- hairmesh3 = Instance.new("SpecialMesh", hair3)
- hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
- hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
- hairmesh3.Scale = Vector3.new(1, 1, 1)
- hair3.Transparency = 0
- hair3.CanCollide = false
- hair3.Name = "plrhair"
- hair3.Anchored = false
- clhair3 = hair3:Clone()
- clhair3.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- end
- end
- if say == "transform, 1" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
- end
- end
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 7" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=119839939"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=119839939"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "rbxassetid://575169492"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "rbxassetid://768690244"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "rbxassetid://768690244"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "rbxassetid://575169492"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=14394711"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=14394687"
- hairmesh.Scale = Vector3.new(1, 0.95, 0.85)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 6" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=4904066"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=2577832"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=2577832"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=4904066"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=1309894"
- hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=25648271"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=28664001"
- hairmesh.Scale = Vector3.new(1.3, 1.35, 1.3)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.60, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.60, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 5" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "rbxassetid://146364138"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "rbxassetid://195399271"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "rbxassetid://195399271"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "rbxassetid://175602621"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=16190466"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=59293792"
- hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- clhair.Mesh.TextureId = "http://www.roblox.com/asset/?id=114723589"
- clhair.Mesh.MeshId = "http://www.roblox.com/asset/?id=16101994"
- clhair.Mesh.Scale = Vector3.new(1.02,1.02,1.02)
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.14, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- hair3 = Instance.new("Part", bg1.Head)
- hairmesh3 = Instance.new("SpecialMesh", hair3)
- hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
- hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
- hairmesh3.Scale = Vector3.new(1, 1, 1)
- hair3.Transparency = 0
- hair3.CanCollide = false
- hair3.Name = "plrhair"
- hair3.Anchored = false
- clhair3 = hair3:Clone()
- clhair3.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 2" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=28035864"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=28035854"
- hairmesh.Scale = Vector3.new(1.03, 1.03, 0.98)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- hair3 = Instance.new("Part", bg1.Head)
- hairmesh3 = Instance.new("SpecialMesh", hair3)
- hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
- hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
- hairmesh3.Scale = Vector3.new(1, 1, 1)
- hair3.Transparency = 0
- hair3.CanCollide = false
- hair3.Name = "plrhair"
- hair3.Anchored = false
- clhair3 = hair3:Clone()
- clhair3.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=747111515"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153259531"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=747111515"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153259531"
- end
- end
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "guns, normalbullet" then
- nvm5.Value = 0
- end
- if say == "guns, explodingbullet" then
- nvm5.Value = 1
- end
- if say == "guns, smokebullet" then
- nvm5.Value = 2
- end
- if say == "guns, out" then
- nvm.Value = 1
- Mouse = plr:GetMouse()
- Mouse.Button1Down:connect(function()
- if nvm.Value == 1 then
- randomg = math.random(1,2)
- if randomg == 1 then
- bullet = Instance.new('Part', game.Workspace)
- bullet.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:BreakJoints()
- end
- end)
- if nvm5.Value == 0 then
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.CFrame = Mouse.Hit
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 1)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, Mouse.Hit.p)
- end
- if nvm5.Value == 1 then
- bullet.CFrame = Mouse.Hit
- local Ex = Instance.new("Explosion", Workspace)
- Ex.BlastRadius = 16
- Ex.DestroyJointRadiusPercent = 0.5
- Ex.Position = Mouse.Hit.p
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 1)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, Mouse.Hit.p)
- end
- if nvm5.Value == 2 then
- bullet.CFrame = Mouse.Hit
- x1 = Instance.new("Smoke", bullet)
- x1.Color = Color3.new(0.596078, 0.596078, 0.596078)
- x1.Opacity = 0.89999997615814
- x1.RiseVelocity = 20
- x1.Size = 45
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 5)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, Mouse.Hit.p)
- end
- end
- if randomg == 2 then
- bullet = Instance.new('Part', game.Workspace)
- bullet.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:BreakJoints()
- end
- end)
- if nvm5.Value == 0 then
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.CFrame = Mouse.Hit
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 1)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, Mouse.Hit.p)
- end
- if nvm5.Value == 1 then
- bullet.CFrame = Mouse.Hit
- local Ex = Instance.new("Explosion", Workspace)
- Ex.BlastRadius = 16
- Ex.DestroyJointRadiusPercent = 0.5
- Ex.Position = Mouse.Hit.p
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 1)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, Mouse.Hit.p)
- end
- if nvm5.Value == 2 then
- bullet.CFrame = Mouse.Hit
- x1 = Instance.new("Smoke", bullet)
- x1.Color = Color3.new(0.596078, 0.596078, 0.596078)
- x1.Opacity = 0.89999997615814
- x1.RiseVelocity = 20
- x1.Size = 45
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 50)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, Mouse.Hit.p)
- wait(4)
- x1.Enabled = false
- end
- end
- end
- end)
- part1 = Instance.new("Part")
- part1.Parent = char
- part1.Transparency = 0
- part1.BrickColor = BrickColor.new('Really black')
- part1.TopSurface = 0
- part1.BottomSurface = 0
- part1.CanCollide = false
- part1.Anchored = false
- gun = Instance.new("SpecialMesh", part1)
- gun.MeshId = "rbxassetid://4372594"
- gun.Scale = Vector3.new(1, 1, 1)
- part1.CFrame = bg1["Right Arm"].CFrame * CFrame.new(0, 1, 1.75)
- Weld5 = Instance.new("Weld", bg1)
- Weld5.Part0 = bg1["Right Arm"]
- Weld5.Part1 = part1
- Weld5.C1 = CFrame.Angles(math.rad(-83),math.rad(180),math.rad(180)) * CFrame.new(0, 1.50, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- part2 = Instance.new("Part")
- part2.Parent = char
- part2.Transparency = 0
- part2.BrickColor = BrickColor.new('Really black')
- part2.TopSurface = 0
- part2.BottomSurface = 0
- part2.CanCollide = false
- part2.Anchored = false
- gun2 = Instance.new("SpecialMesh", part2)
- gun2.MeshId = "rbxassetid://4372594"
- gun2.Scale = Vector3.new(1, 1, 1)
- part2.CFrame = bg2["Right Arm"].CFrame * CFrame.new(0, 1, 1.75)
- Weld10 = Instance.new("Weld", bg1)
- Weld10.Part0 = bg2["Right Arm"]
- Weld10.Part1 = part2
- Weld10.C1 = CFrame.Angles(math.rad(-83),math.rad(180),math.rad(180)) * CFrame.new(0, 1.50, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- charbg1 = bg1
- arm = {charbg1["Right Arm"]}
- charbg1.Torso["Right Shoulder"].Archivable = true
- mc = charbg1.Torso["Right Shoulder"]:Clone()
- weld = Instance.new("Weld", arm[1])
- weld.Part0 = charbg1.Torso
- weld.Part1 = weld.Parent
- weld.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
- charbg2 = bg2
- arm = {charbg2["Right Arm"]}
- charbg2.Torso["Right Shoulder"].Archivable = true
- mc3 = charbg2.Torso["Right Shoulder"]:Clone()
- weld12 = Instance.new("Weld", arm[1])
- weld12.Part0 = charbg2.Torso
- weld12.Part1 = weld12.Parent
- weld12.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
- end
- if say == "dance," then
- dance1 = math.random(1,7)
- if dance1 == 1 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://27789359"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 2 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://30196114"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 3 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://248263260"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 4 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://45834924"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 5 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://33796059"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 6 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://28488254"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 7 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://52155728"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- dance2 = math.random(1,7)
- if dance2 == 1 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://27789359"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 2 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://30196114"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 3 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://248263260"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 4 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://45834924"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 5 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://33796059"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 6 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://28488254"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 7 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://52155728"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- end
- if say == "focus," then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://0"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://0"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if say == "guns, in" then
- nvm.Value = 0
- weld:Destroy()
- mc.Parent = charbg1.Torso
- Weld10:Destroy()
- Weld5:Destroy()
- part1:Destroy()
- part2:Destroy()
- weld12:Destroy()
- mc3.Parent = charbg2.Torso
- end
- if say == "unride," then
- nvm3.Value = 0
- nvm2.Value = 1
- if bg1.Head:FindFirstChild('noobweld') then
- bg1.Head.noobweld:Destroy()
- end
- if char.Head:FindFirstChild('firstweld') then
- char.Head.firstweld:Destroy()
- end
- bg2.Humanoid.WalkSpeed = 16
- bg1.Humanoid.Sit = false
- bg2.Humanoid.Sit = false
- char.Humanoid.Sit = false
- end
- if say == "ride," then
- Mouse = plr:GetMouse()
- nvm2.Value = 0
- nvm3.Value = 1
- p = Instance.new('Weld', plr.Character.Head)
- p.Part0 = plr.Character:FindFirstChild("Torso") or plr.Character:FindFirstChild("UpperTorso")
- p.Part1 = bg1:FindFirstChild("Torso") or bg1:FindFirstChild("UpperTorso")
- p.Name = 'firstweld'
- p.C0 = CFrame.new(0,-2.2,-.50)
- a = Instance.new('Weld', bg1.Head)
- a.Part0 = bg1:FindFirstChild("Torso") or bg1:FindFirstChild("UpperTorso")
- a.Part1 = bg2:FindFirstChild("Torso") or bg2:FindFirstChild("UpperTorso")
- a.C0 = CFrame.new(0,-2.2,-.50)
- a.Name = 'noobweld'
- plr.Character.Humanoid.Sit = true
- bg1.Humanoid.Sit = true
- while wait() do
- if nvm3.Value == 1 then
- bg2.Humanoid:MoveTo(Mouse.Hit.p)
- plr.Character.Humanoid.Sit = true
- bg1.Humanoid.Sit = true
- bg1.Humanoid.Health = bg1.Humanoid.Health + 100
- bg2.Humanoid.Health = bg2.Humanoid.Health + 100
- bg2.Humanoid.WalkSpeed = 65
- end
- end
- if say == "spy," then
- signal = Instance.new('Part', game.ReplicatedStorage)
- local ply = game.Players:GetPlayers()[math.random(game.Players.NumPlayers)]
- bgchoose = math.random(1, 2)
- if bgchoose == 1 then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20722053"
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=144076759"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=382538058"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "rbxassetid://494950128"
- hairmesh.Scale = Vector3.new(1, 1, 1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- hair.BrickColor = BrickColor.new("Really red")
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- while wait() do
- if game.ReplicatedStorage:FindFirstChild('Part') then
- bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, ply.Character.Torso.Position)
- end
- end
- if bgchoose == 2 then
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20418518"
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=442560707"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=442557590"
- end
- end
- hair1 = Instance.new("Part", bg2.Head)
- hairmesh1 = Instance.new("SpecialMesh", hair1)
- hairmesh1.MeshId = "rbxassetid://494950128"
- hairmesh1.Scale = Vector3.new(1, 1, 1)
- hair1.Transparency = 0
- hair1.CanCollide = false
- hair1.Name = "plrhair"
- hair1.Anchored = false
- hair1.BrickColor = BrickColor.new("Really black")
- Weld1 = Instance.new("Weld", bg2)
- Weld1.Part0 = bg2.Head
- Weld1.Part1 = hair1
- Weld1.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- signal2 = Instance.new('Part', game.ReplicatedStorage)
- signal2.Name = "Part2"
- while wait() do
- if game.ReplicatedStorage:FindFirstChild('Part2') then
- bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, ply.Character.Torso.Position)
- end
- end
- end
- end
- end
- end
- end)
- game:GetService('RunService').RenderStepped:connect(function()
- if nvm2.Value == 1 then
- bg1.Humanoid.Health = bg1.Humanoid.Health + 5000
- bg2.Humanoid.Health = bg2.Humanoid.Health + 5000
- bg1.Humanoid:MoveTo(bgpoint1.Position)
- bg2.Humanoid:MoveTo(bgpoint2.Position)
- if bg1.Humanoid.PlatformStand == true then
- bg1.Humanoid.PlatformStand = false
- end
- if bg2.Humanoid.PlatformStand == true then
- bg2.Humanoid.PlatformStand = false
- end
- if bg1.Humanoid.Sit == true then
- bg1.Humanoid.Sit = false
- end
- if bg2.Humanoid.Sit == true then
- bg2.Humanoid.Sit = false
- end
- for _,v in pairs(workspace:children()) do
- if v:IsA('Model') and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
- if (v.HumanoidRootPart.Position-bg1.Torso.Position).magnitude <=2 then
- bg1.Humanoid.Jump=true
- end
- end
- end
- for _,v in pairs(workspace:children()) do
- if v:IsA('Model') and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
- if (v.HumanoidRootPart.Position-bg2.Torso.Position).magnitude <=2 then
- bg2.Humanoid.Jump=true
- end
- end
- end
- if (game.Players.LocalPlayer.Character.Torso.Position - bg2.Torso.Position).magnitude <= 20 then
- bg2.Humanoid.WalkSpeed = 16
- else
- bg2.Humanoid.WalkSpeed = 55
- end
- if (game.Players.LocalPlayer.Character.Torso.Position - bg1.Torso.Position).magnitude <= 20 then
- bg1.Humanoid.WalkSpeed = 16
- else
- bg1.Humanoid.WalkSpeed = 55
- end
- end
- end)
- for i, v in pairs(game.Players.LocalPlayer.Backpack:children()) do
- if v.className == "HopperBin" and v.Name == "PPATTA's Trap Script" then
- v:Destroy()
- end
- end
- local player = game:service("Players").LocalPlayer
- local mouse = player:GetMouse()
- local char = player.Character
- local Torsoz = char:findFirstChild("Torso")
- local RA = char:findFirstChild("Right Arm")
- local LA = char:findFirstChild("Left Arm")
- local RL = char:findFirstChild("Right Leg")
- local LL = char:findFirstChild("Left Leg")
- local H = char:findFirstChild("Head")
- local RS = Torsoz:findFirstChild("Right Shoulder")
- local LS = Torsoz:findFirstChild("Left Shoulder")
- local RH = Torsoz:findFirstChild("Right Hip")
- local LH = Torsoz:findFirstChild("Left Hip")
- local N = Torsoz:findFirstChild("Neck")
- local NV = Vector3.new()
- local Main
- local Traps = {}
- local Projectiles = {}
- local Bolts = {}
- local bin = Instance.new("HopperBin")
- bin.Name = "PPATTA's Trap Script"
- bin.Parent = player.Backpack
- local P = Instance.new("Part")
- P.Anchored = false
- P.CanCollide = false
- P.Name = "Part"
- P.formFactor = "Custom"
- P.Size = Vector3.new(0.2,0.2,0.2)
- P.BrickColor = BrickColor.new("Black")
- P.Locked = true
- P.TopSurface = 10
- P.BottomSurface = 10
- P.FrontSurface = 10
- P.BackSurface = 10
- P.LeftSurface = 10
- P.RightSurface = 10
- local AnimJoints = {}
- function GetWeld(weld)
- local obj
- for i, v in pairs(AnimJoints) do
- if v[1] == weld then
- obj = v
- break
- end
- end
- if not obj then
- obj = {weld,NV}
- table.insert(AnimJoints,obj)
- end
- return weld.C0.p, obj[2]
- end
- function SetWeld(weld, i, loops, origpos,origangle, nextpos,nextangle,smooth)
- smooth = smooth or 1
- local obj
- for i, v in pairs(AnimJoints) do
- if v[1] == weld then
- obj = v
- break
- end
- end
- if not obj then
- obj = {weld,NV}
- table.insert(AnimJoints,obj)
- end
- local perc = (smooth == 1 and math.sin((math.pi/2)/loops*i)) or i/loops
- local tox,toy,toz = 0,0,0
- tox = math.abs(origangle.x - nextangle.x) *perc
- toy = math.abs(origangle.y - nextangle.y) *perc
- toz = math.abs(origangle.z - nextangle.z) *perc
- tox = (origangle.x > nextangle.x and -tox) or tox
- toy = (origangle.y > nextangle.y and -toy) or toy
- toz = (origangle.z > nextangle.z and -toz) or toz
- local tox2,toy2,toz2 = 0,0,0
- tox2 = math.abs(origpos.x - nextpos.x) *perc
- toy2 = math.abs(origpos.y - nextpos.y) *perc
- toz2 = math.abs(origpos.z - nextpos.z) *perc
- tox2 = (origpos.x > nextpos.x and -tox2) or tox2
- toy2 = (origpos.y > nextpos.y and -toy2) or toy2
- toz2 = (origpos.z > nextpos.z and -toz2) or toz2
- obj[2] = Vector3.new(origangle.x + tox, origangle.y + toy, origangle.z + toz)
- weld.C0 = CFrame.new(origpos.x + tox2,origpos.y + toy2,origpos.z + toz2) * CFrame.Angles(origangle.x + tox,origangle.y + toy,origangle.z + toz)
- end
- function RAY(pos, dir, collidedlist, startpos, endpos, distleft)
- collidedlist = collidedlist or {char}
- startpos = startpos or pos
- distleft = distleft or dir.unit * dir.magnitude
- endpos = endpos or pos + distleft
- local ray = Ray.new(pos, distleft)
- local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
- if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then
- if hitz.CanCollide == false then
- table.insert(collidedlist, hitz)
- local newpos = enz
- local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
- if newdistleft ~= NV then
- return RAY(newpos-(dir*0.01), dir, collidedlist, startpos, endpos, newdistleft+(dir*0.01))
- end
- end
- end
- return hitz, enz, ray
- end
- function FindSurface(part, position)
- local obj = part.CFrame:pointToObjectSpace(position)
- local siz = part.Size/2
- for i,v in pairs(Enum.NormalId:GetEnumItems()) do
- local vec = Vector3.FromNormalId(v)
- local wvec = part.CFrame:vectorToWorldSpace(vec)
- local vz = (obj)/(siz*vec)
- if (math.abs(vz.X-1) < 0.01 or math.abs(vz.Y-1) < 0.01 or math.abs(vz.Z-1) < 0.01) then
- return wvec,vec
- end
- end
- if part.className == "WedgePart" then
- local pos = (part.CFrame * CFrame.new(0,part.Size.y/2,part.Size.z/2)).p
- local apos = (part.CFrame * CFrame.Angles(-math.atan2(part.CFrame:pointToObjectSpace(pos).y,part.CFrame:pointToObjectSpace(pos).z),0,0) * CFrame.new(0,1,0)).p
- local wvec,vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos)
- return wvec,vec
- elseif part.className == "Part" and (part.Shape == Enum.PartType.Ball or part.Shape == Enum.PartType.Cylinder) then
- return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit)
- end
- end
- function CreateTrap(target,pos)
- local m = Instance.new("Model", char)
- m.Name = "Trap"
- local cframe = CFrame.new()
- local anchor = true
- if not target:IsA("Terrain") then
- local wvec,vec = FindSurface(target,pos)
- cframe = CFrame.new(NV,wvec) * CFrame.Angles(-math.pi/2,0,0)
- anchor = target.Anchored
- end
- local c = P:Clone()
- c.Parent = m
- c.Anchored = anchor
- c.CanCollide = true
- c.CFrame = (cframe +pos) * CFrame.Angles(0,math.rad(math.random(1,360)),0)
- c.BrickColor = BrickColor.new("Dark stone grey")
- local light = Instance.new("PointLight", c)
- light.Brightness = 2
- light.Range = 7
- light.Color = Color3.new(1,0.8,0.1)
- local mesh = Instance.new("CylinderMesh",c)
- mesh.Scale = Vector3.new(0.2,0.4,0.2) *5
- if not anchor then
- local newpos = target.CFrame:toObjectSpace(c.CFrame)
- local w = Instance.new("Weld",c)
- w.Part0 = target
- w.Part1 = c
- w.C0 = newpos
- end
- local tabl = {}
- for i = 1, 3 do
- local p = P:Clone()
- p.Parent = m
- p.Anchored = anchor
- p.CFrame = c.CFrame * CFrame.Angles(0,math.pi*2/3*i,0) * CFrame.new(0,0.04,-0.12) * CFrame.Angles(-math.pi/2 +0.05,0,0) * CFrame.new(0,0.55,0)
- local mesh = Instance.new("SpecialMesh",p)
- mesh.MeshType = "Wedge"
- mesh.Scale = Vector3.new(0.15,1.2,0.16) *5
- if not anchor then
- local w = Instance.new("Weld",p)
- w.Part0 = c
- w.Part1 = p
- w.C0 = CFrame.Angles(0,math.pi*2/3*i,0) * CFrame.new(0,0.04,-0.12) * CFrame.Angles(-math.pi/2 +0.05,0,0) * CFrame.new(0,0.55,0)
- end
- for j = -1,1,2 do
- local p = P:Clone()
- p.Parent = m
- p.Anchored = anchor
- p.Transparency = 0.6
- p.BrickColor = BrickColor.new("Institutional white")
- p.CFrame = c.CFrame * CFrame.new(0,0.2,0) * CFrame.Angles(0,math.pi*2/3*i,0) * CFrame.new(0.32*j,0,-0.55) * CFrame.Angles(0.06,0,-math.pi/2*j)
- local mesh = Instance.new("SpecialMesh",p)
- mesh.MeshType = "Wedge"
- mesh.Scale = Vector3.new(0.03,0.6,1.1) *5
- if not anchor then
- local w = Instance.new("Weld",p)
- w.Part0 = c
- w.Part1 = p
- w.C0 = CFrame.new(0,0.2,0) * CFrame.Angles(0,math.pi*2/3*i,0) * CFrame.new(0.32*j,0,-0.55) * CFrame.Angles(0.06,0,-math.pi/2*j)
- end
- table.insert(tabl,p)
- end
- end
- table.insert(Traps,{m,c,tabl,0,light})
- end
- function Build()
- for i, v in pairs(char:children()) do
- if v.className == "Model" and (v.Name == "" or v.Name == "Trap" or v.Name == "TrapProjectile") then
- v:Destroy()
- end
- end
- local mdl = Instance.new("Model", char)
- mdl.Name = ""
- end
- Build()
- function Throw(aim)
- local mdl = Instance.new("Model",char)
- mdl.Name = "TrapProjectile"
- local p = P:Clone()
- p.Parent = mdl
- p.Anchored = true
- p.Size = Vector3.new(0.5,0.5,1.5)
- p.CFrame = CFrame.new(Torsoz.Position,Torsoz.Position+aim)
- table.insert(Projectiles,{mdl,p,aim,0.05})
- end
- function JumbleBolt(bolt)
- local lastpos = bolt[2][3]
- for i, v in pairs(bolt) do
- if i == 1 then
- bolt[1] = bolt[1] - 1
- else
- local point = v[4] * CFrame.new(math.random(-100,100)*v[5]/200,math.random(-100,100)*v[5]/200,0)
- v[1].CFrame = CFrame.new((lastpos+point.p)/2,point.p)
- v[2].Scale = Vector3.new(0.1,0.1,(lastpos-point.p).magnitude) *5
- lastpos = point.p
- end
- end
- end
- function Bolt(par,start,endpos,jumble)
- jumble = jumble or 8
- local dist = (start - endpos).magnitude
- if dist < 200 then
- local tab = {jumble}
- local dir = (endpos - start).unit
- local jump = dist/math.floor(dist)
- local lastpos = start
- local lastraw
- for i = 1, math.floor(dist) do
- local rawpoint = CFrame.new(start,endpos) + dir*jump*i
- local point = rawpoint
- if i ~= math.floor(dist) then
- point = point * CFrame.new(math.random(-100,100)*jump/200,math.random(-100,100)*jump/200,0)
- end
- local p = P:Clone()
- p.Parent = par
- p.Anchored = true
- p.BrickColor = BrickColor.new("Really black")
- p.CFrame = CFrame.new((lastpos+point.p)/2,point.p)
- local mesh = Instance.new("BlockMesh",p)
- mesh.Scale = Vector3.new(0.1,0.1,(lastpos-point.p).magnitude) *5
- game:GetService("Debris"):AddItem(p,5)
- table.insert(tab,{p,mesh,start,rawpoint,jump})
- lastpos = point.p
- lastraw = rawpoint
- end
- table.insert(Bolts,tab)
- end
- end
- function Explode(pos,bolts)
- local mdl = Instance.new("Model",char)
- mdl.Name = "Explosion"
- local p = P:Clone()
- p.Parent = mdl
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = CFrame.new(pos)
- local l = Instance.new("PointLight",p)
- l.Color = Color3.new(0.5,0.1,1)
- l.Range = 10
- l.Brightness = 2
- game:GetService("Debris"):AddItem(mdl,0.7)
- for i, v in pairs(game:GetService("Players"):GetChildren()) do
- if v.Character ~= nil then
- if v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
- if (v.Character.Torso.Position - pos).magnitude < 6.5 then
- v.Character.Humanoid:TakeDamage(math.random(30,45))
- end
- end
- end
- end
- for i = 1, bolts do
- local dist = math.random(38,64) /10
- local dir = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50)).unit
- Bolt(mdl,pos,pos+dir*dist)
- end
- end
- function Detonate()
- for i, v in pairs(Traps) do
- Explode(v[2].Position,10)
- v[1]:Destroy()
- Traps[i] = nil
- end
- end
- function B1D(mouse)
- --[[if mouse.Target and #Traps < 6 then
- CreateTrap(mouse.Hit.p,mouse.Target)
- end ]]
- if #Traps + #Projectiles < 6 then
- Throw((mouse.Hit.p - Torsoz.Position).unit)
- end
- --Bolt(char,Torsoz.Position,mouse.Hit.p)
- --Explode(mouse.Hit.p,10)
- end
- function KD(key, mouse)
- if key == "e" then
- Detonate()
- --[[elseif key == "r" then
- for i, v in pairs(Traps) do
- v[1]:Destroy()
- Traps[i] = nil
- end ]]
- end
- end
- function Equip()
- end
- function Unequip()
- end
- bin.Selected:connect(function(mouse)
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() B1D(mouse) end)
- mouse.KeyDown:connect(function(key) KD(key, mouse) end)
- end)
- bin.Deselected:connect(function()
- end)
- local jumpcount = 0
- game:GetService("RunService").Stepped:connect(function()
- jumpcount = (jumpcount%2) + 1
- for i, trap in pairs(Traps) do
- trap[4] = (trap[4] + 1) %2
- if trap[4] == 0 then
- local randum = math.random()
- local zaptrans = 0.3 + 0.45*randum
- trap[5].Brightness = 0.8 + 2.8*randum --math.random(-65,60)/100
- for j, v in pairs(trap[3]) do
- v.Transparency = zaptrans
- end
- end
- end
- for i, proj in pairs(Projectiles) do
- local spd = (proj[3]*3) + Vector3.new(0,proj[4],0)
- local hitz,enz = RAY(proj[2].Position,spd)
- if hitz then
- proj[1]:Destroy()
- CreateTrap(hitz,enz)
- table.remove(Projectiles,i)
- else
- proj[2].CFrame = CFrame.new(NV,spd) + proj[2].Position + spd
- proj[4] = proj[4] - 0.05
- end
- end
- if jumpcount == 1 then
- for i, bolt in pairs(Bolts) do
- JumbleBolt(bolt)
- if bolt[1] <= 0 then
- for j, v in pairs(bolt) do
- if j ~= 1 then
- v[1]:Destroy()
- end
- end
- table.remove(Bolts,i)
- end
- end
- end
- end)
- local p = game.Players.LocalPlayer
- local plr = game.Players.LocalPlayer
- local chr = plr.Character
- local maus = plr:GetMouse()
- local PGui=plr.PlayerGui
- local lleg = chr["Left Leg"]
- local rleg = chr["Right Leg"]
- local larm = chr["Left Arm"]
- local rarm = chr["Right Arm"]
- local hed = chr.Head
- local rutprt = chr.HumanoidRootPart
- local torso = chr.Torso
- local otheranims=false
- local armmovement=false
- local equipped=false
- chr.Animate.Disabled=true
- local RunSpeed=40
- local WlkSpeed=20
- local CrawlSpeed=10
- local CrawlDashSpeed=20
- local runnin=false
- local tik=0
- local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
- local Meows={"60871617","151742282","138093919"}
- local leftnekoface="260195370"
- local rightnekoface="260196558"
- local swing="Right"
- local armanim=""
- local hitdb=false
- local RightNekoColor=BrickColor.new("Really black")
- local LeftNekoColor=BrickColor.new("Institutional white")
- coroutine.wrap(function()
- for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
- function Lerp(a, b, i)
- local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
- local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
- local calx = com1[1] + (com2[1] - com1[1]) * i
- local caly = com1[2] + (com2[2] - com1[2]) * i
- local calz = com1[3] + (com2[3] - com1[3]) * i
- local cala = com1[4] + (com2[4] - com1[4]) * i
- local calb = com1[5] + (com2[5] - com1[5]) * i
- local calc = com1[6] + (com2[6] - com1[6]) * i
- return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
- end
- function TwnSingleNumber(s,f,m)
- local wot=s+(f-s)*m
- return wot
- end
- function TwnVector3(q,w,e)
- local begin={q.x,q.y,q.z}
- local ending={w.x,w.y,w.z}
- local bgx=begin[1]+(ending[1]-begin[1])*e
- local bgy=begin[2]+(ending[2]-begin[2])*e
- local bgz=begin[3]+(ending[3]-begin[3])*e
- return Vector3.new(bgx,bgy,bgz)
- end
- newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
- wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- function Avg(a, b)
- return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
- end
- newWeld(law, torso, larm, -1.5, 0.5, 0)
- newWeld(raw, torso, rarm, 1.5, 0.5, 0)
- newWeld(llw, torso, lleg, -.5, -2, 0)
- newWeld(rlw, torso, rleg, .5, -2, 0)
- newWeld(hw, torso, hed, 0, 1.5, 0)
- local rutwald=Instance.new('Weld',rutprt)
- rutwald.Part0=rutprt
- rutwald.Part1=torso
- rutwald.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
- larm.Weld.C1 = CFrame.new(0, 0.5, 0)
- rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
- rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
- lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
- local anim = "Idling"
- local lastanim = "Idling"
- local val = 0
- local syne = 0
- local num = 0
- local runtime = 0
- local NekoNekoKnuckles=Instance.new("Model",chr)
- NekoNekoKnuckles.Name="Neko Neko Knuckles"
- local RightNeko=Instance.new("Model",NekoNekoKnuckles)
- RightNeko.Name="Right Neko"
- local LeftNeko=Instance.new("Model",NekoNekoKnuckles)
- LeftNeko.Name="Left Neko"
- --[[ Right Neko ]]--
- local rn1=Instance.new("Part",RightNeko)
- rn1.Name="RightHandle"
- rn1.Material="SmoothPlastic"
- rn1.TopSurface=10
- rn1.BottomSurface=10
- rn1.LeftSurface=10
- rn1.RightSurface=10
- rn1.FrontSurface=10
- rn1.BackSurface=10
- rn1.BrickColor=RightNekoColor
- rn1.formFactor=3
- rn1.Size=Vector3.new(1.1,1.3,1.1)
- rn1.CanCollide=false
- rn1:breakJoints''
- local rn1w=Instance.new("Weld",rn1)
- rn1w.Part0=rn1
- rn1w.Part1=rarm
- rn1w.C0=CFrame.new(0,.4,0)
- local rn2=Instance.new("Part",RightNeko)
- rn2.Name="RightHandle"
- rn2.Material="SmoothPlastic"
- rn2.TopSurface=10
- rn2.BottomSurface=10
- rn2.LeftSurface=10
- rn2.RightSurface=10
- rn2.FrontSurface=10
- rn2.BackSurface=10
- rn2.BrickColor=RightNekoColor
- rn2.formFactor=3
- rn2.Size=Vector3.new(1.2,.4,1.2)
- rn2.CanCollide=false
- rn2:breakJoints''
- local rn2w=Instance.new("Weld",rn2)
- rn2w.Part0=rn2
- rn2w.Part1=rarm
- rn2w.C0=CFrame.new(0,-.1,0)
- local rnbell=Instance.new("Part",RightNeko)
- rnbell.Name="RightBell"
- rnbell.Material="SmoothPlastic"
- rnbell.TopSurface=10
- rnbell.BottomSurface=10
- rnbell.LeftSurface=10
- rnbell.RightSurface=10
- rnbell.FrontSurface=10
- rnbell.BackSurface=10
- rnbell.BrickColor=BrickColor.new("Institutional white")
- rnbell.Reflectance=.6
- rnbell.formFactor=3
- rnbell.Size=Vector3.new(.45,.45,.45)
- rnbell.CanCollide=false
- rnbell:breakJoints''
- local rnbellw=Instance.new("Weld",rnbell)
- rnbellw.Part0=rnbell
- rnbellw.Part1=rarm
- rnbellw.C0=CFrame.new(0,.3,.65)
- local rnbellm=Instance.new("SpecialMesh",rnbell)
- rnbellm.MeshType="Sphere"
- local rnbf=Instance.new("PointLight",rnbell)
- rnbf.Shadows=true
- rnbf.Range=15
- rnbf.Brightness=0
- local rnding=Instance.new("Sound",rnbell)
- rnding.SoundId="http://www.roblox.com/asset?id=138134386"
- rnding.Volume=.2
- local rn3=Instance.new("Part",RightNeko)
- rn3.Name="RightHead"
- rn3.Material="SmoothPlastic"
- rn3.TopSurface=10
- rn3.BottomSurface=10
- rn3.LeftSurface=10
- rn3.RightSurface=10
- rn3.FrontSurface=10
- rn3.BackSurface=10
- rn3.BrickColor=RightNekoColor
- rn3.formFactor=3
- rn3.Size=Vector3.new(1.575,1.65,1.575)
- rn3.CanCollide=false
- rn3:breakJoints''
- local rn3w=Instance.new("Weld",rn3)
- rn3w.Part0=rn3
- rn3w.Part1=rarm
- rn3w.C0=CFrame.new(0,.95,0)
- local rn3m=Instance.new("SpecialMesh",rn3)
- rn3m.MeshType="Sphere"
- local rnface=Instance.new("Decal",rn3)
- rnface.Texture="http://www.roblox.com/asset?id="..rightnekoface
- rnface.Face="Bottom"
- local rnpunch=Instance.new("Sound",rn3)
- rnpunch.SoundId="http://www.roblox.com/asset?id=146163534"
- rnpunch.Volume=.3
- rn3.Touched:connect(function(hit)
- if hit and swing=="Right" and crawling and armmovement and crawldig then
- local j=2
- for jx=-j,j,4 do
- for jy=-j,j,4 do
- for jz=-j,j,4 do
- local spot=workspace.Terrain:WorldToCell(rn3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
- workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
- end
- end
- end
- end
- coroutine.wrap(function()
- if hit and swing=="Right" and armmovement then
- coroutine.resume(coroutine.create(function()
- local j=2
- for jx=-j,j,4 do
- for jy=-j,j,4 do
- for jz=-j,j,4 do
- local spot=workspace.Terrain:WorldToCell(rn3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
- workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
- end
- end
- end
- end))
- if hit.Parent then
- for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
- local hawm=hit.Parent and hyoom and hit.Parent.Parent
- if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and not hitdb then
- hitdb=true
- local nyaa=Instance.new("Sound",rn3)
- nyaa.SoundId="http://www.roblox.com/asset?id="..Meows[math.random(1,#Meows)]
- nyaa:Play''
- rnpunch:Play''
- game:service'Debris':AddItem(nyaa,2)
- if hyoom.Parent and hyoom.Parent:findFirstChild("Torso") then
- local asd=Instance.new("BodyVelocity",hyoom.Parent.Torso)
- asd.maxForce=Vector3.new(1/0,1/0,1/0)
- asd.velocity=((rn3.CFrame.p-hyoom.Parent.Torso.CFrame.p).unit*-20)+Vector3.new(0,10,0)
- game:service'Debris':AddItem(asd,.2)
- end
- hyoom.Sit=true
- if crawling then
- hyoom.Health=hyoom.Health-(math.random(15,20)*(hyoom.MaxHealth/100))
- wait(.5)
- hitdb=false
- else
- hyoom.Health=hyoom.Health-(math.random(20,40)*(hyoom.MaxHealth/100))
- wait(1)
- hitdb=false
- end
- end
- end
- end
- end)()
- end)
- local rn4=Instance.new("Part",RightNeko)
- rn4.Name="RightHandle"
- rn4.Material="SmoothPlastic"
- rn4.TopSurface=10
- rn4.BottomSurface=10
- rn4.LeftSurface=10
- rn4.RightSurface=10
- rn4.FrontSurface=10
- rn4.BackSurface=10
- rn4.BrickColor=RightNekoColor
- rn4.formFactor=3
- rn4.Size=Vector3.new(1.575,.2,1.575)
- rn4.CanCollide=false
- rn4:breakJoints''
- local rn4w=Instance.new("Weld",rn4)
- rn4w.Part0=rn4
- rn4w.Part1=rn3
- rn4w.C0=CFrame.new(0,-.75,.15)*CFrame.Angles(math.rad(90),0,0)
- local rn4m=Instance.new("SpecialMesh",rn4)
- rn4m.Scale=Vector3.new(1.2,1.2,1.2)
- rn4m.MeshId="http://www.roblox.com/asset?id=1374148"
- rn4m.TextureId="http://www.roblox.com/asset?id=1374132"
- local ln1=Instance.new("Part",LeftNeko)
- ln1.Name="LeftHandle"
- ln1.Material="SmoothPlastic"
- ln1.TopSurface=10
- ln1.BottomSurface=10
- ln1.LeftSurface=10
- ln1.RightSurface=10
- ln1.FrontSurface=10
- ln1.BackSurface=10
- ln1.BrickColor=LeftNekoColor
- ln1.formFactor=3
- ln1.Size=Vector3.new(1.1,1.3,1.1)
- ln1.CanCollide=false
- ln1:breakJoints''
- local ln1w=Instance.new("Weld",ln1)
- ln1w.Part0=ln1
- ln1w.Part1=larm
- ln1w.C0=CFrame.new(0,.4,0)
- local ln2=Instance.new("Part",LeftNeko)
- ln2.Name="LeftHandle"
- ln2.Material="SmoothPlastic"
- ln2.TopSurface=10
- ln2.BottomSurface=10
- ln2.LeftSurface=10
- ln2.RightSurface=10
- ln2.FrontSurface=10
- ln2.BackSurface=10
- ln2.BrickColor=LeftNekoColor
- ln2.formFactor=3
- ln2.Size=Vector3.new(1.2,.4,1.2)
- ln2.CanCollide=false
- ln2:breakJoints''
- local ln2w=Instance.new("Weld",ln2)
- ln2w.Part0=ln2
- ln2w.Part1=larm
- ln2w.C0=CFrame.new(0,-.1,0)
- local lnbell=Instance.new("Part",LeftNeko)
- lnbell.Name="LeftBell"
- lnbell.Material="SmoothPlastic"
- lnbell.TopSurface=10
- lnbell.BottomSurface=10
- lnbell.LeftSurface=10
- lnbell.RightSurface=10
- lnbell.FrontSurface=10
- lnbell.BackSurface=10
- lnbell.BrickColor=BrickColor.new("Institutional white")
- lnbell.Reflectance=.6
- lnbell.formFactor=3
- lnbell.Size=Vector3.new(.45,.45,.45)
- lnbell.CanCollide=false
- lnbell:breakJoints''
- local lnbellw=Instance.new("Weld",lnbell)
- lnbellw.Part0=lnbell
- lnbellw.Part1=larm
- lnbellw.C0=CFrame.new(0,.3,.65)
- local lnbellm=Instance.new("SpecialMesh",lnbell)
- lnbellm.MeshType="Sphere"
- local lnbf=Instance.new("PointLight",lnbell)
- lnbf.Shadows=true
- lnbf.Range=15
- lnbf.Brightness=0
- local lnding=Instance.new("Sound",lnbell)
- lnding.SoundId="http://www.roblox.com/asset?id=138134386"
- lnding.Volume=.2
- local ln3=Instance.new("Part",LeftNeko)
- ln3.Name="LeftHead"
- ln3.Material="SmoothPlastic"
- ln3.TopSurface=10
- ln3.BottomSurface=10
- ln3.LeftSurface=10
- ln3.RightSurface=10
- ln3.FrontSurface=10
- ln3.BackSurface=10
- ln3.BrickColor=LeftNekoColor
- ln3.formFactor=3
- ln3.Size=Vector3.new(1.575,1.65,1.575)
- ln3.CanCollide=false
- ln3:breakJoints''
- local ln3w=Instance.new("Weld",ln3)
- ln3w.Part0=ln3
- ln3w.Part1=larm
- ln3w.C0=CFrame.new(0,.95,0)
- local ln3m=Instance.new("SpecialMesh",ln3)
- ln3m.MeshType="Sphere"
- local lnface=Instance.new("Decal",ln3)
- lnface.Texture="http://www.roblox.com/asset?id="..leftnekoface
- lnface.Face="Bottom"
- local lnpunch=Instance.new("Sound",ln3)
- lnpunch.SoundId="http://www.roblox.com/asset?id=146163534"
- lnpunch.Volume=.3
- ln3.Touched:connect(function(hit)
- if hit and swing=="Left" and crawling and armmovement and crawldig then
- local j=2
- for jx=-j,j,4 do
- for jy=-j,j,4 do
- for jz=-j,j,4 do
- local spot=workspace.Terrain:WorldToCell(ln3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
- workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
- end
- end
- end
- end
- coroutine.wrap(function()
- if hit and swing=="Left" and armmovement then
- coroutine.resume(coroutine.create(function()
- local j=2
- for jx=-j,j,4 do
- for jy=-j,j,4 do
- for jz=-j,j,4 do
- local spot=workspace.Terrain:WorldToCell(ln3.CFrame*CFrame.new(0,0,-2).p+Vector3.new(jx,jy,jz))
- workspace.Terrain:SetCell(spot.x,spot.y,spot.z,0,0,0)
- end
- end
- end
- end))
- if hit.Parent then
- for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
- local hawm=hit.Parent and hyoom and hit.Parent.Parent
- if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and not hitdb then
- hitdb=true
- local nyaa=Instance.new("Sound",rn3)
- nyaa.SoundId="http://www.roblox.com/asset?id="..Meows[math.random(1,#Meows)]
- nyaa:Play''
- rnpunch:Play''
- game:service'Debris':AddItem(nyaa,3)
- if hyoom.Parent:findFirstChild("Torso") then
- local asd=Instance.new("BodyVelocity",hyoom.Parent.Torso)
- asd.maxForce=Vector3.new(1/0,1/0,1/0)
- asd.velocity=((ln3.CFrame.p-hyoom.Parent.Torso.CFrame.p).unit*-20)+Vector3.new(0,10,0)
- game:service'Debris':AddItem(asd,.2)
- end
- hyoom.Sit=true
- if crawling then
- hyoom.Health=hyoom.Health-(math.random(15,20)*(hyoom.MaxHealth/100))
- wait(.5)
- hitdb=false
- else
- hyoom.Health=hyoom.Health-(math.random(20,40)*(hyoom.MaxHealth/100))
- wait(1)
- hitdb=false
- end
- end
- end
- end
- end)()
- end)
- local ln4=Instance.new("Part",LeftNeko)
- ln4.Name="LeftHandle"
- ln4.Material="SmoothPlastic"
- ln4.TopSurface=10
- ln4.BottomSurface=10
- ln4.LeftSurface=10
- ln4.RightSurface=10
- ln4.FrontSurface=10
- ln4.BackSurface=10
- ln4.BrickColor=LeftNekoColor
- ln4.formFactor=3
- ln4.Size=Vector3.new(1.575,.2,1.575)
- ln4.CanCollide=false
- ln4:breakJoints''
- local ln4w=Instance.new("Weld",ln4)
- ln4w.Part0=ln4
- ln4w.Part1=ln3
- ln4w.C0=CFrame.new(0,-.75,.15)*CFrame.Angles(math.rad(90),0,0)
- local ln4m=Instance.new("SpecialMesh",ln4)
- ln4m.Scale=Vector3.new(1.2,1.2,1.2)
- ln4m.MeshId="http://www.roblox.com/asset?id=1374148"
- ln4m.TextureId="http://www.roblox.com/asset?id=59596104"
- maus.KeyDown:connect(function(kei)
- if string.byte(kei)==48 and not otheranims and not sitting and not disabled then
- runnin=true
- end
- if string.byte(kei)==48 and crawling and not sitting and not disabled then
- crawldash=true
- end
- if kei=='w' then fldb.w=true end
- if kei=='a' then fldb.a=true end
- if kei=='s' then fldb.s=true end
- if kei=='d' then fldb.d=true end
- if string.byte(kei)==50 and not crawling then
- if crouching then
- otheranims=false
- crouching=false
- chr.Humanoid.WalkSpeed=18
- elseif not crouching and not otheranims then
- otheranims=true
- crouching=true
- anim="Crouching"
- end
- end
- if kei=='j' and not otheranims and not armmovement and not disabled and not lit then
- otheranims=true
- anim="PreSuperJump"
- chr.Humanoid.WalkSpeed=0
- jumpcharge=true
- end
- if kei=='c' and not armmovement and not sitting and not disabled then
- if (torso.Velocity*Vector3.new(1,0,1)).magnitude>=RunSpeed-2.5 and not otheranims and not crawling then
- otheranims=true
- anim="Sliding"
- local tempvelocity=Instance.new('BodyVelocity',rutprt)
- tempvelocity.Name="TemporaryVelocity"
- tempvelocity.maxForce=Vector3.new(math.huge,0,math.huge)
- tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed
- coroutine.resume(coroutine.create(function()
- local totesvelocity=RunSpeed
- repeat
- if (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude<=1 then otheranims=false tempvelocity:destroy''
- elseif (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude>1 then
- totesvelocity=totesvelocity-(2.5*(RunSpeed/100))
- tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*totesvelocity
- end
- wait''
- until tempvelocity.Parent==nil
- end))
- elseif (torso.Velocity*Vector3.new(1,0,1)).magnitude<=RunSpeed-2.5 then
- if not crawling then otheranims=true anim='PreCrawl' wait'.2' crawling=true chr.Humanoid.WalkSpeed=8
- elseif crawling then crawling=false otheranims=false chr.Humanoid.WalkSpeed=WlkSpeed end
- end
- end
- end)
- maus.KeyUp:connect(function(kei)
- if string.byte(kei)==48 and not otheranims and not sitting and not disabled then
- runnin=false
- end
- if string.byte(kei)==48 and crawling then
- crawldash=false
- end
- if kei=='w' then fldb.w=false end
- if kei=='a' then fldb.a=false end
- if kei=='s' then fldb.s=false end
- if kei=='d' then fldb.d=false end
- if kei=="c" and rutprt:findFirstChild("TemporaryVelocity") and otheranims then
- otheranims=false
- rutprt["TemporaryVelocity"]:destroy''
- end
- if kei=='j' and otheranims and jumpcharge then
- if running then chr.Humanoid.WalkSpeed=RunSpeed else chr.Humanoid.WalkSpeed=WlkSpeed end
- chr.Humanoid.Jump=true
- anim="SuperJump"
- local aasdd=Instance.new("BodyVelocity",rutprt)
- aasdd.maxForce=Vector3.new(0,1/0,0)
- aasdd.velocity=Vector3.new(0,jumpheight,0)
- game:service'Debris':AddItem(aasdd,.175)
- jumpcharge=false
- wait(.3)
- otheranims=false
- end
- end)
- maus.Button1Down:connect(function()
- if not sitting and not disabled and not armmovement and equipped and crawling then
- crawldig=true
- armmovement=true
- armanim="Digging"
- end
- if not otheranims and not sitting and not disabled and not armmovement and equipped then
- armmovement=true
- armanim=swing.."Swing1"
- wait(.25)
- armanim=swing.."Swing2"
- if swing=="Right" then
- rnding:Play()
- coroutine.resume(coroutine.create(function()
- wait(.65)
- rnding:Stop()
- end))
- else
- lnding:Play()
- coroutine.resume(coroutine.create(function()
- wait(.65)
- lnding:Stop()
- end))
- end
- wait(.3)
- armmovement=false
- if swing=="Right" then swing="Left"
- else
- swing="Right"
- end
- end
- end)
- maus.Button1Up:connect(function()
- if armmovement and crawldig then
- crawldig=false
- armmovement=false
- end
- end)
- chr.Humanoid.Changed:connect(function(chng)
- if crouching or crawling or disabled then
- if chng=='Jump' then
- chr.Humanoid.Jump=false
- end
- end
- end)
- game:service'RunService'.RenderStepped:connect(function()
- syne=syne+1
- if not otheranims and not swimming then
- if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not dnc and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
- anim="Idling"
- elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-5 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
- anim="Walking"
- dnc=false
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
- anim="Sprinting"
- dnc=false
- elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
- anim='Jumping'
- dnc=false
- elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
- anim='Falling'
- dnc=false
- end
- end
- if otheranims and crawling then
- if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then
- anim="IdleCrawl"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 12 and not chr.Humanoid.Jump then
- anim="Crawling"
- idled=false
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 12 and not chr.Humanoid.Jump then
- anim="SpeedCrawling"
- idled=false
- end end
- if anim~=lastanim then runtime=0 syne=0 end
- lastanim=anim
- idlesineinc=35
- if anim=="Idling" then
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(10)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-10)),.1)
- elseif not armmovement and equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.4+math.cos(syne/idlesineinc)/25,.1)*CFrame.Angles(math.rad(105),math.rad(-15),math.rad(-20)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.1,.20+math.cos(syne/idlesineinc)/25,-.65)*CFrame.Angles(math.rad(90),math.rad(10),math.rad(15)),.1)
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
- end
- if anim=="Walking" then
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(8)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(8)),.1)
- elseif not armmovement and equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.425,-.2)*CFrame.Angles(math.rad(40),math.rad(10),math.rad(5)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.425,-.2)*CFrame.Angles(math.rad(40),math.rad(-10),math.rad(-5)),.1)
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8-math.sin(syne/6)/8,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8+math.sin(syne/6)/8,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.2+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/8,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
- end
- if anim=="Sprinting" then
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,math.cos(syne/4)/15)*CFrame.Angles(-math.cos(syne/2.5)/5+math.rad(-55),0,math.rad(12.5)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,-math.cos(syne/4)/15)*CFrame.Angles(-math.cos(syne/2.5)/5+math.rad(-55),0,math.rad(-12.5)),.1)
- elseif not armmovement and equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.5,-.1)*CFrame.Angles(math.rad(-5),math.rad(10),math.rad(35)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.5,-.1)*CFrame.Angles(math.rad(-5),math.rad(-10),math.rad(-35)),.1)
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55+math.cos(syne/4)/20,-1.5-math.sin(syne/4)/2.5,-(math.cos(syne/4)*2.5)-.05)*CFrame.Angles(math.cos(syne/4)*2+math.rad(-10),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55-math.cos(syne/4)/20,-1.5+math.sin(syne/4)/2.5,math.cos(syne/4)*2.5-.05)*CFrame.Angles(-(math.cos(syne/4)*2)+math.rad(-10),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.55+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(20),-math.cos(syne/2.5)/8,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.cos(syne/2.5)/8+math.rad(-25),math.cos(syne/2.5)/8,math.cos(syne/4)/15+math.sin(rutprt.RotVelocity.y/2)/4),.1)
- end
- if anim=="Jumping" then
- if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
- end
- if anim=="Falling" then
- if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
- end
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
- end
- if anim=="Sliding" then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.95,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(-60),0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(45),math.rad(85),math.rad(0)),.1)
- end
- if armmovement then
- if armanim=="RightSwing1" then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.25+math.cos(syne/idlesineinc)/25,1.2)*CFrame.Angles(math.rad(95),math.rad(-15),math.rad(15)),.2)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.35+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(45),math.rad(10),math.rad(10)),.2)
- end
- if armanim=="RightSwing2" then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.8,.3+math.cos(syne/idlesineinc)/25,-.8)*CFrame.Angles(math.rad(95),math.rad(15),math.rad(-15)),.5)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.45+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(45),math.rad(10),math.rad(-10)),.5)
- end
- if armanim=="LeftSwing1" then
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.25+math.cos(syne/idlesineinc)/25,1.2)*CFrame.Angles(math.rad(95),math.rad(10),math.rad(15)),.2)
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.35+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(45),math.rad(10),math.rad(10)),.2)
- end
- if armanim=="LeftSwing2" then
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.8,.3+math.cos(syne/idlesineinc)/25,-.8)*CFrame.Angles(math.rad(95),math.rad(-15),math.rad(15)),.5)
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.45+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(45),math.rad(10),math.rad(10)),.5)
- end
- if armanim=="Digging" then
- rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.25, 1.1+math.cos(syne), -.1)* CFrame.Angles(math.rad(179), 0, math.rad(-25)), 0.5)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.25, 1.1-(math.cos(syne)), -.1) * CFrame.Angles(math.rad(179), 0, math.rad(25)), 0.5)
- end
- end
- if jumpcharge and jumpheight<150 then jumpheight=jumpheight+3 elseif not jumpcharge then jumpheight=20 end
- if anim=="PreSuperJump" then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.06)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.06)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,.3)*CFrame.Angles(math.rad(-40),0,math.rad(-2.5)),.06)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.6,-.65)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.06)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(40),0,0),.06)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.6,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.06)
- end
- if anim=="SuperJump" then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(20)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(-20)),.1)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(-2.5)),.2)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(2.5)),.2)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(30),0,0),.1)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.1)
- chr.Humanoid.Jump=true
- end
- if anim=="Crouching" then
- if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.4, .35, -.225) * CFrame.Angles(math.rad(70), 0, math.rad(-15)), 0.075)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4, .35, -.225) * CFrame.Angles(math.rad(70), 0, math.rad(15)), 0.075)
- end
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -.55, -1) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.075)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.65, -1.275) * CFrame.Angles(math.rad(60), 0, math.rad(-0)), 0.075)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(5),0,0),.05)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-2,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),0.075)
- end
- if anim=="PreCrawl" then
- if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.45, .75, -.15)* CFrame.Angles(math.rad(140), 0, math.rad(-25)), 0.15)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.45, .75, -.15) * CFrame.Angles(math.rad(140), 0, math.rad(25)), 0.15)
- end
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.15)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(-0)), 0.15)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,.25)*CFrame.Angles(math.rad(72.5),0,0),.15)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-2.2,0)*CFrame.Angles(math.rad(-80),math.rad(0),math.rad(0)),0.15)
- end
- if crawling then
- if anim=='Crawling' then
- chr.Humanoid.WalkSpeed=CrawlSpeed-math.cos(syne/5)*5
- if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.25, 1-math.cos(syne/10)/2, -.35+math.cos(syne/10)/8) * CFrame.Angles(math.rad(155)+math.sin(syne/10)/9, 0, math.rad(-25)+math.cos(syne/10)/13),.175)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.25, 1+math.cos(syne/10)/2, -.35-math.cos(syne/10)/8) * CFrame.Angles(math.rad(155)-math.sin(syne/10)/9, 0, math.rad(25)-math.cos(syne/10)/13), .175)
- end
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.525, -1.5-math.cos(syne/10)/3, -.3+math.cos(syne/10)/10) * CFrame.Angles(math.rad(-5)-math.cos(syne/10)/9, 0, math.rad(0)-math.cos(syne/10)/15), .175)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.525, -1.5+math.cos(syne/10)/3, -.3-math.cos(syne/10)/10) * CFrame.Angles(math.rad(-5)+math.cos(syne/10)/9, 0, math.rad(-0)-math.cos(syne/10)/15), 0.175)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,math.cos(syne/30)/20+.25)*CFrame.Angles(math.cos(syne/30)/25+math.rad(75),math.rad(4),0),.175)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-2.2,0)*CFrame.Angles(math.rad(-82)+math.cos(syne/5)/12,math.cos(syne/10)/15,math.cos(syne/5)/15),0.15)
- end
- if anim=='SpeedCrawling' then
- if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.25, 1-math.cos(syne/5)/2, -.35+math.cos(syne/5)/12) * CFrame.Angles(math.rad(155)-math.cos(syne/5)/14, 0, math.rad(-25)+math.cos(syne/5)/13),.175)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.25, 1+math.cos(syne/5)/2, -.35-math.cos(syne/5)/12) * CFrame.Angles(math.rad(155)+math.cos(syne/5)/14, 0, math.rad(25)-math.cos(syne/5)/13), .175)
- end
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.525, -1.5-math.cos(syne/5)/3, -.3+math.cos(syne/5)/10) * CFrame.Angles(math.rad(-5)-math.cos(syne/5)/9, 0, math.rad(0)-math.cos(syne/5)/15), .175)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.525, -1.5+math.cos(syne/5)/3, -.3-math.cos(syne/5)/10) * CFrame.Angles(math.rad(-5)+math.cos(syne/5)/9, 0, math.rad(-0)-math.cos(syne/5)/15), 0.175)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,math.cos(syne/15)/20+.25)*CFrame.Angles(math.cos(syne/15)/25+math.rad(75),math.rad(4),0),.175)
- rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-2.2,0)*CFrame.Angles(math.rad(-82)+math.cos(syne/2.5)/12,math.cos(syne/5)/15,math.cos(syne/2.5)/15),0.15)
- end
- end
- if crouching then chr.Humanoid.WalkSpeed=0 end
- chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
- if runnin and not disabled and not otheranims and not sitting then
- chr.Humanoid.WalkSpeed=RunSpeed
- elseif not runnin and not disabled and not otheranims and not sitting then
- chr.Humanoid.WalkSpeed=WlkSpeed
- elseif not runnin and not disabled and otheranims and crawling and not crawldash and not sitting then
- chr.Humanoid.WalkSpeed=CrawlSpeed
- elseif not runnin and not disabled and otheranims and crawling and crawldash and not sitting then
- chr.Humanoid.WalkSpeed=CrawlDashSpeed
- end
- end)
- local hp=Instance.new("HopperBin",plr.Backpack)
- hp.Name="Neko Neko Knuckles"
- hp.Selected:connect(function()
- equipped=true
- end)
- hp.Deselected:connect(function()
- equipped=false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement