Advertisement
metilol

Untitled

Apr 10th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.36 KB | None | 0 0
  1. plr = game:GetService("Players").LocalPlayer
  2. char = plr.Character
  3. m = plr:GetMouse()
  4. human = char.Humanoid
  5. torso = char.Torso
  6. root = char.HumanoidRootPart
  7. lleg = char["Left Leg"]
  8. rleg = char["Right Leg"]
  9. larm = char["Left Arm"]
  10. rarm = char["Right Arm"]
  11. head = char.Head
  12. lshold = torso["Left Shoulder"]
  13. rshold = torso["Right Shoulder"]
  14. neck = torso.Neck
  15. lhip = torso["Left Hip"]
  16. rhip = torso["Right Hip"]
  17. lscf = lshold.C0
  18. rscf = rshold.C0
  19. ncf = neck.C0
  20. lhcf = lhip.C0
  21. rhcf = rhip.C0
  22. cloneMod = Instance.new('Model',workspace)
  23. cloneMod.Name = "Lord of the Shadows"
  24. char.Animate:Destroy()
  25. human.Animator:Destroy()
  26. pos = 0
  27. jumping = false
  28. rad = math.rad
  29. random = math.random
  30. sin = math.sin
  31. cos = math.cos
  32. floor = math.floor
  33. attacking = false
  34. up = false
  35. down = false
  36. invis = false
  37. entInvis = false
  38. fin = false
  39. --target = nil
  40. pTarg = nil
  41. shadAtck = false
  42. shadows = {}
  43. entang = false
  44. head.face:Destroy()
  45. function smoothPart(part)
  46. part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  47. part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  48. part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  49. part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  50. part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  51. part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  52. end
  53. function chat(msg,col)
  54. local part = Instance.new('Part',workspace)
  55. local bg = Instance.new('BillboardGui',part)
  56. local tl = Instance.new('TextLabel',bg)
  57. bg.Size = UDim2.new(10,0,2,0)
  58. part.Transparency = 1
  59. part.CanCollide = false
  60. part.Anchored = true
  61. part.CFrame = head.CFrame * CFrame.new(0,2,0)
  62. tl.Size = UDim2.new(1,0,1,0)
  63. tl.Text = msg
  64. tl.BackgroundTransparency = 1
  65. tl.TextColor3 = col
  66. tl.TextStrokeColor3 = Color3.fromRGB(255,255,255)
  67. tl.TextStrokeTransparency = 0
  68. tl.TextScaled = true
  69. tl.Font = Enum.Font.Fantasy
  70. game:GetService("Debris"):AddItem(part,2)
  71. end
  72. local function repParent(inst)
  73. local par = inst.Parent
  74. local lastPar = inst
  75. repeat
  76. lastPar = par
  77. par = par.Parent
  78. wait()
  79. until par == workspace
  80. return lastPar
  81. end
  82. for _,v in pairs(char:GetChildren()) do
  83. if v:IsA('Accessory') or v:IsA('Hat') or v:IsA('Shirt') or v:IsA('Pants') then
  84. v:Destroy()
  85. elseif v:IsA('Part') then
  86. v.BrickColor = BrickColor.Blue()
  87. end
  88. end
  89. shadowPool = Instance.new('Part',char)
  90. shadowPool.Shape = "Cylinder"
  91. shadowPool.Size = Vector3.new(0.2,20,15)
  92. shadowPool.CFrame = torso.CFrame * CFrame.new(0,-3,0)
  93. torso.Anchored = true
  94. torso.CFrame = shadowPool.CFrame * CFrame.new(0,-30,0)
  95. shadowPool.CFrame = shadowPool.CFrame * CFrame.Angles(rad(0),rad(0),rad(90))
  96. shadowPool.Anchored = true
  97. shadowPool.CanCollide = false
  98. shadowPool.BrickColor = BrickColor.new("Cyan")
  99. shadowPool.Material = "Ice"
  100. shadowPool.Transparency = 0.2
  101. wait(2)
  102. neck.C0 = neck.C0 * CFrame.Angles(rad(20),rad(0),rad(0))
  103. for i=0,0.4,0.01 do
  104. --neck.C0 = neck.C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(rad(0),rad(0),rad(20)),i)
  105. torso.CFrame = torso.CFrame:lerp(shadowPool.CFrame * CFrame.new(5,0,0) * CFrame.Angles(rad(0),rad(0),-rad(90)),i)
  106. wait()
  107. end
  108. Roar = Instance.new('Sound',char)
  109. Roar.Volume = math.huge
  110. Roar.EmitterSize = 200
  111. Roar.SoundId = "rbxassetid://1104324550"
  112. Roar:Play()
  113. for i=0,1,0.1 do
  114. lshold.C0 = lshold.C0:lerp(CFrame.new(-1,0.3,0)*CFrame.Angles(rad(0),-rad(20),-rad(90)),i)
  115. rshold.C0 = rshold.C0:lerp(CFrame.new(1,0.3,0)*CFrame.Angles(rad(0),rad(20),rad(90)),i)
  116. neck.C0 = neck.C0:lerp(neck.C0*CFrame.Angles(-rad(8),rad(0),rad(0)),i)
  117. wait()
  118. end
  119. wait(2.8)
  120. for i=0,1,0.1 do
  121. lshold.C0 = lshold.C0:lerp(lscf,i)
  122. rshold.C0 = rshold.C0:lerp(rscf,i)
  123. neck.C0 = neck.C0:lerp(ncf,i)
  124. shadowPool.Size = shadowPool.Size:lerp(Vector3.new(.2,.2,.2),i)
  125. wait()
  126. end
  127. shadowPool:Destroy()
  128. Roar:Destroy()
  129. float = Instance.new('BodyPosition',root)
  130. float.MaxForce = Vector3.new(0,math.huge,0)
  131. float.Position = torso.CFrame.p
  132. torso.Anchored = false
  133. for _,v in pairs(char:GetChildren()) do
  134. if v:IsA('BasePart') then
  135. v.Transparency = 1
  136. end
  137. end
  138.  
  139. mouse = game.Players.LocalPlayer:GetMouse()
  140. rig = game.Players.LocalPlayer.Character.Torso
  141.  
  142.  
  143. cart = Instance.new("Part", rig)
  144. cart.CanCollide = false
  145. weld = Instance.new("Weld", cart)
  146. weld.Part0 = cart
  147. weld.Part1 = rig
  148. mesh = Instance.new("SpecialMesh", cart)
  149. mesh.MeshId = "rbxassetid://82326541"
  150. mesh.TextureId = "rbxassetid://153822194"
  151. mesh.Scale = Vector3.new(5,5,5)
  152. weld.C0 = weld.C0 * CFrame.new(0,-2.5,0)
  153.  
  154. --bai
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement