Advertisement
zed_isJayTheLionJR

Untitled

Feb 23rd, 2018
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.83 KB | None | 0 0
  1. --By Rufus14
  2. plr = game.Players.LocalPlayer
  3. rig = plr.Character.Torso
  4. char = plr.Character
  5. mouse = plr:GetMouse()
  6. print(rig["Right Hip"].C0)
  7. sound2 = Instance.new("Sound", rig)
  8. sound2.SoundId = "http://roblox.com/asset?id=248456266"
  9. sound2.Volume = 10
  10. sound2.Looped = true
  11. sound2:Play()
  12. sword = Instance.new("Part", char["Right Arm"])
  13. sword.Position = sword.Position + Vector3.new(0,10,0)
  14. sword.Size = Vector3.new(1, 11, 1)
  15. mesh = Instance.new("SpecialMesh", sword)
  16. mesh.MeshId = "rbxassetid://438076439"
  17. mesh.TextureId = "rbxassetid://438076443"
  18. mesh.Scale = Vector3.new(0.4, 0.6, 0.8)
  19. weld = Instance.new("Weld", sword)
  20. weld.Part0 = char["Right Arm"]
  21. weld.Part1 = sword
  22. sword.CanCollide = false
  23. weld.C0 = weld.C0 * CFrame.Angles(-1.5,0,0)
  24. weld.C0 = weld.C0 * CFrame.new(0,3,-1)
  25. swoosh = Instance.new("Sound", sword)
  26. swoosh.SoundId = "rbxassetid://147722227"
  27. swoosh.Volume = 28
  28. function key(key)
  29. key = key:lower()
  30. if key == "q" then
  31.     sword.Transparency = 0
  32.     for i = 1,5 do
  33.     wait()
  34.     rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.new(0,-0.1,0)
  35.     rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(-0.30,0,0)
  36.     rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(-0.30,0,0)
  37.     char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.30)
  38.     end
  39.     wait(0.1)
  40.     for i = 1,5 do
  41.     wait()
  42.     weld.C0 = CFrame.new(char["Right Arm"].Position,char["Right Arm"].Position,char["Right Arm"].Position)
  43.     weld.C0 = weld.C0 * CFrame.Angles(3,0,0)
  44.     weld.C0 = weld.C0 * CFrame.new(0,3.2,0)
  45.     char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.60)
  46.     end
  47.     swoosh:Play()
  48.     sword.Touched:connect(function(hit)
  49.     if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then
  50.         hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 45
  51.         local sound = Instance.new("Sound", sword)
  52.         sound.SoundId = "rbxassetid://566593606"
  53.         sound.Volume = 28
  54.         sound:Play()
  55.     end
  56.     end)
  57.     wait(0.2)
  58.     for i = 1,5 do
  59.     wait()
  60.     char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.60)
  61.     end
  62.     for i = 1,10 do
  63.     wait()
  64.     weld.C0 = weld.C0 * CFrame.Angles(-3,0,0)
  65.     weld.C0 = weld.C0 * CFrame.new(0,-10.2,0)
  66.     end
  67.     for i = 1,5 do
  68.     wait()
  69.     rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.new(0,0.1,0)
  70.     rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0.30,0,0)
  71.     rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0.30,0,0)
  72.     char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.30)
  73.     end
  74.     sword.Transparency = 1
  75.     plr.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.fromEulerAnglesXYZ(0,4.7,0)
  76.     weld.C0 = weld.C0 * CFrame.new(0,-10.2,-30)
  77. end
  78. if key == "e" then
  79.     char.Humanoid.WalkSpeed = 0
  80.     char.Humanoid.JumpPower = 0
  81.     for i = 1,6 do
  82.         wait()
  83.         char.Humanoid.CameraOffset = char.Humanoid.CameraOffset - Vector3.new(0,0.15,0)
  84.         rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,0.15)
  85.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-0.15)
  86.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.05,0,0)
  87.         rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.new(0.15,0.15,0)
  88.         rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.15)
  89.         rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.15)
  90.     end
  91.     local ff = Instance.new("ForceField", char)
  92.     wait(5)
  93.     local bomb = Instance.new("Explosion", workspace)
  94.     bomb.Position = char.Torso.Position
  95.     bomb.BlastRadius = 10
  96.     bomb.BlastPressure = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  97.     local boom = Instance.new("Part", game.Players.LocalPlayer.Character.Head)
  98.     boom.Anchored = true
  99.     boom.CanCollide = false
  100.     boom.Position = char.Torso.Position
  101.     local mesh1 = Instance.new("SpecialMesh", boom)
  102.     mesh1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  103.     boom.BrickColor = BrickColor.new("Bright yellow")
  104.     boom.Rotation = Vector3.new(90,0,0)
  105.     boom.Transparency = 0.5
  106.     for i = 1,50 do
  107.     wait()
  108.     char.Humanoid.CameraOffset = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  109.     boom.Transparency = boom.Transparency + 0.01
  110.     mesh1.Scale = mesh1.Scale + Vector3.new(5,5,5)
  111. end
  112.  for i = 1,50 do
  113.     wait()
  114.     char.Humanoid.CameraOffset = Vector3.new(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  115.     boom.Transparency = boom.Transparency + 0.01
  116.     mesh1.Scale = mesh1.Scale + Vector3.new(5,5,5)
  117. end
  118. for i = 1,20 do
  119.     wait()
  120.     char.Humanoid.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  121.     boom.Transparency = boom.Transparency + 0.01
  122.     mesh1.Scale = mesh1.Scale + Vector3.new(5,5,5)
  123. end
  124. boom:destroy()
  125. ff:destroy()
  126. wait()
  127. char.Humanoid.CameraOffset = Vector3.new(0,0,0)
  128. for i = 1,6 do
  129.         wait()
  130.         char.Humanoid.CameraOffset = char.Humanoid.CameraOffset - Vector3.new(0,-0.15,0)
  131.         rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,-0.15)
  132.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,0.15)
  133.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.05,0,0)
  134.         rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.new(-0.15,-0.15,0)
  135.         rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,0.15)
  136.         rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,0.15)
  137. end
  138. char.Humanoid.CameraOffset = Vector3.new(0,0,0)
  139. char.Humanoid.WalkSpeed = 200
  140. char.Humanoid.JumpPower = 200
  141. end
  142. if key == "r" then
  143.     local ff1 = Instance.new("ForceField", char)
  144.     for i = 1,5 do
  145.         wait()
  146.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
  147.         rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
  148.         rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
  149.     end
  150.     wait(0.25)
  151.     for i = 1,5 do
  152.         wait()
  153.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.50,0,0)
  154.         rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,0.50)
  155.         rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.Angles(0,0,0.50)
  156.     end
  157.     local boomb = Instance.new("Explosion", char["Right Leg"])
  158.     boomb.BlastRadius = 3
  159.     boomb.BlastPressure = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  160.     boomb.Visible = false
  161.     boomb.Position = char["Right Leg"].Position
  162.     wait(0.35)
  163.     for i = 1,5 do
  164.         wait()
  165.         char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
  166.         rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
  167.         rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
  168.     end
  169.     boomb:destroy()
  170.     ff1:destroy()
  171. end
  172. if key == "t" then
  173. local sound = Instance.new("Sound", char.Head)
  174. sound.SoundId = "rbxassetid://278040980"
  175. sound.Volume = 20
  176. sound:Play()
  177. local fff = Instance.new("ForceField", char)
  178. for i = 1,5 do
  179. wait()
  180. char.Humanoid.CameraOffset = char.Humanoid.CameraOffset - Vector3.new(0,0.15,0)
  181. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-0.1)
  182. rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.new(0,0.07,0)
  183. rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.Angles(-0.05,0,0)
  184. rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.new(0,0.07,0)
  185. rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(-0.05,0,0)
  186. rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(-0.15,0,0)
  187. rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.new(0,-0.1,0)
  188. rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(-0.25,0,0)
  189. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.30)
  190. end
  191. wait(0.55)
  192. for i = 1,5 do
  193. wait()
  194. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.60)
  195. end
  196. local lelel = Instance.new("Explosion", workspace)
  197. lelel.Position = char["Left Arm"].Position
  198. lelel.BlastRadius = 20
  199. lelel.BlastPressure = 40000999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  200. wait(0.15)
  201. for i = 1,5 do
  202. wait()
  203. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.60)
  204. end
  205. wait(0.1)
  206. for i = 1,5 do
  207. wait()
  208. char.Humanoid.CameraOffset = char.Humanoid.CameraOffset - Vector3.new(0,-0.15,0)
  209. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,0.1)
  210. rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.new(0,-0.07,0)
  211. rig["Right Hip"].C0 = rig["Right Hip"].C0 * CFrame.Angles(0.05,0,0)
  212. rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.new(0,-0.07,0)
  213. rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0.05,-0,0)
  214. rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0.15,0,0)
  215. rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.new(0,0.1,0)
  216. rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0.25,0,0)
  217. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.30)
  218. rig["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  219. rig["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  220. end
  221. fff:destroy()
  222. lelel:destroy()
  223. plr.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.fromEulerAnglesXYZ(0,4.7,0)
  224. end
  225. end
  226. mouse.KeyDown:connect(key)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement