Advertisement
plytalent

SCP 178

Apr 9th, 2018
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.88 KB | None | 0 0
  1. --[[SCP-178 by SezHu.
  2.  
  3. If you want a creation like this of your own, shoot me a friend request me on Discord! (Sezzie
  4. #1875) Prices start at 350 robux.]]--
  5.  
  6. wait(1 / 60)
  7. local sfx = {
  8. 619083295,
  9. }
  10.  
  11.  
  12. Effects = { }
  13. local Player = game.Players.localPlayer
  14. local Mouse = Player:GetMouse()
  15. local Character = Player.Character
  16. local Humanoid = Character.Humanoid
  17. local Head = Character.Head
  18. local RootPart = Character.HumanoidRootPart
  19. local Torso = Character.Torso
  20. local LeftArm = Character["Left Arm"]
  21. local RightArm = Character["Right Arm"]
  22. local LeftLeg = Character["Left Leg"]
  23. local RightLeg = Character["Right Leg"]
  24. local Camera = game.Workspace.CurrentCamera
  25. local RootJoint = RootPart.RootJoint
  26. local Equipped = false
  27. local Attack = false
  28. local Anim = 'Idle'
  29. local Idle = 0
  30. local Combo = 1
  31. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  32. local Velocity = RootPart.Velocity.y
  33. local Sine = 0
  34. local Change = 1
  35.  
  36. local RbxUtility = LoadLibrary("RbxUtility")
  37. local Create = RbxUtility.Create
  38.  
  39. Humanoid.WalkSpeed = 100
  40. Humanoid.JumpPower = 100
  41. Humanoid.Animator.Parent = nil
  42. Character.Animate.Parent = nil
  43.  
  44. local newMotor = function(part0, part1, c0, c1)
  45. local w = Create('Motor'){
  46. Parent = part0,
  47. Part0 = part0,
  48. Part1 = part1,
  49. C0 = c0,
  50. C1 = c1,
  51. }
  52. return w
  53. end
  54.  
  55.  
  56.  
  57. function clerp(a, b, t)
  58. return a:lerp(b, t)
  59. end
  60.  
  61. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  62. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  63.  
  64. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  65. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  66. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  67. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  68. RootJoint.C1 = CFrame.new(0, 0, 0)
  69. RootJoint.C0 = CFrame.new(0, 0, 0)
  70. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  71. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  72.  
  73. local rarmc1 = RW.C1
  74. local larmc1 = LW.C1
  75. local rlegc1 = RH.C1
  76. local llegc1 = LH.C1
  77.  
  78. local resetc1 = false
  79.  
  80. function PlayAnimationFromTable(table, speed, bool)
  81. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  82. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  83. RW.C0 = clerp(RW.C0, table[3], speed)
  84. LW.C0 = clerp(LW.C0, table[4], speed)
  85. RH.C0 = clerp(RH.C0, table[5], speed)
  86. LH.C0 = clerp(LH.C0, table[6], speed)
  87. if bool == true then
  88. if resetc1 == false then
  89. resetc1 = true
  90. RootJoint.C1 = RootJoint.C1
  91. Torso.Neck.C1 = Torso.Neck.C1
  92. RW.C1 = rarmc1
  93. LW.C1 = larmc1
  94. RH.C1 = rlegc1
  95. LH.C1 = llegc1
  96. end
  97. end
  98. end
  99.  
  100. ArtificialHB = Create("BindableEvent"){
  101. Parent = script,
  102. Name = "Heartbeat",
  103. }
  104.  
  105. script:WaitForChild("Heartbeat")
  106.  
  107. frame = 1 / 30
  108. tf = 0
  109. allowframeloss = false
  110. tossremainder = false
  111. lastframe = tick()
  112. script.Heartbeat:Fire()
  113.  
  114.  
  115. spawn(function()
  116. while true do
  117. if Anim == "Walk" then
  118. CFuncs.Sound.Create(sfx[math.random(#sfx)], Head, .5, 1)
  119. end
  120. wait(.6)
  121. end
  122. end)
  123.  
  124.  
  125.  
  126. local function soundbork(obj)
  127. if obj:IsA("Sound") and obj.Name ~= "important" then
  128. obj.Volume = 0
  129. return
  130. end
  131.  
  132.  
  133. local children = obj:GetChildren()
  134. for i = 1, #children do
  135. soundbork(children[i])
  136. end
  137.  
  138. return
  139. end
  140.  
  141. game:GetService("RunService").Heartbeat:connect(function(s, p)
  142. tf = tf + s
  143. if tf >= frame then
  144. if allowframeloss then
  145. script.Heartbeat:Fire()
  146. lastframe = tick()
  147. else
  148. for i = 1, math.floor(tf / frame) do
  149. script.Heartbeat:Fire()
  150. end
  151. lastframe = tick()
  152. end
  153. if tossremainder then
  154. tf = 0
  155. else
  156. tf = tf - frame * math.floor(tf / frame)
  157. end
  158. end
  159. end)
  160.  
  161. function swait(num)
  162. if num == 0 or num == nil then
  163. ArtificialHB.Event:wait()
  164. else
  165. for i = 0, num do
  166. ArtificialHB.Event:wait()
  167. end
  168. end
  169. end
  170.  
  171. local m = Create("Model"){
  172. Parent = Character,
  173. Name = "WeaponModel"
  174. }
  175.  
  176. function RemoveOutlines(part)
  177. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  178. end
  179.  
  180. CFuncs = {
  181. Part = {
  182. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  183. local Part = Create("Part"){
  184. Parent = Parent,
  185. Reflectance = Reflectance,
  186. Transparency = Transparency,
  187. CanCollide = false,
  188. Locked = true,
  189. BrickColor = BrickColor.new(tostring(BColor)),
  190. Name = Name,
  191. Size = Size,
  192. Material = Material,
  193. }
  194. RemoveOutlines(Part)
  195. if Size == Vector3.new() then
  196. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  197. else
  198. Part.Size = Size
  199. end
  200. return Part
  201. end;
  202. };
  203.  
  204. Mesh = {
  205. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  206. local Msh = Create(Mesh){
  207. Parent = Part,
  208. Offset = OffSet,
  209. Scale = Scale,
  210. }
  211. if Mesh == "SpecialMesh" then
  212. Msh.MeshType = MeshType
  213. Msh.MeshId = MeshId
  214. end
  215. return Msh
  216. end;
  217. };
  218.  
  219. Weld = {
  220. Create = function(Parent, Part0, Part1, C0, C1)
  221. local Weld = Create("Weld"){
  222. Parent = Parent,
  223. Part0 = Part0,
  224. Part1 = Part1,
  225. C0 = C0,
  226. C1 = C1,
  227. }
  228. return Weld
  229. end;
  230. };
  231.  
  232. Sound = {
  233. Create = function(id, par, vol, pit)
  234. coroutine.resume(coroutine.create(function()
  235. local S = Create("Sound"){
  236. Volume = vol,
  237. Pitch = pit or 1,
  238. SoundId = "rbxassetid://" .. id,
  239. Parent = par or workspace,
  240. Name = "important"
  241. }
  242. wait()
  243. S:play()
  244. game:GetService("Debris"):AddItem(S, 10)
  245. end))
  246. end;
  247. };
  248.  
  249. Sound2 = {
  250. Create = function(id, par, vol, pit)
  251. coroutine.resume(coroutine.create(function()
  252. local S = Create("Sound"){
  253. Volume = vol,
  254. Pitch = pit or 1,
  255. SoundId = "rbxassetid://" .. id,
  256. Parent = par or workspace,
  257. Name = "important",
  258. Looped = true
  259. }
  260. wait()
  261. S:play()
  262. game:GetService("Debris"):AddItem(S, 10)
  263. end))
  264. end;
  265. };
  266.  
  267. ParticleEmitter = {
  268. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  269. local Particle = Create("ParticleEmitter"){
  270. Parent = Parent,
  271. Color = ColorSequence.new(Color1, Color2),
  272. LightEmission = LightEmission,
  273. Size = Size,
  274. Texture = Texture,
  275. Transparency = Transparency,
  276. ZOffset = ZOffset,
  277. Acceleration = Accel,
  278. Drag = Drag,
  279. LockedToPart = LockedToPart,
  280. VelocityInheritance = VelocityInheritance,
  281. EmissionDirection = EmissionDirection,
  282. Enabled = Enabled,
  283. Lifetime = LifeTime,
  284. Rate = Rate,
  285. Rotation = Rotation,
  286. RotSpeed = RotSpeed,
  287. Speed = Speed,
  288. VelocitySpread = VelocitySpread,
  289. }
  290. return Particle
  291. end;
  292. };
  293.  
  294. CreateTemplate = {
  295.  
  296. };
  297. }
  298.  
  299.  
  300.  
  301. function RayCast(Position, Direction, Range, Ignore)
  302. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  303. end
  304.  
  305. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(0.779999912, 0.780000091, 0.750000238))
  306. HandleWeld=CFuncs.Weld.Create(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.33985698, 0.205783844, -0.0249519944, 0, -1, 0, -1, 0, 0, 0, 0, -1))
  307.  
  308. FHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(0.779999912, 0.780000091, 0.750000238))
  309. FHandleWeld=CFuncs.Weld.Create(m,FHandle,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.33985698, 0.205783844, -0.0249519944, 0, -1, 0, -1, 0, 0, 0, 0, -1))
  310.  
  311. Glasses=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Institutional white","Glasses",Vector3.new(1.04999995, 1, 1))
  312. GlassesWeld=CFuncs.Weld.Create(m,FHandle,Glasses,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.019271493, -0.20810318, 0.170232952, -1, -6.50000002e-05, 0, -6.50000002e-05, 1, 0, 0, 0, -1))
  313. gl00ses=CFuncs.Mesh.Create("SpecialMesh",Glasses,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=22053998",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  314. gl00ses.TextureId = "http://www.roblox.com/asset/?id=38205002"
  315.  
  316.  
  317. FauxHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","FauxHandle",Vector3.new(0.779999912, 0.780000091, 0.750000238))
  318. FauxHandleWeld=CFuncs.Weld.Create(workspace.CurrentCamera,Character["Head"],FauxHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00429534912, -0.0208046436, -0.0191295743, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  319. FauxGlasses=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Institutional white","FauxGlasses",Vector3.new(1.04999995, 1, 1))
  320. FauxGlassesWeld=CFuncs.Weld.Create(m,FauxHandle,FauxGlasses,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00775146484, -0.208105445, 0.170232952, -1, -6.50000002e-05, 0, -6.50000002e-05, 1, 0, 0, 0, -1))
  321. gl00ses2=CFuncs.Mesh.Create("SpecialMesh",FauxGlasses,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=22053998",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
  322. gl00ses2.TextureId = "http://www.roblox.com/asset/?id=38205002"
  323.  
  324. --Converted with ttyyuu12345's model to script plugin v4
  325. function sandbox(var,func)
  326. local env = getfenv(func)
  327. local newenv = setmetatable({},{
  328. __index = function(self,k)
  329. if k=="script" then
  330. return var
  331. else
  332. return env[k]
  333. end
  334. end,
  335. })
  336. setfenv(func,newenv)
  337. return func
  338. end
  339. cors = {}
  340. mas = Instance.new("Model",Camera)
  341. Model0 = Instance.new("Model")
  342. Part1 = Instance.new("Part")
  343. Part2 = Instance.new("Part")
  344. Part3 = Instance.new("Part")
  345. Part4 = Instance.new("Part")
  346. Part5 = Instance.new("Part")
  347. Part6 = Instance.new("Part")
  348. Part7 = Instance.new("Part")
  349. Model0.Name = "Netherworld"
  350. Model0.Parent = mas
  351. Part1.Name = "Spart"
  352. Part1.Parent = Camera
  353. Part1.Material = Enum.Material.Neon
  354. Part1.Transparency = 1
  355. Part1.Anchored = true
  356. Part1.CanCollide = false
  357. Part1.Size = Vector3.new(4, 1, 2)
  358. Part1.CFrame = CFrame.new(144.5, 1290.63574, 2.74698257, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  359. Part1.BottomSurface = Enum.SurfaceType.Smooth
  360. Part1.TopSurface = Enum.SurfaceType.Smooth
  361. Part1.Position = Vector3.new(144.5, 1290.63574, 2.74698257)
  362. Part2.Parent = Camera
  363. Part2.Material = Enum.Material.Neon
  364. Part2.BrickColor = BrickColor.new("Really black")
  365. Part2.Transparency = 0.0099999997764826
  366. Part2.Anchored = true
  367. Part2.Size = Vector3.new(233.790359, 1.15406489, 245.924103)
  368. Part2.CFrame = CFrame.new(130.757782, 1311.9447, 21.3496704, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  369. Part2.BottomSurface = Enum.SurfaceType.Smooth
  370. Part2.TopSurface = Enum.SurfaceType.Smooth
  371. Part2.Position = Vector3.new(130.757782, 1311.9447, 21.3496704)
  372. Part3.Parent = Camera
  373. Part3.Material = Enum.Material.Neon
  374. Part3.BrickColor = BrickColor.new("Really black")
  375. Part3.Transparency = 0.0099999997764826
  376. Part3.Rotation = Vector3.new(90, 90, 0)
  377. Part3.Anchored = true
  378. Part3.Size = Vector3.new(233.790359, 1.15406489, 233.317429)
  379. Part3.CFrame = CFrame.new(131.542297, 1193.58923, -99.4936905, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  380. Part3.BottomSurface = Enum.SurfaceType.Smooth
  381. Part3.TopSurface = Enum.SurfaceType.Smooth
  382. Part3.Position = Vector3.new(131.542297, 1193.58923, -99.4936905)
  383. Part3.Orientation = Vector3.new(0, 90, 90)
  384. Part4.Parent = Camera
  385. Part4.Material = Enum.Material.Neon
  386. Part4.BrickColor = BrickColor.new("Really black")
  387. Part4.Transparency = 0.0099999997764826
  388. Part4.Rotation = Vector3.new(0, 0, 90)
  389. Part4.Anchored = true
  390. Part4.Size = Vector3.new(232.420349, 1.15406489, 242.134125)
  391. Part4.CFrame = CFrame.new(246.358215, 1194.35278, 22.2144928, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  392. Part4.BottomSurface = Enum.SurfaceType.Smooth
  393. Part4.TopSurface = Enum.SurfaceType.Smooth
  394. Part4.Position = Vector3.new(246.358215, 1194.35278, 22.2144928)
  395. Part4.Orientation = Vector3.new(0, 0, 90)
  396. Part5.Parent = Camera
  397. Part5.Material = Enum.Material.Neon
  398. Part5.BrickColor = BrickColor.new("Really black")
  399. Part5.Transparency = 0.0099999997764826
  400. Part5.Rotation = Vector3.new(90, 90, 0)
  401. Part5.Anchored = true
  402. Part5.Size = Vector3.new(233.790359, 1.15406489, 233.317429)
  403. Part5.CFrame = CFrame.new(131.542297, 1193.58923, 143.942886, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  404. Part5.BottomSurface = Enum.SurfaceType.Smooth
  405. Part5.TopSurface = Enum.SurfaceType.Smooth
  406. Part5.Position = Vector3.new(131.542297, 1193.58923, 143.942886)
  407. Part5.Orientation = Vector3.new(0, 90, 90)
  408. Part6.Parent = Camera
  409. Part6.Material = Enum.Material.Neon
  410. Part6.BrickColor = BrickColor.new("Really black")
  411. Part6.Transparency = 0.0099999997764826
  412. Part6.Rotation = Vector3.new(0, 0, 90)
  413. Part6.Anchored = true
  414. Part6.Size = Vector3.new(232.420349, 1.15406489, 242.134125)
  415. Part6.CFrame = CFrame.new(18, 1194.35278, 22.2144928, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  416. Part6.BottomSurface = Enum.SurfaceType.Smooth
  417. Part6.TopSurface = Enum.SurfaceType.Smooth
  418. Part6.Orientation = Vector3.new(0, 0, 90)
  419. Part7.Parent = Camera
  420. Part7.Material = Enum.Material.Neon
  421. Part7.BrickColor = BrickColor.new("Really black")
  422. Part7.Transparency = 0.0099999997764826
  423. Part7.Anchored = true
  424. Part7.Size = Vector3.new(233.790359, 1.15406489, 244.754089)
  425. Part7.CFrame = CFrame.new(130.757782, 1077.43396, 20.7646637, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  426. Part7.BottomSurface = Enum.SurfaceType.Smooth
  427. Part7.TopSurface = Enum.SurfaceType.Smooth
  428. Part7.Position = Vector3.new(130.757782, 1077.43396, 20.7646637)
  429. for i,v in pairs(mas:GetChildren()) do
  430. v.Parent = workspace
  431. pcall(function() v:MakeJoints() end)
  432. end
  433. mas:Destroy()
  434. for i,v in pairs(cors) do
  435. spawn(function()
  436. pcall(v)
  437. end)
  438. end
  439.  
  440. local houseBackup = mas:Clone()
  441.  
  442.  
  443.  
  444.  
  445.  
  446. FindNearestTorso = function(pos)
  447. local list = (game.Workspace:children())
  448. local torso = nil
  449. local dist = 1000
  450. local temp, human, temp2 = nil, nil, nil
  451. for x = 1, #list do
  452. temp2 = list[x]
  453. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  454. temp = temp2:findFirstChild("Torso")
  455. human = temp2:findFirstChild("Humanoid")
  456. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  457. local dohit = true
  458. if dohit == true then
  459. torso = temp
  460. dist = (temp.Position - pos).magnitude
  461. end
  462. end
  463. end
  464. end
  465. return torso, dist
  466. end
  467.  
  468. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  469. if hit.Parent == nil then
  470. return
  471. end
  472. local h = hit.Parent:FindFirstChild("Humanoid")
  473. for _, v in pairs(hit.Parent:children()) do
  474. if v:IsA("Humanoid") then
  475. h = v
  476. end
  477. end
  478. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  479. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  480. if hit.Parent.DebounceHit.Value == true then
  481. return
  482. end
  483. end
  484. local c = Create("ObjectValue"){
  485. Name = "creator",
  486. Value = game:service("Players").LocalPlayer,
  487. Parent = h,
  488. }
  489. game:GetService("Debris"):AddItem(c, .5)
  490. if HitSound ~= nil and HitPitch ~= nil then
  491. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  492. end
  493. local Damage = math.random(minim, maxim)
  494. local blocked = false
  495. local block = hit.Parent:findFirstChild("Block")
  496. if block ~= nil then
  497. if block.className == "IntValue" then
  498. if block.Value > 0 then
  499. blocked = true
  500. block.Value = block.Value - 1
  501. print(block.Value)
  502. end
  503. end
  504. end
  505. if blocked == false then
  506. h.Health = h.Health - Damage
  507. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  508. else
  509. h.Health = h.Health - (Damage / 2)
  510. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  511. end
  512. if Type == "Knockdown" then
  513. local hum = hit.Parent.Humanoid
  514. hum.PlatformStand = true
  515. coroutine.resume(coroutine.create(function(HHumanoid)
  516. swait(1)
  517. HHumanoid.PlatformStand = false
  518. end), hum)
  519. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  520. local bodvol = Create("BodyVelocity"){
  521. velocity = angle * knockback,
  522. P = 5000,
  523. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  524. Parent = hit,
  525. }
  526. local rl = Create("BodyAngularVelocity"){
  527. P = 3000,
  528. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  529. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  530. Parent = hit,
  531. }
  532. game:GetService("Debris"):AddItem(bodvol, .5)
  533. game:GetService("Debris"):AddItem(rl, .5)
  534. elseif Type == "Normal" then
  535. local vp = Create("BodyVelocity"){
  536. P = 500,
  537. maxForce = Vector3.new(math.huge, 0, math.huge),
  538. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  539. }
  540. if knockback > 0 then
  541. vp.Parent = hit.Parent.Torso
  542. end
  543. game:GetService("Debris"):AddItem(vp, .5)
  544. elseif Type == "Up" then
  545. local bodyVelocity = Create("BodyVelocity"){
  546. velocity = Vector3.new(0, 20, 0),
  547. P = 5000,
  548. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  549. Parent = hit,
  550. }
  551. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  552. elseif Type == "DarkUp" then
  553. coroutine.resume(coroutine.create(function()
  554. for i = 0, 1, 0.1 do
  555. swait()
  556. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  557. end
  558. end))
  559. local bodyVelocity = Create("BodyVelocity"){
  560. velocity = Vector3.new(0, 20, 0),
  561. P = 5000,
  562. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  563. Parent = hit,
  564. }
  565. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  566. elseif Type == "Snare" then
  567. local bp = Create("BodyPosition"){
  568. P = 2000,
  569. D = 100,
  570. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  571. position = hit.Parent.Torso.Position,
  572. Parent = hit.Parent.Torso,
  573. }
  574. game:GetService("Debris"):AddItem(bp, 1)
  575. elseif Type == "Freeze" then
  576. local BodPos = Create("BodyPosition"){
  577. P = 50000,
  578. D = 1000,
  579. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  580. position = hit.Parent.Torso.Position,
  581. Parent = hit.Parent.Torso,
  582. }
  583. local BodGy = Create("BodyGyro") {
  584. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  585. P = 20e+003,
  586. Parent = hit.Parent.Torso,
  587. cf = hit.Parent.Torso.CFrame,
  588. }
  589. hit.Parent.Torso.Anchored = true
  590. coroutine.resume(coroutine.create(function(Part)
  591. swait(1.5)
  592. Part.Anchored = false
  593. end), hit.Parent.Torso)
  594. game:GetService("Debris"):AddItem(BodPos, 3)
  595. game:GetService("Debris"):AddItem(BodGy, 3)
  596. end
  597. local debounce = Create("BoolValue"){
  598. Name = "DebounceHit",
  599. Parent = hit.Parent,
  600. Value = true,
  601. }
  602. game:GetService("Debris"):AddItem(debounce, Delay)
  603. c = Create("ObjectValue"){
  604. Name = "creator",
  605. Value = Player,
  606. Parent = h,
  607. }
  608. game:GetService("Debris"):AddItem(c, .5)
  609. end
  610. end
  611.  
  612. function ShowDamage(Pos, Text, Time, Color)
  613. local Rate = (1 / 30)
  614. local Pos = (Pos or Vector3.new(0, 0, 0))
  615. local Text = (Text or "")
  616. local Time = (Time or 2)
  617. local Color = (Color or Color3.new(1, 0, 1))
  618. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  619. EffectPart.Anchored = true
  620. local BillboardGui = Create("BillboardGui"){
  621. Size = UDim2.new(3, 0, 3, 0),
  622. Adornee = EffectPart,
  623. Parent = EffectPart,
  624. }
  625. local TextLabel = Create("TextLabel"){
  626. BackgroundTransparency = 1,
  627. Size = UDim2.new(1, 0, 1, 0),
  628. Text = Text,
  629. Font = "SciFi",
  630. TextColor3 = Color,
  631. TextScaled = true,
  632. Parent = BillboardGui,
  633. }
  634. game.Debris:AddItem(EffectPart, (Time))
  635. EffectPart.Parent = game:GetService("Workspace")
  636. delay(0, function()
  637. local Frames = (Time / Rate)
  638. for Frame = 1, Frames do
  639. wait(Rate)
  640. local Percent = (Frame / Frames)
  641. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  642. TextLabel.TextTransparency = Percent
  643. end
  644. if EffectPart and EffectPart.Parent then
  645. EffectPart:Destroy()
  646. end
  647. end)
  648. end
  649.  
  650. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  651. for _, c in pairs(workspace:children()) do
  652. local hum = c:findFirstChild("Humanoid")
  653. if hum ~= nil then
  654. local head = c:findFirstChild("Torso")
  655. if head ~= nil then
  656. local targ = head.Position - Part.Position
  657. local mag = targ.magnitude
  658. if mag <= Magnitude and c.Name ~= Player.Name then
  659. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  660. end
  661. end
  662. end
  663. end
  664. end
  665.  
  666. EffectModel = Create("Model"){
  667. Parent = Character,
  668. Name = "EffectModel",
  669. }
  670.  
  671. Effects = {
  672. Block = {
  673. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  674. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  675. prt.Anchored = true
  676. prt.CFrame = cframe
  677. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  678. game:GetService("Debris"):AddItem(prt, 10)
  679. if Type == 1 or Type == nil then
  680. table.insert(Effects, {
  681. prt,
  682. "Block1",
  683. delay,
  684. x3,
  685. y3,
  686. z3,
  687. msh
  688. })
  689. elseif Type == 2 then
  690. table.insert(Effects, {
  691. prt,
  692. "Block2",
  693. delay,
  694. x3,
  695. y3,
  696. z3,
  697. msh
  698. })
  699. elseif Type == 3 then
  700. table.insert(Effects, {
  701. prt,
  702. "Block3",
  703. delay,
  704. x3,
  705. y3,
  706. z3,
  707. msh,
  708. Part
  709. })
  710. elseif Type == 4 then
  711. table.insert(Effects, {
  712. prt,
  713. "Block2Fire",
  714. delay,
  715. x3,
  716. y3,
  717. z3,
  718. msh
  719. })
  720. end
  721. end
  722. };
  723.  
  724. Sphere = {
  725. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  726. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  727. prt.Anchored = true
  728. prt.CFrame = cframe
  729. if parent == nil then
  730. prt.Parent = workspace
  731. else
  732. prt.Parent = parent
  733. end
  734. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  735. game:GetService("Debris"):AddItem(prt, 10)
  736. table.insert(Effects, {
  737. prt,
  738. "Cylinder",
  739. delay,
  740. x3,
  741. y3,
  742. z3,
  743. msh
  744. })
  745. end
  746. };
  747.  
  748. Blood = {
  749. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  750. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  751. prt.Anchored = true
  752. prt.CFrame = cframe
  753. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  754. game:GetService("Debris"):AddItem(prt, 10)
  755. table.insert(Effects, {
  756. prt,
  757. "Blood",
  758. delay,
  759. x3,
  760. y3,
  761. z3,
  762. msh
  763. })
  764. end
  765. };
  766.  
  767. Blast = {
  768. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  769. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  770. prt.Anchored = true
  771. prt.CFrame = cframe
  772. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  773. game:GetService("Debris"):AddItem(prt, 10)
  774. table.insert(Effects, {
  775. prt,
  776. "Block4",
  777. delay,
  778. x3,
  779. y3,
  780. z3,
  781. msh,
  782. Part
  783. })
  784. end
  785. };
  786.  
  787. Ring = {
  788. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  789. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  790. prt.Anchored = true
  791. prt.CFrame = cframe
  792. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  793. game:GetService("Debris"):AddItem(prt, 10)
  794. table.insert(Effects, {
  795. prt,
  796. "Cylinder",
  797. delay,
  798. x3,
  799. y3,
  800. z3,
  801. msh
  802. })
  803. end
  804. };
  805.  
  806. Cylinder = {
  807. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  808. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  809. prt.Anchored = true
  810. prt.CFrame = cframe
  811. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  812. game:GetService("Debris"):AddItem(prt, 10)
  813. table.insert(Effects, {
  814. prt,
  815. "Cylinder",
  816. delay,
  817. x3,
  818. y3,
  819. z3,
  820. msh
  821. })
  822. end
  823. };
  824.  
  825. Head = {
  826. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  827. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  828. prt.Anchored = true
  829. prt.CFrame = cframe
  830. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  831. game:GetService("Debris"):AddItem(prt, 10)
  832. table.insert(Effects, {
  833. prt,
  834. "Cylinder",
  835. delay,
  836. x3,
  837. y3,
  838. z3,
  839. msh
  840. })
  841. end
  842. };
  843.  
  844. Wave = {
  845. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  846. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  847. prt.Anchored = true
  848. prt.CFrame = cframe
  849. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  850. game:GetService("Debris"):AddItem(prt, 10)
  851. table.insert(Effects, {
  852. prt,
  853. "Cylinder",
  854. delay,
  855. x3,
  856. y3,
  857. z3,
  858. msh
  859. })
  860. end
  861. };
  862.  
  863. Break = {
  864. Create = function(brickcolor, cframe, x1, y1, z1)
  865. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  866. prt.Anchored = true
  867. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  868. game:GetService("Debris"):AddItem(prt, 10)
  869. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  870. local num = math.random(10, 50) / 1000
  871. table.insert(Effects, {
  872. prt,
  873. "Shatter",
  874. num,
  875. prt.CFrame,
  876. math.random() - math.random(),
  877. 0,
  878. math.random(50, 100) / 100
  879. })
  880. end
  881. };
  882.  
  883. Elec = {
  884. Create = function(brickcolor, cff, x, y, z)
  885. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  886. prt.Anchored = true
  887. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  888. prt.CFrame = CFrame.new(prt.Position)
  889. game:GetService("Debris"):AddItem(prt, 10)
  890. xval = math.random() / 9
  891. yval = math.random() / 9
  892. zval = math.random() / 9
  893. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  894. eul1 = math.random(-50, 50)
  895. eul2 = math.random(-50, 50)
  896. eul3 = math.random(-50, 50)
  897. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  898. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  899. table.insert(Effects, {
  900. prt,
  901. "Elec",
  902. .05,
  903. x,
  904. y,
  905. z,
  906. xval,
  907. yval,
  908. zval,
  909. msh,
  910. euld,
  911. euld2
  912. })
  913. end
  914. };
  915.  
  916. Elec2 = {
  917. Create = function(brickcolor, cff, x, y, z)
  918. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  919. prt.Anchored = true
  920. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  921. prt.CFrame = CFrame.new(prt.Position)
  922. game:GetService("Debris"):AddItem(prt, 10)
  923. xval = math.random() / 7
  924. yval = math.random() / 7
  925. zval = math.random() / 7
  926. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  927. eul1 = math.random(-50, 50)
  928. eul2 = math.random(-50, 50)
  929. eul3 = math.random(-50, 50)
  930. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  931. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  932. table.insert(Effects, {
  933. prt,
  934. "Elec",
  935. .1,
  936. x,
  937. y,
  938. z,
  939. xval,
  940. yval,
  941. zval,
  942. msh,
  943. euld,
  944. euld2
  945. })
  946. end
  947. };
  948.  
  949. Clone = {
  950. Create = function()
  951. for _, v in pairs(Torso.Parent:children()) do
  952. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  953. local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
  954. c.Anchored = true
  955. c.CFrame = v.CFrame
  956. game:GetService("Debris"):AddItem(c, 5)
  957. local cmsh = nil
  958. if v.Name == "Head" then
  959. cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  960. else
  961. cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  962. end
  963. table.insert(Effects, {
  964. c,
  965. "Cylinder",
  966. 0.05,
  967. 0.1,
  968. 0.1,
  969. 0.1,
  970. cmsh
  971. })
  972. end
  973. end
  974. end
  975. };
  976.  
  977. EffectTemplate = {
  978.  
  979. };
  980. }
  981.  
  982. --gross code
  983.  
  984. demon1=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
  985. demon1.Anchored = false
  986. local mbewm2 = Instance.new("SpecialMesh", demon1)
  987. mbewm2.MeshType = "Sphere"
  988. mbewm2.Scale = Vector3.new(1,1,1)
  989. demon1.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80))
  990.  
  991. demon2=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
  992. demon2.Anchored = false
  993. local mbewm2 = Instance.new("SpecialMesh", demon2)
  994. mbewm2.MeshType = "Sphere"
  995. mbewm2.Scale = Vector3.new(1,1,1)
  996. demon2.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80))
  997.  
  998. demon2=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
  999. demon2.Anchored = false
  1000. local mbewm2 = Instance.new("SpecialMesh", demon2)
  1001. mbewm2.MeshType = "Sphere"
  1002. mbewm2.Scale = Vector3.new(1,1,1)
  1003. demon2.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80))
  1004.  
  1005. demon3=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
  1006. demon3.Anchored = false
  1007. local mbewm2 = Instance.new("SpecialMesh", demon3)
  1008. mbewm2.MeshType = "Sphere"
  1009. mbewm2.Scale = Vector3.new(1,1,1)
  1010. demon3.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80))
  1011.  
  1012. demon4=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
  1013. demon4.Anchored = false
  1014. local mbewm2 = Instance.new("SpecialMesh", demon4)
  1015. mbewm2.MeshType = "Sphere"
  1016. mbewm2.Scale = Vector3.new(1,1,1)
  1017. demon4.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80))
  1018.  
  1019. demon5=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
  1020. demon5.Anchored = false
  1021. local mbewm2 = Instance.new("SpecialMesh", demon5)
  1022. mbewm2.MeshType = "Sphere"
  1023. mbewm2.Scale = Vector3.new(1,1,1)
  1024. demon5.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80))
  1025.  
  1026. whisper1 = Instance.new("Sound",demon1)
  1027. whisper1.SoundId = "http://www.roblox.com/asset/?id=228797800"
  1028. whisper1.Looped = true
  1029. whisper1.Volume = .6
  1030. whisper1.Name = "important"
  1031. whisper1:Play()
  1032.  
  1033.  
  1034. whisper2 = Instance.new("Sound",demon2)
  1035. whisper2.SoundId = "http://www.roblox.com/asset/?id=228797800"
  1036. whisper2.Looped = true
  1037. whisper2.Volume = .6
  1038. whisper2.Name = "important"
  1039. whisper2:Play()
  1040.  
  1041. whisper3 = Instance.new("Sound",demon3)
  1042. whisper3.SoundId = "http://www.roblox.com/asset/?id=228797800"
  1043. whisper3.Looped = true
  1044. whisper3.Volume = .6
  1045. whisper3.Name = "important"
  1046. whisper3:Play()
  1047.  
  1048. whisper4 = Instance.new("Sound",demon4)
  1049. whisper4.SoundId = "http://www.roblox.com/asset/?id=228797800"
  1050. whisper4.Looped = true
  1051. whisper4.Volume = .6
  1052. whisper4.Name = "important"
  1053. whisper4:Play()
  1054.  
  1055. whisper5 = Instance.new("Sound",demon5)
  1056. whisper5.SoundId = "http://www.roblox.com/asset/?id=228797800"
  1057. whisper5.Looped = true
  1058. whisper5.Volume = .6
  1059. whisper5.Name = "important"
  1060. whisper5:Play()
  1061.  
  1062.  
  1063. bp1 = Instance.new("BodyPosition",demon1)
  1064. bp1.P = 1500
  1065. bp1.Position = demon1.Position
  1066. local roketsped = 0
  1067. local spawnPosition = (demon1.CFrame).p
  1068. demon1.CFrame = CFrame.new(spawnPosition, Torso.Position)
  1069. demon1.Velocity = demon1.CFrame.lookVector * roketsped
  1070. local GRAVITY_ACCELERATION = 196.2
  1071. bodyForce = Instance.new('BodyForce', demon1)
  1072. bodyForce.Name = 'Antigravity'
  1073. bodyForce.force = Vector3.new(0, demon1:GetMass() * GRAVITY_ACCELERATION, 0)
  1074.  
  1075. bp2 = Instance.new("BodyPosition",demon2)
  1076. bp2.P = 1500
  1077. bp2.Position = demon2.Position
  1078. local roketsped = 0
  1079. local spawnPosition = (demon2.CFrame).p
  1080. demon2.CFrame = CFrame.new(spawnPosition, Torso.Position)
  1081. demon2.Velocity = demon1.CFrame.lookVector * roketsped
  1082. local GRAVITY_ACCELERATION = 196.2
  1083. bodyForce = Instance.new('BodyForce', demon2)
  1084. bodyForce.Name = 'Antigravity'
  1085. bodyForce.force = Vector3.new(0, demon2:GetMass() * GRAVITY_ACCELERATION, 0)
  1086.  
  1087. bp3 = Instance.new("BodyPosition",demon3)
  1088. bp3.P = 1500
  1089. bp3.Position = demon3.Position
  1090. local roketsped = 0
  1091. local spawnPosition = (demon3.CFrame).p
  1092. demon3.CFrame = CFrame.new(spawnPosition, Torso.Position)
  1093. demon3.Velocity = demon3.CFrame.lookVector * roketsped
  1094. local GRAVITY_ACCELERATION = 196.2
  1095. bodyForce = Instance.new('BodyForce', demon3)
  1096. bodyForce.Name = 'Antigravity'
  1097. bodyForce.force = Vector3.new(0, demon3:GetMass() * GRAVITY_ACCELERATION, 0)
  1098.  
  1099. bp4 = Instance.new("BodyPosition",demon4)
  1100. bp4.P = 1500
  1101. bp4.Position = demon4.Position
  1102. local roketsped = 0
  1103. local spawnPosition = (demon4.CFrame).p
  1104. demon4.CFrame = CFrame.new(spawnPosition, Torso.Position)
  1105. demon4.Velocity = demon4.CFrame.lookVector * roketsped
  1106. local GRAVITY_ACCELERATION = 196.2
  1107. bodyForce = Instance.new('BodyForce', demon4)
  1108. bodyForce.Name = 'Antigravity'
  1109. bodyForce.force = Vector3.new(0, demon4:GetMass() * GRAVITY_ACCELERATION, 0)
  1110.  
  1111. bp5 = Instance.new("BodyPosition",demon5)
  1112. bp5.P = 1500
  1113. bp5.Position = demon5.Position
  1114. local roketsped = 0
  1115. local spawnPosition = (demon5.CFrame).p
  1116. demon5.CFrame = CFrame.new(spawnPosition, Torso.Position)
  1117. demon5.Velocity = demon5.CFrame.lookVector * roketsped
  1118. local GRAVITY_ACCELERATION = 196.2
  1119. bodyForce = Instance.new('BodyForce', demon5)
  1120. bodyForce.Name = 'Antigravity'
  1121. bodyForce.force = Vector3.new(0, demon5:GetMass() * GRAVITY_ACCELERATION, 0)
  1122.  
  1123. demon1.Name = "bad"
  1124. demon2.Name = "bad"
  1125. demon3.Name = "bad"
  1126. demon4.Name = "bad"
  1127. demon5.Name = "bad"
  1128.  
  1129. local con1 = demon1.Touched:connect(function(hit) if hit.Name ~= "bad" then Player.CameraMode = Enum.CameraMode.Classic Torso:Destroy() CFuncs.Sound.Create(209527203, Head, 1, 1) CFuncs.Sound.Create(432629066, Head, 1, 1) LeftArm.CanCollide = true game:GetService("Debris"):AddItem(LeftArm, 5) game:GetService("Debris"):AddItem(RightArm, 5)
  1130. RightArm.CanCollide = true end end)
  1131.  
  1132. local con2 = demon2.Touched:connect(function(hit) if hit.Name ~= "bad" then Player.CameraMode = Enum.CameraMode.Classic Torso:Destroy() CFuncs.Sound.Create(209527203, Head, 1, 1) CFuncs.Sound.Create(432629066, Head, 1, 1) LeftArm.CanCollide = true game:GetService("Debris"):AddItem(LeftArm, 5) game:GetService("Debris"):AddItem(RightArm, 5)
  1133. RightArm.CanCollide = true end end)
  1134.  
  1135. local con3 = demon3.Touched:connect(function(hit) if hit.Name ~= "bad" then Player.CameraMode = Enum.CameraMode.Classic Torso:Destroy() CFuncs.Sound.Create(209527203, Head, 1, 1) CFuncs.Sound.Create(432629066, Head, 1, 1) LeftArm.CanCollide = true game:GetService("Debris"):AddItem(LeftArm, 5) game:GetService("Debris"):AddItem(RightArm, 5)
  1136. RightArm.CanCollide = true end end)
  1137.  
  1138. local con4 = demon4.Touched:connect(function(hit) if hit.Name ~= "bad" then Player.CameraMode = Enum.CameraMode.Classic Torso:Destroy() CFuncs.Sound.Create(209527203, Head, 1, 1) CFuncs.Sound.Create(432629066, Head, 1, 1) LeftArm.CanCollide = true game:GetService("Debris"):AddItem(LeftArm, 5) game:GetService("Debris"):AddItem(RightArm, 5)
  1139. RightArm.CanCollide = true end end)
  1140.  
  1141. local con4 = demon5.Touched:connect(function(hit)if hit.Name ~= "bad" then Player.CameraMode = Enum.CameraMode.Classic Torso:Destroy() CFuncs.Sound.Create(209527203, Head, 1, 1) CFuncs.Sound.Create(432629066, Head, 1, 1) LeftArm.CanCollide = true game:GetService("Debris"):AddItem(LeftArm, 5) game:GetService("Debris"):AddItem(RightArm, 5)
  1142. RightArm.CanCollide = true end end)
  1143.  
  1144.  
  1145.  
  1146. local tp=CFuncs.Part.Create(Camera, "Glass", 0, .99, BrickColor.new("White"), "ref", Vector3.new(10000,1,10000))
  1147. tp.CFrame = Torso.CFrame * CFrame.new(0,100,0)
  1148. tp.Anchored = true
  1149.  
  1150.  
  1151.  
  1152. function glasseson()
  1153. Attack = true
  1154. Humanoid.WalkSpeed = 0
  1155. Humanoid.JumpPower = 0
  1156. tp=CFuncs.Part.Create(Torso, "Neon", 0, 1, BrickColor.new("Really black"), "ref", Vector3.new(1,1,1))
  1157. tp.CFrame = Torso.CFrame
  1158. tp.Anchored = true
  1159. for i = 0, 1, 0.1 do
  1160. swait()
  1161. PlayAnimationFromTable({
  1162. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1163. CFrame.new(0, 1.53798831, -0.0607271641, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1164. CFrame.new(1.21651638, 0.0496894419, -0.74465692, 0.939692616, 0.342020124, 1.00488698e-07, -0.219845921, 0.604022026, -0.766045153, -0.262002915, 0.719846964, 0.642786741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1165. CFrame.new(-1.07138252, 0.0392258763, -0.822793722, 0.939692974, -0.342019349, 4.83909517e-08, 0.196173996, 0.538984954, -0.819152594, 0.280166, 0.769751906, 0.573575616) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1166. CFrame.new(0.692459702, -1.98315287, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1167. CFrame.new(-0.5, -1.99999046, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1168. }, .3, false)
  1169. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(-1, 1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(350)), 1)
  1170. end
  1171. for i = 0, .5, 0.1 do
  1172. swait()
  1173. PlayAnimationFromTable({
  1174. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1175. CFrame.new(0, 1.53798831, -0.0607271641, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1176. CFrame.new(1.33964431, 0.724650919, -0.651913106, 0.983905137, 0.0593908615, -0.16853331, -0.0901150107, -0.649520218, -0.754985332, -0.154305011, 0.758021295, -0.633714259) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1177. CFrame.new(-1.11699426, 0.573325932, -1.04379082, 0.925419092, -0.163175523, 0.342013717, 0.0509470068, -0.840772271, -0.538986504, 0.37550506, 0.516213, -0.769753337) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1178. CFrame.new(0.692459702, -1.98315287, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1179. CFrame.new(-0.5, -1.99999046, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1180. }, .3, false)
  1181. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.1, 1, 0) * CFrame.Angles(math.rad(0), math.rad(360), math.rad(0)), 1)
  1182. end
  1183. local mosic2 = Instance.new("Sound",Torso)
  1184. mosic2.SoundId = "http://www.roblox.com/asset/?id=406943544"
  1185. mosic2.Looped = true
  1186. mosic2.Volume = 1
  1187. mosic2.Name = "important"
  1188. mosic2:Play()
  1189. local smonk = Instance.new("ParticleEmitter",Torso)
  1190. smonk.LightEmission = .1
  1191. smonk.Size = NumberSequence.new(0.2)
  1192. smonk.Texture = "http://www.roblox.com/asset/?ID=137243001"
  1193. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)})
  1194. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1195. smonk.Transparency = bbb
  1196. smonk.Size = aaa
  1197. smonk.ZOffset = 0
  1198. smonk.Acceleration = Vector3.new(0, -5, 0)
  1199. smonk.LockedToPart = false
  1200. smonk.EmissionDirection = "Back"
  1201. smonk.Lifetime = NumberRange.new(.1, .5)
  1202. smonk.Rate = 1000
  1203. smonk.Rotation = NumberRange.new(-100, 100)
  1204. smonk.RotSpeed = NumberRange.new(-100, 100)
  1205. smonk.Speed = NumberRange.new(4)
  1206. smonk.VelocitySpread = 100
  1207. smonk.Enabled=true
  1208. CFuncs.Sound.Create(177359995, Head, 1, 1)
  1209. Player.CameraMode = Enum.CameraMode.LockFirstPerson
  1210. for i = 0, 5, 0.1 do
  1211. swait()
  1212. PlayAnimationFromTable({
  1213. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1214. CFrame.new(0, 1.53798831, -0.0607271641, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1215. CFrame.new(1.35316098, 0.789045751, -0.264938205, 0.998222768, 0.053874854, -0.025473481, 0.0423549898, -0.94208312, -0.332694232, -0.0419219881, 0.331024021, -0.942690611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1216. CFrame.new(-1.25144863, 0.784832895, -0.439222217, 0.974767983, -0.0652274415, 0.213477939, -0.0166469999, -0.974933088, -0.221875042, 0.222599, 0.212722927, -0.951419353) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1217. CFrame.new(0.692465484, -1.98315263, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1218. CFrame.new(-0.5, -1.99999046, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1219. }, .3, false)
  1220. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(-1.3, -.8, .35) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(180)), 1)
  1221. end
  1222. glasses = true
  1223. LeftArm.Parent = workspace
  1224. RightArm.Parent = workspace
  1225. LeftArm.CanCollide = false
  1226. RightArm.CanCollide = false
  1227. CFuncs.Sound.Create(263609923, Head, 1, 1)
  1228. smonk:Destroy()
  1229. Humanoid.WalkSpeed = 10
  1230. Humanoid.JumpPower = 50
  1231. mosic2:Destroy()
  1232. FauxGlasses.Transparency = 0
  1233. Glasses.Transparency = 1
  1234. Attack = false
  1235. end
  1236.  
  1237.  
  1238. function glassesoff()
  1239. Attack = true
  1240. Humanoid.WalkSpeed = 0
  1241. Humanoid.JumpPower = 0
  1242. Glasses.Parent = workspace
  1243. for i = 0, 1, 0.1 do
  1244. swait()
  1245. PlayAnimationFromTable({
  1246. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1247. CFrame.new(0, 1.53798831, -0.0607271641, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1248. CFrame.new(1.35316098, 0.789045751, -0.264938205, 0.998222768, 0.053874854, -0.025473481, 0.0423549898, -0.94208312, -0.332694232, -0.0419219881, 0.331024021, -0.942690611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1249. CFrame.new(-1.25144863, 0.784832895, -0.439222217, 0.974767983, -0.0652274415, 0.213477939, -0.0166469999, -0.974933088, -0.221875042, 0.222599, 0.212722927, -0.951419353) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1250. CFrame.new(0.692465484, -1.98315263, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1251. CFrame.new(-0.5, -1.99999046, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1252. }, .3, false)
  1253. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(-1.3, -.8, .35) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(180)), 1)
  1254. end
  1255. FauxGlasses.Transparency = 1
  1256. Glasses.Transparency = 0
  1257. for i = 0, .5, 0.1 do
  1258. swait()
  1259. PlayAnimationFromTable({
  1260. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1261. CFrame.new(0, 1.53798831, -0.0607271641, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1262. CFrame.new(1.33964431, 0.724650919, -0.651913106, 0.983905137, 0.0593908615, -0.16853331, -0.0901150107, -0.649520218, -0.754985332, -0.154305011, 0.758021295, -0.633714259) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1263. CFrame.new(-1.11699426, 0.573325932, -1.04379082, 0.925419092, -0.163175523, 0.342013717, 0.0509470068, -0.840772271, -0.538986504, 0.37550506, 0.516213, -0.769753337) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1264. CFrame.new(0.692459702, -1.98315287, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1265. CFrame.new(-0.5, -1.99999046, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1266. }, .3, false)
  1267. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.1, 1, 0) * CFrame.Angles(math.rad(0), math.rad(360), math.rad(0)), 1)
  1268. end
  1269.  
  1270. for i = 0, .5, 0.1 do
  1271. swait()
  1272. PlayAnimationFromTable({
  1273. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1274. CFrame.new(0, 1.53798831, -0.0607271641, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1275. CFrame.new(1.21651638, 0.0496894419, -0.74465692, 0.939692616, 0.342020124, 1.00488698e-07, -0.219845921, 0.604022026, -0.766045153, -0.262002915, 0.719846964, 0.642786741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1276. CFrame.new(-1.07138252, 0.0392258763, -0.822793722, 0.939692974, -0.342019349, 4.83909517e-08, 0.196173996, 0.538984954, -0.819152594, 0.280166, 0.769751906, 0.573575616) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1277. CFrame.new(0.692459702, -1.98315287, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1278. CFrame.new(-0.5, -1.99999046, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1279. }, .3, false)
  1280. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(-1, 1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(350)), 1)
  1281. end
  1282. glasses = false
  1283. Player.CameraMode = Enum.CameraMode.Classic
  1284. Glasses.Parent = m
  1285. Humanoid.WalkSpeed = 10
  1286. Humanoid.JumpPower = 50
  1287. Attack = false
  1288. end
  1289.  
  1290.  
  1291.  
  1292.  
  1293. glasses = false
  1294.  
  1295. Mouse.KeyDown:connect(function(Key)
  1296. Key = Key:lower()
  1297. if Attack == false and Key == 'f' and glasses == false then
  1298. glasseson()
  1299. RootPart.CFrame = Part1.CFrame
  1300. mosic = Instance.new("Sound",Player.PlayerGui)
  1301. mosic.SoundId = "http://www.roblox.com/asset/?id=406943544"
  1302. mosic.Looped = true
  1303. mosic.Volume = 1
  1304. mosic.Name = "important"
  1305. mosic:Play()
  1306. elseif Attack == false and Key == 'f' and glasses == true then
  1307. glassesoff()
  1308. Character.Parent = workspace
  1309. LeftArm.Parent = Character
  1310. RightArm.Parent = Character
  1311. RootPart.CFrame = tp.CFrame
  1312. CFuncs.Sound.Create("263609898", Head, 1, 1)
  1313. mosic:Destroy()
  1314. tp:Destroy()
  1315. end
  1316. end)
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330. while true do
  1331. swait()
  1332. for i, v in pairs(Character:GetChildren()) do
  1333. if v:IsA("Part") then
  1334. v.Material = "SmoothPlastic"
  1335. elseif v:IsA("Accessory") then
  1336. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1337. end
  1338. end
  1339. for i, v in pairs(Character:GetChildren()) do
  1340. if v:IsA'Model' then
  1341. for _, c in pairs(v:GetChildren()) do
  1342. if c:IsA'Part' then
  1343. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1344. end
  1345. end
  1346. end
  1347. end
  1348. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1349. Velocity = RootPart.Velocity.y
  1350. Sine = Sine + Change
  1351. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1352. if RootPart.Velocity.y > 1 and hit == nil then
  1353. Anim = "Jump"
  1354. if Attack == false then
  1355. Change = 1
  1356. PlayAnimationFromTable({
  1357. CFrame.new(-0.0142319221, 0.0233184248, 0.0206878185, 1.00000012, 1.49011612e-08, 0, 2.72463048e-08, 0.965925992, 0.258818656, 2.98023224e-08, -0.258818597, 0.965925932) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1358. CFrame.new(0.0172861218, 1.54588914, -0.00366462767, 0.999084175, 0.00742999092, -0.0421376228, -0.011074245, 0.996153653, -0.0869220346, 0.0413297117, 0.0873090774, 0.995323658) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1359. CFrame.new(1.54051697, 0.254249156, -0.521965742, 0.890014946, -0.152965426, -0.429505706, -0.32768172, 0.440404594, -0.835864007, 0.317014515, 0.884672523, 0.341842651) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1360. CFrame.new(-1.55745959, 0.112057857, 0.343250573, 0.986049891, 0.113037676, 0.12218184, -0.158506706, 0.861737013, 0.481959641, -0.050808996, -0.49460274, 0.867632747) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1361. CFrame.new(0.566533923, -1.59700418, -0.481964171, 0.999206185, -0.0385679156, -0.00998616219, 0.0397087261, 0.94381088, 0.328091979, -0.00322881341, -0.328228056, 0.944592893) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1362. CFrame.new(-0.433014154, -1.95977831, 0.0051856637, 1, 0, 0, 0, 0.965925813, 0.258819401, -2.98023224e-08, -0.258819431, 0.965925753) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1363. }, .3, false)
  1364. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.3)
  1365. end
  1366. elseif RootPart.Velocity.y < -1 and hit == nil then
  1367. Anim = "Fall"
  1368. if Attack == false then
  1369. Change = 1
  1370. PlayAnimationFromTable({
  1371. CFrame.new(-0.0142319212, 0.0233183783, 0.0206877608, 1.00000012, 1.49011612e-08, 2.98023224e-08, 2.72463048e-08, 0.984807968, 0.173647314, 2.98023224e-08, -0.17364724, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1372. CFrame.new(0.0154076805, 1.5522356, -0.0916171968, 0.999084175, 0.0180828422, -0.0387787819, -0.00742995739, 0.9658584, 0.258964151, 0.0421376526, -0.258438855, 0.965108156) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1373. CFrame.new(1.44003379, 0.0510732532, -0.418421805, 0.890014946, -0.0760585517, -0.449542671, -0.298804998, 0.647417247, -0.701118112, 0.344367683, 0.75833106, 0.553484201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1374. CFrame.new(-1.55745959, 0.141547889, 0.332177758, 0.986049891, 0.113037676, 0.12218184, -0.162331849, 0.815350056, 0.555745184, -0.036800772, -0.567826271, 0.822325349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1375. CFrame.new(0.573113441, -1.8059541, -0.374102622, 0.999206126, -0.0373207629, 0.0139417946, 0.0392762311, 0.98143959, -0.187706873, -0.00667765737, 0.188105404, 0.982126117) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1376. CFrame.new(-0.433013678, -1.95186841, 0.175973177, 1, 0, 2.98023224e-08, 0, 0.98480773, 0.173648328, 2.98023224e-08, -0.173648328, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1377. }, .3, false)
  1378. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.3)
  1379. end
  1380. elseif TorsoVelocity < 1 and hit ~= nil then
  1381. Anim = "Idle"
  1382. if Attack == false then
  1383. Change = 1
  1384. PlayAnimationFromTable({
  1385. CFrame.new(-0, -0, 0, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414) * CFrame.new(0, 0 + .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1386. CFrame.new(1.34110451e-07, 1.49998593, -1.49011612e-07, 0.76604414, 0.0560228154, -0.640341997, 0, 0.996194661, 0.087155968, 0.642788053, -0.0667653158, 0.763129056) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .02 * math.cos(Sine/15), 0, 0),
  1387. CFrame.new(1.62554669, 0.0800072104, -0.00825580303, 0.98480773, -0.173648, 4.47034836e-07, 0.173647985, 0.984807849, -5.96214491e-08, -4.76837158e-07, 1.34110451e-07, 1.00000012) * CFrame.new(0, 0 + .02 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0 - .03 * math.cos(Sine/15)),
  1388. CFrame.new(-1.61308134, 0.0621920712, 0.0519417189, 0.98480773, 0.173648, 4.47034836e-07, -0.173647985, 0.984807849, 5.96214491e-08, -4.76837158e-07, -1.34110451e-07, 1.00000012) * CFrame.new(0, 0 + .02 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0 + .03 * math.cos(Sine/15)),
  1389. CFrame.new(0.651529193, -1.96177566, 0.0285208113, 0.996194839, -0.0871560052, -1.49011612e-07, 0.0871560052, 0.996194661, 1.05878144e-06, 0, -1.06170774e-06, 1) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1390. CFrame.new(-0.481398791, -1.99999607, -0.035370484, 0.98480773, 0, 0.173648447, 0, 1, 0, -0.173648447, 0, 0.98480773) * CFrame.new(0, 0 - .05 * math.cos(Sine/15), 0) * CFrame.Angles(0, 0, 0),
  1391. }, .3, false)
  1392. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.3)
  1393. end
  1394. elseif TorsoVelocity > 2 and hit ~= nil then
  1395. Anim = "Walk"
  1396. if Attack == false then
  1397. PlayAnimationFromTable({
  1398. CFrame.new(-0.0142326364, 0.023318341, 0.0206875801, 1.00000012, 1.5803721e-08, 5.96046448e-08, 2.72463048e-08, 1, 5.61747235e-08, 2.98023224e-08, 2.44280045e-08, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(-.2, math.rad(0 - 10 * math.cos(Sine/6)/2), 0),
  1399. CFrame.new(1.03447394e-06, 1.49992573, -8.27737608e-07, 0.999084234, 2.72463048e-08, -0.0427876711, 2.93197502e-08, 1, 2.55612349e-08, 0.0427877009, 5.61747235e-08, 0.999084353) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1400. CFrame.new(1.66816366, 0.125450149, 0.167713135, 0.975411952, -0.217704624, -0.0342991352, 0.22028406, 0.9678877, 0.12111339, 0.0068307519, -0.125690982, 0.992045999) * CFrame.new(0, 0, 0 + .2 * math.cos(Sine/6)/2) * CFrame.Angles(math.rad(0 - 30 * math.cos(Sine/6)/2), 0, 0),
  1401. CFrame.new(-1.58983934, 0.0268005617, -0.146883398, 0.986049891, 0.166255936, -0.00805497169, -0.16625604, 0.981399775, -0.0959867239, -0.00805321336, 0.0959868878, 0.995350063) * CFrame.new(0, 0, 0 - .3 * math.cos(Sine/6)/2) * CFrame.Angles(math.rad(0 + 30 * math.cos(Sine/6)/2), 0, 0),
  1402. CFrame.new(.5, -1.64 - 0.8 * math.cos(Sine / 6) / 2, 0 + 2 * math.sin(Sine / 6) / 3) * CFrame.Angles(math.rad(-50 * math.sin(Sine / 6)), math.rad(-3), math.rad(0)),
  1403. CFrame.new(-.5, -1.64 + 0.8 * math.cos(Sine / 6) / 2, 0 - 2 * math.sin(Sine / 6) / 3) * CFrame.Angles(math.rad(50 * math.sin(Sine / 6)), math.rad(3), math.rad(0)),}, .3, false)
  1404. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.3)
  1405. end
  1406. end
  1407. if #Effects > 0 then
  1408. for e = 1, #Effects do
  1409. if Effects[e] ~= nil then
  1410. local Thing = Effects[e]
  1411. if Thing ~= nil then
  1412. local Part = Thing[1]
  1413. local Mode = Thing[2]
  1414. local Delay = Thing[3]
  1415. local IncX = Thing[4]
  1416. local IncY = Thing[5]
  1417. if Thing[1].Transparency <= 1 then
  1418. if Thing[2] == "Block1" then
  1419. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1420. Mesh = Thing[7]
  1421. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1422. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1423. elseif Thing[2] == "Ice" then
  1424. if Thing[6] <= Thing[5] then
  1425. Thing[6] = Thing[6] + .05
  1426. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  1427. else
  1428. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1429. end
  1430. elseif Thing[2] == "Shatter" then
  1431. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1432. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1433. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1434. Thing[6] = Thing[6] + Thing[5]
  1435. elseif Thing[2] == "Block2" then
  1436. Thing[1].CFrame = Thing[1].CFrame
  1437. Mesh = Thing[7]
  1438. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1439. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1440. elseif Thing[2] == "Block3" then
  1441. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1442. Mesh = Thing[7]
  1443. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1444. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1445. elseif Thing[2] == "Block4" then
  1446. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1447. Mesh = Thing[7]
  1448. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1449. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1450. elseif Thing[2] == "Block2Fire" then
  1451. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1452. Mesh = Thing[7]
  1453. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1454. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1455. if Thing[1].Transparency >= .3 then
  1456. Thing[1].BrickColor = BrickColor.new("Bright red")
  1457. else
  1458. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1459. end
  1460. elseif Thing[2] == "Cylinder" then
  1461. Mesh = Thing[7]
  1462. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1463. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1464. elseif Thing[2] == "Blood" then
  1465. Mesh = Thing[7]
  1466. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  1467. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1468. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1469. elseif Thing[2] == "Elec" then
  1470. Mesh = Thing[10]
  1471. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1472. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1473. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  1474. Thing[1].Rotation = Vector3.new(0, 0, 0)
  1475. elseif Thing[2] == "Disappear" then
  1476. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1477. end
  1478. else
  1479. Part.Parent = nil
  1480. table.remove(Effects, e)
  1481. end
  1482. end
  1483. end
  1484. end
  1485. end
  1486. soundbork(Character)
  1487. Humanoid.Health = math.huge
  1488. if glasses == true then
  1489. bp1.Position = Torso.Position
  1490. bp2.Position = Torso.Position
  1491. bp3.Position = Torso.Position
  1492. bp4.Position = Torso.Position
  1493. bp5.Position = Torso.Position
  1494. end
  1495.  
  1496. if glasses == false then
  1497. bp1.Position = demon1.Position
  1498. bp2.Position = demon2.Position
  1499. bp3.Position = demon3.Position
  1500. bp4.Position = demon4.Position
  1501. bp5.Position = demon5.Position
  1502. end
  1503.  
  1504. if not Part1 then
  1505. function sandbox(var,func)
  1506. local env = getfenv(func)
  1507. local newenv = setmetatable({},{
  1508. __index = function(self,k)
  1509. if k=="script" then
  1510. return var
  1511. else
  1512. return env[k]
  1513. end
  1514. end,
  1515. })
  1516. setfenv(func,newenv)
  1517. return func
  1518. end
  1519. cors = {}
  1520. mas = Instance.new("Model",Camera)
  1521. Model0 = Instance.new("Model")
  1522. Part1 = Instance.new("Part")
  1523. Part2 = Instance.new("Part")
  1524. Part3 = Instance.new("Part")
  1525. Part4 = Instance.new("Part")
  1526. Part5 = Instance.new("Part")
  1527. Part6 = Instance.new("Part")
  1528. Part7 = Instance.new("Part")
  1529. Model0.Name = "Netherworld"
  1530. Model0.Parent = mas
  1531. Part1.Name = "Spart"
  1532. Part1.Parent = Model0
  1533. Part1.Material = Enum.Material.Neon
  1534. Part1.Transparency = 1
  1535. Part1.Anchored = true
  1536. Part1.CanCollide = false
  1537. Part1.Size = Vector3.new(4, 1, 2)
  1538. Part1.CFrame = CFrame.new(144.5, 1290.63574, 2.74698257, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1539. Part1.BottomSurface = Enum.SurfaceType.Smooth
  1540. Part1.TopSurface = Enum.SurfaceType.Smooth
  1541. Part1.Position = Vector3.new(144.5, 1290.63574, 2.74698257)
  1542. Part2.Parent = Model0
  1543. Part2.Material = Enum.Material.Neon
  1544. Part2.BrickColor = BrickColor.new("Really black")
  1545. Part2.Transparency = 0.0099999997764826
  1546. Part2.Anchored = true
  1547. Part2.Size = Vector3.new(233.790359, 1.15406489, 245.924103)
  1548. Part2.CFrame = CFrame.new(130.757782, 1311.9447, 21.3496704, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1549. Part2.BottomSurface = Enum.SurfaceType.Smooth
  1550. Part2.TopSurface = Enum.SurfaceType.Smooth
  1551. Part2.Position = Vector3.new(130.757782, 1311.9447, 21.3496704)
  1552. Part3.Parent = Model0
  1553. Part3.Material = Enum.Material.Neon
  1554. Part3.BrickColor = BrickColor.new("Really black")
  1555. Part3.Transparency = 0.0099999997764826
  1556. Part3.Rotation = Vector3.new(90, 90, 0)
  1557. Part3.Anchored = true
  1558. Part3.Size = Vector3.new(233.790359, 1.15406489, 233.317429)
  1559. Part3.CFrame = CFrame.new(131.542297, 1193.58923, -99.4936905, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  1560. Part3.BottomSurface = Enum.SurfaceType.Smooth
  1561. Part3.TopSurface = Enum.SurfaceType.Smooth
  1562. Part3.Position = Vector3.new(131.542297, 1193.58923, -99.4936905)
  1563. Part3.Orientation = Vector3.new(0, 90, 90)
  1564. Part4.Parent = Model0
  1565. Part4.Material = Enum.Material.Neon
  1566. Part4.BrickColor = BrickColor.new("Really black")
  1567. Part4.Transparency = 0.0099999997764826
  1568. Part4.Rotation = Vector3.new(0, 0, 90)
  1569. Part4.Anchored = true
  1570. Part4.Size = Vector3.new(232.420349, 1.15406489, 242.134125)
  1571. Part4.CFrame = CFrame.new(246.358215, 1194.35278, 22.2144928, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  1572. Part4.BottomSurface = Enum.SurfaceType.Smooth
  1573. Part4.TopSurface = Enum.SurfaceType.Smooth
  1574. Part4.Position = Vector3.new(246.358215, 1194.35278, 22.2144928)
  1575. Part4.Orientation = Vector3.new(0, 0, 90)
  1576. Part5.Parent = Model0
  1577. Part5.Material = Enum.Material.Neon
  1578. Part5.BrickColor = BrickColor.new("Really black")
  1579. Part5.Transparency = 0.0099999997764826
  1580. Part5.Rotation = Vector3.new(90, 90, 0)
  1581. Part5.Anchored = true
  1582. Part5.Size = Vector3.new(233.790359, 1.15406489, 233.317429)
  1583. Part5.CFrame = CFrame.new(131.542297, 1193.58923, 143.942886, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  1584. Part5.BottomSurface = Enum.SurfaceType.Smooth
  1585. Part5.TopSurface = Enum.SurfaceType.Smooth
  1586. Part5.Position = Vector3.new(131.542297, 1193.58923, 143.942886)
  1587. Part5.Orientation = Vector3.new(0, 90, 90)
  1588. Part6.Parent = Model0
  1589. Part6.Material = Enum.Material.Neon
  1590. Part6.BrickColor = BrickColor.new("Really black")
  1591. Part6.Transparency = 0.0099999997764826
  1592. Part6.Rotation = Vector3.new(0, 0, 90)
  1593. Part6.Anchored = true
  1594. Part6.Size = Vector3.new(232.420349, 1.15406489, 242.134125)
  1595. Part6.CFrame = CFrame.new(18, 1194.35278, 22.2144928, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  1596. Part6.BottomSurface = Enum.SurfaceType.Smooth
  1597. Part6.TopSurface = Enum.SurfaceType.Smooth
  1598. Part6.Orientation = Vector3.new(0, 0, 90)
  1599. Part7.Parent = Model0
  1600. Part7.Material = Enum.Material.Neon
  1601. Part7.BrickColor = BrickColor.new("Really black")
  1602. Part7.Transparency = 0.0099999997764826
  1603. Part7.Anchored = true
  1604. Part7.Size = Vector3.new(233.790359, 1.15406489, 244.754089)
  1605. Part7.CFrame = CFrame.new(130.757782, 1077.43396, 20.7646637, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1606. Part7.BottomSurface = Enum.SurfaceType.Smooth
  1607. Part7.TopSurface = Enum.SurfaceType.Smooth
  1608. Part7.Position = Vector3.new(130.757782, 1077.43396, 20.7646637)
  1609. for i,v in pairs(mas:GetChildren()) do
  1610. v.Parent = workspace
  1611. pcall(function() v:MakeJoints() end)
  1612. end
  1613. mas:Destroy()
  1614. for i,v in pairs(cors) do
  1615. spawn(function()
  1616. pcall(v)
  1617. end)
  1618. end
  1619. end
  1620. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement