Advertisement
ghostteen14

Untitled

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