Advertisement
McSans

Untitled

Apr 28th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.91 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,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code V2 by Mokiros")
  6. local RealPlayer = RealPlayer
  7. script.Parent = RealPlayer.Character
  8.  
  9. --Fake event to make stuff like Mouse.KeyDown work
  10. local Disconnect_Function = function(this)
  11. this[1].Functions[this[2]] = nil
  12. end
  13. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  14. local FakeEvent_Metatable = {__index={
  15. Connect = function(this,f)
  16. local i = tostring(math.random(0,10000))
  17. while this.Functions[i] do
  18. i = tostring(math.random(0,10000))
  19. end
  20. this.Functions[i] = f
  21. return setmetatable({this,i},Disconnect_Metatable)
  22. end
  23. }}
  24. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  25. local function fakeEvent()
  26. return setmetatable({Functions={}},FakeEvent_Metatable)
  27. end
  28.  
  29. --Creating fake input objects with fake variables
  30. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  31. FakeMouse.keyUp = FakeMouse.KeyUp
  32. FakeMouse.keyDown = FakeMouse.KeyDown
  33. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  34. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  35. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  36. end}
  37. --Merged 2 functions into one by checking amount of arguments
  38. CAS.UnbindAction = CAS.BindAction
  39.  
  40. --This function will trigger the events that have been :Connect()'ed
  41. local function TriggerEvent(self,ev,...)
  42. for _,f in pairs(self[ev].Functions) do
  43. f(...)
  44. end
  45. end
  46. FakeMouse.TriggerEvent = TriggerEvent
  47. UIS.TriggerEvent = TriggerEvent
  48.  
  49. --Client communication
  50. local Event = Instance.new("RemoteEvent")
  51. Event.Name = "UserInput_Event"
  52. Event.OnServerEvent:Connect(function(plr,io)
  53. if plr~=RealPlayer then return end
  54. FakeMouse.Target = io.Target
  55. FakeMouse.Hit = io.Hit
  56. if not io.isMouse then
  57. local b = io.UserInputState == Enum.UserInputState.Begin
  58. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  59. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  60. end
  61. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  62. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  63. end
  64. for _,t in pairs(CAS.Actions) do
  65. for _,k in pairs(t.Keys) do
  66. if k==io.KeyCode then
  67. t.Function(t.Name,io.UserInputState,io)
  68. end
  69. end
  70. end
  71. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  72. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  73. end
  74. end)
  75. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  76. local Mouse = owner:GetMouse()
  77. local UIS = game:GetService("UserInputService")
  78. local input = function(io,RobloxHandled)
  79. if RobloxHandled then return end
  80. --Since InputObject is a client-side instance, we create and pass table instead
  81. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  82. end
  83. UIS.InputBegan:Connect(input)
  84. UIS.InputEnded:Connect(input)
  85. local h,t
  86. --Give the server mouse data every second frame, but only if the values changed
  87. --If player is not moving their mouse, client won't fire events
  88. local HB = game:GetService("RunService").Heartbeat
  89. while true do
  90. if h~=Mouse.Hit or t~=Mouse.Target then
  91. h,t=Mouse.Hit,Mouse.Target
  92. Event:FireServer({isMouse=true,Target=t,Hit=h})
  93. end
  94. --Wait 2 frames
  95. for i=1,2 do
  96. HB:Wait()
  97. end
  98. end]==],script)
  99.  
  100. ----Sandboxed game object that allows the usage of client-side methods and services
  101. --Real game object
  102. local RealGame = game
  103.  
  104. --Metatable for fake service
  105. local FakeService_Metatable = {
  106. __index = function(self,k)
  107. local s = rawget(self,"_RealService")
  108. if s then
  109. return typeof(s[k])=="function"
  110. and function(_,...)return s[k](s,...)end or s[k]
  111. end
  112. end,
  113. __newindex = function(self,k,v)
  114. local s = rawget(self,"_RealService")
  115. if s then s[k]=v end
  116. end
  117. }
  118. local function FakeService(t,RealService)
  119. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  120. return setmetatable(t,FakeService_Metatable)
  121. end
  122.  
  123. --Fake game object
  124. local FakeGame = {
  125. GetService = function(self,s)
  126. return rawget(self,s) or RealGame:GetService(s)
  127. end,
  128. Players = FakeService({
  129. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  130. },"Players"),
  131. UserInputService = FakeService(UIS,"UserInputService"),
  132. ContextActionService = FakeService(CAS,"ContextActionService"),
  133. RunService = FakeService({
  134. _btrs = {},
  135. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  136. BindToRenderStep = function(self,name,_,fun)
  137. self._btrs[name] = self.Heartbeat:Connect(fun)
  138. end,
  139. UnbindFromRenderStep = function(self,name)
  140. self._btrs[name]:Disconnect()
  141. end,
  142. },"RunService")
  143. }
  144. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  145. FakeGame.service = FakeGame.GetService
  146. FakeService(FakeGame,game)
  147. --Changing owner to fake player object to support owner:GetMouse()
  148. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  149. end
  150. wait(1 / 60)
  151. local sfx = {
  152. 619083295,
  153. }
  154.  
  155.  
  156. Effects = { }
  157. local Player = game.Players.localPlayer
  158. local Mouse = Player:GetMouse()
  159. local Character = Player.Character
  160. local Humanoid = Character.Humanoid
  161. local Head = Character.Head
  162. local RootPart = Character.HumanoidRootPart
  163. local Torso = Character.Torso
  164. local LeftArm = Character["Left Arm"]
  165. local RightArm = Character["Right Arm"]
  166. local LeftLeg = Character["Left Leg"]
  167. local RightLeg = Character["Right Leg"]
  168. local Camera = game.Workspace.CurrentCamera
  169. local RootJoint = RootPart.RootJoint
  170. local Equipped = false
  171. local Attack = false
  172. local Anim = 'Idle'
  173. local Idle = 0
  174. local Combo = 1
  175. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  176. local Velocity = RootPart.Velocity.y
  177. local Sine = 0
  178. local Change = 1
  179.  
  180. local RbxUtility = LoadLibrary("RbxUtility")
  181. local Create = RbxUtility.Create
  182.  
  183. Humanoid.WalkSpeed = 10
  184. Humanoid.JumpPower = 50
  185. Humanoid.Animator.Parent = nil
  186. Character.Animate.Parent = nil
  187.  
  188. local newMotor = function(part0, part1, c0, c1)
  189. local w = Create('Motor'){
  190. Parent = part0,
  191. Part0 = part0,
  192. Part1 = part1,
  193. C0 = c0,
  194. C1 = c1,
  195. }
  196. return w
  197. end
  198.  
  199.  
  200.  
  201. function clerp(a, b, t)
  202. return a:lerp(b, t)
  203. end
  204.  
  205. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  206. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  207.  
  208. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  209. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  210. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  211. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  212. RootJoint.C1 = CFrame.new(0, 0, 0)
  213. RootJoint.C0 = CFrame.new(0, 0, 0)
  214. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  215. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  216.  
  217. local rarmc1 = RW.C1
  218. local larmc1 = LW.C1
  219. local rlegc1 = RH.C1
  220. local llegc1 = LH.C1
  221.  
  222. local resetc1 = false
  223.  
  224. function PlayAnimationFromTable(table, speed, bool)
  225. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  226. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  227. RW.C0 = clerp(RW.C0, table[3], speed)
  228. LW.C0 = clerp(LW.C0, table[4], speed)
  229. RH.C0 = clerp(RH.C0, table[5], speed)
  230. LH.C0 = clerp(LH.C0, table[6], speed)
  231. if bool == true then
  232. if resetc1 == false then
  233. resetc1 = true
  234. RootJoint.C1 = RootJoint.C1
  235. Torso.Neck.C1 = Torso.Neck.C1
  236. RW.C1 = rarmc1
  237. LW.C1 = larmc1
  238. RH.C1 = rlegc1
  239. LH.C1 = llegc1
  240. end
  241. end
  242. end
  243.  
  244. ArtificialHB = Create("BindableEvent"){
  245. Parent = script,
  246. Name = "Heartbeat",
  247. }
  248.  
  249. script:WaitForChild("Heartbeat")
  250.  
  251. frame = 1 / 30
  252. tf = 0
  253. allowframeloss = false
  254. tossremainder = false
  255. lastframe = tick()
  256. script.Heartbeat:Fire()
  257.  
  258.  
  259. spawn(function()
  260. while true do
  261. if Anim == "Walk" then
  262. CFuncs.Sound.Create(sfx[math.random(#sfx)], Head, .5, 1)
  263. end
  264. wait(.6)
  265. end
  266. end)
  267.  
  268.  
  269.  
  270. local function soundbork(obj)
  271. if obj:IsA("Sound") and obj.Name ~= "important" then
  272. obj.Volume = 0
  273. return
  274. end
  275.  
  276.  
  277. local children = obj:GetChildren()
  278. for i = 1, #children do
  279. soundbork(children[i])
  280. end
  281.  
  282. return
  283. end
  284.  
  285. game:GetService("RunService").Heartbeat:connect(function(s, p)
  286. tf = tf + s
  287. if tf >= frame then
  288. if allowframeloss then
  289. script.Heartbeat:Fire()
  290. lastframe = tick()
  291. else
  292. for i = 1, math.floor(tf / frame) do
  293. script.Heartbeat:Fire()
  294. end
  295. lastframe = tick()
  296. end
  297. if tossremainder then
  298. tf = 0
  299. else
  300. tf = tf - frame * math.floor(tf / frame)
  301. end
  302. end
  303. end)
  304.  
  305. function swait(num)
  306. if num == 0 or num == nil then
  307. ArtificialHB.Event:wait()
  308. else
  309. for i = 0, num do
  310. ArtificialHB.Event:wait()
  311. end
  312. end
  313. end
  314.  
  315. local m = Create("Model"){
  316. Parent = Character,
  317. Name = "WeaponModel"
  318. }
  319.  
  320. function RemoveOutlines(part)
  321. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  322. end
  323.  
  324. CFuncs = {
  325. Part = {
  326. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  327. local Part = Create("Part"){
  328. Parent = Parent,
  329. Reflectance = Reflectance,
  330. Transparency = Transparency,
  331. CanCollide = false,
  332. Locked = true,
  333. BrickColor = BrickColor.new(tostring(BColor)),
  334. Name = Name,
  335. Size = Size,
  336. Material = Material,
  337. }
  338. RemoveOutlines(Part)
  339. if Size == Vector3.new() then
  340. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  341. else
  342. Part.Size = Size
  343. end
  344. return Part
  345. end;
  346. };
  347.  
  348. Mesh = {
  349. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  350. local Msh = Create(Mesh){
  351. Parent = Part,
  352. Offset = OffSet,
  353. Scale = Scale,
  354. }
  355. if Mesh == "SpecialMesh" then
  356. Msh.MeshType = MeshType
  357. Msh.MeshId = MeshId
  358. end
  359. return Msh
  360. end;
  361. };
  362.  
  363. Weld = {
  364. Create = function(Parent, Part0, Part1, C0, C1)
  365. local Weld = Create("Weld"){
  366. Parent = Parent,
  367. Part0 = Part0,
  368. Part1 = Part1,
  369. C0 = C0,
  370. C1 = C1,
  371. }
  372. return Weld
  373. end;
  374. };
  375.  
  376. Sound = {
  377. Create = function(id, par, vol, pit)
  378. coroutine.resume(coroutine.create(function()
  379. local S = Create("Sound"){
  380. Volume = vol,
  381. Pitch = pit or 1,
  382. SoundId = "rbxassetid://" .. id,
  383. Parent = par or workspace,
  384. Name = "important"
  385. }
  386. wait()
  387. S:play()
  388. game:GetService("Debris"):AddItem(S, 10)
  389. end))
  390. end;
  391. };
  392.  
  393. Sound2 = {
  394. Create = function(id, par, vol, pit)
  395. coroutine.resume(coroutine.create(function()
  396. local S = Create("Sound"){
  397. Volume = vol,
  398. Pitch = pit or 1,
  399. SoundId = "rbxassetid://" .. id,
  400. Parent = par or workspace,
  401. Name = "important",
  402. Looped = true
  403. }
  404. wait()
  405. S:play()
  406. game:GetService("Debris"):AddItem(S, 10)
  407. end))
  408. end;
  409. };
  410.  
  411. ParticleEmitter = {
  412. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  413. local Particle = Create("ParticleEmitter"){
  414. Parent = Parent,
  415. Color = ColorSequence.new(Color1, Color2),
  416. LightEmission = LightEmission,
  417. Size = Size,
  418. Texture = Texture,
  419. Transparency = Transparency,
  420. ZOffset = ZOffset,
  421. Acceleration = Accel,
  422. Drag = Drag,
  423. LockedToPart = LockedToPart,
  424. VelocityInheritance = VelocityInheritance,
  425. EmissionDirection = EmissionDirection,
  426. Enabled = Enabled,
  427. Lifetime = LifeTime,
  428. Rate = Rate,
  429. Rotation = Rotation,
  430. RotSpeed = RotSpeed,
  431. Speed = Speed,
  432. VelocitySpread = VelocitySpread,
  433. }
  434. return Particle
  435. end;
  436. };
  437.  
  438. CreateTemplate = {
  439.  
  440. };
  441. }
  442.  
  443.  
  444.  
  445. function RayCast(Position, Direction, Range, Ignore)
  446. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  447. end
  448.  
  449. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(0.779999912, 0.780000091, 0.750000238))
  450. 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))
  451.  
  452. FHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(0.779999912, 0.780000091, 0.750000238))
  453. 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))
  454.  
  455. Glasses=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Institutional white","Glasses",Vector3.new(1.04999995, 1, 1))
  456. 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))
  457. 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))
  458. gl00ses.TextureId = "http://www.roblox.com/asset/?id=38205002"
  459.  
  460.  
  461. FauxHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","FauxHandle",Vector3.new(0.779999912, 0.780000091, 0.750000238))
  462. 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))
  463. FauxGlasses=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Institutional white","FauxGlasses",Vector3.new(1.04999995, 1, 1))
  464. 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))
  465. 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))
  466. gl00ses2.TextureId = "http://www.roblox.com/asset/?id=38205002"
  467.  
  468. --Converted with ttyyuu12345's model to script plugin v4
  469. function sandbox(var,func)
  470. local env = getfenv(func)
  471. local newenv = setmetatable({},{
  472. __index = function(self,k)
  473. if k=="script" then
  474. return var
  475. else
  476. return env[k]
  477. end
  478. end,
  479. })
  480. setfenv(func,newenv)
  481. return func
  482. end
  483. cors = {}
  484. mas = Instance.new("Model",Camera)
  485. Model0 = Instance.new("Model")
  486. Part1 = Instance.new("Part")
  487. Part2 = Instance.new("Part")
  488. Part3 = Instance.new("Part")
  489. Part4 = Instance.new("Part")
  490. Part5 = Instance.new("Part")
  491. Part6 = Instance.new("Part")
  492. Part7 = Instance.new("Part")
  493. Model0.Name = "Netherworld"
  494. Model0.Parent = mas
  495. Part1.Name = "Spart"
  496. Part1.Parent = Camera
  497. Part1.Material = Enum.Material.Neon
  498. Part1.Transparency = 1
  499. Part1.Anchored = true
  500. Part1.CanCollide = false
  501. Part1.Size = Vector3.new(4, 1, 2)
  502. Part1.CFrame = CFrame.new(144.5, 1290.63574, 2.74698257, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  503. Part1.BottomSurface = Enum.SurfaceType.Smooth
  504. Part1.TopSurface = Enum.SurfaceType.Smooth
  505. Part1.Position = Vector3.new(144.5, 1290.63574, 2.74698257)
  506. Part2.Parent = Camera
  507. Part2.Material = Enum.Material.Neon
  508. Part2.BrickColor = BrickColor.new("Really black")
  509. Part2.Transparency = 0.0099999997764826
  510. Part2.Anchored = true
  511. Part2.Size = Vector3.new(233.790359, 1.15406489, 245.924103)
  512. Part2.CFrame = CFrame.new(130.757782, 1311.9447, 21.3496704, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  513. Part2.BottomSurface = Enum.SurfaceType.Smooth
  514. Part2.TopSurface = Enum.SurfaceType.Smooth
  515. Part2.Position = Vector3.new(130.757782, 1311.9447, 21.3496704)
  516. Part3.Parent = Camera
  517. Part3.Material = Enum.Material.Neon
  518. Part3.BrickColor = BrickColor.new("Really black")
  519. Part3.Transparency = 0.0099999997764826
  520. Part3.Rotation = Vector3.new(90, 90, 0)
  521. Part3.Anchored = true
  522. Part3.Size = Vector3.new(233.790359, 1.15406489, 233.317429)
  523. Part3.CFrame = CFrame.new(131.542297, 1193.58923, -99.4936905, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  524. Part3.BottomSurface = Enum.SurfaceType.Smooth
  525. Part3.TopSurface = Enum.SurfaceType.Smooth
  526. Part3.Position = Vector3.new(131.542297, 1193.58923, -99.4936905)
  527. Part3.Orientation = Vector3.new(0, 90, 90)
  528. Part4.Parent = Camera
  529. Part4.Material = Enum.Material.Neon
  530. Part4.BrickColor = BrickColor.new("Really black")
  531. Part4.Transparency = 0.0099999997764826
  532. Part4.Rotation = Vector3.new(0, 0, 90)
  533. Part4.Anchored = true
  534. Part4.Size = Vector3.new(232.420349, 1.15406489, 242.134125)
  535. Part4.CFrame = CFrame.new(246.358215, 1194.35278, 22.2144928, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  536. Part4.BottomSurface = Enum.SurfaceType.Smooth
  537. Part4.TopSurface = Enum.SurfaceType.Smooth
  538. Part4.Position = Vector3.new(246.358215, 1194.35278, 22.2144928)
  539. Part4.Orientation = Vector3.new(0, 0, 90)
  540. Part5.Parent = Camera
  541. Part5.Material = Enum.Material.Neon
  542. Part5.BrickColor = BrickColor.new("Really black")
  543. Part5.Transparency = 0.0099999997764826
  544. Part5.Rotation = Vector3.new(90, 90, 0)
  545. Part5.Anchored = true
  546. Part5.Size = Vector3.new(233.790359, 1.15406489, 233.317429)
  547. Part5.CFrame = CFrame.new(131.542297, 1193.58923, 143.942886, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  548. Part5.BottomSurface = Enum.SurfaceType.Smooth
  549. Part5.TopSurface = Enum.SurfaceType.Smooth
  550. Part5.Position = Vector3.new(131.542297, 1193.58923, 143.942886)
  551. Part5.Orientation = Vector3.new(0, 90, 90)
  552. Part6.Parent = Camera
  553. Part6.Material = Enum.Material.Neon
  554. Part6.BrickColor = BrickColor.new("Really black")
  555. Part6.Transparency = 0.0099999997764826
  556. Part6.Rotation = Vector3.new(0, 0, 90)
  557. Part6.Anchored = true
  558. Part6.Size = Vector3.new(232.420349, 1.15406489, 242.134125)
  559. Part6.CFrame = CFrame.new(18, 1194.35278, 22.2144928, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  560. Part6.BottomSurface = Enum.SurfaceType.Smooth
  561. Part6.TopSurface = Enum.SurfaceType.Smooth
  562. Part6.Orientation = Vector3.new(0, 0, 90)
  563. Part7.Parent = Camera
  564. Part7.Material = Enum.Material.Neon
  565. Part7.BrickColor = BrickColor.new("Really black")
  566. Part7.Transparency = 0.0099999997764826
  567. Part7.Anchored = true
  568. Part7.Size = Vector3.new(233.790359, 1.15406489, 244.754089)
  569. Part7.CFrame = CFrame.new(130.757782, 1077.43396, 20.7646637, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  570. Part7.BottomSurface = Enum.SurfaceType.Smooth
  571. Part7.TopSurface = Enum.SurfaceType.Smooth
  572. Part7.Position = Vector3.new(130.757782, 1077.43396, 20.7646637)
  573. for i,v in pairs(mas:GetChildren()) do
  574. v.Parent = workspace
  575. pcall(function() v:MakeJoints() end)
  576. end
  577. mas:Destroy()
  578. for i,v in pairs(cors) do
  579. spawn(function()
  580. pcall(v)
  581. end)
  582. end
  583.  
  584. local houseBackup = mas:Clone()
  585.  
  586.  
  587.  
  588.  
  589.  
  590. FindNearestTorso = function(pos)
  591. local list = (game.Workspace:children())
  592. local torso = nil
  593. local dist = 1000
  594. local temp, human, temp2 = nil, nil, nil
  595. for x = 1, #list do
  596. temp2 = list[x]
  597. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  598. temp = temp2:findFirstChild("Torso")
  599. human = temp2:findFirstChild("Humanoid")
  600. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  601. local dohit = true
  602. if dohit == true then
  603. torso = temp
  604. dist = (temp.Position - pos).magnitude
  605. end
  606. end
  607. end
  608. end
  609. return torso, dist
  610. end
  611.  
  612. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  613. if hit.Parent == nil then
  614. return
  615. end
  616. local h = hit.Parent:FindFirstChild("Humanoid")
  617. for _, v in pairs(hit.Parent:children()) do
  618. if v:IsA("Humanoid") then
  619. h = v
  620. end
  621. end
  622. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  623. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  624. if hit.Parent.DebounceHit.Value == true then
  625. return
  626. end
  627. end
  628. local c = Create("ObjectValue"){
  629. Name = "creator",
  630. Value = game:service("Players").LocalPlayer,
  631. Parent = h,
  632. }
  633. game:GetService("Debris"):AddItem(c, .5)
  634. if HitSound ~= nil and HitPitch ~= nil then
  635. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  636. end
  637. local Damage = math.random(minim, maxim)
  638. local blocked = false
  639. local block = hit.Parent:findFirstChild("Block")
  640. if block ~= nil then
  641. if block.className == "IntValue" then
  642. if block.Value > 0 then
  643. blocked = true
  644. block.Value = block.Value - 1
  645. print(block.Value)
  646. end
  647. end
  648. end
  649. if blocked == false then
  650. h.Health = h.Health - Damage
  651. 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)
  652. else
  653. h.Health = h.Health - (Damage / 2)
  654. 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)
  655. end
  656. if Type == "Knockdown" then
  657. local hum = hit.Parent.Humanoid
  658. hum.PlatformStand = true
  659. coroutine.resume(coroutine.create(function(HHumanoid)
  660. swait(1)
  661. HHumanoid.PlatformStand = false
  662. end), hum)
  663. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  664. local bodvol = Create("BodyVelocity"){
  665. velocity = angle * knockback,
  666. P = 5000,
  667. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  668. Parent = hit,
  669. }
  670. local rl = Create("BodyAngularVelocity"){
  671. P = 3000,
  672. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  673. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  674. Parent = hit,
  675. }
  676. game:GetService("Debris"):AddItem(bodvol, .5)
  677. game:GetService("Debris"):AddItem(rl, .5)
  678. elseif Type == "Normal" then
  679. local vp = Create("BodyVelocity"){
  680. P = 500,
  681. maxForce = Vector3.new(math.huge, 0, math.huge),
  682. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  683. }
  684. if knockback > 0 then
  685. vp.Parent = hit.Parent.Torso
  686. end
  687. game:GetService("Debris"):AddItem(vp, .5)
  688. elseif Type == "Up" then
  689. local bodyVelocity = Create("BodyVelocity"){
  690. velocity = Vector3.new(0, 20, 0),
  691. P = 5000,
  692. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  693. Parent = hit,
  694. }
  695. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  696. elseif Type == "DarkUp" then
  697. coroutine.resume(coroutine.create(function()
  698. for i = 0, 1, 0.1 do
  699. swait()
  700. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  701. end
  702. end))
  703. local bodyVelocity = Create("BodyVelocity"){
  704. velocity = Vector3.new(0, 20, 0),
  705. P = 5000,
  706. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  707. Parent = hit,
  708. }
  709. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  710. elseif Type == "Snare" then
  711. local bp = Create("BodyPosition"){
  712. P = 2000,
  713. D = 100,
  714. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  715. position = hit.Parent.Torso.Position,
  716. Parent = hit.Parent.Torso,
  717. }
  718. game:GetService("Debris"):AddItem(bp, 1)
  719. elseif Type == "Freeze" then
  720. local BodPos = Create("BodyPosition"){
  721. P = 50000,
  722. D = 1000,
  723. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  724. position = hit.Parent.Torso.Position,
  725. Parent = hit.Parent.Torso,
  726. }
  727. local BodGy = Create("BodyGyro") {
  728. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  729. P = 20e+003,
  730. Parent = hit.Parent.Torso,
  731. cf = hit.Parent.Torso.CFrame,
  732. }
  733. hit.Parent.Torso.Anchored = true
  734. coroutine.resume(coroutine.create(function(Part)
  735. swait(1.5)
  736. Part.Anchored = false
  737. end), hit.Parent.Torso)
  738. game:GetService("Debris"):AddItem(BodPos, 3)
  739. game:GetService("Debris"):AddItem(BodGy, 3)
  740. end
  741. local debounce = Create("BoolValue"){
  742. Name = "DebounceHit",
  743. Parent = hit.Parent,
  744. Value = true,
  745. }
  746. game:GetService("Debris"):AddItem(debounce, Delay)
  747. c = Create("ObjectValue"){
  748. Name = "creator",
  749. Value = Player,
  750. Parent = h,
  751. }
  752. game:GetService("Debris"):AddItem(c, .5)
  753. end
  754. end
  755.  
  756. function ShowDamage(Pos, Text, Time, Color)
  757. local Rate = (1 / 30)
  758. local Pos = (Pos or Vector3.new(0, 0, 0))
  759. local Text = (Text or "")
  760. local Time = (Time or 2)
  761. local Color = (Color or Color3.new(1, 0, 1))
  762. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  763. EffectPart.Anchored = true
  764. local BillboardGui = Create("BillboardGui"){
  765. Size = UDim2.new(3, 0, 3, 0),
  766. Adornee = EffectPart,
  767. Parent = EffectPart,
  768. }
  769. local TextLabel = Create("TextLabel"){
  770. BackgroundTransparency = 1,
  771. Size = UDim2.new(1, 0, 1, 0),
  772. Text = Text,
  773. Font = "SciFi",
  774. TextColor3 = Color,
  775. TextScaled = true,
  776. Parent = BillboardGui,
  777. }
  778. game.Debris:AddItem(EffectPart, (Time))
  779. EffectPart.Parent = game:GetService("Workspace")
  780. delay(0, function()
  781. local Frames = (Time / Rate)
  782. for Frame = 1, Frames do
  783. wait(Rate)
  784. local Percent = (Frame / Frames)
  785. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  786. TextLabel.TextTransparency = Percent
  787. end
  788. if EffectPart and EffectPart.Parent then
  789. EffectPart:Destroy()
  790. end
  791. end)
  792. end
  793.  
  794. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  795. for _, c in pairs(workspace:children()) do
  796. local hum = c:findFirstChild("Humanoid")
  797. if hum ~= nil then
  798. local head = c:findFirstChild("Torso")
  799. if head ~= nil then
  800. local targ = head.Position - Part.Position
  801. local mag = targ.magnitude
  802. if mag <= Magnitude and c.Name ~= Player.Name then
  803. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  804. end
  805. end
  806. end
  807. end
  808. end
  809.  
  810. EffectModel = Create("Model"){
  811. Parent = Character,
  812. Name = "EffectModel",
  813. }
  814.  
  815. Effects = {
  816. Block = {
  817. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  818. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  819. prt.Anchored = true
  820. prt.CFrame = cframe
  821. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  822. game:GetService("Debris"):AddItem(prt, 10)
  823. if Type == 1 or Type == nil then
  824. table.insert(Effects, {
  825. prt,
  826. "Block1",
  827. delay,
  828. x3,
  829. y3,
  830. z3,
  831. msh
  832. })
  833. elseif Type == 2 then
  834. table.insert(Effects, {
  835. prt,
  836. "Block2",
  837. delay,
  838. x3,
  839. y3,
  840. z3,
  841. msh
  842. })
  843. elseif Type == 3 then
  844. table.insert(Effects, {
  845. prt,
  846. "Block3",
  847. delay,
  848. x3,
  849. y3,
  850. z3,
  851. msh,
  852. Part
  853. })
  854. elseif Type == 4 then
  855. table.insert(Effects, {
  856. prt,
  857. "Block2Fire",
  858. delay,
  859. x3,
  860. y3,
  861. z3,
  862. msh
  863. })
  864. end
  865. end
  866. };
  867.  
  868. Sphere = {
  869. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  870. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  871. prt.Anchored = true
  872. prt.CFrame = cframe
  873. if parent == nil then
  874. prt.Parent = workspace
  875. else
  876. prt.Parent = parent
  877. end
  878. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  879. game:GetService("Debris"):AddItem(prt, 10)
  880. table.insert(Effects, {
  881. prt,
  882. "Cylinder",
  883. delay,
  884. x3,
  885. y3,
  886. z3,
  887. msh
  888. })
  889. end
  890. };
  891.  
  892. Blood = {
  893. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  894. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  895. prt.Anchored = true
  896. prt.CFrame = cframe
  897. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  898. game:GetService("Debris"):AddItem(prt, 10)
  899. table.insert(Effects, {
  900. prt,
  901. "Blood",
  902. delay,
  903. x3,
  904. y3,
  905. z3,
  906. msh
  907. })
  908. end
  909. };
  910.  
  911. Blast = {
  912. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  913. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  914. prt.Anchored = true
  915. prt.CFrame = cframe
  916. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  917. game:GetService("Debris"):AddItem(prt, 10)
  918. table.insert(Effects, {
  919. prt,
  920. "Block4",
  921. delay,
  922. x3,
  923. y3,
  924. z3,
  925. msh,
  926. Part
  927. })
  928. end
  929. };
  930.  
  931. Ring = {
  932. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  933. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  934. prt.Anchored = true
  935. prt.CFrame = cframe
  936. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  937. game:GetService("Debris"):AddItem(prt, 10)
  938. table.insert(Effects, {
  939. prt,
  940. "Cylinder",
  941. delay,
  942. x3,
  943. y3,
  944. z3,
  945. msh
  946. })
  947. end
  948. };
  949.  
  950. Cylinder = {
  951. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  952. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  953. prt.Anchored = true
  954. prt.CFrame = cframe
  955. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  956. game:GetService("Debris"):AddItem(prt, 10)
  957. table.insert(Effects, {
  958. prt,
  959. "Cylinder",
  960. delay,
  961. x3,
  962. y3,
  963. z3,
  964. msh
  965. })
  966. end
  967. };
  968.  
  969. Head = {
  970. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  971. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  972. prt.Anchored = true
  973. prt.CFrame = cframe
  974. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  975. game:GetService("Debris"):AddItem(prt, 10)
  976. table.insert(Effects, {
  977. prt,
  978. "Cylinder",
  979. delay,
  980. x3,
  981. y3,
  982. z3,
  983. msh
  984. })
  985. end
  986. };
  987.  
  988. Wave = {
  989. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  990. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  991. prt.Anchored = true
  992. prt.CFrame = cframe
  993. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  994. game:GetService("Debris"):AddItem(prt, 10)
  995. table.insert(Effects, {
  996. prt,
  997. "Cylinder",
  998. delay,
  999. x3,
  1000. y3,
  1001. z3,
  1002. msh
  1003. })
  1004. end
  1005. };
  1006.  
  1007. Break = {
  1008. Create = function(brickcolor, cframe, x1, y1, z1)
  1009. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1010. prt.Anchored = true
  1011. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1012. game:GetService("Debris"):AddItem(prt, 10)
  1013. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1014. local num = math.random(10, 50) / 1000
  1015. table.insert(Effects, {
  1016. prt,
  1017. "Shatter",
  1018. num,
  1019. prt.CFrame,
  1020. math.random() - math.random(),
  1021. 0,
  1022. math.random(50, 100) / 100
  1023. })
  1024. end
  1025. };
  1026.  
  1027. Elec = {
  1028. Create = function(brickcolor, cff, x, y, z)
  1029. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  1030. prt.Anchored = true
  1031. 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)
  1032. prt.CFrame = CFrame.new(prt.Position)
  1033. game:GetService("Debris"):AddItem(prt, 10)
  1034. xval = math.random() / 9
  1035. yval = math.random() / 9
  1036. zval = math.random() / 9
  1037. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1038. eul1 = math.random(-50, 50)
  1039. eul2 = math.random(-50, 50)
  1040. eul3 = math.random(-50, 50)
  1041. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  1042. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  1043. table.insert(Effects, {
  1044. prt,
  1045. "Elec",
  1046. .05,
  1047. x,
  1048. y,
  1049. z,
  1050. xval,
  1051. yval,
  1052. zval,
  1053. msh,
  1054. euld,
  1055. euld2
  1056. })
  1057. end
  1058. };
  1059.  
  1060. Elec2 = {
  1061. Create = function(brickcolor, cff, x, y, z)
  1062. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  1063. prt.Anchored = true
  1064. 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)
  1065. prt.CFrame = CFrame.new(prt.Position)
  1066. game:GetService("Debris"):AddItem(prt, 10)
  1067. xval = math.random() / 7
  1068. yval = math.random() / 7
  1069. zval = math.random() / 7
  1070. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1071. eul1 = math.random(-50, 50)
  1072. eul2 = math.random(-50, 50)
  1073. eul3 = math.random(-50, 50)
  1074. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  1075. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  1076. table.insert(Effects, {
  1077. prt,
  1078. "Elec",
  1079. .1,
  1080. x,
  1081. y,
  1082. z,
  1083. xval,
  1084. yval,
  1085. zval,
  1086. msh,
  1087. euld,
  1088. euld2
  1089. })
  1090. end
  1091. };
  1092.  
  1093. Clone = {
  1094. Create = function()
  1095. for _, v in pairs(Torso.Parent:children()) do
  1096. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1097. local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
  1098. c.Anchored = true
  1099. c.CFrame = v.CFrame
  1100. game:GetService("Debris"):AddItem(c, 5)
  1101. local cmsh = nil
  1102. if v.Name == "Head" then
  1103. cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  1104. else
  1105. cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1106. end
  1107. table.insert(Effects, {
  1108. c,
  1109. "Cylinder",
  1110. 0.05,
  1111. 0.1,
  1112. 0.1,
  1113. 0.1,
  1114. cmsh
  1115. })
  1116. end
  1117. end
  1118. end
  1119. };
  1120.  
  1121. EffectTemplate = {
  1122.  
  1123. };
  1124. }
  1125.  
  1126. --gross code
  1127.  
  1128. demon1=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
  1129. demon1.Anchored = false
  1130. local mbewm2 = Instance.new("SpecialMesh", demon1)
  1131. mbewm2.MeshType = "Sphere"
  1132. mbewm2.Scale = Vector3.new(1,1,1)
  1133. demon1.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80))
  1134.  
  1135. demon2=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
  1136. demon2.Anchored = false
  1137. local mbewm2 = Instance.new("SpecialMesh", demon2)
  1138. mbewm2.MeshType = "Sphere"
  1139. mbewm2.Scale = Vector3.new(1,1,1)
  1140. demon2.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80))
  1141.  
  1142. demon2=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
  1143. demon2.Anchored = false
  1144. local mbewm2 = Instance.new("SpecialMesh", demon2)
  1145. mbewm2.MeshType = "Sphere"
  1146. mbewm2.Scale = Vector3.new(1,1,1)
  1147. demon2.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80))
  1148.  
  1149. demon3=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
  1150. demon3.Anchored = false
  1151. local mbewm2 = Instance.new("SpecialMesh", demon3)
  1152. mbewm2.MeshType = "Sphere"
  1153. mbewm2.Scale = Vector3.new(1,1,1)
  1154. demon3.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80))
  1155.  
  1156. demon4=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
  1157. demon4.Anchored = false
  1158. local mbewm2 = Instance.new("SpecialMesh", demon4)
  1159. mbewm2.MeshType = "Sphere"
  1160. mbewm2.Scale = Vector3.new(1,1,1)
  1161. demon4.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80))
  1162.  
  1163. demon5=CFuncs.Part.Create(Camera, "Neon", 0, 0, BrickColor.new("Really red"), "ref", Vector3.new(1,1,1))
  1164. demon5.Anchored = false
  1165. local mbewm2 = Instance.new("SpecialMesh", demon5)
  1166. mbewm2.MeshType = "Sphere"
  1167. mbewm2.Scale = Vector3.new(1,1,1)
  1168. demon5.CFrame = Part1.CFrame * CFrame.new(math.random(-80,80), -200 , math.random(-80,80))
  1169.  
  1170. whisper1 = Instance.new("Sound",demon1)
  1171. whisper1.SoundId = "http://www.roblox.com/asset/?id=228797800"
  1172. whisper1.Looped = true
  1173. whisper1.Volume = .6
  1174. whisper1.Name = "important"
  1175. whisper1:Play()
  1176.  
  1177.  
  1178. whisper2 = Instance.new("Sound",demon2)
  1179. whisper2.SoundId = "http://www.roblox.com/asset/?id=228797800"
  1180. whisper2.Looped = true
  1181. whisper2.Volume = .6
  1182. whisper2.Name = "important"
  1183. whisper2:Play()
  1184.  
  1185. whisper3 = Instance.new("Sound",demon3)
  1186. whisper3.SoundId = "http://www.roblox.com/asset/?id=228797800"
  1187. whisper3.Looped = true
  1188. whisper3.Volume = .6
  1189. whisper3.Name = "important"
  1190. whisper3:Play()
  1191.  
  1192. whisper4 = Instance.new("Sound",demon4)
  1193. whisper4.SoundId = "http://www.roblox.com/asset/?id=228797800"
  1194. whisper4.Looped = true
  1195. whisper4.Volume = .6
  1196. whisper4.Name = "important"
  1197. whisper4:Play()
  1198.  
  1199. whisper5 = Instance.new("Sound",demon5)
  1200. whisper5.SoundId = "http://www.roblox.com/asset/?id=228797800"
  1201. whisper5.Looped = true
  1202. whisper5.Volume = .6
  1203. whisper5.Name = "important"
  1204. whisper5:Play()
  1205.  
  1206.  
  1207. bp1 = Instance.new("BodyPosition",demon1)
  1208. bp1.P = 1500
  1209. bp1.Position = demon1.Position
  1210. local roketsped = 0
  1211. local spawnPosition = (demon1.CFrame).p
  1212. demon1.CFrame = CFrame.new(spawnPosition, Torso.Position)
  1213. demon1.Velocity = demon1.CFrame.lookVector * roketsped
  1214. local GRAVITY_ACCELERATION = 196.2
  1215. bodyForce = Instance.new('BodyForce', demon1)
  1216. bodyForce.Name = 'Antigravity'
  1217. bodyForce.force = Vector3.new(0, demon1:GetMass() * GRAVITY_ACCELERATION, 0)
  1218.  
  1219. bp2 = Instance.new("BodyPosition",demon2)
  1220. bp2.P = 1500
  1221. bp2.Position = demon2.Position
  1222. local roketsped = 0
  1223. local spawnPosition = (demon2.CFrame).p
  1224. demon2.CFrame = CFrame.new(spawnPosition, Torso.Position)
  1225. demon2.Velocity = demon1.CFrame.lookVector * roketsped
  1226. local GRAVITY_ACCELERATION = 196.2
  1227. bodyForce = Instance.new('BodyForce', demon2)
  1228. bodyForce.Name = 'Antigravity'
  1229. bodyForce.force = Vector3.new(0, demon2:GetMass() * GRAVITY_ACCELERATION, 0)
  1230.  
  1231. bp3 = Instance.new("BodyPosition",demon3)
  1232. bp3.P = 1500
  1233. bp3.Position = demon3.Position
  1234. local roketsped = 0
  1235. local spawnPosition = (demon3.CFrame).p
  1236. demon3.CFrame = CFrame.new(spawnPosition, Torso.Position)
  1237. demon3.Velocity = demon3.CFrame.lookVector * roketsped
  1238. local GRAVITY_ACCELERATION = 196.2
  1239. bodyForce = Instance.new('BodyForce', demon3)
  1240. bodyForce.Name = 'Antigravity'
  1241. bodyForce.force = Vector3.new(0, demon3:GetMass() * GRAVITY_ACCELERATION, 0)
  1242.  
  1243. bp4 = Instance.new("BodyPosition",demon4)
  1244. bp4.P = 1500
  1245. bp4.Position = demon4.Position
  1246. local roketsped = 0
  1247. local spawnPosition = (demon4.CFrame).p
  1248. demon4.CFrame = CFrame.new(spawnPosition, Torso.Position)
  1249. demon4.Velocity = demon4.CFrame.lookVector * roketsped
  1250. local GRAVITY_ACCELERATION = 196.2
  1251. bodyForce = Instance.new('BodyForce', demon4)
  1252. bodyForce.Name = 'Antigravity'
  1253. bodyForce.force = Vector3.new(0, demon4:GetMass() * GRAVITY_ACCELERATION, 0)
  1254.  
  1255. bp5 = Instance.new("BodyPosition",demon5)
  1256. bp5.P = 1500
  1257. bp5.Position = demon5.Position
  1258. local roketsped = 0
  1259. local spawnPosition = (demon5.CFrame).p
  1260. demon5.CFrame = CFrame.new(spawnPosition, Torso.Position)
  1261. demon5.Velocity = demon5.CFrame.lookVector * roketsped
  1262. local GRAVITY_ACCELERATION = 196.2
  1263. bodyForce = Instance.new('BodyForce', demon5)
  1264. bodyForce.Name = 'Antigravity'
  1265. bodyForce.force = Vector3.new(0, demon5:GetMass() * GRAVITY_ACCELERATION, 0)
  1266.  
  1267. demon1.Name = "bad"
  1268. demon2.Name = "bad"
  1269. demon3.Name = "bad"
  1270. demon4.Name = "bad"
  1271. demon5.Name = "bad"
  1272.  
  1273. 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)
  1274. RightArm.CanCollide = true end end)
  1275.  
  1276. 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)
  1277. RightArm.CanCollide = true end end)
  1278.  
  1279. 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)
  1280. RightArm.CanCollide = true end end)
  1281.  
  1282. 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)
  1283. RightArm.CanCollide = true end end)
  1284.  
  1285. 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)
  1286. RightArm.CanCollide = true end end)
  1287.  
  1288.  
  1289.  
  1290. local tp=CFuncs.Part.Create(Camera, "Glass", 0, .99, BrickColor.new("White"), "ref", Vector3.new(10000,1,10000))
  1291. tp.CFrame = Torso.CFrame * CFrame.new(0,100,0)
  1292. tp.Anchored = true
  1293.  
  1294.  
  1295.  
  1296. function glasseson()
  1297. Attack = true
  1298. Humanoid.WalkSpeed = 0
  1299. Humanoid.JumpPower = 0
  1300. tp=CFuncs.Part.Create(Torso, "Neon", 0, 1, BrickColor.new("Really black"), "ref", Vector3.new(1,1,1))
  1301. tp.CFrame = Torso.CFrame
  1302. tp.Anchored = true
  1303. for i = 0, 1, 0.1 do
  1304. swait()
  1305. PlayAnimationFromTable({
  1306. 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),
  1307. 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),
  1308. 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),
  1309. 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),
  1310. 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),
  1311. 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),
  1312. }, .3, false)
  1313. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(-1, 1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(350)), 1)
  1314. end
  1315. for i = 0, .5, 0.1 do
  1316. swait()
  1317. PlayAnimationFromTable({
  1318. 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),
  1319. 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),
  1320. 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),
  1321. 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),
  1322. 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),
  1323. 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),
  1324. }, .3, false)
  1325. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.1, 1, 0) * CFrame.Angles(math.rad(0), math.rad(360), math.rad(0)), 1)
  1326. end
  1327. local mosic2 = Instance.new("Sound",Torso)
  1328. mosic2.SoundId = "http://www.roblox.com/asset/?id=406943544"
  1329. mosic2.Looped = true
  1330. mosic2.Volume = 1
  1331. mosic2.Name = "important"
  1332. mosic2:Play()
  1333. local smonk = Instance.new("ParticleEmitter",Torso)
  1334. smonk.LightEmission = .1
  1335. smonk.Size = NumberSequence.new(0.2)
  1336. smonk.Texture = "http://www.roblox.com/asset/?ID=137243001"
  1337. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 1)})
  1338. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1339. smonk.Transparency = bbb
  1340. smonk.Size = aaa
  1341. smonk.ZOffset = 0
  1342. smonk.Acceleration = Vector3.new(0, -5, 0)
  1343. smonk.LockedToPart = false
  1344. smonk.EmissionDirection = "Back"
  1345. smonk.Lifetime = NumberRange.new(.1, .5)
  1346. smonk.Rate = 1000
  1347. smonk.Rotation = NumberRange.new(-100, 100)
  1348. smonk.RotSpeed = NumberRange.new(-100, 100)
  1349. smonk.Speed = NumberRange.new(4)
  1350. smonk.VelocitySpread = 100
  1351. smonk.Enabled=true
  1352. CFuncs.Sound.Create(177359995, Head, 1, 1)
  1353. Player.CameraMode = Enum.CameraMode.LockFirstPerson
  1354. for i = 0, 5, 0.1 do
  1355. swait()
  1356. PlayAnimationFromTable({
  1357. 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),
  1358. 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),
  1359. 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),
  1360. 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),
  1361. 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),
  1362. 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),
  1363. }, .3, false)
  1364. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(-1.3, -.8, .35) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(180)), 1)
  1365. end
  1366. glasses = true
  1367. LeftArm.Parent = workspace
  1368. RightArm.Parent = workspace
  1369. LeftArm.CanCollide = false
  1370. RightArm.CanCollide = false
  1371. CFuncs.Sound.Create(263609923, Head, 1, 1)
  1372. smonk:Destroy()
  1373. Humanoid.WalkSpeed = 10
  1374. Humanoid.JumpPower = 50
  1375. mosic2:Destroy()
  1376. FauxGlasses.Transparency = 0
  1377. Glasses.Transparency = 1
  1378. Attack = false
  1379. end
  1380.  
  1381.  
  1382. function glassesoff()
  1383. Attack = true
  1384. Humanoid.WalkSpeed = 0
  1385. Humanoid.JumpPower = 0
  1386. Glasses.Parent = workspace
  1387. for i = 0, 1, 0.1 do
  1388. swait()
  1389. PlayAnimationFromTable({
  1390. 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),
  1391. 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),
  1392. 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),
  1393. 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),
  1394. 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),
  1395. 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),
  1396. }, .3, false)
  1397. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(-1.3, -.8, .35) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(180)), 1)
  1398. end
  1399. FauxGlasses.Transparency = 1
  1400. Glasses.Transparency = 0
  1401. for i = 0, .5, 0.1 do
  1402. swait()
  1403. PlayAnimationFromTable({
  1404. 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),
  1405. 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),
  1406. 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),
  1407. 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),
  1408. 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),
  1409. 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),
  1410. }, .3, false)
  1411. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.1, 1, 0) * CFrame.Angles(math.rad(0), math.rad(360), math.rad(0)), 1)
  1412. end
  1413.  
  1414. for i = 0, .5, 0.1 do
  1415. swait()
  1416. PlayAnimationFromTable({
  1417. 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),
  1418. 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),
  1419. 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),
  1420. 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),
  1421. 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),
  1422. 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),
  1423. }, .3, false)
  1424. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(-1, 1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(350)), 1)
  1425. end
  1426. glasses = false
  1427. Player.CameraMode = Enum.CameraMode.Classic
  1428. Glasses.Parent = m
  1429. Humanoid.WalkSpeed = 10
  1430. Humanoid.JumpPower = 50
  1431. Attack = false
  1432. end
  1433.  
  1434.  
  1435.  
  1436.  
  1437. glasses = false
  1438.  
  1439. Mouse.KeyDown:connect(function(Key)
  1440. Key = Key:lower()
  1441. if Attack == false and Key == 'f' and glasses == false then
  1442. glasseson()
  1443. RootPart.CFrame = Part1.CFrame
  1444. mosic = Instance.new("Sound",Player.PlayerGui)
  1445. mosic.SoundId = "http://www.roblox.com/asset/?id=406943544"
  1446. mosic.Looped = true
  1447. mosic.Volume = 1
  1448. mosic.Name = "important"
  1449. mosic:Play()
  1450. elseif Attack == false and Key == 'f' and glasses == true then
  1451. glassesoff()
  1452. Character.Parent = workspace
  1453. LeftArm.Parent = Character
  1454. RightArm.Parent = Character
  1455. RootPart.CFrame = tp.CFrame
  1456. CFuncs.Sound.Create("263609898", Head, 1, 1)
  1457. mosic:Destroy()
  1458. tp:Destroy()
  1459. end
  1460. end)
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474. while true do
  1475. swait()
  1476. for i, v in pairs(Character:GetChildren()) do
  1477. if v:IsA("Part") then
  1478. v.Material = "SmoothPlastic"
  1479. elseif v:IsA("Accessory") then
  1480. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1481. end
  1482. end
  1483. for i, v in pairs(Character:GetChildren()) do
  1484. if v:IsA'Model' then
  1485. for _, c in pairs(v:GetChildren()) do
  1486. if c:IsA'Part' then
  1487. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1488. end
  1489. end
  1490. end
  1491. end
  1492. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1493. Velocity = RootPart.Velocity.y
  1494. Sine = Sine + Change
  1495. local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1496. if RootPart.Velocity.y > 1 and hit == nil then
  1497. Anim = "Jump"
  1498. if Attack == false then
  1499. Change = 1
  1500. PlayAnimationFromTable({
  1501. 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),
  1502. 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),
  1503. 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),
  1504. 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),
  1505. 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),
  1506. 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),
  1507. }, .3, false)
  1508. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.3)
  1509. end
  1510. elseif RootPart.Velocity.y < -1 and hit == nil then
  1511. Anim = "Fall"
  1512. if Attack == false then
  1513. Change = 1
  1514. PlayAnimationFromTable({
  1515. 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),
  1516. 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),
  1517. 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),
  1518. 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),
  1519. 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),
  1520. 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),
  1521. }, .3, false)
  1522. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.3)
  1523. end
  1524. elseif TorsoVelocity < 1 and hit ~= nil then
  1525. Anim = "Idle"
  1526. if Attack == false then
  1527. Change = 1
  1528. PlayAnimationFromTable({
  1529. 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),
  1530. 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),
  1531. 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)),
  1532. 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)),
  1533. 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),
  1534. 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),
  1535. }, .3, false)
  1536. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.3)
  1537. end
  1538. elseif TorsoVelocity > 2 and hit ~= nil then
  1539. Anim = "Walk"
  1540. if Attack == false then
  1541. PlayAnimationFromTable({
  1542. 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),
  1543. 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),
  1544. 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),
  1545. 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),
  1546. 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)),
  1547. 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)
  1548. FHandleWeld.C0 = clerp(FHandleWeld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90)), 0.3)
  1549. end
  1550. end
  1551. if #Effects > 0 then
  1552. for e = 1, #Effects do
  1553. if Effects[e] ~= nil then
  1554. local Thing = Effects[e]
  1555. if Thing ~= nil then
  1556. local Part = Thing[1]
  1557. local Mode = Thing[2]
  1558. local Delay = Thing[3]
  1559. local IncX = Thing[4]
  1560. local IncY = Thing[5]
  1561. if Thing[1].Transparency <= 1 then
  1562. if Thing[2] == "Block1" then
  1563. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1564. Mesh = Thing[7]
  1565. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1566. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1567. elseif Thing[2] == "Ice" then
  1568. if Thing[6] <= Thing[5] then
  1569. Thing[6] = Thing[6] + .05
  1570. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  1571. else
  1572. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1573. end
  1574. elseif Thing[2] == "Shatter" then
  1575. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1576. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1577. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1578. Thing[6] = Thing[6] + Thing[5]
  1579. elseif Thing[2] == "Block2" then
  1580. Thing[1].CFrame = Thing[1].CFrame
  1581. Mesh = Thing[7]
  1582. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1583. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1584. elseif Thing[2] == "Block3" then
  1585. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1586. Mesh = Thing[7]
  1587. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1588. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1589. elseif Thing[2] == "Block4" then
  1590. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1591. Mesh = Thing[7]
  1592. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1593. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1594. elseif Thing[2] == "Block2Fire" then
  1595. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1596. Mesh = Thing[7]
  1597. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1598. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1599. if Thing[1].Transparency >= .3 then
  1600. Thing[1].BrickColor = BrickColor.new("Bright red")
  1601. else
  1602. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1603. end
  1604. elseif Thing[2] == "Cylinder" then
  1605. Mesh = Thing[7]
  1606. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1607. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1608. elseif Thing[2] == "Blood" then
  1609. Mesh = Thing[7]
  1610. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  1611. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1612. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1613. elseif Thing[2] == "Elec" then
  1614. Mesh = Thing[10]
  1615. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1616. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1617. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  1618. Thing[1].Rotation = Vector3.new(0, 0, 0)
  1619. elseif Thing[2] == "Disappear" then
  1620. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1621. end
  1622. else
  1623. Part.Parent = nil
  1624. table.remove(Effects, e)
  1625. end
  1626. end
  1627. end
  1628. end
  1629. end
  1630. soundbork(Character)
  1631. Humanoid.Health = math.huge
  1632. if glasses == true then
  1633. bp1.Position = Torso.Position
  1634. bp2.Position = Torso.Position
  1635. bp3.Position = Torso.Position
  1636. bp4.Position = Torso.Position
  1637. bp5.Position = Torso.Position
  1638. end
  1639.  
  1640. if glasses == false then
  1641. bp1.Position = demon1.Position
  1642. bp2.Position = demon2.Position
  1643. bp3.Position = demon3.Position
  1644. bp4.Position = demon4.Position
  1645. bp5.Position = demon5.Position
  1646. end
  1647.  
  1648. if not Part1 then
  1649. function sandbox(var,func)
  1650. local env = getfenv(func)
  1651. local newenv = setmetatable({},{
  1652. __index = function(self,k)
  1653. if k=="script" then
  1654. return var
  1655. else
  1656. return env[k]
  1657. end
  1658. end,
  1659. })
  1660. setfenv(func,newenv)
  1661. return func
  1662. end
  1663. cors = {}
  1664. mas = Instance.new("Model",Camera)
  1665. Model0 = Instance.new("Model")
  1666. Part1 = Instance.new("Part")
  1667. Part2 = Instance.new("Part")
  1668. Part3 = Instance.new("Part")
  1669. Part4 = Instance.new("Part")
  1670. Part5 = Instance.new("Part")
  1671. Part6 = Instance.new("Part")
  1672. Part7 = Instance.new("Part")
  1673. Model0.Name = "Netherworld"
  1674. Model0.Parent = mas
  1675. Part1.Name = "Spart"
  1676. Part1.Parent = Model0
  1677. Part1.Material = Enum.Material.Neon
  1678. Part1.Transparency = 1
  1679. Part1.Anchored = true
  1680. Part1.CanCollide = false
  1681. Part1.Size = Vector3.new(4, 1, 2)
  1682. Part1.CFrame = CFrame.new(144.5, 1290.63574, 2.74698257, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1683. Part1.BottomSurface = Enum.SurfaceType.Smooth
  1684. Part1.TopSurface = Enum.SurfaceType.Smooth
  1685. Part1.Position = Vector3.new(144.5, 1290.63574, 2.74698257)
  1686. Part2.Parent = Model0
  1687. Part2.Material = Enum.Material.Neon
  1688. Part2.BrickColor = BrickColor.new("Really black")
  1689. Part2.Transparency = 0.0099999997764826
  1690. Part2.Anchored = true
  1691. Part2.Size = Vector3.new(233.790359, 1.15406489, 245.924103)
  1692. Part2.CFrame = CFrame.new(130.757782, 1311.9447, 21.3496704, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1693. Part2.BottomSurface = Enum.SurfaceType.Smooth
  1694. Part2.TopSurface = Enum.SurfaceType.Smooth
  1695. Part2.Position = Vector3.new(130.757782, 1311.9447, 21.3496704)
  1696. Part3.Parent = Model0
  1697. Part3.Material = Enum.Material.Neon
  1698. Part3.BrickColor = BrickColor.new("Really black")
  1699. Part3.Transparency = 0.0099999997764826
  1700. Part3.Rotation = Vector3.new(90, 90, 0)
  1701. Part3.Anchored = true
  1702. Part3.Size = Vector3.new(233.790359, 1.15406489, 233.317429)
  1703. Part3.CFrame = CFrame.new(131.542297, 1193.58923, -99.4936905, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  1704. Part3.BottomSurface = Enum.SurfaceType.Smooth
  1705. Part3.TopSurface = Enum.SurfaceType.Smooth
  1706. Part3.Position = Vector3.new(131.542297, 1193.58923, -99.4936905)
  1707. Part3.Orientation = Vector3.new(0, 90, 90)
  1708. Part4.Parent = Model0
  1709. Part4.Material = Enum.Material.Neon
  1710. Part4.BrickColor = BrickColor.new("Really black")
  1711. Part4.Transparency = 0.0099999997764826
  1712. Part4.Rotation = Vector3.new(0, 0, 90)
  1713. Part4.Anchored = true
  1714. Part4.Size = Vector3.new(232.420349, 1.15406489, 242.134125)
  1715. Part4.CFrame = CFrame.new(246.358215, 1194.35278, 22.2144928, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  1716. Part4.BottomSurface = Enum.SurfaceType.Smooth
  1717. Part4.TopSurface = Enum.SurfaceType.Smooth
  1718. Part4.Position = Vector3.new(246.358215, 1194.35278, 22.2144928)
  1719. Part4.Orientation = Vector3.new(0, 0, 90)
  1720. Part5.Parent = Model0
  1721. Part5.Material = Enum.Material.Neon
  1722. Part5.BrickColor = BrickColor.new("Really black")
  1723. Part5.Transparency = 0.0099999997764826
  1724. Part5.Rotation = Vector3.new(90, 90, 0)
  1725. Part5.Anchored = true
  1726. Part5.Size = Vector3.new(233.790359, 1.15406489, 233.317429)
  1727. Part5.CFrame = CFrame.new(131.542297, 1193.58923, 143.942886, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  1728. Part5.BottomSurface = Enum.SurfaceType.Smooth
  1729. Part5.TopSurface = Enum.SurfaceType.Smooth
  1730. Part5.Position = Vector3.new(131.542297, 1193.58923, 143.942886)
  1731. Part5.Orientation = Vector3.new(0, 90, 90)
  1732. Part6.Parent = Model0
  1733. Part6.Material = Enum.Material.Neon
  1734. Part6.BrickColor = BrickColor.new("Really black")
  1735. Part6.Transparency = 0.0099999997764826
  1736. Part6.Rotation = Vector3.new(0, 0, 90)
  1737. Part6.Anchored = true
  1738. Part6.Size = Vector3.new(232.420349, 1.15406489, 242.134125)
  1739. Part6.CFrame = CFrame.new(18, 1194.35278, 22.2144928, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  1740. Part6.BottomSurface = Enum.SurfaceType.Smooth
  1741. Part6.TopSurface = Enum.SurfaceType.Smooth
  1742. Part6.Orientation = Vector3.new(0, 0, 90)
  1743. Part7.Parent = Model0
  1744. Part7.Material = Enum.Material.Neon
  1745. Part7.BrickColor = BrickColor.new("Really black")
  1746. Part7.Transparency = 0.0099999997764826
  1747. Part7.Anchored = true
  1748. Part7.Size = Vector3.new(233.790359, 1.15406489, 244.754089)
  1749. Part7.CFrame = CFrame.new(130.757782, 1077.43396, 20.7646637, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1750. Part7.BottomSurface = Enum.SurfaceType.Smooth
  1751. Part7.TopSurface = Enum.SurfaceType.Smooth
  1752. Part7.Position = Vector3.new(130.757782, 1077.43396, 20.7646637)
  1753. for i,v in pairs(mas:GetChildren()) do
  1754. v.Parent = workspace
  1755. pcall(function() v:MakeJoints() end)
  1756. end
  1757. mas:Destroy()
  1758. for i,v in pairs(cors) do
  1759. spawn(function()
  1760. pcall(v)
  1761. end)
  1762. end
  1763. end
  1764. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement