Advertisement
DrakerMaker

thing

Dec 1st, 2020 (edited)
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.35 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. owner.Character:FindFirstChildOfClass("Humanoid").Name = "VOID"
  96. local speedval = 0
  97. for i,v in pairs(owner.Character:GetDescendants()) do
  98. if v:IsA("Accessory") or v:IsA("Decal") or v:IsA("SpecialMesh") then
  99. v:Destroy()
  100. end
  101. if v:IsA("Part") and v.Name ~= "Head" and v.Name ~= "HumanoidRootPart" then
  102. v.Transparency = 1
  103. elseif v:IsA("Part") and v.Name == "Head" then
  104. v.Transparency = 1
  105. end
  106. end
  107. local animv = true
  108. local mas = Instance.new("Model",owner.Character)
  109. local WeldConstraint_2 = Instance.new("WeldConstraint")
  110. local Shine_2 = Instance.new("ParticleEmitter")
  111. local PurpleFire_2 = Instance.new("ParticleEmitter")
  112. local BlueFire_2 = Instance.new("ParticleEmitter")
  113. local plasma2 = Instance.new("Part")
  114. local WeldConstraint = Instance.new("WeldConstraint")
  115. local Shine = Instance.new("ParticleEmitter")
  116. local PurpleFire = Instance.new("ParticleEmitter")
  117. local BlueFire = Instance.new("ParticleEmitter")
  118. local plasma1 = Instance.new("Part")
  119. local Mesh_2 = Instance.new("SpecialMesh")
  120. local hand2 = Instance.new("Part")
  121. local Mesh = Instance.new("SpecialMesh")
  122. local hand1 = Instance.new("Part")
  123. local Hands = Instance.new("Model")
  124. Hands.Name = "Hands"
  125. Hands.Parent = mas
  126. hand1.Color = Color3.new(0.9725,0.9725,0.9725)
  127. hand1.Size = Vector3.new(7.493,8.713,10.107)
  128. hand1.Name = "hand 1"
  129. hand1.CanCollide = false
  130. 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)
  131. hand1.Parent = Hands
  132. hand1.Massless = true
  133. hand2.Massless = true
  134. Mesh.MeshId = "http://www.roblox.com/asset/?id=652913920"
  135. Mesh.MeshType = Enum.MeshType.FileMesh
  136. Mesh.Scale = Vector3.new(10.456,10.456,10.456)
  137. Mesh.Parent = hand1
  138. hand2.Color = Color3.new(0.9725,0.9725,0.9725)
  139. hand2.Size = Vector3.new(7.543,8.77,10.174)
  140. hand2.Name = "hand 2"
  141. hand2.CanCollide = false
  142. 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)
  143. hand2.Parent = Hands
  144. Mesh_2.MeshId = "http://www.roblox.com/asset/?id=652913236"
  145. Mesh_2.MeshType = Enum.MeshType.FileMesh
  146. Mesh_2.Scale = Vector3.new(10.524,10.524,10.524)
  147. Mesh_2.Parent = hand2
  148. plasma1.Color = Color3.new(0.0667,0.0667,0.0667)
  149. plasma1.Material = Enum.Material.Neon
  150. plasma1.Size = Vector3.new(2.16,2.16,2.16)
  151. plasma1.Name = "plasma 1"
  152. plasma1.CastShadow = false
  153. 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)
  154. plasma1.Shape = Enum.PartType.Ball
  155. plasma1.Parent = Hands
  156. BlueFire.Color = ColorSequence.new(Color3.new(1,0,0))
  157. BlueFire.Lifetime = NumberRange.new(1)
  158. BlueFire.Speed = NumberRange.new(0)
  159. BlueFire.Size = NumberSequence.new(2)
  160. BlueFire.Transparency = NumberSequence.new(0.89999997615814)
  161. BlueFire.Name = "BlueFire"
  162. BlueFire.LightEmission = -1
  163. BlueFire.Texture = "http://www.roblox.com/asset/?id=348467696"
  164. BlueFire.Parent = plasma1
  165. PurpleFire.Color = ColorSequence.new(Color3.new(0.4431,0,0))
  166. PurpleFire.Lifetime = NumberRange.new(1)
  167. PurpleFire.Speed = NumberRange.new(0)
  168. PurpleFire.Size = NumberSequence.new(2)
  169. PurpleFire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.869,0),NumberSequenceKeypoint.new(0.5,0.475,0),NumberSequenceKeypoint.new(1,1,0)})
  170. PurpleFire.Name = "PurpleFire"
  171. PurpleFire.LightEmission = -1
  172. PurpleFire.Texture = "http://www.roblox.com/asset/?id=348467696"
  173. PurpleFire.Parent = plasma1
  174. Shine.Color = ColorSequence.new(Color3.new(1,0,0))
  175. Shine.ZOffset = 2
  176. Shine.Speed = NumberRange.new(0)
  177. Shine.Size = NumberSequence.new(2)
  178. Shine.LockedToPart = true
  179. Shine.Rate = 3
  180. Shine.Rotation = NumberRange.new(-100,100)
  181. 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)})
  182. Shine.Name = "Shine"
  183. Shine.LightEmission = 1
  184. Shine.Texture = "rbxassetid://75202463"
  185. Shine.Parent = plasma1
  186. WeldConstraint.Part1 = hand1
  187. WeldConstraint.Part0 = plasma1
  188. WeldConstraint.Parent = plasma1
  189. plasma2.Color = Color3.new(0.0667,0.0667,0.0667)
  190. plasma2.Material = Enum.Material.Neon
  191. plasma2.Size = Vector3.new(2.16,2.16,2.16)
  192. plasma2.Name = "plasma 2"
  193. plasma2.CastShadow = false
  194. 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)
  195. plasma2.Shape = Enum.PartType.Ball
  196. plasma2.Parent = Hands
  197. BlueFire_2.Color = ColorSequence.new(Color3.new(1,0,0))
  198. BlueFire_2.Lifetime = NumberRange.new(1)
  199. BlueFire_2.Speed = NumberRange.new(0)
  200. BlueFire_2.Size = NumberSequence.new(2)
  201. BlueFire_2.Transparency = NumberSequence.new(0.89999997615814)
  202. BlueFire_2.Name = "BlueFire"
  203. BlueFire_2.LightEmission = -1
  204. BlueFire_2.Texture = "http://www.roblox.com/asset/?id=348467696"
  205. BlueFire_2.Parent = plasma2
  206. PurpleFire_2.Color = ColorSequence.new(Color3.new(0.4431,0,0))
  207. PurpleFire_2.Lifetime = NumberRange.new(1)
  208. PurpleFire_2.Speed = NumberRange.new(0)
  209. PurpleFire_2.Size = NumberSequence.new(2)
  210. PurpleFire_2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.869,0),NumberSequenceKeypoint.new(0.5,0.475,0),NumberSequenceKeypoint.new(1,1,0)})
  211. PurpleFire_2.Name = "PurpleFire"
  212. PurpleFire_2.LightEmission = -1
  213. PurpleFire_2.Texture = "http://www.roblox.com/asset/?id=348467696"
  214. PurpleFire_2.Parent = plasma2
  215. Shine_2.Color = ColorSequence.new(Color3.new(1,0,0))
  216. Shine_2.ZOffset = 2
  217. Shine_2.Speed = NumberRange.new(0)
  218. Shine_2.Size = NumberSequence.new(2)
  219. Shine_2.LockedToPart = true
  220. Shine_2.Rate = 3
  221. Shine_2.Rotation = NumberRange.new(-100,100)
  222. 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)})
  223. Shine_2.Name = "Shine"
  224. Shine_2.LightEmission = 1
  225. Shine_2.Texture = "rbxassetid://75202463"
  226. Shine_2.Parent = plasma2
  227. WeldConstraint_2.Part1 = hand2
  228. WeldConstraint_2.Part0 = plasma2
  229. WeldConstraint_2.Parent = plasma2
  230. local mas = Instance.new("Model",owner.Character)
  231. local WeldConstraint_3 = Instance.new("WeldConstraint")
  232. local Part_3 = Instance.new("Part")
  233. local WeldConstraint_2 = Instance.new("WeldConstraint")
  234. local Part_2 = Instance.new("Part")
  235. local ParticleEmitter_4 = Instance.new("ParticleEmitter")
  236. local ParticleEmitter_3 = Instance.new("ParticleEmitter")
  237. local ParticleEmitter_2 = Instance.new("ParticleEmitter")
  238. local ParticleEmitter = Instance.new("ParticleEmitter")
  239. local Mesh_2 = Instance.new("SpecialMesh")
  240. local Part = Instance.new("Part")
  241. local WeldConstraint = Instance.new("WeldConstraint")
  242. local Mesh = Instance.new("SpecialMesh")
  243. local PhantomoftheOpera = Instance.new("Part")
  244. local Halfface = Instance.new("Model")
  245. Halfface.Name = "Half face"
  246. Halfface.Parent = mas
  247. PhantomoftheOpera.Size = Vector3.new(5.4,4.95,4.89)
  248. PhantomoftheOpera.Name = "Phantom of the Opera"
  249. PhantomoftheOpera.CFrame = CFrame.new(24.72,2.545,-6.435,-1,0,0,0,1,0,0,0,-1)
  250. PhantomoftheOpera.Parent = Halfface
  251. PhantomoftheOpera.Massless = true
  252. Mesh.MeshId = "http://www.roblox.com/asset/?id=12470186"
  253. Mesh.TextureId = "http://www.roblox.com/asset/?id=12470201"
  254. Mesh.MeshType = Enum.MeshType.FileMesh
  255. Mesh.Scale = Vector3.new(5.94,5.445,5.379)
  256. Mesh.Parent = PhantomoftheOpera
  257. WeldConstraint.Part1 = Part
  258. WeldConstraint.Part0 = PhantomoftheOpera
  259. WeldConstraint.Parent = PhantomoftheOpera
  260. Part.BottomSurface = Enum.SurfaceType.Smooth
  261. Part.TopSurface = Enum.SurfaceType.Smooth
  262. Part.Color = Color3.new(0.0667,0.0667,0.0667)
  263. Part.Size = Vector3.new(7.11,4.89,5.21)
  264. Part.CFrame = CFrame.new(25.8664,2.445,-9.1497,0.9715,0,0.2372,0,1,0,-0.2372,0,0.9715)
  265. Part.Parent = Halfface
  266. Part.Massless = true
  267. Mesh_2.Parent = Part
  268. ParticleEmitter.Color = ColorSequence.new(Color3.new(0,0,0))
  269. ParticleEmitter.Lifetime = NumberRange.new(2)
  270. ParticleEmitter.Speed = NumberRange.new(-9)
  271. 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)})
  272. ParticleEmitter.Acceleration = Vector3.new(0,9.5,0)
  273. ParticleEmitter.RotSpeed = NumberRange.new(-50,50)
  274. ParticleEmitter.Rate = 75
  275. ParticleEmitter.LightEmission = 0.9
  276. ParticleEmitter.Texture = "http://www.roblox.com/asset/?id=266430235"
  277. ParticleEmitter.SpreadAngle = Vector2.new(15,15)
  278. ParticleEmitter.Parent = Part
  279. ParticleEmitter_2.Color = ColorSequence.new(Color3.new(0,0,0))
  280. ParticleEmitter_2.Lifetime = NumberRange.new(2)
  281. ParticleEmitter_2.Speed = NumberRange.new(-9)
  282. 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)})
  283. ParticleEmitter_2.Acceleration = Vector3.new(0,9.5,0)
  284. ParticleEmitter_2.RotSpeed = NumberRange.new(-50,50)
  285. ParticleEmitter_2.Rate = 75
  286. ParticleEmitter_2.LightEmission = 0.9
  287. ParticleEmitter_2.Texture = "http://www.roblox.com/asset/?id=266430235"
  288. ParticleEmitter_2.SpreadAngle = Vector2.new(15,15)
  289. ParticleEmitter_2.Parent = Part
  290. ParticleEmitter_3.Lifetime = NumberRange.new(2)
  291. ParticleEmitter_3.Speed = NumberRange.new(0)
  292. ParticleEmitter_3.Size = NumberSequence.new(3)
  293. ParticleEmitter_3.RotSpeed = NumberRange.new(-1000,500)
  294. ParticleEmitter_3.Rate = 32
  295. ParticleEmitter_3.Transparency = NumberSequence.new(0.89999997615814)
  296. ParticleEmitter_3.Texture = "rbxassetid://341277531"
  297. ParticleEmitter_3.SpreadAngle = Vector2.new(900,900)
  298. ParticleEmitter_3.Parent = Part
  299. ParticleEmitter_4.Color = ColorSequence.new(Color3.new(1,0,0))
  300. ParticleEmitter_4.Drag = 1
  301. ParticleEmitter_4.Lifetime = NumberRange.new(10)
  302. ParticleEmitter_4.Speed = NumberRange.new(0)
  303. ParticleEmitter_4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,5.625,0)})
  304. ParticleEmitter_4.RotSpeed = NumberRange.new(720)
  305. ParticleEmitter_4.Rate = 10
  306. ParticleEmitter_4.Rotation = NumberRange.new(-1000,500)
  307. ParticleEmitter_4.Transparency = NumberSequence.new(0.98000001907349)
  308. ParticleEmitter_4.Texture = "rbxassetid://243134825"
  309. ParticleEmitter_4.Parent = Part
  310. Part_2.BottomSurface = Enum.SurfaceType.Smooth
  311. Part_2.TopSurface = Enum.SurfaceType.Smooth
  312. Part_2.Color = Color3.new(0.7686,0.1569,0.1098)
  313. Part_2.Material = Enum.Material.Neon
  314. Part_2.Size = Vector3.new(0.29,0.29,0.29)
  315. Part_2.CFrame = CFrame.new(24.75,3.075,-6.97,1,0,0,0,1,0,0,0,1)
  316. Part_2.Shape = Enum.PartType.Ball
  317. Part_2.Parent = Halfface
  318. WeldConstraint_2.Part1 = Part
  319. WeldConstraint_2.Part0 = Part_2
  320. WeldConstraint_2.Parent = Part_2
  321. Part_3.BottomSurface = Enum.SurfaceType.Smooth
  322. Part_3.TopSurface = Enum.SurfaceType.Smooth
  323. Part_3.Color = Color3.new(0.7686,0.1569,0.1098)
  324. Part_3.Material = Enum.Material.Neon
  325. Part_3.Size = Vector3.new(0.29,0.29,0.29)
  326. Part_3.CFrame = CFrame.new(27.05,3.075,-7.05,1,0,0,0,1,0,0,0,1)
  327. Part_3.Shape = Enum.PartType.Ball
  328. Part_3.Parent = Halfface
  329. WeldConstraint_3.Part1 = Part
  330. WeldConstraint_3.Part0 = Part_3
  331. WeldConstraint_3.Parent = Part_3
  332. facew = wbtwe(Part, owner.Character.Head, CFrame.new(0, -5, 0) *CFrame.Angles(0, 8.4, 0.2))
  333. lefthand = wbtwe(hand2, owner.Character.Torso, CFrame.new(4.45, -1, 0) *CFrame.Angles(0, 8.4, 0))
  334. righthand = wbtwe(hand1, owner.Character.Torso, CFrame.new(-4.45, -1, 0) *CFrame.Angles(0, 8.4, 0))
  335. idle = 0
  336. idlelook = 0
  337. walk = 0
  338. mode = 1
  339. anim = coroutine.wrap(function()
  340. while game:GetService("RunService").Stepped:wait() do
  341. if animv == true then
  342. if owner.Character.HumanoidRootPart.Velocity.Magnitude < 1 then
  343. idle = idle +0.03
  344. idlelook = idlelook +0.02
  345. 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)
  346. 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)
  347. 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)
  348. elseif 1 < owner.Character.HumanoidRootPart.Velocity.Magnitude then
  349. idlelook = idlelook +0
  350. 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)
  351. idlelook = idlelook +0.02
  352. game:GetService("RunService").Stepped:wait()
  353. idle = idle +0.1
  354. 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)
  355. 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)
  356. 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)
  357. end
  358. end
  359. end
  360. end)anim()
  361. owner.Character.VOID.WalkSpeed = 55
  362. health = coroutine.wrap(function()
  363. while game:GetService("RunService").Stepped:wait() do
  364. owner.Character.VOID.MaxHealth = math.huge
  365. owner.Character.VOID.Health = math.huge
  366. end
  367. end)health()
  368. function PillarAttack()
  369. local e = 5
  370. for i = 1,8 do
  371. e = e + 0.5
  372. local attack = Instance.new("Part")
  373. attack.BottomSurface = Enum.SurfaceType.Smooth
  374. attack.TopSurface = Enum.SurfaceType.Smooth
  375. attack.Color = Color3.new(0.9725,0.9725,0.9725)
  376. attack.Material = Enum.Material.Marble
  377. attack.Size = Vector3.new(8.92,42.13,7.63)
  378. attack.Anchored = true
  379. attack.CFrame = owner.Character.Torso.CFrame *CFrame.new(0, -5, "-"..e + 5)
  380. attack.Parent = workspace
  381. attack.Touched:connect(function(p)
  382. if p.Parent:FindFirstChildOfClass("Humanoid") then
  383. if p.Parent ~= owner.Character then
  384. p.Parent:BreakJoints()
  385. end
  386. end
  387. end)
  388. for i = 1,5 do
  389. wait()
  390. e = e + 5
  391. attack.CFrame = attack.CFrame *CFrame.new(0, 1, 0)
  392. end
  393. attack.CanCollide = false
  394. attack.Anchored = false
  395. end
  396. end
  397. owner.Character.VOID.Running:Connect(function(speed)
  398. if speed > 0 then
  399. speedval = speed
  400. else
  401. speedval = 0
  402. end
  403. end)
  404. deb = false
  405. mouse.KeyDown:connect(function(key)
  406. if key == "e" then
  407. if deb == false then
  408. deb = true
  409. animv = false
  410. local whoosh = Instance.new("Sound", owner.Character.Head)
  411. whoosh.SoundId = "rbxassetid://624706518"
  412. whoosh.Volume = 2
  413. whoosh.Pitch = 2
  414. whoosh:Play()
  415. for i = 1,25 do
  416. game:GetService("RunService").Stepped:wait()
  417. 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)
  418. 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)
  419. 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)
  420. end
  421. for i = 1,15 do
  422. game:GetService("RunService").Stepped:wait()
  423. 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)
  424. 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)
  425. 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)
  426. end
  427. local smash = Instance.new("Sound", owner.Character.Head)
  428. smash.SoundId = "rbxassetid://168514932"
  429. smash.Volume = 2
  430. smash.Pitch = 1
  431. smash:Play()
  432. local Boom = Instance.new("Part")
  433. Boom.BottomSurface = Enum.SurfaceType.Smooth
  434. Boom.TopSurface = Enum.SurfaceType.Smooth
  435. Boom.Size = Vector3.new(0.08,1,0.94)
  436. Boom.CFrame = CFrame.new(0.47,0.04,43.88,0,0,1,-1,0,0,0,-1,0)
  437. Boom.Shape = Enum.PartType.Cylinder
  438. Boom.Parent = workspace
  439. Boom.Anchored = true
  440. Boom.CanCollide = false
  441. Boom.Material = "Neon"
  442. Boom.BrickColor = BrickColor.new("Really red")
  443. Boom.Position = Part.Position
  444. for i = 1,15 do
  445. game:GetService("RunService").Stepped:wait()
  446. Boom.Size = Boom.Size +Vector3.new(0.1, 5, 5)
  447. Boom.Transparency = Boom.Transparency +0.1
  448. end
  449. Boom:Destroy()
  450. Boom:Destroy()
  451. deb = false
  452. animv = true
  453. PillarAttack()
  454. end
  455. end
  456. if key == "x" then
  457. if deb == false then
  458. deb = true
  459. animv = false
  460. local whoosh = Instance.new("Sound", owner.Character.Head)
  461. whoosh.SoundId = "rbxassetid://624706518"
  462. whoosh.Volume = 2
  463. whoosh.Pitch = 2
  464. whoosh:Play()
  465. owner.Character.VOID.WalkSpeed = 0
  466. owner.Character.VOID.JumpPower = 0
  467. for i = 1,25 do
  468. game:GetService("RunService").Stepped:wait()
  469. 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.5, 8.5, 0+math.rad(math.random(-1,1)) +math.cos(idle)*0.1), 0.5)
  470. 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)
  471. 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)
  472. song.PlaybackSpeed = song.PlaybackSpeed - 0.1
  473. end
  474. wait(1)
  475. local smash = Instance.new("Sound", owner.Character.Head)
  476. smash.SoundId = "rbxassetid://168514932"
  477. smash.Volume = 2
  478. smash.Pitch = 1
  479. smash:Play()
  480. song:Stop()
  481. song.PlaybackSpeed = 1
  482. song.SoundId = "rbxassetid://1561410944"
  483. song:Play()
  484. local Boom = Instance.new("Part")
  485. Boom.BottomSurface = Enum.SurfaceType.Smooth
  486. Boom.TopSurface = Enum.SurfaceType.Smooth
  487. Boom.Size = Vector3.new(0.08,1,0.94)
  488. Boom.CFrame = CFrame.new(0.47,0.04,43.88,0,0,1,-1,0,0,0,-1,0)
  489. Boom.Shape = Enum.PartType.Cylinder
  490. Boom.Parent = workspace
  491. Boom.Anchored = true
  492. Boom.CanCollide = false
  493. Boom.Material = "Neon"
  494. Boom.BrickColor = BrickColor.new("Really red")
  495. Boom.Position = Part.Position
  496. PhantomoftheOpera.Transparency = 1
  497. for i = 1,15 do
  498. game:GetService("RunService").Stepped:wait()
  499. Boom.Size = Boom.Size +Vector3.new(4, 5, 5)
  500. Boom.Transparency = Boom.Transparency +0.1
  501. end
  502. Boom:Destroy()
  503. deb = false
  504. animv = true
  505. end
  506. end
  507. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement