kaualima12

All My Scripts Is Fe for Void In Roblox

Aug 9th, 2019
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.60 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141. --[[ World eater Script ]]--
  142. --[[ Declarations ]]--
  143. wait(.0000000000000000000001)
  144. local Player = game:GetService("Players").LocalPlayer
  145. local Character = Player.Character
  146. local Head = Character.Head
  147. local Torso = Character.Torso
  148. local Right_Arm = Character["Right Arm"]
  149. local Right_Leg = Character["Right Leg"]
  150. local Left_Arm = Character["Left Arm"]
  151. local Left_Leg = Character["Left Leg"]
  152. local Humanoid = Character.Humanoid
  153. local Animation = "Idle"
  154. local Mouse = Player:GetMouse()
  155. local LeftShoulder = Torso["Left Shoulder"]
  156. local Left_Hip = Torso["Left Hip"]
  157. local RightShoulder = Torso["Right Shoulder"]
  158. local Right_Hip = Torso["Right Hip"]
  159. local Root = Character.HumanoidRootPart
  160. local RootJoint = Root.RootJoint
  161. local Attacking = false
  162. local CanAttack = true
  163. local Anim = "Idle"
  164. local Combo = 1
  165. local Blocking = false
  166. local MaxDestruction = 1000
  167. local Destruction = 0
  168. local MaxBlock = 100
  169. local Effects = {}
  170. local Color = "Bright yellow"
  171. local Invert = false
  172. local Idle = 0
  173. local Equipped = false
  174. local Running = false
  175. local Unseathed = false
  176. local Shard = "None"
  177.  
  178. Humanoid.MaxHealth = 3000
  179. Humanoid.Health = 3000
  180.  
  181. local WorldEaterTheme = Instance.new("Sound",Character)
  182. WorldEaterTheme.Name = "WorldEaterTheme"
  183. WorldEaterTheme.Looped = true
  184. WorldEaterTheme.SoundId = "http://www.roblox.com/asset?id=149981769"
  185. WorldEaterTheme:Play()
  186.  
  187. Left_Shoulder = Instance.new("Weld", Torso)
  188. Left_Shoulder.Part0 = Torso
  189. Left_Shoulder.Part1 = Left_Arm
  190. Left_Shoulder.Name = "Left Shoulder"
  191. Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
  192.  
  193. Right_Shoulder = Instance.new("Weld", Torso)
  194. Right_Shoulder.Part0 = Torso
  195. Right_Shoulder.Part1 = Right_Arm
  196. Right_Shoulder.Name = "Right Shoulder"
  197. Right_Shoulder.C0 = CFrame.new(1.5,0,0)
  198.  
  199. LeftShoulder.Parent = nil
  200. RightShoulder.Parent = nil
  201. Humanoid.WalkSpeed = 10
  202.  
  203. local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
  204. Necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  205. Necko2 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  206. Right_Hip_C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  207. Left_Hip_C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  208.  
  209.  
  210. Movemment = 1
  211. Walk = 0
  212.  
  213. Animator = Humanoid.Animator
  214. --Animate = Character.Animate
  215.  
  216. Animator.Parent = nil
  217. --Animate.Parent = nil
  218.  
  219. local Services = {
  220.  
  221. SoundService = game:GetService("SoundService");
  222. Players = game:GetService("Players");
  223. Debris = game:GetService("Debris");
  224. Workspace = game:GetService("Workspace");
  225. Lighting = game:GetService("Lighting");
  226. HttpService = game:GetService("HttpService");
  227. InsertService = game:GetService("InsertService");
  228.  
  229. }
  230.  
  231. local ManaBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
  232. ManaBarGUI.Name = "ManaBarGUI"
  233.  
  234. local ManaBarP1 = Instance.new("Frame", ManaBarGUI)
  235. ManaBarP1.Name = "ManaBarPart1"
  236. ManaBarP1.Size = UDim2.new(0,300,0,20)
  237. ManaBarP1.Position = UDim2.new(0,350,0.1,0)
  238. ManaBarP1.BackgroundColor3 = BrickColor.Black().Color
  239.  
  240. local ManaBarP2 = Instance.new("Frame", ManaBarP1)
  241. ManaBarP2.Name = "ManaBarPart2"
  242. ManaBarP2.Size = UDim2.new(0,300,0,20)
  243. ManaBarP2.Position = UDim2.new(0,0,0,0)
  244. ManaBarP2.BackgroundColor3 = BrickColor.new("Black").Color
  245.  
  246. local ManaBarText = Instance.new("TextLabel", ManaBarP1)
  247. ManaBarText.Name = "ManaBarText"
  248. ManaBarText.Size = UDim2.new(0,300,0,20)
  249. ManaBarText.Position = UDim2.new(0,0,-1.5,0)
  250. ManaBarText.TextScaled = true
  251. ManaBarText.Text = "<{[ Destruction ]}> 0 <{[ Destruction ]}>"
  252. ManaBarText.BackgroundTransparency = 1
  253. ManaBarText.TextStrokeTransparency = 0
  254. ManaBarText.TextStrokeColor3 = Color3.new(1,1,1)
  255. ManaBarText.TextColor3 = Color3.new(0,0,0)
  256. ManaBarText.Font = "Garamond"
  257.  
  258. local WorldEaterGui = Instance.new("BillboardGui", Head)
  259. WorldEaterGui.ExtentsOffset = Vector3.new(0,5,0)
  260. WorldEaterGui.Adornee = Head
  261. WorldEaterGui.AlwaysOnTop = true
  262. WorldEaterGui.Enabled = true
  263. WorldEaterGui.Size = UDim2.new(0, 200,0, 50)
  264.  
  265. local WorldEaterText = Instance.new("TextLabel", WorldEaterGui)
  266. WorldEaterText.BackgroundTransparency = 1
  267. WorldEaterText.Font = "Garamond"
  268. WorldEaterText.Size = UDim2.new(0, 200,0, 50)
  269. WorldEaterText.TextStrokeColor3 = BrickColor.Red().Color
  270. WorldEaterText.TextStrokeTransparency = 0
  271. WorldEaterText.TextColor3 = BrickColor.Black().Color
  272. WorldEaterText.TextScaled = true
  273. WorldEaterText.Text = "World Eater"
  274.  
  275. --------[[ Mesh Ids ]]--------
  276.  
  277. SpikeMeshId = 1033714
  278. SpikeBallId = 9982590
  279. StarMeshId = 45428961
  280. CrystalMeshId = 9756362
  281.  
  282. --[[ Essential Functions ]]--
  283. function NoOutlines(Part)
  284. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  285. end
  286.  
  287.  
  288. local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
  289.  
  290. local Part = Instance.new("Part", Parent)
  291. Part.Name = Name
  292. Part.BrickColor = BrickColor.new(Color)
  293. Part.Size = Size
  294. Part.Material = Material
  295. Part.Transparency = Transparency
  296. Part.Shape = Shape
  297. Part.CanCollide = false
  298. NoOutlines(Part)
  299.  
  300. return Part
  301.  
  302. end
  303.  
  304. local CreateMesh = function(Parent, Scale, Shape)
  305.  
  306.  
  307. local Mesh = Instance.new("BlockMesh", Parent)
  308. Mesh.Scale = Scale
  309.  
  310. return Mesh
  311.  
  312. end
  313.  
  314. local CreateWedge = function(Parent, Name, Color, Size, Material, Transparency)
  315.  
  316. local WedgePart = Instance.new("WedgePart", Parent)
  317. WedgePart.Name = Name
  318. WedgePart.BrickColor = BrickColor.new(Color)
  319. WedgePart.Size = Size
  320. WedgePart.Material = Material
  321. WedgePart.Transparency = Transparency
  322. WedgePart.CanCollide = false
  323. NoOutlines(WedgePart)
  324.  
  325. return WedgePart
  326.  
  327. end
  328.  
  329. local CreateWeld = function(Parent, Cframe, P1 , P0)
  330.  
  331. local Weld = Instance.new("Weld", Parent)
  332. Weld.Part0 = P0
  333. Weld.Part1 = P1
  334. Weld.Name = P0.Name .. "To" .. P1.Name
  335. Weld.C0 = Cframe
  336.  
  337. return Weld
  338.  
  339. end
  340.  
  341. local CreateVelocity = function(Parent,Velocity,Force)
  342.  
  343. local BodyVelocity = Instance.new("BodyVelocity", Parent)
  344. BodyVelocity.Velocity = Velocity
  345. BodyVelocity.MaxForce = Force
  346.  
  347.  
  348.  
  349. return BodyVelocity
  350.  
  351. end
  352.  
  353.  
  354. local CreateCrystal = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  355.  
  356.  
  357. local Part = Instance.new("Part", Parent)
  358. Part.Name = Name
  359. Part.BrickColor = BrickColor.new(Color)
  360. Part.Size = Size
  361. Part.Material = Material
  362. Part.Transparency = Transparency
  363. Part.CanCollide = false
  364. NoOutlines(Part)
  365.  
  366. local Mesh = Instance.new("SpecialMesh", Part)
  367. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. CrystalMeshId
  368. Mesh.Scale = Scale
  369.  
  370. return Mesh and Part
  371.  
  372. end
  373.  
  374. local MakeSFX = function(Parent, Id, Volume, Pitch, Type)
  375.  
  376. local SFX = Instance.new("Sound", Parent)
  377. SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
  378. SFX.Name = "SFX"
  379. SFX:Play()
  380. SFX.Volume = Volume
  381. SFX.Pitch = Pitch
  382. SFX.PlayOnRemove = true
  383. SFX:Remove()
  384.  
  385. if Type == "Echo" then
  386.  
  387. Instance.new("EchoSoundEffect", SFX)
  388.  
  389. end
  390.  
  391. end
  392.  
  393. local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  394.  
  395.  
  396. local Part = Instance.new("Part", Parent)
  397. Part.Name = Name
  398. Part.BrickColor = BrickColor.new(Color)
  399. Part.Size = Size
  400. Part.Material = Material
  401. Part.Transparency = Transparency
  402. Part.CanCollide = false
  403. NoOutlines(Part)
  404.  
  405. local Mesh = Instance.new("SpecialMesh", Part)
  406. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. SpikeMeshId
  407. Mesh.Scale = Scale
  408.  
  409. return Mesh and Part
  410.  
  411. end
  412.  
  413. CircleEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  414.  
  415. local Part = Instance.new("Part", Parent)
  416. Part.Transparency = Transparency
  417. Part.Name = "CircleEffect"
  418. Part.Size = Vector3.new()
  419. Part.Anchored = true
  420. Part.CanCollide = false
  421. Part.Position = Position
  422. Part.BrickColor = BrickColor.new(Brickcolor)
  423. Part.Material = Material
  424. NoOutlines(Part)
  425.  
  426. local Mesh = Instance.new("SpecialMesh", Part)
  427. Mesh.MeshType = "Sphere"
  428. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  429.  
  430. Services.Debris:AddItem(Part, Time)
  431.  
  432.  
  433. table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
  434.  
  435.  
  436. end
  437.  
  438. BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  439.  
  440. local Part = Instance.new("Part", Parent)
  441. Part.Transparency = Transparency
  442. Part.Name = "BlockEffect"
  443. Part.Size = Vector3.new()
  444. Part.Anchored = true
  445. Part.Position = Position
  446. Part.CanCollide = false
  447. Part.BrickColor = BrickColor.new(Brickcolor)
  448. Part.Material = Material
  449. NoOutlines(Part)
  450.  
  451. local Mesh = Instance.new("BlockMesh", Part)
  452. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  453.  
  454. Services.Debris:AddItem(Part, Time)
  455.  
  456. table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
  457.  
  458.  
  459. end
  460.  
  461. --[[ Damage function ]]--
  462.  
  463.  
  464. function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  465.  
  466. local HitHumanoid = Hit.Parent.Humanoid
  467.  
  468.  
  469. local Damage = math.random(Min, Max)
  470.  
  471.  
  472. coroutine.resume(coroutine.create(function()
  473. HitHumanoid:TakeDamage(Damage)
  474. end))
  475.  
  476. if Type == "Shrink" then
  477. MakeSFX(Hit.Parent.Torso, 209527235, 1, 1)
  478. for i,v in pairs(Hit.Parent:children()) do
  479. if v:IsA("Part") then
  480. coroutine.resume(coroutine.create(function()
  481. for i = 1,100 do
  482. wait()
  483. v.Size = v.Size - Vector3.new(0.05,0.05,0.05)
  484. v.Transparency = v.Transparency + 0.05
  485.  
  486. end
  487. end))
  488. end
  489. end
  490.  
  491. end
  492.  
  493.  
  494.  
  495. if Type == "Normal" then
  496.  
  497. local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  498. Services.Debris:AddItem(Push, 0)
  499. DamageLabel(Hit.Parent, Damage, Hit)
  500.  
  501. elseif Type == "Ranged" then
  502. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  503. Services.Debris:AddItem(Push, 0)
  504. DamageLabel(Hit.Parent, Damage, Hit)
  505.  
  506. elseif Type == "Impale" then
  507.  
  508. local Spike = CreateSpike(Services.Workspace, "D e a t h", "Black", Vector3.new(), "SmoothPlastic", 0, Vector3.new(1,20,1))
  509. Spike.Anchored = true
  510. Spike.Rotation = Vector3.new(math.random(-50,50), 0 , math.random(-50,50))
  511. Spike.Position = Hit.Parent.Torso.Position
  512.  
  513.  
  514. Services.Debris:AddItem(Spike, 30)
  515.  
  516. Hit.Parent:BreakJoints()
  517. Hit.Parent.Torso.Position = Spike.Position + Vector3.new(0,5,0)
  518. Hit.Parent.Torso.Anchored = true
  519.  
  520. MakeSFX(Spike, 306247724, 1,1)
  521. MakeSFX(Hit.Parent.Torso, 209527175, 10,1)
  522. elseif Type == "Knockdown" then
  523.  
  524.  
  525. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  526. DamageLabel(Hit.Parent, Damage, Hit)
  527. Services.Debris:AddItem(Push, 0.3)
  528.  
  529. coroutine.resume(coroutine.create(function()
  530.  
  531. HitHumanoid.PlatformStand = true
  532. wait(1)
  533. HitHumanoid.PlatformStand = false
  534.  
  535.  
  536. end))
  537. end
  538.  
  539. if HitSFX == "Penetration" then
  540.  
  541. MakeSFX(Hit, 199149269, 1 , 1)
  542.  
  543. elseif HitSFX == "Punch" then
  544.  
  545. MakeSFX(Hit, 278062209, 1 , 1)
  546.  
  547.  
  548.  
  549.  
  550. end
  551. end
  552.  
  553. function DamageLabel(HitCharacter, DamageDealt, Hit)
  554.  
  555. local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Bright yellow", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
  556. DamageShowingPart.Position = HitCharacter.Head.Position
  557.  
  558. local DamageGui = Instance.new("BillboardGui", DamageShowingPart)
  559. DamageGui.Name = "Damage"
  560. DamageGui.AlwaysOnTop = true
  561. DamageGui.Size = UDim2.new(5, 0, 5, 0)
  562.  
  563. local DamageNumber = Instance.new("TextLabel", DamageGui)
  564. DamageNumber.Size = UDim2.new(1,0,1,0)
  565. if Hit.Parent:FindFirstChild("Head") then
  566. DamageNumber.TextStrokeColor3 = Hit.Parent.Head.BrickColor.Color
  567. DamageNumber.TextColor3 = Hit.BrickColor.Color
  568. end
  569. DamageNumber.TextStrokeTransparency = 0
  570. DamageNumber.BackgroundTransparency = 1
  571. DamageNumber.Font = "SourceSansBold"
  572. DamageNumber.TextScaled = true
  573. DamageNumber.Text = DamageDealt
  574.  
  575. local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
  576. BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  577. BodyVelocity.Velocity = Vector3.new(0,2,0)
  578.  
  579. Services.Debris:AddItem(DamageShowingPart, 3)
  580.  
  581.  
  582. end
  583.  
  584. function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
  585. for _,WorkspaceChildren in pairs(workspace:children()) do
  586.  
  587. local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
  588.  
  589. if HitHumanoid ~= nil then
  590. local Hit = WorkspaceChildren:findFirstChild("Torso")
  591.  
  592. if Hit ~= nil then
  593.  
  594. local Target = Hit.Position - Part.Position
  595.  
  596. local Magnitude = Target.magnitude
  597.  
  598. if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
  599.  
  600. local HitBlock = Hit.Parent:FindFirstChild("Block")
  601.  
  602. if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
  603.  
  604. local HitBlock2 = Hit.Parent.Block.BlockDurability
  605.  
  606. if HitBlock2.Value > 15 then
  607.  
  608. local HitN = math.random(1,5)
  609.  
  610. HitBlock2.Value = HitBlock2.Value - 15
  611.  
  612.  
  613. if HitN == 1 then
  614. MakeSFX(Hit ,199148971, 0.5, 1)
  615. end
  616.  
  617. if HitN == 2 then
  618. MakeSFX(Hit ,199149025, 0.5, 1)
  619. end
  620.  
  621. if HitN == 3 then
  622. MakeSFX(Hit ,199149072, 0.5, 1)
  623. end
  624.  
  625. if HitN == 4 then
  626. MakeSFX(Hit ,199149109, 0.5, 1)
  627. end
  628.  
  629. if HitN == 5 then
  630. MakeSFX(Hit ,199149119, 0.5, 1)
  631. end
  632. return
  633. end
  634. end
  635.  
  636. DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  637.  
  638.  
  639.  
  640. end
  641. end
  642. end
  643. end
  644. end
  645.  
  646.  
  647.  
  648. local Cloak = Instance.new("Part", Character)
  649. Cloak.Name = "Cloak"
  650. Cloak.CanCollide = false
  651. Cloak.BrickColor = BrickColor.new("Institutional white")
  652.  
  653. local CloakMesh = Instance.new("SpecialMesh", Cloak)
  654. CloakMesh.MeshId = "http://www.roblox.com/asset?id=16150814"
  655. CloakMesh.TextureId = "http://www.roblox.com/asset?id=16150799"
  656.  
  657. local CloakWeld = CreateWeld(Cloak, CFrame.new(0,0,0) * CFrame.Angles(0,0,0), Head , Cloak, "ArkusToCharacter")
  658.  
  659. for i,v in pairs(Character:children()) do
  660. if v:IsA("Accessory") then
  661. v:Remove()
  662. elseif v:IsA("Shirt") then
  663. v:Remove()
  664. elseif v:IsA("Pants") then
  665. v:Remove()
  666. elseif v:IsA("BodyColors") then
  667.  
  668. Head.BrickColor =BrickColor.new("Really black")
  669. Torso.BrickColor = BrickColor.new("Really black")
  670. Right_Arm.BrickColor = BrickColor.new("Really black")
  671. Right_Leg.BrickColor = BrickColor.new("Really black")
  672. Left_Arm.BrickColor = BrickColor.new("Really black")
  673. Left_Leg.BrickColor = BrickColor.new("Really black")
  674.  
  675. v.HeadColor = BrickColor.new("Really black")
  676. v.TorsoColor = BrickColor.new("Really black")
  677. v.RightArmColor = BrickColor.new("Really black")
  678. v.LeftArmColor = BrickColor.new("Really black")
  679. v.RightLegColor = BrickColor.new("Really black")
  680. v.LeftLegColor = BrickColor.new("Really black")
  681.  
  682. end
  683. end
  684.  
  685.  
  686.  
  687. --[[ CLerp Declarations ]]--
  688.  
  689. function clerp(a,b,t)
  690. local qa = {QuaternionFromCFrame(a)}
  691. local qb = {QuaternionFromCFrame(b)}
  692. local ax, ay, az = a.x, a.y, a.z
  693. local bx, by, bz = b.x, b.y, b.z
  694. local _t = 1-t
  695. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  696. end
  697.  
  698. function QuaternionFromCFrame(cf) -- dis one
  699. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  700. local trace = m00 + m11 + m22
  701. if trace > 0 then
  702. local s = math.sqrt(1 + trace)
  703. local recip = 0.5/s
  704. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  705. else
  706. local i = 0
  707. if m11 > m00 then
  708. i = 1
  709. end
  710. if m22 > (i == 0 and m00 or m11) then
  711. i = 2
  712. end
  713. if i == 0 then
  714. local s = math.sqrt(m00-m11-m22+1)
  715. local recip = 0.5/s
  716. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  717. elseif i == 1 then
  718. local s = math.sqrt(m11-m22-m00+1)
  719. local recip = 0.5/s
  720. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  721. elseif i == 2 then
  722. local s = math.sqrt(m22-m00-m11+1)
  723. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  724. end
  725. end
  726. end
  727.  
  728. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  729. local xs, ys, zs = x + x, y + y, z + z
  730. local wx, wy, wz = w*xs, w*ys, w*zs
  731. local xx = x*xs
  732. local xy = x*ys
  733. local xz = x*zs
  734. local yy = y*ys
  735. local yz = y*zs
  736. local zz = z*zs
  737. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  738. end
  739.  
  740. function QuaternionSlerp(a, b, t)
  741. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  742. local startInterp, finishInterp;
  743. if cosTheta >= 0.0001 then
  744. if (1 - cosTheta) > 0.0001 then
  745. local theta = math.acos(cosTheta)
  746. local invSinTheta = 1/math.sin(theta)
  747. startInterp = math.sin((1-t)*theta)*invSinTheta
  748. finishInterp = math.sin(t*theta)*invSinTheta
  749. else
  750. startInterp = 1-t
  751. finishInterp = t
  752. end
  753. else
  754. if (1+cosTheta) > 0.0001 then
  755. local theta = math.acos(-cosTheta)
  756. local invSinTheta = 1/math.sin(theta)
  757. startInterp = math.sin((t-1)*theta)*invSinTheta
  758. finishInterp = math.sin(t*theta)*invSinTheta
  759. else
  760. startInterp = t-1
  761. finishInterp = t
  762. end
  763. end
  764. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  765. end
  766.  
  767. function RayCast(Pos, Dir, Max, Ignore)
  768. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  769. end
  770.  
  771.  
  772. function Bars()
  773.  
  774. --[[ Mana Bar ]]--
  775. if Destruction ~= MaxDestruction then
  776.  
  777. Destruction = Destruction + 1
  778.  
  779. end
  780.  
  781. if Destruction >= MaxDestruction then
  782.  
  783. Destruction = Destruction
  784.  
  785. end
  786.  
  787.  
  788. ManaBarText.Text = "<{[ Destruction ]}> <|"..Destruction.."|> <{[ Destruction ]}>"
  789.  
  790. ManaBarP2.Size = UDim2.new(Destruction / Destruction,0,0,20)
  791.  
  792. end
  793. local EyeReference = CreatePart(Character, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  794. local EyeReferenceWeld = CreateWeld(EyeReference, CFrame.new(0.15,-0.1,-0.7), EyeReference, Head)
  795.  
  796. coroutine.resume(coroutine.create(function()
  797.  
  798. while wait(3) do
  799.  
  800.  
  801. CircleEffect(EyeReference.Position, Services.Workspace, 1, 1, 1, 1, 1, 1, 0.5, "Bright red", "Neon", 0.5)
  802.  
  803.  
  804. end
  805.  
  806. end))
  807. --[[ Attacks ]]--
  808.  
  809. function Attack1()
  810. Attacking = true
  811. MakeSFX(EyeReference, 341336274, 1,1)
  812. wait(0.3)
  813. local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  814. local ReferenceWeld = CreateWeld(Reference, CFrame.new(0,0.5,-5), Reference, Root)
  815.  
  816. local Reference2 = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  817. local Reference2Weld = CreateWeld(Reference2, CFrame.new(0,0.5,-2), Reference2, Root)
  818.  
  819.  
  820. for i = 1,10 do
  821.  
  822. wait()
  823. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1.6),0.5)
  824. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,1.3),0.2)
  825. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
  826. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0,0,-1.6), 0.4)
  827. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0) * CFrame.Angles(0,1.6,0),0.3)
  828. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(0,-1.6,0),0.3)
  829.  
  830. end
  831.  
  832. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, "Bright red", "Neon", 0.5)
  833. wait(0.5)
  834. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, "Bright red", "Neon", 0.5)
  835. wait(0.5)
  836. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, "Bright red", "Neon", 0.5)
  837. wait(0.5)
  838. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, "Bright red", "Neon", 0.5)
  839. wait(0.5)
  840. MakeSFX(Reference, 306247724, 1,1)
  841. CircleEffect(Reference.Position, Services.Workspace, 1, 1, 1, 5, 5, 5, 5, "Bright red", "Neon", 0.5)
  842. ValidateDamage(Reference, 10 ,10 , 14, "Shrink", "Penetration", 5)
  843. Attacking = false
  844. end
  845.  
  846. function Attack2()
  847.  
  848. Attacking = true
  849. Humanoid.WalkSpeed = 0
  850. Humanoid.JumpPower = 0
  851.  
  852.  
  853. for i = 1,25 do
  854. wait()
  855.  
  856. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(-0.5,0,0),0.2)
  857. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  858. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1, 1, 0) * CFrame.Angles(3.2,0,-0.6), 0.3)
  859. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1, 1, 0) * CFrame.Angles(3.2,0,0.6), 0.3)
  860. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
  861. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
  862.  
  863. end
  864.  
  865. MakeSFX(Torso, 142070127, 1, 1)
  866. ValidateDamage(Torso, 60 ,23, 26, "Knockdown", "Penetration", 15)
  867. local Hit, Position = RayCast(Torso.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  868. if Hit ~= nil then
  869. local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  870. Reference.Anchored = true
  871. Reference.CFrame = CFrame.new(Position)
  872.  
  873. CircleEffect(Reference.Position, Services.Workspace, 1, 1, 1, 5, 5, 5, 5, "Bright red", "Neon", 0.5)
  874.  
  875. game:GetService("Debris"):AddItem(Reference,0.1)
  876. for i=1,50 do
  877.  
  878. local Ground = CreatePart(Services.Workspace, "Ground", Hit.BrickColor.Color, Vector3.new(math.random(1,3), math.random(1,3), math.random(1,3)), Hit.Material, 0, "Block")
  879. Ground.Anchored = true
  880. Ground.CanCollide = true
  881. Ground.CFrame = CFrame.new(Position) * CFrame.new(math.random(-30,30), 0, math.random(-30,30)) * CFrame.Angles(math.random(-50,50),math.random(-50,50), math.random(-50,50))
  882.  
  883. game:GetService("Debris"):AddItem(Ground,10)
  884.  
  885. end
  886. end
  887.  
  888. for i = 1,25 do
  889. wait()
  890.  
  891. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.5)
  892. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
  893. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0.1) * CFrame.Angles(-0.2,0,0), 0.3)
  894. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0.1) * CFrame.Angles(-0.2,0,0), 0.3)
  895. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
  896. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
  897.  
  898. end
  899.  
  900. Attacking = false
  901. Humanoid.WalkSpeed = 16
  902. Humanoid.JumpPower = 50
  903.  
  904.  
  905.  
  906. end
  907.  
  908.  
  909. function Attack3()
  910. Humanoid.WalkSpeed = 0
  911. Humanoid.JumpPower = 0
  912. Attacking = true
  913. wait(1)
  914. MakeSFX(Torso, 341336274, 1, 1.2)
  915. CircleEffect(Torso.Position, Services.Workspace, 1, 1, 1, 20, 20, 20, 5, "Black", "Neon", 0.5)
  916. wait(1)
  917. MakeSFX(Torso, 341336274, 1, 1.2)
  918. CircleEffect(Torso.Position, Services.Workspace, 1, 1, 1, 20, 20, 20, 5, "Black", "Neon", 0.5)
  919. wait(1)
  920. MakeSFX(Torso, 341336274, 1, 1.2)
  921. CircleEffect(Torso.Position, Services.Workspace, 1, 1, 1, 20, 20, 20, 5, "Black", "Neon", 0.5)
  922. ValidateDamage(Torso, 60 ,0, 0, "Impale", "Penetration", 15)
  923. Humanoid.WalkSpeed = 16
  924. Humanoid.JumpPower = 50
  925. Attacking = false
  926. end
  927.  
  928. Mouse.Button1Down:connect(function()
  929. if not Attacking then
  930. if Combo == 1 then
  931.  
  932. Combo = 2
  933. Attack1()
  934.  
  935.  
  936. elseif Combo == 2 then
  937.  
  938. Attack2()
  939. Combo = 3
  940.  
  941. elseif Combo == 3 then
  942.  
  943. Attack3()
  944. Combo = 1
  945.  
  946. end
  947. end
  948. end)
  949.  
  950. --[[ CLerp Animations ]]--
  951. Change1 = 0
  952. Change2 = 0
  953. Change3 = 0
  954. Change4 = 0
  955.  
  956. while true do
  957. wait()
  958.  
  959. local Torvel = (Root.Velocity*Vector3.new(1,0,1)).magnitude
  960. local Velderp = Root.Velocity.y
  961. HitFloor,PosFloor = RayCast(Root.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  962.  
  963. Bars()
  964.  
  965.  
  966. if Torvel < 1 and HitFloor ~= nil and Attacking == false then
  967. Anim = "Idle"
  968.  
  969. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  970. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,-0.3,0),0.3)
  971. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
  972. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
  973. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
  974. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
  975.  
  976. end
  977.  
  978.  
  979. if 2 < Torvel and Torvel < 22 and HitFloor ~= nil and Attacking == false then
  980. Anim = "Walking"
  981.  
  982. if Invert == false then
  983. Change1 = Change1 + 0.1
  984.  
  985. elseif Invert == true then
  986.  
  987. Change1 = Change1 - 0.1
  988.  
  989. end
  990.  
  991. if Change1 > 0.5 then
  992.  
  993. Invert = true
  994.  
  995. elseif Change1 < -0.5 then
  996.  
  997. Invert = false
  998.  
  999. end
  1000.  
  1001. if Attacking == false then
  1002.  
  1003. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1004. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,-0.3,0),0.3)
  1005. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, -Change1) * CFrame.Angles(Change1,0,0), 0.3)
  1006. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, Change1) * CFrame.Angles(-Change1,0,0), 0.3)
  1007. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-Change1 / 4)*CFrame.Angles(Change1,1.6,0),0.2)
  1008. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,Change1 / 4)*CFrame.Angles(-Change1,-1.6,0),0.2)
  1009.  
  1010. end
  1011. end
  1012.  
  1013. if Root.Velocity.y > 1 and HitFloor == nil and Attacking == false then
  1014. Anim = "Jump"
  1015.  
  1016. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1017. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1018. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0.2) * CFrame.Angles(-0.4,0,0.2), 0.3)
  1019. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0.2) * CFrame.Angles(-0.4,0,-0.2), 0.3)
  1020. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-0.2)*CFrame.Angles(-0.2,1.6,0),0.2)
  1021. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1022.  
  1023. end
  1024.  
  1025. if Root.Velocity.y < -1 and HitFloor == nil and Attacking == false then
  1026. Anim = "Fall"
  1027.  
  1028. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1029. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
  1030. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, -0.2) * CFrame.Angles(0.4,0,0.2), 0.3)
  1031. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, -0.2) * CFrame.Angles(0.4,0,-0.2), 0.3)
  1032. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-0.2)*CFrame.Angles(-0.2,1.6,0),0.2)
  1033. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1034.  
  1035. end
  1036.  
  1037.  
  1038. if #Effects > 0 then
  1039. for E = 1, #Effects do
  1040. if Effects[E]~=nil then
  1041. local Effect = Effects[E]
  1042.  
  1043. if Effect ~= nil then
  1044.  
  1045. local Part = Effect[1]
  1046. local Mode = Effect[2]
  1047. local Time = Effect[3]
  1048. local SizeX = Effect[4]
  1049. local SizeY = Effect[5]
  1050. local SizeZ = Effect[6]
  1051.  
  1052. if Effect[1].Transparency <= 1 then
  1053. if Effect[2] == "Block" then
  1054. Effect[1].CFrame = Effect[1].CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1055.  
  1056. Mesh = Effect[1]:FindFirstChild("Mesh")
  1057. if Mesh ~= nil then
  1058. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1059. end
  1060.  
  1061. elseif Effect[2] == "Circle" then
  1062.  
  1063. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  1064. Mesh=Effect[1].Mesh
  1065. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1066. end
  1067.  
  1068. Effect[1].Transparency = Effect[1].Transparency + 0.05
  1069.  
  1070. else
  1071.  
  1072. Part.Parent=nil
  1073.  
  1074. table.remove(Effects, E)
  1075.  
  1076. end
  1077. end
  1078. end
  1079. end
  1080. end
  1081. end
  1082. end
Advertisement
Add Comment
Please, Sign In to add comment