Advertisement
GalaxyDelta

Untitled

Jul 20th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2.  
  3. local Player,game,owner = owner,game
  4.  
  5. local RealPlayer = Player
  6.  
  7. do print("FE Compatibility code V3 by Desered_ROBLOX")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  8.  
  9. --[[Nocturna_A._Alteriano_Night.Owl.Inc]]-- (Edit by kiukiubol & lilh3)
  10. wait(1 / 60)
  11. p = game.Players.LocalPlayer
  12. char = p.Character
  13. torso = char.Torso
  14. neck = char.Torso.Neck
  15. hum = char.Humanoid
  16. hum.MaxHealth = 75000
  17. wait()
  18. hum.Health =hum.MaxHealth
  19. char.Head.face.Texture = "rbxassetid://405587215"
  20.  
  21. function startup()
  22. coroutine.resume(coroutine.create(function()
  23. local m = Instance.new("Model", char)
  24. m.Name = "* C"
  25. local chat = Instance.new("Part", m)
  26. chat.TopSurface = "Smooth"
  27. chat.BottomSurface = "Smooth"
  28. chat.Name = "Head"
  29. chat.FormFactor = "Custom"
  30. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  31. chat.Transparency = 0.9
  32. chat.CanCollide = false
  33. local Weld7 = Instance.new("Weld", char)
  34. Weld7.Part0 = char.Head
  35. Weld7.Part1 = chat
  36. Weld7.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  37. local cy7 = Instance.new("BlockMesh", chat)
  38. local h = Instance.new("Humanoid", m)
  39. h.MaxHealth = 0
  40. m.Name = "Star Platinum"
  41. end))
  42. end
  43.  
  44. z = Instance.new("Sound", torso)
  45. z.SoundId = "rbxassetid://264396581" -- Put Music ID Here.
  46. z.Looped = true
  47. z.Volume = 1
  48. wait(.1)
  49. z:Play()
  50.  
  51. char["Body Colors"].HeadColor = BrickColor.new("Pastel Blue")
  52. char["Body Colors"].TorsoColor = BrickColor.new("Pastel Blue")
  53. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel Blue")
  54. char["Body Colors"].RightArmColor = BrickColor.new("Pastel Blue")
  55. char["Body Colors"].LeftLegColor = BrickColor.new("Pastel Blue")
  56. char["Body Colors"].RightLegColor = BrickColor.new("Pastel Blue")
  57.  
  58. shirt = Instance.new("Shirt", char)
  59. shirt.Name = "Shirt"
  60. pants = Instance.new("Pants", char)
  61. pants.Name = "Pants"
  62. char.Shirt.ShirtTemplate = "rbxassetid://496506720"
  63. char.Pants.PantsTemplate = "rbxassetid://496512137"
  64.  
  65. Hat = Instance.new("Model")
  66. Hat.Parent = char
  67. Hat.Name = "Hat"
  68. rh = Instance.new("Part")
  69. rh.Parent = Hat
  70. rh.BrickColor = BrickColor.new("Really black")
  71. rh.Locked = true
  72. rh.CanCollide = false
  73. mesh = Instance.new("SpecialMesh")
  74. rh.formFactor = "Symmetric"
  75. mesh.MeshType = "FileMesh"
  76. mesh.MeshId = "rbxassetid://439736904"
  77. mesh.Parent = rh
  78. local weld = Instance.new("Weld")
  79. weld.Parent = rh
  80. weld.Part0 = rh
  81. weld.Part1 =char.Head
  82. weld.C0 = CFrame.new(0, -0.5, 0.5)*CFrame.Angles(0, 3, 0)
  83. mesh.Scale = Vector3.new(0.002,0.002, 0.002)
  84.  
  85. Effects = { }
  86. local Player = game.Players.localPlayer
  87. local Character = Player.Character
  88. local Humanoid = Character.Humanoid
  89. Humanoid.WalkSpeed = 20
  90. local Mouse = Player:GetMouse()
  91. local LeftArm = Character["Left Arm"]
  92. local RightArm = Character["Right Arm"]
  93. local LeftLeg = Character["Left Leg"]
  94. local RightLeg = Character["Right Leg"]
  95. local Head = Character.Head
  96. local Torso = Character.Torso
  97. local Camera = game.Workspace.CurrentCamera
  98. local RootPart = Character.HumanoidRootPart
  99. local RootJoint = RootPart.RootJoint
  100. local attack = false
  101. local Anim = 'Idle'
  102. local attacktype = 1
  103. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  104. local velocity = RootPart.Velocity.y
  105. local sine = 0
  106. local change = 1
  107. local Create = LoadLibrary("RbxUtility").Create
  108. local TimeStop = false
  109.  
  110. local m = Create("Model"){
  111. Parent = Character,
  112. Name = "WeaponModel",
  113. }
  114.  
  115. Humanoid.Animator.Parent = nil
  116. Character.Animate.Parent = nil
  117.  
  118. local newMotor = function(part0, part1, c0, c1)
  119. local w = Create('Motor'){
  120. Parent = part0,
  121. Part0 = part0,
  122. Part1 = part1,
  123. C0 = c0,
  124. C1 = c1,
  125. }
  126. return w
  127. end
  128.  
  129. function clerp(a, b, t)
  130. return a:lerp(b, t)
  131. end
  132.  
  133. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  134. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  135.  
  136. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  137. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  138. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  139. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  140. RootJoint.C1 = CFrame.new(0, 0, 0)
  141. RootJoint.C0 = CFrame.new(0, 0, 0)
  142. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  143. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  144.  
  145. local rarmc1 = RW.C1
  146. local larmc1 = LW.C1
  147. local rlegc1 = RH.C1
  148. local llegc1 = LH.C1
  149.  
  150. local resetc1 = false
  151.  
  152. function PlayAnimationFromTable(table, speed, bool)
  153. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  154. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  155. RW.C0 = clerp(RW.C0, table[3], speed)
  156. LW.C0 = clerp(LW.C0, table[4], speed)
  157. RH.C0 = clerp(RH.C0, table[5], speed)
  158. LH.C0 = clerp(LH.C0, table[6], speed)
  159. if bool == true then
  160. if resetc1 == false then
  161. resetc1 = true
  162. RootJoint.C1 = RootJoint.C1
  163. Torso.Neck.C1 = Torso.Neck.C1
  164. RW.C1 = rarmc1
  165. LW.C1 = larmc1
  166. RH.C1 = rlegc1
  167. LH.C1 = llegc1
  168. end
  169. end
  170. end
  171.  
  172. ArtificialHB = Create("BindableEvent", script){
  173. Parent = script,
  174. Name = "Heartbeat",
  175. }
  176.  
  177. script:WaitForChild("Heartbeat")
  178.  
  179. frame = 1 / 35
  180. tf = 0
  181. allowframeloss = false
  182. tossremainder = false
  183. lastframe = tick()
  184. script.Heartbeat:Fire()
  185.  
  186. game:GetService("RunService").Heartbeat:connect(function(s, p)
  187. tf = tf + s
  188. if tf >= frame then
  189. if allowframeloss then
  190. script.Heartbeat:Fire()
  191. lastframe = tick()
  192. else
  193. for i = 1, math.floor(tf / frame) do
  194. script.Heartbeat:Fire()
  195. end
  196. lastframe = tick()
  197. end
  198. if tossremainder then
  199. tf = 0
  200. else
  201. tf = tf - frame * math.floor(tf / frame)
  202. end
  203. end
  204. end)
  205.  
  206. function swait(num)
  207. if num == 0 or num == nil then
  208. ArtificialHB.Event:wait()
  209. else
  210. for i = 0, num do
  211. ArtificialHB.Event:wait()
  212. end
  213. end
  214. end
  215.  
  216. function RemoveOutlines(part)
  217. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  218. end
  219.  
  220. CFuncs = {
  221. Part = {
  222. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  223. local Part = Create("Part"){
  224. Parent = Parent,
  225. Reflectance = Reflectance,
  226. Transparency = Transparency,
  227. CanCollide = false,
  228. Locked = true,
  229. BrickColor = BrickColor.new(tostring(BColor)),
  230. Name = Name,
  231. Size = Size,
  232. Material = Material,
  233. }
  234. RemoveOutlines(Part)
  235. return Part
  236. end;
  237. };
  238.  
  239. Mesh = {
  240. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  241. local Msh = Create(Mesh){
  242. Parent = Part,
  243. Offset = OffSet,
  244. Scale = Scale,
  245. }
  246. if Mesh == "SpecialMesh" then
  247. Msh.MeshType = MeshType
  248. Msh.MeshId = MeshId
  249. end
  250. return Msh
  251. end;
  252. };
  253.  
  254. Weld = {
  255. Create = function(Parent, Part0, Part1, C0, C1)
  256. local Weld = Create("Weld"){
  257. Parent = Parent,
  258. Part0 = Part0,
  259. Part1 = Part1,
  260. C0 = C0,
  261. C1 = C1,
  262. }
  263. return Weld
  264. end;
  265. };
  266.  
  267. Sound = {
  268. Create = function(id, par, vol, pit)
  269. local Sound = Create("Sound"){
  270. Volume = vol,
  271. Pitch = pit or 1,
  272. SoundId = "rbxassetid://" .. id,
  273. Parent = par or workspace,
  274. }
  275. Sound:play()
  276. return Sound
  277. end;
  278. };
  279.  
  280. Decal = {
  281. Create = function(Color, Texture, Transparency, Name, Parent)
  282. local Decal = Create("Decal"){
  283. Color3 = Color,
  284. Texture = "rbxassetid://" .. Texture,
  285. Transparency = Transparency,
  286. Name = Name,
  287. Parent = Parent,
  288. }
  289. return Decal
  290. end;
  291. };
  292.  
  293. BillboardGui = {
  294. Create = function(Parent, Image, Position, Size)
  295. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  296. BillPar.CFrame = CFrame.new(Position)
  297. local Bill = Create("BillboardGui"){
  298. Parent = BillPar,
  299. Adornee = BillPar,
  300. Size = UDim2.new(1, 0, 1, 0),
  301. SizeOffset = Vector2.new(Size, Size),
  302. }
  303. local d = Create("ImageLabel", Bill){
  304. Parent = Bill,
  305. BackgroundTransparency = 1,
  306. Size = UDim2.new(1, 0, 1, 0),
  307. Image = "rbxassetid://" .. Image,
  308. }
  309. return BillPar
  310. end
  311. };
  312.  
  313. ParticleEmitter = {
  314. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  315. local Particle = Create("ParticleEmitter"){
  316. Parent = Parent,
  317. Color = ColorSequence.new(Color1, Color2),
  318. LightEmission = LightEmission,
  319. Size = Size,
  320. Texture = Texture,
  321. Transparency = Transparency,
  322. ZOffset = ZOffset,
  323. Acceleration = Accel,
  324. Drag = Drag,
  325. LockedToPart = LockedToPart,
  326. VelocityInheritance = VelocityInheritance,
  327. EmissionDirection = EmissionDirection,
  328. Enabled = Enabled,
  329. Lifetime = LifeTime,
  330. Rate = Rate,
  331. Rotation = Rotation,
  332. RotSpeed = RotSpeed,
  333. Speed = Speed,
  334. VelocitySpread = VelocitySpread,
  335. }
  336. return Particle
  337. end;
  338. };
  339.  
  340. CreateTemplate = {
  341.  
  342. };
  343. }
  344.  
  345. function rayCast(Position, Direction, Range, Ignore)
  346. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  347. end
  348.  
  349. function FindNearestTorso(Position, Distance, SinglePlayer)
  350. if SinglePlayer then
  351. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  352. end
  353. local List = {}
  354. for i, v in pairs(workspace:GetChildren()) do
  355. if v:IsA("Model") then
  356. if v:findFirstChild("Torso") then
  357. if v ~= Character then
  358. if (v.Torso.Position - Position).magnitude <= Distance then
  359. table.insert(List, v)
  360. end
  361. end
  362. end
  363. end
  364. end
  365. return List
  366. end
  367.  
  368. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  369. if hit.Parent == nil then
  370. return
  371. end
  372. local h = hit.Parent:FindFirstChild("Humanoid")
  373. for _, v in pairs(hit.Parent:children()) do
  374. if v:IsA("Humanoid") then
  375. h = v
  376. end
  377. end
  378. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  379. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  380. if hit.Parent.DebounceHit.Value == true then
  381. return
  382. end
  383. end
  384. local c = Create("ObjectValue"){
  385. Name = "creator",
  386. Value = game:service("Players").LocalPlayer,
  387. Parent = h,
  388. }
  389. game:GetService("Debris"):AddItem(c, .5)
  390. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  391. local Damage = math.random(minim, maxim)
  392. local blocked = false
  393. local block = hit.Parent:findFirstChild("Block")
  394. if block ~= nil then
  395. if block.className == "IntValue" then
  396. if block.Value > 0 then
  397. blocked = true
  398. block.Value = block.Value - 1
  399. print(block.Value)
  400. end
  401. end
  402. end
  403. if TimeStop == false then
  404. h.Health = h.Health - Damage
  405. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Deep blue").Color)
  406. elseif TimeStop == true then
  407. repeat wait() until TimeStop == false
  408. h.Health = h.Health - (Damage / 2)
  409. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Deep blue").Color)
  410. end
  411. if Type == "Knockdown" then
  412. local hum = hit.Parent.Humanoid
  413. hum.PlatformStand = true
  414. coroutine.resume(coroutine.create(function(HHumanoid)
  415. swait(1)
  416. HHumanoid.PlatformStand = false
  417. end), hum)
  418. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  419. local bodvol = Create("BodyVelocity"){
  420. velocity = angle * knockback,
  421. P = 5000,
  422. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  423. Parent = hit,
  424. }
  425. local rl = Create("BodyAngularVelocity"){
  426. P = 3000,
  427. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  428. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  429. Parent = hit,
  430. }
  431. game:GetService("Debris"):AddItem(bodvol, .5)
  432. game:GetService("Debris"):AddItem(rl, .5)
  433. elseif Type == "Normal" then
  434. local vp = Create("BodyVelocity"){
  435. P = 500,
  436. maxForce = Vector3.new(math.huge, 0, math.huge),
  437. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  438. }
  439. if knockback > 0 then
  440. vp.Parent = hit.Parent.Torso
  441. end
  442. game:GetService("Debris"):AddItem(vp, .5)
  443. elseif Type == "Up" then
  444. local bodyVelocity = Create("BodyVelocity"){
  445. velocity = Vector3.new(0, 20, 0),
  446. P = 5000,
  447. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  448. Parent = hit,
  449. }
  450. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  451. elseif Type == "DarkUp" then
  452. coroutine.resume(coroutine.create(function()
  453. for i = 0, 1, 0.1 do
  454. swait()
  455. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  456. end
  457. end))
  458. local bodyVelocity = Create("BodyVelocity"){
  459. velocity = Vector3.new(0, 20, 0),
  460. P = 5000,
  461. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  462. Parent = hit,
  463. }
  464. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  465. elseif Type == "Snare" then
  466. local bp = Create("BodyPosition"){
  467. P = 2000,
  468. D = 100,
  469. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  470. position = hit.Parent.Torso.Position,
  471. Parent = hit.Parent.Torso,
  472. }
  473. game:GetService("Debris"):AddItem(bp, 1)
  474. elseif Type == "Freeze" then
  475. local BodPos = Create("BodyPosition"){
  476. P = 50000,
  477. D = 1000,
  478. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  479. position = hit.Parent.Torso.Position,
  480. Parent = hit.Parent.Torso,
  481. }
  482. local BodGy = Create("BodyGyro") {
  483. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  484. P = 20e+003,
  485. Parent = hit.Parent.Torso,
  486. cframe = hit.Parent.Torso.CFrame,
  487. }
  488. hit.Parent.Torso.Anchored = true
  489. coroutine.resume(coroutine.create(function(Part)
  490. swait(1.5)
  491. Part.Anchored = false
  492. end), hit.Parent.Torso)
  493. game:GetService("Debris"):AddItem(BodPos, 3)
  494. game:GetService("Debris"):AddItem(BodGy, 3)
  495. end
  496. local debounce = Create("BoolValue"){
  497. Name = "DebounceHit",
  498. Parent = hit.Parent,
  499. Value = true,
  500. }
  501. game:GetService("Debris"):AddItem(debounce, Delay)
  502. c = Create("ObjectValue"){
  503. Name = "creator",
  504. Value = Player,
  505. Parent = h,
  506. }
  507. game:GetService("Debris"):AddItem(c, .5)
  508. end
  509. end
  510.  
  511. function ShowDamage(Pos, Text, Time, Color)
  512. local Rate = (1 / 30)
  513. local Pos = (Pos or Vector3.new(0, 0, 0))
  514. local Text = (Text or "")
  515. local Time = (Time or 2)
  516. local Color = (Color or Color3.new(1, 0, 1))
  517. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  518. EffectPart.Anchored = true
  519. local BillboardGui = Create("BillboardGui"){
  520. Size = UDim2.new(3, 0, 3, 0),
  521. Adornee = EffectPart,
  522. Parent = EffectPart,
  523. }
  524. local TextLabel = Create("TextLabel"){
  525. BackgroundTransparency = 1,
  526. Size = UDim2.new(1, 0, 1, 0),
  527. Text = Text,
  528. Font = "SciFi",
  529. TextColor3 = Color,
  530. TextScaled = true,
  531. Parent = BillboardGui,
  532. }
  533. game.Debris:AddItem(EffectPart, (Time))
  534. EffectPart.Parent = game:GetService("Workspace")
  535. delay(0, function()
  536. local Frames = (Time / Rate)
  537. for Frame = 1, Frames do
  538. wait(Rate)
  539. local Percent = (Frame / Frames)
  540. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  541. TextLabel.TextTransparency = Percent
  542. end
  543. if EffectPart and EffectPart.Parent then
  544. EffectPart:Destroy()
  545. end
  546. end)
  547. end
  548.  
  549. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  550. for _, c in pairs(workspace:children()) do
  551. local hum = c:findFirstChild("Humanoid")
  552. if hum ~= nil then
  553. local head = c:findFirstChild("Torso")
  554. if head ~= nil then
  555. local targ = head.Position - Part.Position
  556. local mag = targ.magnitude
  557. if mag <= Magnitude and c.Name ~= Player.Name then
  558. for i = 1, 10 do
  559. Effects.Elect.Create(head.CFrame, 10, 10, 10)
  560. end
  561. CFuncs.Sound.Create("0", head, 1, 1)
  562. Effects.Sphere.Create(BrickColor.new("Deep blue"), head.CFrame, .5, .5, .5, .5, .5, .5, .05)
  563. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
  564. end
  565. end
  566. end
  567. end
  568. end
  569.  
  570. HandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HandleR", Vector3.new(0.403949469, 0.452220112, 0.425030977))
  571. HandleRWeld = CFuncs.Weld.Create(m, Character["Right Arm"], HandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00997161865, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1))
  572. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HitboxR", Vector3.new(1.00394952, 1.05222011, 1.02503109))
  573. HitboxRWeld = CFuncs.Weld.Create(m, HandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 0, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  574. HandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HandleL", Vector3.new(0.403949469, 0.452220112, 0.425030977))
  575. HandleLWeld = CFuncs.Weld.Create(m, Character["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00997924805, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1))
  576. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HitboxL", Vector3.new(1.00394952, 1.05222011, 1.02503109))
  577. HitboxLWeld = CFuncs.Weld.Create(m, HandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 3.81469727e-006, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  578. sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  579. sref.Anchored = true
  580.  
  581. EffectModel = Create("Model"){
  582. Parent = Character,
  583. Name = "Effects",
  584. }
  585.  
  586. Effects = {
  587. Block = {
  588. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  589. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  590. prt.Anchored = true
  591. prt.CFrame = cframe
  592. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  593. game:GetService("Debris"):AddItem(prt, 10)
  594. if Type == 1 or Type == nil then
  595. table.insert(Effects, {
  596. prt,
  597. "Block1",
  598. delay,
  599. x3,
  600. y3,
  601. z3,
  602. msh
  603. })
  604. elseif Type == 2 then
  605. table.insert(Effects, {
  606. prt,
  607. "Block2",
  608. delay,
  609. x3,
  610. y3,
  611. z3,
  612. msh
  613. })
  614. end
  615. end;
  616. };
  617.  
  618. Cylinder = {
  619. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  620. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  621. prt.Anchored = true
  622. prt.CFrame = cframe
  623. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  624. game:GetService("Debris"):AddItem(prt, 2)
  625. table.insert(Effects, {
  626. prt,
  627. "Cylinder",
  628. delay,
  629. x3,
  630. y3,
  631. z3,
  632. msh
  633. })
  634. end;
  635. };
  636.  
  637. Head = {
  638. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  639. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  640. prt.Anchored = true
  641. prt.CFrame = cframe
  642. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  643. game:GetService("Debris"):AddItem(prt, 10)
  644. table.insert(Effects, {
  645. prt,
  646. "Cylinder",
  647. delay,
  648. x3,
  649. y3,
  650. z3,
  651. msh
  652. })
  653. end;
  654. };
  655.  
  656. Sphere = {
  657. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  658. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  659. prt.Anchored = true
  660. prt.CFrame = cframe
  661. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  662. game:GetService("Debris"):AddItem(prt, 10)
  663. table.insert(Effects, {
  664. prt,
  665. "Cylinder",
  666. delay,
  667. x3,
  668. y3,
  669. z3,
  670. msh
  671. })
  672. end;
  673. };
  674.  
  675. Elect = {
  676. Create = function(cff, x, y, z)
  677. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Deep blue"), "Part", Vector3.new(1, 1, 1))
  678. prt.Anchored = true
  679. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  680. prt.CFrame = CFrame.new(prt.Position)
  681. game:GetService("Debris"):AddItem(prt, 2)
  682. local xval = math.random() / 2
  683. local yval = math.random() / 2
  684. local zval = math.random() / 2
  685. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  686. table.insert(Effects, {
  687. prt,
  688. "Elec",
  689. 0.1,
  690. x,
  691. y,
  692. z,
  693. xval,
  694. yval,
  695. zval
  696. })
  697. end;
  698.  
  699. };
  700.  
  701. Ring = {
  702. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  703. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  704. prt.Anchored = true
  705. prt.CFrame = cframe
  706. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  707. game:GetService("Debris"):AddItem(prt, 10)
  708. table.insert(Effects, {
  709. prt,
  710. "Cylinder",
  711. delay,
  712. x3,
  713. y3,
  714. z3,
  715. msh
  716. })
  717. end;
  718. };
  719.  
  720.  
  721. Wave = {
  722. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  723. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  724. prt.Anchored = true
  725. prt.CFrame = cframe
  726. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  727. game:GetService("Debris"):AddItem(prt, 10)
  728. table.insert(Effects, {
  729. prt,
  730. "Cylinder",
  731. delay,
  732. x3,
  733. y3,
  734. z3,
  735. msh
  736. })
  737. end;
  738. };
  739.  
  740. Break = {
  741. Create = function(brickcolor, cframe, x1, y1, z1)
  742. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  743. prt.Anchored = true
  744. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  745. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  746. local num = math.random(10, 50) / 1000
  747. game:GetService("Debris"):AddItem(prt, 10)
  748. table.insert(Effects, {
  749. prt,
  750. "Shatter",
  751. num,
  752. prt.CFrame,
  753. math.random() - math.random(),
  754. 0,
  755. math.random(50, 100) / 100
  756. })
  757. end;
  758. };
  759.  
  760. Fire = {
  761. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  762. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  763. prt.Anchored = true
  764. prt.CFrame = cframe
  765. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  766. game:GetService("Debris"):AddItem(prt, 10)
  767. table.insert(Effects, {
  768. prt,
  769. "Fire",
  770. delay,
  771. 1,
  772. 1,
  773. 1,
  774. msh
  775. })
  776. end;
  777. };
  778.  
  779. FireWave = {
  780. Create = function(brickcolor, cframe, x1, y1, z1)
  781. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  782. prt.Anchored = true
  783. prt.CFrame = cframe
  784. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  785. local d = Create("Decal"){
  786. Parent = prt,
  787. Texture = "rbxassetid://26356434",
  788. Face = "Top",
  789. }
  790. local d = Create("Decal"){
  791. Parent = prt,
  792. Texture = "rbxassetid://26356434",
  793. Face = "Bottom",
  794. }
  795. game:GetService("Debris"):AddItem(prt, 10)
  796. table.insert(Effects, {
  797. prt,
  798. "FireWave",
  799. 1,
  800. 30,
  801. math.random(400, 600) / 100,
  802. msh
  803. })
  804. end;
  805. };
  806.  
  807. Lightning = {
  808. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  809. local magz = (p0 - p1).magnitude
  810. local curpos = p0
  811. local trz = {
  812. -ofs,
  813. ofs
  814. }
  815. for i = 1, tym do
  816. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  817. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  818. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  819. li.Material = "Neon"
  820. if tym == i then
  821. local magz2 = (curpos - p1).magnitude
  822. li.Size = Vector3.new(th, th, magz2)
  823. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  824. table.insert(Effects, {
  825. li,
  826. "Disappear",
  827. last
  828. })
  829. else
  830. do
  831. do
  832. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  833. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  834. game.Debris:AddItem(li, 10)
  835. table.insert(Effects, {
  836. li,
  837. "Disappear",
  838. last
  839. })
  840. end
  841. end
  842. end
  843. end
  844. end
  845. };
  846.  
  847. EffectTemplate = {
  848.  
  849. };
  850. }
  851.  
  852. local DORARA = false
  853.  
  854. function ORA()
  855. attack = true
  856. for i = 0, 1, 0.2 do
  857. swait()
  858. PlayAnimationFromTable({
  859. CFrame.new(4.76837158e-007, -0.107780606, -0.0868092626, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  860. CFrame.new(0, 1.4999913, 2.38418608e-007, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  861. CFrame.new(1.50214899, 0.590444803, 0.195881441, 0.965925872, 3.76027884e-007, 0.258818895, 0.257834077, -0.0871552154, -0.962250412, 0.0225570519, 0.99619478, -0.0841855928) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  862. CFrame.new(-1.60470915, 0.600643516, 0.204860806, 0.937436998, -0.0449436344, -0.345242023, -0.345831364, -0.00582624972, -0.938278675, 0.0401581824, 0.998972595, -0.0210046768) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  863. CFrame.new(0.636808395, -1.93472588, -0.370165229, 0.936116338, -0.0517791435, -0.347858071, 0.0266665779, 0.996705353, -0.0765988752, 0.350678325, 0.0624292716, 0.934412897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  864. CFrame.new(-0.6665681, -1.92173398, -0.343467057, 0.962250233, 0.0613082647, 0.265171379, -0.0410595685, 0.99584806, -0.0812460929, -0.269051433, 0.0672912449, 0.960772276) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  865. }, .3, false)
  866. end
  867. local DORA = CFuncs.Sound.Create("161823027", Torso, 1, 1)
  868. Instance.new("DistortionSoundEffect", DORA).Level = .45
  869. DORA.Looped = true
  870. local Con1 = HitboxL.Touched:connect(function(hit) Damage(HitboxL, hit, 1, 5, 0, "Normal", RootPart, 0, "260430117", 1) end)
  871. local Con2 = HitboxR.Touched:connect(function(hit) Damage(HitboxR, hit, 1, 5, 0, "Normal", RootPart, 0, "260430117", 1) end)
  872. while DORARA == true do
  873. RootPart.Velocity = RootPart.CFrame.lookVector * 5
  874. for i = 0, 1, 0.7 do
  875. swait()
  876. Effects.Elect.Create(HitboxL.CFrame, 4, 4, 4)
  877. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
  878. PlayAnimationFromTable({
  879. CFrame.new(-0.0223142356, -0.107780628, -0.249816686, 0.906307876, 0.0733869597, -0.416197479, 0, 0.98480773, 0.173648462, 0.422617942, -0.157378972, 0.892539084) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  880. CFrame.new(-2.22850417e-007, 1.49999118, 1.16660271e-006, 0.906307936, 1.49011612e-008, 0.422617972, -7.27595761e-009, 1, 0, -0.422618032, 0, 0.906308055) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  881. CFrame.new(1.5318948, 0.588474631, 0.207054406, 0.899958313, 0.340718478, 0.272003621, 0.314965397, -0.0767233223, -0.945997, -0.301449746, 0.9370296, -0.176362336) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  882. CFrame.new(-1.27977741, 0.723447502, -1.20010054, 0.726744413, 0.46058476, -0.509611845, -0.503104627, -0.148215696, -0.851421177, -0.46768418, 0.875153661, 0.124007396) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  883. CFrame.new(0.636807501, -1.93472636, -0.370165735, 0.868198872, -0.0517790169, 0.493507534, 0.075819321, 0.996705353, -0.0288097262, -0.490389913, 0.0624299645, 0.869264364) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  884. CFrame.new(-0.666569352, -1.92173386, -0.343467534, 0.86083132, 0.0613082871, 0.505183935, -0.018632248, 0.995848, -0.0891051888, -0.508549333, 0.0672918186, 0.858399451) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  885. }, .9, false)
  886. end
  887. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  888. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 2, 2, 2, .15)
  889. RootPart.Velocity = RootPart.CFrame.lookVector * 5
  890. for i = 0, 1, 0.7 do
  891. swait()
  892. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxR.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .2)
  893. PlayAnimationFromTable({
  894. CFrame.new(0.0767437443, -0.107780531, -0.279432267, 0.866025388, -0.0868241936, 0.492404073, 0, 0.98480773, 0.173648342, -0.500000238, -0.150383845, 0.852868438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  895. CFrame.new(-2.61076184e-006, 1.4999913, -6.19508683e-007, 0.866025209, 2.98023224e-007, -0.500000656, -2.56928615e-007, 1, 1.1920929e-007, 0.500000596, 2.98023224e-008, 0.866025209) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  896. CFrame.new(1.40606534, 0.812639356, -1.14933658, 0.82139349, -0.422619373, 0.383021921, 0.349686205, -0.157378837, -0.923553765, 0.450591207, 0.892538428, 0.0185142085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  897. CFrame.new(-1.64197171, 0.599264741, 0.212680459, 0.807513177, -0.456930667, -0.373010725, -0.413006425, 0.0134942085, -0.9106282, 0.421127379, 0.889400065, -0.177818552) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  898. CFrame.new(0.636808515, -1.93472552, -0.37016958, 0.814187765, -0.0517790765, -0.578288436, 0.00593282748, 0.996705353, -0.0808905214, 0.580571651, 0.0624291934, 0.811812401) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  899. CFrame.new(-0.666569233, -1.92173398, -0.343468547, 0.867917657, 0.0613080971, -0.492910266, -0.0864830092, 0.99584806, -0.0284160972, 0.489121556, 0.0672912076, 0.869616032) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  900. }, .9, false)
  901. end
  902.  
  903. fat = Instance.new("BindableEvent", script)
  904. fat.Name = "Heartbeat"
  905. script:WaitForChild("Heartbeat")
  906. frame = 0.013333333333333
  907. tf = 0
  908. allowframeloss = false
  909. tossremainder = false
  910. lastframe = tick()
  911. script.Heartbeat:Fire()
  912. local ss = Instance.new("Sound",char)
  913. ss.Volume = 3
  914. ss.Looped = true
  915. ss.Pitch = 1
  916. ss.SoundId = "rbxassetid://0"
  917. ss:Play()
  918. function sbchat(msg,displayname)
  919. if not displayname then
  920. displayname = 'bela'
  921. end
  922. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  923. local st = Instance.new('StringValue')
  924. st.Name = 'SB_Chat'
  925. st.Value = displayname..'/'..msg
  926. delay(0.2,function() st.Parent = v end)
  927. end
  928. end
  929.  
  930. sbchat("ORA ORA ORA",'[Star Platinum]')
  931. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  932. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxR.CFrame, .5, .5, .5, 2, 2, 2, .2)
  933. end
  934. Con1:disconnect()
  935. Con2:disconnect()
  936. DORA:Stop()
  937. attack = false
  938. end
  939.  
  940. local stoppedParts = {}
  941.  
  942.  
  943. function getAllParts()
  944. local rtn = {}
  945.  
  946. local function recurse(object)
  947. for q,e in next, object:children() do
  948. if e:isA'BasePart' and e.Name ~= "HumanoidRootPart" then
  949. table.insert(rtn, e)
  950. end
  951. recurse(e)
  952. end
  953. end
  954.  
  955. recurse(workspace)
  956. return rtn
  957. end
  958.  
  959. function stopParts(distance)
  960. stoppedParts = {}
  961. for nada, part in next, getAllParts() do
  962. local dist = (Torso.Position-part.Position).magnitude
  963. if dist <= distance and part.Name ~='Base' and part.Name ~= 'Baseplate' and not part:isDescendantOf(Torso.Parent) and part.Anchored ~= true then
  964. table.insert(stoppedParts, part)
  965. if part.Name ~= "Torso" and part.Anchored ~= true then
  966. part.Anchored = true
  967. end
  968. end
  969. end
  970. end
  971.  
  972.  
  973. function freeParts()
  974. for q,e in next, stoppedParts do
  975. stoppedParts[q] = nil
  976. e.Anchored = false
  977. end
  978. end
  979.  
  980. local effect = Instance.new('ColorCorrectionEffect')
  981. function TheWorld(Mode)
  982. if Mode == "Time Start" then
  983. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
  984. for i = 1,50 do
  985. if effect.Saturation <= 0 then
  986. effect.Saturation = effect.Saturation + i/50
  987. end
  988. swait(1/30)
  989. end
  990. freeParts()
  991. effect.Saturation = 0
  992. effect.Contrast = 0
  993. effect.Parent = nil
  994. workspace.Gravity = 196.2
  995. end
  996. if Mode == "Quick Stop" then
  997.  
  998. fat = Instance.new("BindableEvent", script)
  999. fat.Name = "Heartbeat"
  1000. script:WaitForChild("Heartbeat")
  1001. frame = 0.013333333333333
  1002. tf = 0
  1003. allowframeloss = false
  1004. tossremainder = false
  1005. lastframe = tick()
  1006. script.Heartbeat:Fire()
  1007. local ss = Instance.new("Sound",char)
  1008. ss.Volume = 3
  1009. ss.Looped = true
  1010. ss.Pitch = 1
  1011. ss.SoundId = "rbxassetid://0"
  1012. ss:Play()
  1013. function sbchat(msg,displayname)
  1014. if not displayname then
  1015. displayname = 'bela'
  1016. end
  1017. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  1018. local st = Instance.new('StringValue')
  1019. st.Name = 'SB_Chat'
  1020. st.Value = displayname..'/'..msg
  1021. delay(0.2,function() st.Parent = v end)
  1022. end
  1023. end
  1024.  
  1025. sbchat("THE WORLD!",'[Star Platinum]')
  1026. local zawarudo = CFuncs.Sound.Create("735067173", workspace, 1, 1)
  1027. Instance.new("DistortionSoundEffect", zawarudo).Level = .67
  1028. swait(60)
  1029. Effects.Sphere.Create(BrickColor.new("Institutional white"), RootPart.CFrame, 1, 1, 1, 50, 50, 50, .01)
  1030. effect.Parent = game.Lighting
  1031. for i = 1,50 do
  1032. effect.Saturation = -(i/10)
  1033. swait()
  1034. end
  1035. stopParts(5555)
  1036. end
  1037. end
  1038.  
  1039. Mouse.Button1Down:connect(function()
  1040. if attack == false and DORARA == false then
  1041. DORARA = true
  1042. ORA()
  1043. end
  1044. end)
  1045.  
  1046. Mouse.Button1Up:connect(function()
  1047. if attack == true and DORARA == true then
  1048. DORARA = false
  1049. end
  1050. end)
  1051.  
  1052. Mouse.KeyDown:connect(function(k)
  1053. k = k:lower()
  1054. if attack == false and k == 'g' and TimeStop == false then
  1055. TimeStop = true
  1056. TheWorld("Quick Stop")
  1057. elseif attack == false and k == 'g' and TimeStop == true then
  1058. TimeStop = false
  1059. TheWorld("Time Start")
  1060. end
  1061. end)
  1062.  
  1063. while true do
  1064. swait()
  1065. sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  1066. for i, v in pairs(Character:GetChildren()) do
  1067. if v:IsA("Part") then
  1068. v.Material = "SmoothPlastic"
  1069. elseif v:IsA("Accessory") then
  1070. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1071. end
  1072. end
  1073. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1074. velocity = RootPart.Velocity.y
  1075. sine = sine + change
  1076. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1077. if RootPart.Velocity.y > 1 and hit == nil then
  1078. Anim = "Jump"
  1079. if attack == false then
  1080. PlayAnimationFromTable({
  1081. CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, -0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1082. CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, -0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1083. CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1084. CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1085. CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392e-007, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1086. CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1087. }, .3, false)
  1088. end
  1089. elseif RootPart.Velocity.y < -1 and hit == nil then
  1090. Anim = "Fall"
  1091. if attack == false then
  1092. PlayAnimationFromTable({
  1093. CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1094. CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1095. CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1096. CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1097. CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1098. CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1099. }, .3, false)
  1100. end
  1101. elseif Torsovelocity < 1 and hit ~= nil then
  1102. Anim = "Idle"
  1103. if attack == false then
  1104. change = 1
  1105. PlayAnimationFromTable({
  1106. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885, 0.965925872, 0, 0.258818984, 0, 1, 0, -0.258818984, 0, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1107. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007, 0.965925872, 0.02255762, -0.257834077, 0, 0.996194661, 0.087155968, 0.258818984, -0.0841862038, 0.962250173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1108. CFrame.new(1.18608475, 0.561332762, -0.668662548, 0.815707564, 0.397307515, 0.420437992, 0.567439079, -0.408345699, -0.71502924, -0.112402454, 0.821827531, -0.558538496) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1109. CFrame.new(-1.18486226, 0.664583206, -0.703545451, 0.801997423, -0.384815574, -0.456855893, -0.595755875, -0.459863067, -0.658483863, 0.0433037281, 0.800276875, -0.598065078) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1110. CFrame.new(0.602607846, -1.89999723, -0.281901717, 0.938264608, -0.0318391919, -0.344450235, 0.0551190265, 0.996793628, 0.0580029301, 0.341499031, -0.0734078437, 0.937011182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1111. CFrame.new(-0.68740654, -1.99010217, 0.313043743, 0.998308659, 0.0566585623, -0.0130319893, -0.0526040196, 0.975744903, 0.212496698, 0.0247556716, -0.211451754, 0.977074862) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1112. }, .3, false)
  1113. end
  1114. elseif Torsovelocity > 2 and hit ~= nil then
  1115. Anim = "Walk"
  1116. if attack == false then
  1117. change = 2
  1118. PlayAnimationFromTable({
  1119. CFrame.new(-0, -0.331043243, -0.246173918, 1, 0, 0, 0, 0.906307876, 0.422617942, 0, -0.422617942, 0.906307876) * CFrame.new(0, .1, 0) * CFrame.Angles(0, math.rad(-5 * math.cos(sine / 7)), 0),
  1120. CFrame.new(0, 1.4999913, 6.55651093e-007, 1, 0, 0, 0, 0.965925813, -0.258818924, 0, 0.258818924, 0.965925813) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(5 * math.cos(sine / 7)), 0),
  1121. CFrame.new(1.14562762, 0.526349247, -0.591056466, 0.825674891, 0.469375819, 0.312965363, 0.547643542, -0.533675969, -0.644419432, -0.135452792, 0.703474402, -0.697693527) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1122. CFrame.new(-1.14244175, 0.534408689, -0.582344949, 0.825674295, -0.469376504, -0.312966168, -0.547644734, -0.533675849, -0.644418597, 0.13545242, 0.703474045, -0.697693944) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1123. CFrame.new(.5, -1.64 - 0.5 * math.cos(sine / 8) / 2, 0 + 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-70 * math.sin(sine / 8)), math.rad(-3), math.rad(0)),
  1124. CFrame.new(-.5, -1.64 + 0.5 * math.cos(sine / 8) / 2, 0 - 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(70 * math.sin(sine / 8)), math.rad(3), math.rad(0)),
  1125. }, .3, false)
  1126. end
  1127. end
  1128. if 0 < #Effects then
  1129. for e = 1, #Effects do
  1130. if Effects[e] ~= nil then
  1131. local Thing = Effects[e]
  1132. if Thing ~= nil then
  1133. local Part = Thing[1]
  1134. local Mode = Thing[2]
  1135. local Delay = Thing[3]
  1136. local IncX = Thing[4]
  1137. local IncY = Thing[5]
  1138. local IncZ = Thing[6]
  1139. if Thing[2] == "Shoot" then
  1140. local Look = Thing[1]
  1141. local move = 5
  1142. local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
  1143. if Thing[10] ~= nil then
  1144. da = pos
  1145. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1146. cfa = CFrame.new(Thing[4], pos)
  1147. tehCF = cfa:lerp(cf2, 0.2)
  1148. Thing[1] = tehCF.lookVector
  1149. end
  1150. local mag = (Thing[4] - pos).magnitude
  1151. Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
  1152. Effects.Sphere.Create(BrickColor.new("Deep blue"), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15)
  1153. Thing[4] = Thing[4] + Look * move
  1154. Thing[3] = Thing[3] - 1
  1155. if 2 < Thing[5] then
  1156. Thing[5] = Thing[5] - 0.3
  1157. Thing[6] = Thing[6] - 0.3
  1158. end
  1159. if hit ~= nil then
  1160. Thing[3] = 0
  1161. MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
  1162. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1163. ref.Anchored = true
  1164. ref.CFrame = CFrame.new(pos)
  1165. Effects.Block.Create(BrickColor.new("Deep blue"), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05)
  1166. Effects.Sphere.Create(BrickColor.new("Deep blue"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
  1167. game:GetService("Debris"):AddItem(ref, 1)
  1168. end
  1169. if Thing[3] <= 0 then
  1170. table.remove(Effects, e)
  1171. end
  1172. end
  1173. do
  1174. do
  1175. if Thing[2] == "FireWave" then
  1176. if Thing[3] <= Thing[4] then
  1177. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1178. Thing[3] = Thing[3] + 1
  1179. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1180. else
  1181. Part.Parent = nil
  1182. table.remove(Effects, e)
  1183. end
  1184. end
  1185. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1186. if Thing[1].Transparency <= 1 then
  1187. if Thing[2] == "Block1" then
  1188. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1189. Mesh = Thing[7]
  1190. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1191. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1192. else
  1193. if Thing[2] == "Block2" then
  1194. Thing[1].CFrame = Thing[1].CFrame
  1195. Mesh = Thing[7]
  1196. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1197. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1198. else
  1199. if Thing[2] == "Fire" then
  1200. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1201. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1202. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1203. else
  1204. if Thing[2] == "Cylinder" then
  1205. Mesh = Thing[7]
  1206. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1207. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1208. else
  1209. if Thing[2] == "Blood" then
  1210. Mesh = Thing[7]
  1211. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1212. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1213. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1214. else
  1215. if Thing[2] == "Elec" then
  1216. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  1217. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1218. else
  1219. if Thing[2] == "Disappear" then
  1220. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1221. end
  1222. end
  1223. end
  1224. end
  1225. end
  1226. end
  1227. end
  1228. else
  1229. Part.Parent = nil
  1230. table.remove(Effects, e)
  1231. end
  1232. end
  1233. end
  1234. end
  1235. end
  1236. end
  1237. end
  1238. end
  1239. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement