Advertisement
DrakerMaker

That's not really cash money of you

Nov 17th, 2020 (edited)
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.65 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. script.Parent = Player.Character
  5.  
  6. --RemoteEvent for communicating
  7. local Event = Instance.new("RemoteEvent")
  8. Event.Name = "UserInput_Event"
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local function fakeEvent()
  12. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  13. t.connect = t.Connect
  14. return t
  15. end
  16.  
  17. --Creating fake input objects with fake variables
  18. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  19. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  20. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  21. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  22. end}
  23. --Merged 2 functions into one by checking amount of arguments
  24. CAS.UnbindAction = CAS.BindAction
  25.  
  26. --This function will trigger the events that have been :Connect()'ed
  27. local function te(self,ev,...)
  28. local t = m[ev]
  29. if t and t._fakeEvent and t.Function then
  30. t.Function(...)
  31. end
  32. end
  33. m.TrigEvent = te
  34. UIS.TrigEvent = te
  35.  
  36. Event.OnServerEvent:Connect(function(plr,io)
  37. if plr~=Player then return end
  38. if io.isMouse then
  39. m.Target = io.Target
  40. m.Hit = io.Hit
  41. else
  42. local b = io.UserInputState == Enum.UserInputState.Begin
  43. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  44. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  45. end
  46. for _,t in pairs(CAS.Actions) do
  47. for _,k in pairs(t.Keys) do
  48. if k==io.KeyCode then
  49. t.Function(t.Name,io.UserInputState,io)
  50. end
  51. end
  52. end
  53. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  54. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  55. end
  56. end)
  57. Event.Parent = NLS([==[
  58. local Player = game:GetService("Players").LocalPlayer
  59. local Event = script:WaitForChild("UserInput_Event")
  60.  
  61. local UIS = game:GetService("UserInputService")
  62. local input = function(io,a)
  63. if a then return end
  64. --Since InputObject is a client-side instance, we create and pass table instead
  65. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  66. end
  67. UIS.InputBegan:Connect(input)
  68. UIS.InputEnded:Connect(input)
  69.  
  70. local Mouse = Player:GetMouse()
  71. local h,t
  72. --Give the server mouse data 30 times every second, but only if the values changed
  73. --If player is not moving their mouse, client won't fire events
  74. while wait(1/30) do
  75. if h~=Mouse.Hit or t~=Mouse.Target then
  76. h,t=Mouse.Hit,Mouse.Target
  77. Event:FireServer({isMouse=true,Target=t,Hit=h})
  78. end
  79. end]==],Player.Character)
  80. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  81. end
  82. function wbtwe(Part0, Part1, C0)
  83. local weld = Instance.new("Weld", Part0)
  84. weld.Part0 = Part0
  85. weld.Part1 = Part1
  86. weld.C0 = Part1.CFrame:inverse() *Part1.CFrame *C0
  87. return weld
  88. end
  89. local song = Instance.new("Sound", owner.Character.Head)
  90. song.SoundId = "rbxassetid://2858940717"
  91. song.Volume = 2
  92. song.Looped = true
  93. song.Pitch = .6
  94. song:Play()
  95. local speedval = 0
  96. for i,v in pairs(owner.Character:GetDescendants()) do
  97. if v:IsA("Accessory") or v:IsA("Decal") or v:IsA("SpecialMesh") then
  98. v:Destroy()
  99. end
  100. if v:IsA("Part") and v.Name ~= "Head" and v.Name ~= "HumanoidRootPart" then
  101. v.Transparency = 1
  102. elseif v:IsA("Part") and v.Name == "Head" then
  103. v.Transparency = 1
  104. end
  105. end
  106. local animv = true
  107. local mas = Instance.new("Model",owner.Character)
  108. local WeldConstraint_2 = Instance.new("WeldConstraint")
  109. local Shine_2 = Instance.new("ParticleEmitter")
  110. local PurpleFire_2 = Instance.new("ParticleEmitter")
  111. local BlueFire_2 = Instance.new("ParticleEmitter")
  112. local plasma2 = Instance.new("Part")
  113. local WeldConstraint = Instance.new("WeldConstraint")
  114. local Shine = Instance.new("ParticleEmitter")
  115. local PurpleFire = Instance.new("ParticleEmitter")
  116. local BlueFire = Instance.new("ParticleEmitter")
  117. local plasma1 = Instance.new("Part")
  118. local Mesh_2 = Instance.new("SpecialMesh")
  119. local hand2 = Instance.new("Part")
  120. local Mesh = Instance.new("SpecialMesh")
  121. local hand1 = Instance.new("Part")
  122. local Hands = Instance.new("Model")
  123. Hands.Name = "Hands"
  124. Hands.Parent = mas
  125. hand1.Color = Color3.new(0.9725,0.9725,0.9725)
  126. hand1.Size = Vector3.new(7.493,8.713,10.107)
  127. hand1.Name = "hand 1"
  128. hand1.CanCollide = false
  129. hand1.CFrame = CFrame.new(25.9776,11.1411,-7.7959,0.9672,-0.0607,0.2467,0.2492,0.4148,-0.8751,-0.0492,0.9079,0.4163)
  130. hand1.Parent = Hands
  131. hand1.Massless = true
  132. hand2.Massless = true
  133. Mesh.MeshId = "http://www.roblox.com/asset/?id=652913920"
  134. Mesh.MeshType = Enum.MeshType.FileMesh
  135. Mesh.Scale = Vector3.new(10.456,10.456,10.456)
  136. Mesh.Parent = hand1
  137. hand2.Color = Color3.new(0.9725,0.9725,0.9725)
  138. hand2.Size = Vector3.new(7.543,8.77,10.174)
  139. hand2.Name = "hand 2"
  140. hand2.CanCollide = false
  141. hand2.CFrame = CFrame.new(24.1856,11.1374,3.8781,-0.7578,0.4227,0.4971,-0.1491,0.6296,-0.7625,-0.6352,-0.6519,-0.4141)
  142. hand2.Parent = Hands
  143. Mesh_2.MeshId = "http://www.roblox.com/asset/?id=652913236"
  144. Mesh_2.MeshType = Enum.MeshType.FileMesh
  145. Mesh_2.Scale = Vector3.new(10.524,10.524,10.524)
  146. Mesh_2.Parent = hand2
  147. plasma1.Color = Color3.new(0.0667,0.0667,0.0667)
  148. plasma1.Material = Enum.Material.Neon
  149. plasma1.Size = Vector3.new(2.16,2.16,2.16)
  150. plasma1.Name = "plasma 1"
  151. plasma1.CastShadow = false
  152. plasma1.CFrame = CFrame.new(23.5947,14.8699,-8.7232,0.7578,-0.4971,-0.4227,0.1491,0.7625,-0.6296,0.6352,0.4141,0.6519)
  153. plasma1.Shape = Enum.PartType.Ball
  154. plasma1.Parent = Hands
  155. BlueFire.Color = ColorSequence.new(Color3.new(1,0,0))
  156. BlueFire.Lifetime = NumberRange.new(1)
  157. BlueFire.Speed = NumberRange.new(0)
  158. BlueFire.Size = NumberSequence.new(2)
  159. BlueFire.Transparency = NumberSequence.new(0.89999997615814)
  160. BlueFire.Name = "BlueFire"
  161. BlueFire.LightEmission = -1
  162. BlueFire.Texture = "http://www.roblox.com/asset/?id=348467696"
  163. BlueFire.Parent = plasma1
  164. PurpleFire.Color = ColorSequence.new(Color3.new(0.4431,0,0))
  165. PurpleFire.Lifetime = NumberRange.new(1)
  166. PurpleFire.Speed = NumberRange.new(0)
  167. PurpleFire.Size = NumberSequence.new(2)
  168. PurpleFire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.869,0),NumberSequenceKeypoint.new(0.5,0.475,0),NumberSequenceKeypoint.new(1,1,0)})
  169. PurpleFire.Name = "PurpleFire"
  170. PurpleFire.LightEmission = -1
  171. PurpleFire.Texture = "http://www.roblox.com/asset/?id=348467696"
  172. PurpleFire.Parent = plasma1
  173. Shine.Color = ColorSequence.new(Color3.new(1,0,0))
  174. Shine.ZOffset = 2
  175. Shine.Speed = NumberRange.new(0)
  176. Shine.Size = NumberSequence.new(2)
  177. Shine.LockedToPart = true
  178. Shine.Rate = 3
  179. Shine.Rotation = NumberRange.new(-100,100)
  180. Shine.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.05,0.98,0),NumberSequenceKeypoint.new(0.15,0.93,0),NumberSequenceKeypoint.new(0.769,0.93,0),NumberSequenceKeypoint.new(0.848,0.98,0),NumberSequenceKeypoint.new(1,1,0)})
  181. Shine.Name = "Shine"
  182. Shine.LightEmission = 1
  183. Shine.Texture = "rbxassetid://75202463"
  184. Shine.Parent = plasma1
  185. WeldConstraint.Part1 = hand1
  186. WeldConstraint.Part0 = plasma1
  187. WeldConstraint.Parent = plasma1
  188. plasma2.Color = Color3.new(0.0667,0.0667,0.0667)
  189. plasma2.Material = Enum.Material.Neon
  190. plasma2.Size = Vector3.new(2.16,2.16,2.16)
  191. plasma2.Name = "plasma 2"
  192. plasma2.CastShadow = false
  193. plasma2.CFrame = CFrame.new(21.0308,14.305,3.4879,0.7578,-0.4971,-0.4227,0.1491,0.7625,-0.6296,0.6352,0.4141,0.6519)
  194. plasma2.Shape = Enum.PartType.Ball
  195. plasma2.Parent = Hands
  196. BlueFire_2.Color = ColorSequence.new(Color3.new(1,0,0))
  197. BlueFire_2.Lifetime = NumberRange.new(1)
  198. BlueFire_2.Speed = NumberRange.new(0)
  199. BlueFire_2.Size = NumberSequence.new(2)
  200. BlueFire_2.Transparency = NumberSequence.new(0.89999997615814)
  201. BlueFire_2.Name = "BlueFire"
  202. BlueFire_2.LightEmission = -1
  203. BlueFire_2.Texture = "http://www.roblox.com/asset/?id=348467696"
  204. BlueFire_2.Parent = plasma2
  205. PurpleFire_2.Color = ColorSequence.new(Color3.new(0.4431,0,0))
  206. PurpleFire_2.Lifetime = NumberRange.new(1)
  207. PurpleFire_2.Speed = NumberRange.new(0)
  208. PurpleFire_2.Size = NumberSequence.new(2)
  209. PurpleFire_2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.869,0),NumberSequenceKeypoint.new(0.5,0.475,0),NumberSequenceKeypoint.new(1,1,0)})
  210. PurpleFire_2.Name = "PurpleFire"
  211. PurpleFire_2.LightEmission = -1
  212. PurpleFire_2.Texture = "http://www.roblox.com/asset/?id=348467696"
  213. PurpleFire_2.Parent = plasma2
  214. Shine_2.Color = ColorSequence.new(Color3.new(1,0,0))
  215. Shine_2.ZOffset = 2
  216. Shine_2.Speed = NumberRange.new(0)
  217. Shine_2.Size = NumberSequence.new(2)
  218. Shine_2.LockedToPart = true
  219. Shine_2.Rate = 3
  220. Shine_2.Rotation = NumberRange.new(-100,100)
  221. Shine_2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.05,0.98,0),NumberSequenceKeypoint.new(0.15,0.93,0),NumberSequenceKeypoint.new(0.769,0.93,0),NumberSequenceKeypoint.new(0.848,0.98,0),NumberSequenceKeypoint.new(1,1,0)})
  222. Shine_2.Name = "Shine"
  223. Shine_2.LightEmission = 1
  224. Shine_2.Texture = "rbxassetid://75202463"
  225. Shine_2.Parent = plasma2
  226. WeldConstraint_2.Part1 = hand2
  227. WeldConstraint_2.Part0 = plasma2
  228. WeldConstraint_2.Parent = plasma2
  229. local mas = Instance.new("Model",owner.Character)
  230. local WeldConstraint_3 = Instance.new("WeldConstraint")
  231. local Part_3 = Instance.new("Part")
  232. local WeldConstraint_2 = Instance.new("WeldConstraint")
  233. local Part_2 = Instance.new("Part")
  234. local ParticleEmitter_4 = Instance.new("ParticleEmitter")
  235. local ParticleEmitter_3 = Instance.new("ParticleEmitter")
  236. local ParticleEmitter_2 = Instance.new("ParticleEmitter")
  237. local ParticleEmitter = Instance.new("ParticleEmitter")
  238. local Mesh_2 = Instance.new("SpecialMesh")
  239. local Part = Instance.new("Part")
  240. local WeldConstraint = Instance.new("WeldConstraint")
  241. local Mesh = Instance.new("SpecialMesh")
  242. local PhantomoftheOpera = Instance.new("Part")
  243. local Halfface = Instance.new("Model")
  244. Halfface.Name = "Half face"
  245. Halfface.Parent = mas
  246. PhantomoftheOpera.Size = Vector3.new(5.4,4.95,4.89)
  247. PhantomoftheOpera.Name = "Phantom of the Opera"
  248. PhantomoftheOpera.CFrame = CFrame.new(24.72,2.545,-6.435,-1,0,0,0,1,0,0,0,-1)
  249. PhantomoftheOpera.Parent = Halfface
  250. PhantomoftheOpera.Massless = true
  251. Mesh.MeshId = "http://www.roblox.com/asset/?id=12470186"
  252. Mesh.TextureId = "http://www.roblox.com/asset/?id=12470201"
  253. Mesh.MeshType = Enum.MeshType.FileMesh
  254. Mesh.Scale = Vector3.new(5.94,5.445,5.379)
  255. Mesh.Parent = PhantomoftheOpera
  256. WeldConstraint.Part1 = Part
  257. WeldConstraint.Part0 = PhantomoftheOpera
  258. WeldConstraint.Parent = PhantomoftheOpera
  259. Part.BottomSurface = Enum.SurfaceType.Smooth
  260. Part.TopSurface = Enum.SurfaceType.Smooth
  261. Part.Color = Color3.new(0.0667,0.0667,0.0667)
  262. Part.Size = Vector3.new(7.11,4.89,5.21)
  263. Part.CFrame = CFrame.new(25.8664,2.445,-9.1497,0.9715,0,0.2372,0,1,0,-0.2372,0,0.9715)
  264. Part.Parent = Halfface
  265. Part.Massless = true
  266. Mesh_2.Parent = Part
  267. ParticleEmitter.Color = ColorSequence.new(Color3.new(0,0,0))
  268. ParticleEmitter.Lifetime = NumberRange.new(2)
  269. ParticleEmitter.Speed = NumberRange.new(-9)
  270. ParticleEmitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.802,2.313,0.5),NumberSequenceKeypoint.new(0.869,2.188,0.75),NumberSequenceKeypoint.new(0.923,1.875,0.4440790116787),NumberSequenceKeypoint.new(0.966,1.438,0.30082800984383),NumberSequenceKeypoint.new(1,0,0)})
  271. ParticleEmitter.Acceleration = Vector3.new(0,9.5,0)
  272. ParticleEmitter.RotSpeed = NumberRange.new(-50,50)
  273. ParticleEmitter.Rate = 75
  274. ParticleEmitter.LightEmission = 0.9
  275. ParticleEmitter.Texture = "http://www.roblox.com/asset/?id=266430235"
  276. ParticleEmitter.SpreadAngle = Vector2.new(15,15)
  277. ParticleEmitter.Parent = Part
  278. ParticleEmitter_2.Color = ColorSequence.new(Color3.new(0,0,0))
  279. ParticleEmitter_2.Lifetime = NumberRange.new(2)
  280. ParticleEmitter_2.Speed = NumberRange.new(-9)
  281. ParticleEmitter_2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.802,2.313,0.5),NumberSequenceKeypoint.new(0.869,2.188,0.75),NumberSequenceKeypoint.new(0.923,1.875,0.4440790116787),NumberSequenceKeypoint.new(0.966,1.438,0.30082800984383),NumberSequenceKeypoint.new(1,0,0)})
  282. ParticleEmitter_2.Acceleration = Vector3.new(0,9.5,0)
  283. ParticleEmitter_2.RotSpeed = NumberRange.new(-50,50)
  284. ParticleEmitter_2.Rate = 75
  285. ParticleEmitter_2.LightEmission = 0.9
  286. ParticleEmitter_2.Texture = "http://www.roblox.com/asset/?id=266430235"
  287. ParticleEmitter_2.SpreadAngle = Vector2.new(15,15)
  288. ParticleEmitter_2.Parent = Part
  289. ParticleEmitter_3.Lifetime = NumberRange.new(2)
  290. ParticleEmitter_3.Speed = NumberRange.new(0)
  291. ParticleEmitter_3.Size = NumberSequence.new(3)
  292. ParticleEmitter_3.RotSpeed = NumberRange.new(-1000,500)
  293. ParticleEmitter_3.Rate = 32
  294. ParticleEmitter_3.Transparency = NumberSequence.new(0.89999997615814)
  295. ParticleEmitter_3.Texture = "rbxassetid://341277531"
  296. ParticleEmitter_3.SpreadAngle = Vector2.new(900,900)
  297. ParticleEmitter_3.Parent = Part
  298. ParticleEmitter_4.Color = ColorSequence.new(Color3.new(1,0,0))
  299. ParticleEmitter_4.Drag = 1
  300. ParticleEmitter_4.Lifetime = NumberRange.new(10)
  301. ParticleEmitter_4.Speed = NumberRange.new(0)
  302. ParticleEmitter_4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,5.625,0)})
  303. ParticleEmitter_4.RotSpeed = NumberRange.new(720)
  304. ParticleEmitter_4.Rate = 10
  305. ParticleEmitter_4.Rotation = NumberRange.new(-1000,500)
  306. ParticleEmitter_4.Transparency = NumberSequence.new(0.98000001907349)
  307. ParticleEmitter_4.Texture = "rbxassetid://243134825"
  308. ParticleEmitter_4.Parent = Part
  309. Part_2.BottomSurface = Enum.SurfaceType.Smooth
  310. Part_2.TopSurface = Enum.SurfaceType.Smooth
  311. Part_2.Color = Color3.new(0.7686,0.1569,0.1098)
  312. Part_2.Material = Enum.Material.Neon
  313. Part_2.Size = Vector3.new(0.29,0.29,0.29)
  314. Part_2.CFrame = CFrame.new(24.75,3.075,-6.97,1,0,0,0,1,0,0,0,1)
  315. Part_2.Shape = Enum.PartType.Ball
  316. Part_2.Parent = Halfface
  317. WeldConstraint_2.Part1 = Part
  318. WeldConstraint_2.Part0 = Part_2
  319. WeldConstraint_2.Parent = Part_2
  320. Part_3.BottomSurface = Enum.SurfaceType.Smooth
  321. Part_3.TopSurface = Enum.SurfaceType.Smooth
  322. Part_3.Color = Color3.new(0.7686,0.1569,0.1098)
  323. Part_3.Material = Enum.Material.Neon
  324. Part_3.Size = Vector3.new(0.29,0.29,0.29)
  325. Part_3.CFrame = CFrame.new(27.05,3.075,-7.05,1,0,0,0,1,0,0,0,1)
  326. Part_3.Shape = Enum.PartType.Ball
  327. Part_3.Parent = Halfface
  328. WeldConstraint_3.Part1 = Part
  329. WeldConstraint_3.Part0 = Part_3
  330. WeldConstraint_3.Parent = Part_3
  331. facew = wbtwe(Part, owner.Character.Head, CFrame.new(0, -5, 0) *CFrame.Angles(0, 8.4, 0.2))
  332. lefthand = wbtwe(hand2, owner.Character.Torso, CFrame.new(4.45, -1, 0) *CFrame.Angles(0, 8.4, 0))
  333. righthand = wbtwe(hand1, owner.Character.Torso, CFrame.new(-4.45, -1, 0) *CFrame.Angles(0, 8.4, 0))
  334. idle = 0
  335. idlelook = 0
  336. walk = 0
  337. mode = 1
  338. anim = coroutine.wrap(function()
  339. while game:GetService("RunService").Stepped:wait() do
  340. if animv == true then
  341. if owner.Character.HumanoidRootPart.Velocity.Magnitude < 1 then
  342. idle = idle +0.03
  343. idlelook = idlelook +0.02
  344. facew.C0 = facew.C0:lerp(owner.Character.Head.CFrame:inverse() *owner.Character.Head.CFrame * CFrame.new(0, -5 +math.cos(idle)*0.5, 0) *CFrame.Angles(0+math.rad(math.random(-1,1)) +math.sin(idle)*0.1, 8.5+math.cos(idlelook)*0.4+math.rad(math.random(-1,1)), 0+math.rad(math.random(-1,1)) +math.cos(idle)*0.1), 0.5)
  345. lefthand.C0 = lefthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(4.45, -1 +math.cos(idle)*0.5, 0) *CFrame.Angles(0 +math.sin(idle)*0.15, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
  346. righthand.C0 = righthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-4.45, -1 +math.cos(idle)*0.5, 0) *CFrame.Angles(0 +math.sin(idle)*0.15, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
  347. elseif 1 < owner.Character.HumanoidRootPart.Velocity.Magnitude then
  348. idlelook = idlelook +0
  349. facew.C0 = facew.C0:lerp(owner.Character.Head.CFrame:inverse() *owner.Character.Head.CFrame * CFrame.new(0, -5 +math.cos(idle)*0.5, 0) *CFrame.Angles(0+math.rad(math.random(-1,1)) +math.sin(idle)*0.0001, 8.5+math.cos(idlelook)*0.4+math.rad(math.random(-1,1)), 0+math.rad(math.random(-1,1)) +math.cos(idle)*0.1), 0.5)
  350. idlelook = idlelook +0.02
  351. game:GetService("RunService").Stepped:wait()
  352. idle = idle +0.1
  353. facew.C0 = facew.C0:lerp(owner.Character.Head.CFrame:inverse() *owner.Character.Head.CFrame * CFrame.new(0, -5 +math.cos(idle)*0.5, 0) *CFrame.Angles(0+math.rad(math.random(-1,1)) +math.sin(idle)*0.0001, 8.5+math.cos(idlelook)*0.4+math.rad(math.random(-1,1)), 0+math.rad(math.random(-1,1)) +math.cos(idle)*0.1), 0.5)
  354. lefthand.C0 = lefthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(4.45, 3 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(4 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
  355. righthand.C0 = righthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-4.45, 3 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(4 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
  356. end
  357. end
  358. end
  359. end)anim()
  360. owner.Character.Humanoid.WalkSpeed = 55
  361. health = coroutine.wrap(function()
  362. while game:GetService("RunService").Stepped:wait() do
  363. owner.Character.Humanoid.MaxHealth = math.huge
  364. owner.Character.Humanoid.Health = math.huge
  365. end
  366. end)health()
  367. function PillAttack()
  368. local e = 5
  369. for i = 1,10 do
  370. e = e + 5
  371. local attack = Instance.new("Part")
  372. attack.BottomSurface = Enum.SurfaceType.Smooth
  373. attack.TopSurface = Enum.SurfaceType.Smooth
  374. attack.Color = Color3.new(0.9725,0.9725,0.9725)
  375. attack.Material = Enum.Material.Marble
  376. attack.Size = Vector3.new(8.92,42.13,7.63)
  377. attack.Anchored = true
  378. attack.CFrame = owner.Character.Torso.CFrame *CFrame.new(0, -5, e)
  379. attack.Parent = workspace
  380. attack.Touched:connect(function(p)
  381. if p.Parent:FindFirstChildOfClass("Humanoid") then
  382. p.Parent:BreakJoints()
  383. end
  384. attack.CanCollide = false
  385. attack.Anchored = false
  386. end)
  387. for i = 1,5 do
  388. wait()
  389. e = e + 5
  390. attack.CFrame = attack.CFrame *CFrame.new(0, 1, 0)
  391. end
  392. end
  393. owner.Character.Humanoid.Running:Connect(function(speed)
  394. if speed > 0 then
  395. speedval = speed
  396. else
  397. speedval = 0
  398. end
  399. end)
  400. deb = false
  401. mouse.KeyDown:connect(function(key)
  402. if key == "e" then
  403. if deb == false then
  404. deb = true
  405. animv = false
  406. local whoosh = Instance.new("Sound", owner.Character.Head)
  407. whoosh.SoundId = "rbxassetid://624706518"
  408. whoosh.Volume = 2
  409. whoosh.Pitch = 2
  410. whoosh:Play()
  411. for i = 1,25 do
  412. game:GetService("RunService").Stepped:wait()
  413. facew.C0 = facew.C0:lerp(owner.Character.Head.CFrame:inverse() *owner.Character.Head.CFrame * CFrame.new(0, -8 +math.cos(idle)*0.5, 0) *CFrame.Angles(0.4, 8.5, 0+math.rad(math.random(-1,1)) +math.cos(idle)*0.1), 0.5)
  414. lefthand.C0 = lefthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(4.45, 8 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(-4 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
  415. righthand.C0 = righthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-4.45, 2 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(-4 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
  416. end
  417. for i = 1,15 do
  418. game:GetService("RunService").Stepped:wait()
  419. facew.C0 = facew.C0:lerp(owner.Character.Head.CFrame:inverse() *owner.Character.Head.CFrame * CFrame.new(0, -5 +math.cos(idle)*0.5, 0) *CFrame.Angles(-0.4, 8.5, 0+math.rad(math.random(-1,1)) +math.cos(idle)*0.1), 0.3)
  420. lefthand.C0 = lefthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(4.45, 0.5 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(0 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.3)
  421. righthand.C0 = righthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-4.45, -3 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(0.5 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.3)
  422. end
  423. local smash = Instance.new("Sound", owner.Character.Head)
  424. smash.SoundId = "rbxassetid://168514932"
  425. smash.Volume = 2
  426. smash.Pitch = 1
  427. smash:Play()
  428. local Boom = Instance.new("Part")
  429. Boom.BottomSurface = Enum.SurfaceType.Smooth
  430. Boom.TopSurface = Enum.SurfaceType.Smooth
  431. Boom.Size = Vector3.new(0.08,1,0.94)
  432. Boom.CFrame = CFrame.new(0.47,0.04,43.88,0,0,1,-1,0,0,0,-1,0)
  433. Boom.Shape = Enum.PartType.Cylinder
  434. Boom.Parent = workspace
  435. Boom.Anchored = true
  436. Boom.CanCollide = false
  437. Boom.Material = "Neon"
  438. Boom.BrickColor = BrickColor.new("Really red")
  439. Boom.Position = Part.Position
  440. for i = 1,15 do
  441. game:GetService("RunService").Stepped:wait()
  442. Boom.Size = Boom.Size +Vector3.new(0.1, 5, 5)
  443. Boom.Transparency = Boom.Transparency +0.1
  444. end
  445. Boom:Destroy()
  446. local Boom = Instance.new("Part")
  447. Boom.BottomSurface = Enum.SurfaceType.Smooth
  448. Boom.TopSurface = Enum.SurfaceType.Smooth
  449. Boom.Size = Vector3.new(0.08,1,0.94)
  450. Boom.CFrame = CFrame.new(0.47,0.04,43.88,0,0,1,-1,0,0,0,-1,0)
  451. Boom.Shape = Enum.PartType.Cylinder
  452. Boom.Parent = workspace
  453. Boom.Anchored = true
  454. Boom.CanCollide = false
  455. Boom.Material = "Neon"
  456. Boom.BrickColor = BrickColor.new("Really red")
  457. Boom.Position = Part.Position
  458. PillAttack()
  459. for i = 1,15 do
  460. game:GetService("RunService").Stepped:wait()
  461. Boom.Size = Boom.Size +Vector3.new(0.2, 5, 5)
  462. Boom.Transparency = Boom.Transparency +0.1
  463. end
  464. Boom:Destroy()
  465. deb = false
  466. animv = true
  467. end
  468. end
  469. end
  470. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement