Advertisement
Guest User

Untitled

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