Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By Rufus14
- plr = game.Players.LocalPlayer
- rig = plr.Character.Torso
- char = plr.Character
- mouse = plr:GetMouse()
- print(rig["Right Hip"].C0)
- sound2 = Instance.new("Sound", rig)
- sound2.SoundId = "http://roblox.com/asset?id=248456266"
- sound2.Volume = 10
- sound2.Looped = true
- sound2:Play()
- sword = Instance.new("Part", char["Right Arm"])
- sword.Position = sword.Position + Vector3.new(0,10,0)
- sword.Size = Vector3.new(1, 11, 1)
- mesh = Instance.new("SpecialMesh", sword)
- mesh.MeshId = "rbxassetid://438076439"
- mesh.TextureId = "rbxassetid://438076443"
- mesh.Scale = Vector3.new(0.4, 0.6, 0.8)
- weld = Instance.new("Weld", sword)
- weld.Part0 = char["Right Arm"]
- weld.Part1 = sword
- sword.CanCollide = false
- weld.C0 = weld.C0 * CFrame.Angles(-1.5,0,0)
- weld.C0 = weld.C0 * CFrame.new(0,3,-1)
- swoosh = Instance.new("Sound", sword)
- swoosh.SoundId = "rbxassetid://147722227"
- swoosh.Volume = 28
- function key(key)
- key = key:lower()
- if key == "q" then
- sword.Transparency = 0
- for i = 1,5 do
- wait()
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.new(0,-0.1,0)
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(-0.30,0,0)
- rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(-0.30,0,0)
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.30)
- end
- wait(0.1)
- for i = 1,5 do
- wait()
- weld.C0 = CFrame.new(char["Right Arm"].Position,char["Right Arm"].Position,char["Right Arm"].Position)
- weld.C0 = weld.C0 * CFrame.Angles(3,0,0)
- weld.C0 = weld.C0 * CFrame.new(0,3.2,0)
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.60)
- end
- swoosh:Play()
- sword.Touched:connect(function(hit)
- if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 45
- local sound = Instance.new("Sound", sword)
- sound.SoundId = "rbxassetid://566593606"
- sound.Volume = 28
- sound:Play()
- end
- end)
- wait(0.2)
- for i = 1,5 do
- wait()
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.60)
- end
- for i = 1,10 do
- wait()
- weld.C0 = weld.C0 * CFrame.Angles(-3,0,0)
- weld.C0 = weld.C0 * CFrame.new(0,-10.2,0)
- end
- for i = 1,5 do
- wait()
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.new(0,0.1,0)
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0.30,0,0)
- rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0.30,0,0)
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.30)
- end
- sword.Transparency = 1
- plr.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.fromEulerAnglesXYZ(0,4.7,0)
- weld.C0 = weld.C0 * CFrame.new(0,-10.2,-30)
- end
- if key == "e" then
- char.Humanoid.WalkSpeed = 0
- char.Humanoid.JumpPower = 0
- for i = 1,6 do
- wait()
- char.Humanoid.CameraOffset = char.Humanoid.CameraOffset - Vector3.new(0,0.15,0)
- rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,0.15)
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-0.15)
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.05,0,0)
- rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.new(0.15,0.15,0)
- rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.15)
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.15)
- end
- local ff = Instance.new("ForceField", char)
- wait(5)
- local bomb = Instance.new("Explosion", workspace)
- bomb.Position = char.Torso.Position
- bomb.BlastRadius = 10
- bomb.BlastPressure = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
- local boom = Instance.new("Part", game.Players.LocalPlayer.Character.Head)
- boom.Anchored = true
- boom.CanCollide = false
- boom.Position = char.Torso.Position
- local mesh1 = Instance.new("SpecialMesh", boom)
- mesh1.MeshId = "http://www.roblox.com/asset/?id=3270017"
- boom.BrickColor = BrickColor.new("Bright yellow")
- boom.Rotation = Vector3.new(90,0,0)
- boom.Transparency = 0.5
- for i = 1,50 do
- wait()
- char.Humanoid.CameraOffset = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- boom.Transparency = boom.Transparency + 0.01
- mesh1.Scale = mesh1.Scale + Vector3.new(5,5,5)
- end
- for i = 1,50 do
- wait()
- char.Humanoid.CameraOffset = Vector3.new(math.random(-3,3),math.random(-3,3),math.random(-3,3))
- boom.Transparency = boom.Transparency + 0.01
- mesh1.Scale = mesh1.Scale + Vector3.new(5,5,5)
- end
- for i = 1,20 do
- wait()
- char.Humanoid.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
- boom.Transparency = boom.Transparency + 0.01
- mesh1.Scale = mesh1.Scale + Vector3.new(5,5,5)
- end
- boom:destroy()
- ff:destroy()
- wait()
- char.Humanoid.CameraOffset = Vector3.new(0,0,0)
- for i = 1,6 do
- wait()
- char.Humanoid.CameraOffset = char.Humanoid.CameraOffset - Vector3.new(0,-0.15,0)
- rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,-0.15)
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,0.15)
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.05,0,0)
- rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.new(-0.15,-0.15,0)
- rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,0.15)
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,0.15)
- end
- char.Humanoid.CameraOffset = Vector3.new(0,0,0)
- char.Humanoid.WalkSpeed = 200
- char.Humanoid.JumpPower = 200
- end
- if key == "r" then
- local ff1 = Instance.new("ForceField", char)
- for i = 1,5 do
- wait()
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
- rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
- rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
- end
- wait(0.25)
- for i = 1,5 do
- wait()
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.50,0,0)
- rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,0.50)
- rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.Angles(0,0,0.50)
- end
- local boomb = Instance.new("Explosion", char["Right Leg"])
- boomb.BlastRadius = 3
- boomb.BlastPressure = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
- boomb.Visible = false
- boomb.Position = char["Right Leg"].Position
- wait(0.35)
- for i = 1,5 do
- wait()
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
- rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
- rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
- end
- boomb:destroy()
- ff1:destroy()
- end
- if key == "t" then
- local sound = Instance.new("Sound", char.Head)
- sound.SoundId = "rbxassetid://278040980"
- sound.Volume = 20
- sound:Play()
- local fff = Instance.new("ForceField", char)
- for i = 1,5 do
- wait()
- char.Humanoid.CameraOffset = char.Humanoid.CameraOffset - Vector3.new(0,0.15,0)
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-0.1)
- rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.new(0,0.07,0)
- rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.Angles(-0.05,0,0)
- rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.new(0,0.07,0)
- rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(-0.05,0,0)
- rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(-0.15,0,0)
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.new(0,-0.1,0)
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(-0.25,0,0)
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.30)
- end
- wait(0.55)
- for i = 1,5 do
- wait()
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.60)
- end
- local lelel = Instance.new("Explosion", workspace)
- lelel.Position = char["Left Arm"].Position
- lelel.BlastRadius = 20
- lelel.BlastPressure = 40000999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
- wait(0.15)
- for i = 1,5 do
- wait()
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.60)
- end
- wait(0.1)
- for i = 1,5 do
- wait()
- char.Humanoid.CameraOffset = char.Humanoid.CameraOffset - Vector3.new(0,-0.15,0)
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,0.1)
- rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.new(0,-0.07,0)
- rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.Angles(0.05,0,0)
- rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.new(0,-0.07,0)
- rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0.05,-0,0)
- rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0.15,0,0)
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.new(0,0.1,0)
- rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0.25,0,0)
- char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.30)
- rig["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- rig["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- end
- fff:destroy()
- lelel:destroy()
- plr.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.fromEulerAnglesXYZ(0,4.7,0)
- end
- end
- mouse.KeyDown:connect(key)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement