Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player = game.Players.LocalPlayer
- pchar = player.Character
- player.Neutral = true
- yes = false
- yes1 = false
- yes3 = true
- yes4=true
- canmove = true
- humanoid = game.Players.LocalPlayer.Character.Humanoid
- pchar.Humanoid.MaxHealth = 800
- wait()
- pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
- co = {"267098887","268664553","267098887"}
- h = Instance.new("Sound",pchar.Torso)
- p = game.Players.LocalPlayer
- char = p.Character
- ocarina = true
- mouse = player:GetMouse()
- asd2 = Instance.new("Sound",char)
- asd2.SoundId = "http://www.roblox.com/asset/?id =267098887"
- asd2.Looped = true
- asd2.Volume = 5
- RightShoulder = Instance.new("Weld",pchar.Torso)
- RightShoulder.Part0 = pchar.Torso
- RightShoulder.Part1 = pchar['Right Arm']
- RightShoulder.C0 = CFrame.new(1,0.5,0)
- RightShoulder.C1 = CFrame.new(-0.5,0.5,0)
- LeftShoulder = Instance.new("Weld",pchar.Torso)
- LeftShoulder.Part0 = pchar.Torso
- LeftShoulder.Part1 = pchar['Left Arm']
- LeftShoulder.C0 = CFrame.new(-1,0.5,0)
- LeftShoulder.C1 = CFrame.new(0.5,0.5,0)
- Neck = Instance.new("Weld",pchar.Torso)
- Neck.Part0 = pchar.Torso
- Neck.Part1 = pchar['Head']
- Neck.C0 = CFrame.new(0,1.5,0)
- sound4 = Instance.new("Sound")
- sound4.Parent = char
- sound4.SoundId = "http://www.roblox.com/asset/?id=132673664"
- sound4.Looped = false
- sound4.Volume = 1
- sound6 = Instance.new("Sound")
- sound6.Parent = char
- sound6.SoundId = "http://www.roblox.com/asset/?id=164274787"
- sound6.Looped = false
- sound6.Volume = 1
- sound5 = Instance.new("Sound")
- sound5.Parent = char
- sound5.SoundId = "http://www.roblox.com/asset/?id=138189603"
- sound5.Looped = false
- sound5.Volume = 1
- as =0.2
- -- From 0,0,0 to 10,22,3 with lerps
- deg = math.deg
- rad = math.rad
- asin = math.asin
- atan2 = math.atan2
- cos = math.cos
- sin = math.sin
- rad = math.sin
- function getAngles(cf) -- this is for later
- local sx,sy,sz,m00,m01,m02,m10,m11,m12,m20,m21,m22 = cf:components()
- return atan2(-m12,m22),asin(m02),atan2(-m01,m00)
- end
- Lerp = {
- Number = function(C1,C2,inc)
- return C1 + (C2 - C1) * inc
- end;
- CFrame = function(a,b,m)
- local c,d={a:components()},{b:components()}
- table.foreach(c,function(a,b)c[a]=c[a]+(d[a]-c[a])*m end)
- return CFrame.new(unpack(c))
- end;
- }
- p = game.Players.LocalPlayer
- sound = Instance.new("Sound")
- sound.Parent = char.Torso
- sound.SoundId = "http://www.roblox.com/asset/?id=211134014"
- sound.Looped = false
- sound.Volume = 0.7
- sound1 = Instance.new("Sound")
- sound1.Parent = char.Torso
- sound1.SoundId = "http://www.roblox.com/asset/?id=211059653"
- sound1.Looped = false
- sound1.Volume = 0.7
- co2 = {"270042126","267098942"}
- sound2= Instance.new("Sound")
- sound2.Parent = char.Torso
- sound2.Looped = false
- sound2.Pitch = 0.95
- sound2.Volume = 1
- function whatacunt()
- sound2.SoundId = "http://www.roblox.com/asset/?id="..co2[math.random(1,#co2)]
- pchar.Head.Jumping.SoundId = "rbxassetid://"..co[math.random(1,#co)]
- end
- Shield=Instance.new("Part")
- Shield.TopSurface = 0
- Shield.BottomSurface=0
- Shield.Parent = char
- Shield.FormFactor = 3
- Shield.Size = Vector3.new(0.1,2,2)
- Shield.BrickColor = BrickColor.new("Brown")
- wg = Instance.new("Weld")
- wg.Parent = Shield
- wg.Part0 = Shield
- wg.Part1 = char["Right Arm"]
- wg.C1 = CFrame.new(.55,0,0)
- Shielda=Instance.new("Part")
- Shielda.TopSurface = 0
- Shielda.BottomSurface=0
- Shielda.Parent = char
- Shielda.FormFactor = 3
- Shielda.Transparency = 1
- Shielda.Size = Vector3.new(0.5,0.5,0.1)
- Shielda.BrickColor = BrickColor.new("Brown")
- jum = true
- wga = Instance.new("Weld")
- wga.Parent = Shielda
- wga.Part0 = Shielda
- wga.Part1 = char["Left Arm"]
- wga.C1 = CFrame.new(0,-1,-0.5)
- fr = Instance.new("Fire")
- fr.Parent = Shielda
- fr.Size = 1
- fr.Heat = 3
- fr.Enabled = false
- Shield2=Instance.new("Part")
- Shield2.TopSurface = 0
- Shield2.Transparency =1
- Shield2.BottomSurface=0
- Shield2.Parent = char
- Shield2.FormFactor = 3
- Shield2.Size = Vector3.new(0.3,0.3,1)
- Shield2.BrickColor = BrickColor.new("Brown")
- wg2 = Instance.new("Weld")
- wg2.Parent = Shield2
- wg2.Part0 = Shield2
- wg2.Part1 = char["Left Arm"]
- wg2.C1 = CFrame.new(0,-1,0)
- Shieldb=Instance.new("Part")
- Shieldb.TopSurface = 0
- Shieldb.BottomSurface=0
- Shieldb.Parent = char
- Shieldb.FormFactor = 3
- Shieldb.Transparency = 1
- Shieldb.Size = Vector3.new(0.5,0.1,0.5)
- Shieldb.BrickColor = BrickColor.new("Really blue")
- wgb = Instance.new("Weld")
- wgb.Parent = Shieldb
- wgb.Part0 = Shieldb
- wgb.Part1 = char["Left Arm"]
- wgb.C1 = CFrame.new(0,-1,-0.5)
- Shieldc=Instance.new("Part")
- Shieldc.TopSurface = 0
- Shieldc.BottomSurface=0
- Shieldc.Parent = char
- Shieldc.FormFactor = 3
- Shieldc.Transparency = 1
- Shieldc.Size = Vector3.new(0.1,0.3,5)
- Shieldc.BrickColor = BrickColor.new("White")
- wgc = Instance.new("Weld")
- wgc.Parent = Shieldc
- wgc.Part0 = Shieldc
- wgc.Part1 = char["Left Arm"]
- wgc.C1 = CFrame.new(0,-1,-2)
- fr = Instance.new("Fire")
- fr.Parent = Shielda
- fr.Size = 1
- fr.Heat = 3
- fr.Enabled = false
- Shield3=Instance.new("Part")
- Shield3.TopSurface = 0
- Shield3.Transparency =1
- Shield3.BottomSurface=0
- Shield3.Parent = char
- Shield3.FormFactor = 3
- Shield3.Size = Vector3.new(0.3,0.3,1)
- Shield3.BrickColor = BrickColor.new("Really blue")
- wg3 = Instance.new("Weld")
- wg3.Parent = Shield3
- wg3.Part0 = Shield3
- wg3.Part1 = char["Left Arm"]
- wg3.C1 = CFrame.new(0,-1,0)
- pl = Instance.new("PointLight")
- pl.Parent = Shield2
- pl.Brightness = 90
- pl.Enabled = false
- pl.Range = 10
- pl.Color = Color3.new(236,139,70)
- ShirtBody=Instance.new("Part")
- ShirtBody.TopSurface = 0
- ShirtBody.BottomSurface=0
- ShirtBody.Parent = char
- ShirtBody.FormFactor = 3
- ShirtBody.Size = Vector3.new(2.1,2.1,1.1)
- ShirtBody.BrickColor = BrickColor.new("Bright green")
- w1 = Instance.new("Weld")
- w1.Parent = ShirtBody
- w1.Part0 = ShirtBody
- w1.Part1 = char.Torso
- ShirtBody2=Instance.new("Part")
- ShirtBody2.TopSurface = 0
- ShirtBody2.BottomSurface=0
- ShirtBody2.Parent = char
- ShirtBody2.FormFactor = 3
- ShirtBody2.Size = Vector3.new(1.1,1.1,1.1)
- ShirtBody2.BrickColor = BrickColor.new("Bright green")
- w2 = Instance.new("Weld")
- w2.Parent = ShirtBody2
- w2.Part0 = ShirtBody2
- w2.Part1 = char["Left Arm"]
- w2.C0 = CFrame.new(0,-0.5,0)
- ShirtBody3=Instance.new("Part")
- ShirtBody3.TopSurface = 0
- ShirtBody3.BottomSurface=0
- ShirtBody3.Parent = char
- ShirtBody3.FormFactor = 3
- ShirtBody3.Size = Vector3.new(1.1,1.1,1.1)
- ShirtBody3.BrickColor = BrickColor.new("Bright green")
- w3 = Instance.new("Weld")
- w3.Parent = ShirtBody3
- w3.Part0 = ShirtBody3
- w3.Part1 = char["Right Arm"]
- w3.C0 = CFrame.new(0,-0.5,0)
- ShirtBody4=Instance.new("Part")
- ShirtBody4.TopSurface = 0
- ShirtBody4.BottomSurface=0
- ShirtBody4.Parent = char
- ShirtBody4.FormFactor = 3
- ShirtBody4.Size = Vector3.new(2.15,0.1,1.15)
- ShirtBody4.BrickColor = BrickColor.new("Bright green")
- w4 = Instance.new("Weld")
- w4.Parent = ShirtBody4
- w4.Part0 = ShirtBody4
- w4.Part1 = char["Torso"]
- w4.C0 = CFrame.new(0,1,0)
- ShirtBody5=Instance.new("Part")
- ShirtBody5.TopSurface = 0
- ShirtBody5.BottomSurface=0
- ShirtBody5.Parent = char
- ShirtBody5.FormFactor = 3
- ShirtBody5.Size = Vector3.new(0.3,3,1.2)
- ShirtBody5.BrickColor = BrickColor.new("Brown")
- w5 = Instance.new("Weld")
- w5.Parent = ShirtBody5
- w5.Part0 = ShirtBody5
- w5.Part1 = char["Torso"]
- w5.C0 = CFrame.new(0,0,0)
- w5.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,math.pi/4)
- ShirtBody6=Instance.new("Part")
- ShirtBody6.TopSurface = 0
- ShirtBody6.BottomSurface=0
- ShirtBody6.Parent = char
- ShirtBody6.FormFactor = 3
- ShirtBody6.Size = Vector3.new(0.5,0.7,1.2)
- ShirtBody6.BrickColor = BrickColor.new("Brown")
- w6 = Instance.new("Weld")
- w6.Parent = ShirtBody6
- w6.Part0 = ShirtBody6
- w6.Part1 = char["Torso"]
- w6.C0 = CFrame.new(-1.2,1.3,0)
- ShirtBody7=Instance.new("Part")
- ShirtBody7.TopSurface = 0
- ShirtBody7.BottomSurface=0
- ShirtBody7.Parent = char
- ShirtBody7.FormFactor = 3
- ShirtBody7.Size = Vector3.new(0.55,0.45,1.2)
- ShirtBody7.BrickColor = BrickColor.new("Brown")
- w7 = Instance.new("Weld")
- w7.Parent = ShirtBody7
- w7.Part0 = ShirtBody7
- w7.Part1 = char["Torso"]
- w7.C0 = CFrame.new(-1.2,1.2,0)
- ShirtBody8=Instance.new("Part")
- ShirtBody8.TopSurface = 0
- ShirtBody8.BottomSurface=0
- ShirtBody8.Parent = char
- ShirtBody8.FormFactor = 3
- ShirtBody8.Size = Vector3.new(1.1,0.7,1.1)
- ShirtBody8.BrickColor = BrickColor.new("Brown")
- w8 = Instance.new("Weld")
- w8.Parent = ShirtBody8
- w8.Part0 = ShirtBody8
- w8.Part1 = char["Right Leg"]
- w8.C0 = CFrame.new(0,-0.7,0)
- ShirtBody9=Instance.new("Part")
- ShirtBody9.TopSurface = 0
- ShirtBody9.BottomSurface=0
- ShirtBody9.Parent = char
- ShirtBody9.FormFactor = 3
- ShirtBody9.Size = Vector3.new(1.1,0.7,1.1)
- ShirtBody9.BrickColor = BrickColor.new("Brown")
- w9 = Instance.new("Weld")
- w9.Parent = ShirtBody9
- w9.Part0 = ShirtBody9
- w9.Part1 = char["Left Leg"]
- w9.C0 = CFrame.new(0,-0.7,0)
- ShirtBodya=Instance.new("Part")
- ShirtBodya.TopSurface = 0
- ShirtBodya.BottomSurface=0
- ShirtBodya.Parent = char
- ShirtBodya.FormFactor = 3
- ShirtBodya.Size = Vector3.new(0.5,3,0.5)
- ShirtBodya.BrickColor = BrickColor.new("Brown")
- wa = Instance.new("Weld")
- wa.Parent = ShirtBodya
- wa.Part0 = ShirtBodya
- wa.Part1 = char.Torso
- wa.C0 = CFrame.new(0,0,-0.8)
- wa.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,math.pi/4)
- ShirtBodyb=Instance.new("Part")
- ShirtBodyb.TopSurface = 0
- ShirtBodyb.BottomSurface=0
- ShirtBodyb.Parent = char
- ShirtBodyb.FormFactor = 3
- ShirtBodyb.Size = Vector3.new(0.3,0.15,0.15)
- ShirtBodyb.BrickColor = BrickColor.new("White")
- wb = Instance.new("Weld")
- wb.Parent = ShirtBodyb
- wb.Part0 = ShirtBodyb
- wb.Part1 = ShirtBodya
- wb.C0 = CFrame.new(0,-1.5,0)
- ShirtBodyc=Instance.new("Part")
- ShirtBodyc.TopSurface = 0
- ShirtBodyc.BottomSurface=0
- ShirtBodyc.Parent = char
- ShirtBodyc.FormFactor = 3
- ShirtBodyc.Size = Vector3.new(1,0.1,0.15)
- ShirtBodyc.BrickColor = BrickColor.new("Really blue")
- wc = Instance.new("Weld")
- wc.Parent = ShirtBodyc
- wc.Part0 = ShirtBodyc
- wc.Part1 = ShirtBodya
- wc.C0 = CFrame.new(0,-1.7,0)
- ShirtBodyd=Instance.new("Part")
- ShirtBodyd.TopSurface = 0
- ShirtBodyd.BottomSurface=0
- ShirtBodyd.Parent = char
- ShirtBodyd.FormFactor = 3
- ShirtBodyd.Size = Vector3.new(0.1,0.7,0.1)
- ShirtBodyd.BrickColor = BrickColor.new("Really blue")
- wd = Instance.new("Weld")
- wd.Parent = ShirtBodyd
- wd.Part0 = ShirtBodyd
- wd.Part1 = ShirtBodya
- wd.C0 = CFrame.new(0,-2,0)
- ShirtBodye=Instance.new("Part")
- ShirtBodye.TopSurface = 0
- ShirtBodye.BottomSurface=0
- ShirtBodye.Parent = char
- ShirtBodye.FormFactor = 3
- ShirtBodye.Size = Vector3.new(1.2,0.3,1.2)
- ShirtBodye.BrickColor = BrickColor.new("Bright green")
- we = Instance.new("Weld")
- we.Parent = ShirtBodye
- we.Part0 = ShirtBodye
- we.Part1 = char.Head
- we.C0 = CFrame.new(0,-.5,0)
- ShirtBodyf=Instance.new("Part")
- ShirtBodyf.TopSurface = 0
- ShirtBodyf.BottomSurface=0
- ShirtBodyf.Parent = char
- ShirtBodyf.FormFactor = 3
- ShirtBodyf.Size = Vector3.new(1,0.3,1)
- ShirtBodyf.BrickColor = BrickColor.new("Bright green")
- wf = Instance.new("Weld")
- wf.Parent = ShirtBodyf
- wf.Part0 = ShirtBodyf
- wf.Part1 = char.Head
- wf.C0 = CFrame.new(0,-.75,0)
- LerpTo = { -- this is where your lerp stuff would go if you had more than one arm to lerp
- RightArm = CFrame.new(1,0.5,0);
- LeftArm = CFrame.new(-1,0.5,0);
- LeftLeg = CFrame.new(-1,-1,0);
- RightLeg = CFrame.new(1,-1,0);
- Ball = CFrame.new(0,0.3,1.3);
- Head = CFrame.new(0,1.5,0);
- }
- mouse.KeyDown:connect(function(kkk)
- if kkk =="z" then
- if yes4 == false then return
- elseif yes4 == true then
- yes3 = false
- yes2 = false
- yes1 = false
- if yes == false then
- leh=false
- righ=false
- if righ == false then
- ------------------------------------------------This is the slash vvv
- mouse.Button1Down:connect(function(mo)
- as = 0.3
- yes5 = false
- yes6=true
- if yes2 == false then
- yes2 = true
- Shield3.Touched:connect(function(h)if h.Parent.Name ==game.Players.LocalPlayer.Name then
- return
- else x = h.Parent:findFirstChild("Humanoid")
- if x then
- x:TakeDamage(1)
- as = 0.2
- end
- end
- end)
- LerpTo.LeftArm = CFrame.new(-1,0.3,0.3) * CFrame.Angles(math.pi,0,0)
- wait(0.3)
- sound2:Play()
- LerpTo.LeftArm = CFrame.new(-1,0.3,0.3) * CFrame.Angles(math.pi/4,-math.pi/8,math.pi/6)
- LerpTo.RightArm = CFrame.new(1,0.5,-0.3) * CFrame.Angles(math.pi/2.5,0,-math.pi/8)
- wait(0.1)
- LerpTo.LeftArm = CFrame.new(-1,0.3,0.3) * CFrame.Angles(-math.pi/4,math.pi/8,-math.pi/4)
- LerpTo.RightArm = CFrame.new(1,0.5,-0.3) * CFrame.Angles(math.pi/2,0,-math.pi/4)
- wait(0.5)
- yes5 = true
- yes2 = false
- end
- end)
- end
- sound1:Play()
- sound1.Looped = false
- sound1.Volume = 0.7
- LerpTo.LeftArm = CFrame.new(-1,0.3,0.3) * CFrame.Angles(-math.pi/4,math.pi/8,-math.pi/4)
- ShirtBodyb.Transparency = 1
- ShirtBodyc.Transparency = 1
- ShirtBodyd.Transparency = 1
- Shield3.Transparency = 0
- Shieldb.Transparency = 0
- Shieldc.Transparency = 0
- wait(0.1)
- yes =true
- LerpTo.Head=CFrame.new(0,1.5,0) * CFrame.Angles(0,-math.pi/4,0)
- LerpTo.RightArm = CFrame.new(1,0.5,-0.3) * CFrame.Angles(math.pi/2,0,-math.pi/4)
- end
- end
- end
- end)
- mouse.KeyDown:connect(function(kkk)
- if kkk =="x" then
- yes1 = true
- if yes == true then
- sound:Play()
- LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(0,0,0)
- ShirtBodyb.Transparency = 0
- ShirtBodyc.Transparency = 0
- ShirtBodyd.Transparency = 0
- Shield3.Transparency = 1
- Shieldb.Transparency = 1
- Shieldc.Transparency = 1
- yes = false
- yes3 = true
- LerpTo.Head=CFrame.new(0,1.5,0) * CFrame.Angles(0,0,0)
- LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(0,0,0)
- leh=true
- righ=true
- end
- end
- end)
- mouse.KeyDown:connect(function(kkk)
- if kkk == "g" then
- if ocarina == true then
- ocarina = false
- canmove = false
- yes = false
- yes3 = false
- yes4 = false
- yes1 = false
- Oc = Instance.new("Part")
- Oc.Parent = char
- Oc.BrickColor = BrickColor.new("Cyan")
- Oc.Name = "Ocarina of Time"
- Oc.FormFactor = 3
- Oc.Size = Vector3.new(0.7,0.5,0.5)
- Oc.TopSurface = 0
- Oc.BottomSurface = 0
- ow = Instance.new("Weld")
- ow.Parent = Oc
- ow.Part0 = Oc
- ow.Part1 = char.Torso
- ow.C0 = CFrame.new(0,-1.2,1)
- ow.C1 = CFrame.new(0,-0.4,-0.9)*CFrame.Angles(math.pi/4,0,0)
- m = Instance.new("SpecialMesh")
- m.Parent = Oc
- m.Scale = Vector3.new(1.5,1,1)
- m.MeshType = "Sphere"
- -------------------------------------
- Oc2 = Instance.new("Part")
- Oc2.Parent = char
- Oc2.BrickColor = BrickColor.new("Cyan")
- Oc2.Name = "Ocarina of Time"
- Oc2.FormFactor = 3
- Oc2.Size = Vector3.new(0.2,0.2,0.2)
- Oc2.TopSurface = 0
- Oc2.BottomSurface = 0
- ow2 = Instance.new("Weld")
- ow2.Parent = Oc2
- ow2.Part0 = Oc2
- ow2.Part1 = Oc
- ow2.C0 = CFrame.new(0.2,-0.1,0)
- m2 = Instance.new("SpecialMesh")
- m2.Parent = Oc2
- m2.Scale = Vector3.new(1,2.3,1)
- m2.MeshType = "Sphere"
- LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(math.pi/2,0,-math.pi/4)
- LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.pi/2,0,math.pi/4)
- end
- end
- end)
- mouse.KeyDown:connect(function(kkk)
- if kkk == "h" then
- ocarina = true
- Oc:Remove()
- Oc2:Remove()
- LerpTo.LeftArm = CFrame.new(-1,0.5,0)
- LerpTo.RightArm = CFrame.new(1,0.5,0)
- yes = true
- yes1 = true
- yes3 = true
- yes4 = true
- canmove = true
- end
- end)
- mouse.KeyDown:connect(function(k)
- if k == ";" then
- pos = pchar.Torso.CFrame
- end
- end)
- mouse.KeyDown:connect(function(k)
- if k == "k" then
- if ocarina == false then
- sound4:Play()
- wait(10)
- wait(1)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("Institutional white")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0.8
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = char["Torso"].CFrame * CFrame.new(0,-2,0)
- --rng.Rotation = Vector3.new(math.pi/2,0,0)
- rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = Vector3.new(1, 1.3, 2)
- coroutine.wrap(function()
- for i = 1, 10, .4 do
- rngm.Scale = Vector3.new(2 + i*6, 2 + i*6,2 + i*6)
- wait()
- end
- wait()
- rng:Destroy()
- char.Torso.CFrame = pos
- wait(1)
- wait()
- end)()
- end
- wait(2)
- h:Remove()
- yes = false
- end
- end)
- mouse.KeyDown:connect(function(k)
- if k == "q" then
- if ocarina == false then
- sound5:Play()
- wait(9)
- LerpTo.Head = CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0)
- sound2:Stop()
- wait(2)
- char.Humanoid.Health = char.Humanoid.MaxHealth
- h:Remove()
- yes = false
- end
- end
- end)
- mouse.KeyDown:connect(function(k)
- if k == "x" then
- if ocarina == false then
- sound6:Play()
- wait(4)
- sound6:Stop()
- wait(1)
- BV = Instance.new("BodyVelocity", torso)
- BV.maxForce = Vector3.new(0,20000,0)
- BV.P = 1000
- BV.velocity = Vector3.new(0,100,0)
- wait(1)
- BV:Remove()
- yes = false
- end
- end
- end)
- mouse.KeyDown:connect(function(kkk)
- if kkk =="l" then
- if yes3 == false then
- return
- elseif yes3 == true then
- yes4 = false
- righ = false
- leh = false
- LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.pi/2,0,math.pi/6)
- LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(math.pi/2,0,-math.pi/4)
- Shielda.Transparency = 0
- Shield2.Transparency = 0
- pl.Enabled = true
- fr.Enabled = true
- end
- end
- end)
- yes3 = true
- mouse.KeyUp:connect(function(kkk)
- if kkk =="l" then
- if yes3 == false then
- return
- elseif yes3 == true then
- leh = true
- righ = true
- yes4 = true
- LerpTo.Head=CFrame.new(0,1.5,0) * CFrame.Angles(0,0,0)
- LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(0,0,0)
- LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(0,0,0)
- Shielda.Transparency = 1
- Shield2.Transparency = 1
- pl.Enabled = false
- fr.Enabled = false
- end
- end
- end)
- char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
- char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
- char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
- char.Shirt:Remove()
- char.Pants:Remove()
- char["Body Colors"].RightLegColor = BrickColor.new("White")
- char["Body Colors"].LeftLegColor = BrickColor.new("White")
- char["Head"]:FindFirstChild("Mesh"):Remove()
- bm = Instance.new("BlockMesh")
- bm.Parent = char["Head"]
- bm.Scale = Vector3.new(1,1,1)
- x = char:GetChildren()
- for k, child in pairs(x) do
- if child:IsA('Hat') then
- child:Destroy()
- end
- end
- torso=char.Torso
- anglespeed = 1
- angle = 0
- righ=true
- leh=true
- --[[function hum()
- humState = humanoid:GetState()
- if humState == Enum.HumanoidStateType.Jumping then
- if jum == true then
- jum = false
- canmove = false
- LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(0,0,-rad(0.3))
- LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(0,0,rad(0.3))
- LerpTo.LeftLeg = CFrame.new(-0.5,-0.2,-0.3) * CFrame.Angles(0,rad(0.1),0)
- LerpTo.RightLeg = CFrame.new(0.5,-0.5,0) * CFrame.Angles(0,rad(-0.1),0)
- LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(rad(0.07),0,0)
- end
- else
- if humState == Enum.HumanoidStateType.Freefall then
- if jum == true then
- canmove = false
- LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(0,0,-rad(0.6))
- LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(0,0,rad(0.6))
- LerpTo.LeftLeg = CFrame.new(-0.5,-0.2,-0.3) * CFrame.Angles(0,rad(0.1),0)
- LerpTo.RightLeg = CFrame.new(0.5,-0.5,0) * CFrame.Angles(0,rad(-0.1),0)
- LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(rad(0.07),0,0)
- end
- end
- wait(1)
- jum = true
- canmove = true
- end
- end
- ]]--
- function updateanims()
- if canmove == true then
- LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(rad(0),0,0)
- if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
- anglespeed = 1/2
- if righ then
- LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(sin(angle)*0.3,0,rad(0.1))
- end
- if leh then
- LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(sin(angle)*0.3,0,rad(-0.1))
- end
- elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then
- anglespeed = 3
- if righ then
- LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(-sin(angle)*.8,0,rad(3))
- end
- if leh then
- LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(sin(angle)*.8,0,-rad(3))
- end
- end
- end
- end
- Spawn(function()
- while wait()do
- angle = (angle % 100) + anglespeed/10
- end
- end)
- RunService = game:service'RunService'
- RunService.RenderStepped:connect(function()
- updateanims()
- -- hum()
- whatacunt()
- RightShoulder.C0 = Lerp.CFrame(RightShoulder.C0,LerpTo.RightArm,as)
- LeftShoulder.C0 = Lerp.CFrame(LeftShoulder.C0,LerpTo.LeftArm,as)
- Neck.C0 = Lerp.CFrame(Neck.C0,LerpTo.Head,0.1)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement