Advertisement
Namoo546

Untitled

Nov 24th, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.05 KB | None | 0 0
  1. local Player = game:GetService("Players").LzMost
  2. local Mouse,mouse,UserInputService,ContextActionService
  3. do
  4. script.Parent = Player.Character
  5. local CAS = {Actions={}}
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput_Event"
  8. Event.Parent = Player.Character
  9. local fakeEvent = function()
  10. local t = {_fakeEvent=true}
  11. t.Connect = function(self,f)self.Function=f end
  12. t.connect = t.Connect
  13. return t
  14. end
  15. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  16. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  17. function CAS:BindAction(name,fun,touch,...)
  18. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  19. end
  20. function CAS:UnbindAction(name)
  21. CAS.Actions[name] = nil
  22. end
  23. local function te(self,ev,...)
  24. local t = m[ev]
  25. if t and t._fakeEvent and t.Function then
  26. t.Function(...)
  27. end
  28. end
  29. m.TrigEvent = te
  30. UIS.TrigEvent = te
  31. Event.OnServerEvent:Connect(function(plr,io)
  32. if plr~=Player then return end
  33. if io.isMouse then
  34. m.Target = io.Target
  35. m.Hit = io.Hit
  36. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  37. if io.UserInputState == Enum.UserInputState.Begin then
  38. m:TrigEvent("Button1Down")
  39. else
  40. m:TrigEvent("Button1Up")
  41. end
  42. else
  43. for n,t in pairs(CAS.Actions) do
  44. for _,k in pairs(t.Keys) do
  45. if k==io.KeyCode then
  46. t.Function(t.Name,io.UserInputState,io)
  47. end
  48. end
  49. end
  50. if io.UserInputState == Enum.UserInputState.Begin then
  51. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  52. UIS:TrigEvent("InputBegan",io,false)
  53. else
  54. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent("InputEnded",io,false)
  56. end
  57. end
  58. end)
  59. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  60. end
  61.  
  62. --[[Nocturna_A._Alteriano_Night.Owl.Inc]]-- (Edit by kiukiubol & lilh3)
  63. wait(1 / 60)
  64. p = game.Players.Gracey11992
  65. char = p.Character
  66. torso = char.Torso
  67. neck = char.Torso.Neck
  68. hum = char.Humanoid
  69. hum.MaxHealth = 75000
  70. wait()
  71. hum.Health =hum.MaxHealth
  72. char.Head.face.Texture = "rbxassetid://405587215"
  73.  
  74. function startup()
  75. coroutine.resume(coroutine.create(function()
  76. local m = Instance.new("Model", char)
  77. m.Name = "* C"
  78. local chat = Instance.new("Part", m)
  79. chat.TopSurface = "Smooth"
  80. chat.BottomSurface = "Smooth"
  81. chat.Name = "Head"
  82. chat.FormFactor = "Custom"
  83. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  84. chat.Transparency = 0.9
  85. chat.CanCollide = false
  86. local Weld7 = Instance.new("Weld", char)
  87. Weld7.Part0 = char.Head
  88. Weld7.Part1 = chat
  89. Weld7.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  90. local cy7 = Instance.new("BlockMesh", chat)
  91. local h = Instance.new("Humanoid", m)
  92. h.MaxHealth = 0
  93. m.Name = "Star Platinum"
  94. end))
  95. end
  96.  
  97. z = Instance.new("Sound", torso)
  98. z.SoundId = "rbxassetid://264396581" -- Put Music ID Here.
  99. z.Looped = true
  100. z.Volume = 1
  101. wait(.1)
  102. z:Play()
  103.  
  104. char["Body Colors"].HeadColor = BrickColor.new("Pastel Blue")
  105. char["Body Colors"].TorsoColor = BrickColor.new("Pastel Blue")
  106. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel Blue")
  107. char["Body Colors"].RightArmColor = BrickColor.new("Pastel Blue")
  108. char["Body Colors"].LeftLegColor = BrickColor.new("Pastel Blue")
  109. char["Body Colors"].RightLegColor = BrickColor.new("Pastel Blue")
  110.  
  111. shirt = Instance.new("Shirt", char)
  112. shirt.Name = "Shirt"
  113. pants = Instance.new("Pants", char)
  114. pants.Name = "Pants"
  115. char.Shirt.ShirtTemplate = "rbxassetid://496506720"
  116. char.Pants.PantsTemplate = "rbxassetid://496512137"
  117.  
  118. Hat = Instance.new("Model")
  119. Hat.Parent = char
  120. Hat.Name = "Hat"
  121. rh = Instance.new("Part")
  122. rh.Parent = Hat
  123. rh.BrickColor = BrickColor.new("Really black")
  124. rh.Locked = true
  125. rh.CanCollide = false
  126. mesh = Instance.new("SpecialMesh")
  127. rh.formFactor = "Symmetric"
  128. mesh.MeshType = "FileMesh"
  129. mesh.MeshId = "rbxassetid://439736904"
  130. mesh.Parent = rh
  131. local weld = Instance.new("Weld")
  132. weld.Parent = rh
  133. weld.Part0 = rh
  134. weld.Part1 =char.Head
  135. weld.C0 = CFrame.new(0, -0.5, 0.5)*CFrame.Angles(0, 3, 0)
  136. mesh.Scale = Vector3.new(0.002,0.002, 0.002)
  137.  
  138. Effects = { }
  139. local Player = game.Players.Gracey11992
  140. local Character = Player.Character
  141. local Humanoid = Character.Humanoid
  142. Humanoid.WalkSpeed = 20
  143. local LeftArm = Character["Left Arm"]
  144. local RightArm = Character["Right Arm"]
  145. local LeftLeg = Character["Left Leg"]
  146. local RightLeg = Character["Right Leg"]
  147. local Head = Character.Head
  148. local Torso = Character.Torso
  149. local Camera = game.Workspace.CurrentCamera
  150. local RootPart = Character.HumanoidRootPart
  151. local RootJoint = RootPart.RootJoint
  152. local attack = false
  153. local Anim = 'Idle'
  154. local attacktype = 1
  155. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  156. local velocity = RootPart.Velocity.y
  157. local sine = 0
  158. local change = 1
  159. local Create = LoadLibrary("RbxUtility").Create
  160. local TimeStop = false
  161.  
  162. local m = Create("Model"){
  163. Parent = Character,
  164. Name = "WeaponModel",
  165. }
  166.  
  167. Humanoid.Animator.Parent = nil
  168. Character.Animate.Parent = nil
  169.  
  170. local newMotor = function(part0, part1, c0, c1)
  171. local w = Create('Motor'){
  172. Parent = part0,
  173. Part0 = part0,
  174. Part1 = part1,
  175. C0 = c0,
  176. C1 = c1,
  177. }
  178. return w
  179. end
  180.  
  181. function clerp(a, b, t)
  182. return a:lerp(b, t)
  183. end
  184.  
  185. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  186. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  187.  
  188. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  189. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  190. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  191. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  192. RootJoint.C1 = CFrame.new(0, 0, 0)
  193. RootJoint.C0 = CFrame.new(0, 0, 0)
  194. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  195. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  196.  
  197. local rarmc1 = RW.C1
  198. local larmc1 = LW.C1
  199. local rlegc1 = RH.C1
  200. local llegc1 = LH.C1
  201.  
  202. local resetc1 = false
  203.  
  204. function PlayAnimationFromTable(table, speed, bool)
  205. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  206. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  207. RW.C0 = clerp(RW.C0, table[3], speed)
  208. LW.C0 = clerp(LW.C0, table[4], speed)
  209. RH.C0 = clerp(RH.C0, table[5], speed)
  210. LH.C0 = clerp(LH.C0, table[6], speed)
  211. if bool == true then
  212. if resetc1 == false then
  213. resetc1 = true
  214. RootJoint.C1 = RootJoint.C1
  215. Torso.Neck.C1 = Torso.Neck.C1
  216. RW.C1 = rarmc1
  217. LW.C1 = larmc1
  218. RH.C1 = rlegc1
  219. LH.C1 = llegc1
  220. end
  221. end
  222. end
  223.  
  224. ArtificialHB = Create("BindableEvent", script){
  225. Parent = script,
  226. Name = "Heartbeat",
  227. }
  228.  
  229. script:WaitForChild("Heartbeat")
  230.  
  231. frame = 1 / 35
  232. tf = 0
  233. allowframeloss = false
  234. tossremainder = false
  235. lastframe = tick()
  236. script.Heartbeat:Fire()
  237.  
  238. game:GetService("RunService").Heartbeat:connect(function(s, p)
  239. tf = tf + s
  240. if tf >= frame then
  241. if allowframeloss then
  242. script.Heartbeat:Fire()
  243. lastframe = tick()
  244. else
  245. for i = 1, math.floor(tf / frame) do
  246. script.Heartbeat:Fire()
  247. end
  248. lastframe = tick()
  249. end
  250. if tossremainder then
  251. tf = 0
  252. else
  253. tf = tf - frame * math.floor(tf / frame)
  254. end
  255. end
  256. end)
  257.  
  258. function swait(num)
  259. if num == 0 or num == nil then
  260. ArtificialHB.Event:wait()
  261. else
  262. for i = 0, num do
  263. ArtificialHB.Event:wait()
  264. end
  265. end
  266. end
  267.  
  268. function RemoveOutlines(part)
  269. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  270. end
  271.  
  272. CFuncs = {
  273. Part = {
  274. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  275. local Part = Create("Part"){
  276. Parent = Parent,
  277. Reflectance = Reflectance,
  278. Transparency = Transparency,
  279. CanCollide = false,
  280. Locked = true,
  281. BrickColor = BrickColor.new(tostring(BColor)),
  282. Name = Name,
  283. Size = Size,
  284. Material = Material,
  285. }
  286. RemoveOutlines(Part)
  287. return Part
  288. end;
  289. };
  290.  
  291. Mesh = {
  292. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  293. local Msh = Create(Mesh){
  294. Parent = Part,
  295. Offset = OffSet,
  296. Scale = Scale,
  297. }
  298. if Mesh == "SpecialMesh" then
  299. Msh.MeshType = MeshType
  300. Msh.MeshId = MeshId
  301. end
  302. return Msh
  303. end;
  304. };
  305.  
  306. Weld = {
  307. Create = function(Parent, Part0, Part1, C0, C1)
  308. local Weld = Create("Weld"){
  309. Parent = Parent,
  310. Part0 = Part0,
  311. Part1 = Part1,
  312. C0 = C0,
  313. C1 = C1,
  314. }
  315. return Weld
  316. end;
  317. };
  318.  
  319. Sound = {
  320. Create = function(id, par, vol, pit)
  321. local Sound = Create("Sound"){
  322. Volume = vol,
  323. Pitch = pit or 1,
  324. SoundId = "rbxassetid://" .. id,
  325. Parent = par or workspace,
  326. }
  327. Sound:play()
  328. return Sound
  329. end;
  330. };
  331.  
  332. Decal = {
  333. Create = function(Color, Texture, Transparency, Name, Parent)
  334. local Decal = Create("Decal"){
  335. Color3 = Color,
  336. Texture = "rbxassetid://" .. Texture,
  337. Transparency = Transparency,
  338. Name = Name,
  339. Parent = Parent,
  340. }
  341. return Decal
  342. end;
  343. };
  344.  
  345. BillboardGui = {
  346. Create = function(Parent, Image, Position, Size)
  347. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  348. BillPar.CFrame = CFrame.new(Position)
  349. local Bill = Create("BillboardGui"){
  350. Parent = BillPar,
  351. Adornee = BillPar,
  352. Size = UDim2.new(1, 0, 1, 0),
  353. SizeOffset = Vector2.new(Size, Size),
  354. }
  355. local d = Create("ImageLabel", Bill){
  356. Parent = Bill,
  357. BackgroundTransparency = 1,
  358. Size = UDim2.new(1, 0, 1, 0),
  359. Image = "rbxassetid://" .. Image,
  360. }
  361. return BillPar
  362. end
  363. };
  364.  
  365. ParticleEmitter = {
  366. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  367. local Particle = Create("ParticleEmitter"){
  368. Parent = Parent,
  369. Color = ColorSequence.new(Color1, Color2),
  370. LightEmission = LightEmission,
  371. Size = Size,
  372. Texture = Texture,
  373. Transparency = Transparency,
  374. ZOffset = ZOffset,
  375. Acceleration = Accel,
  376. Drag = Drag,
  377. LockedToPart = LockedToPart,
  378. VelocityInheritance = VelocityInheritance,
  379. EmissionDirection = EmissionDirection,
  380. Enabled = Enabled,
  381. Lifetime = LifeTime,
  382. Rate = Rate,
  383. Rotation = Rotation,
  384. RotSpeed = RotSpeed,
  385. Speed = Speed,
  386. VelocitySpread = VelocitySpread,
  387. }
  388. return Particle
  389. end;
  390. };
  391.  
  392. CreateTemplate = {
  393.  
  394. };
  395. }
  396.  
  397. function rayCast(Position, Direction, Range, Ignore)
  398. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  399. end
  400.  
  401. function FindNearestTorso(Position, Distance, SinglePlayer)
  402. if SinglePlayer then
  403. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  404. end
  405. local List = {}
  406. for i, v in pairs(workspace:GetChildren()) do
  407. if v:IsA("Model") then
  408. if v:findFirstChild("Torso") then
  409. if v ~= Character then
  410. if (v.Torso.Position - Position).magnitude <= Distance then
  411. table.insert(List, v)
  412. end
  413. end
  414. end
  415. end
  416. end
  417. return List
  418. end
  419.  
  420. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  421. if hit.Parent == nil then
  422. return
  423. end
  424. local h = hit.Parent:FindFirstChild("Humanoid")
  425. for _, v in pairs(hit.Parent:children()) do
  426. if v:IsA("Humanoid") then
  427. h = v
  428. end
  429. end
  430. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  431. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  432. if hit.Parent.DebounceHit.Value == true then
  433. return
  434. end
  435. end
  436. local c = Create("ObjectValue"){
  437. Name = "creator",
  438. Value = game:service("Players").Gracey11992,
  439. Parent = h,
  440. }
  441. game:GetService("Debris"):AddItem(c, .5)
  442. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  443. local Damage = math.random(minim, maxim)
  444. local blocked = false
  445. local block = hit.Parent:findFirstChild("Block")
  446. if block ~= nil then
  447. if block.className == "IntValue" then
  448. if block.Value > 0 then
  449. blocked = true
  450. block.Value = block.Value - 1
  451. print(block.Value)
  452. end
  453. end
  454. end
  455. if TimeStop == false then
  456. h.Health = h.Health - Damage
  457. 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)
  458. elseif TimeStop == true then
  459. repeat wait() until TimeStop == false
  460. h.Health = h.Health - (Damage / 2)
  461. 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)
  462. end
  463. if Type == "Knockdown" then
  464. local hum = hit.Parent.Humanoid
  465. hum.PlatformStand = true
  466. coroutine.resume(coroutine.create(function(HHumanoid)
  467. swait(1)
  468. HHumanoid.PlatformStand = false
  469. end), hum)
  470. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  471. local bodvol = Create("BodyVelocity"){
  472. velocity = angle * knockback,
  473. P = 5000,
  474. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  475. Parent = hit,
  476. }
  477. local rl = Create("BodyAngularVelocity"){
  478. P = 3000,
  479. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  480. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  481. Parent = hit,
  482. }
  483. game:GetService("Debris"):AddItem(bodvol, .5)
  484. game:GetService("Debris"):AddItem(rl, .5)
  485. elseif Type == "Normal" then
  486. local vp = Create("BodyVelocity"){
  487. P = 500,
  488. maxForce = Vector3.new(math.huge, 0, math.huge),
  489. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  490. }
  491. if knockback > 0 then
  492. vp.Parent = hit.Parent.Torso
  493. end
  494. game:GetService("Debris"):AddItem(vp, .5)
  495. elseif Type == "Up" then
  496. local bodyVelocity = Create("BodyVelocity"){
  497. velocity = Vector3.new(0, 20, 0),
  498. P = 5000,
  499. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  500. Parent = hit,
  501. }
  502. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  503. elseif Type == "DarkUp" then
  504. coroutine.resume(coroutine.create(function()
  505. for i = 0, 1, 0.1 do
  506. swait()
  507. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  508. end
  509. end))
  510. local bodyVelocity = Create("BodyVelocity"){
  511. velocity = Vector3.new(0, 20, 0),
  512. P = 5000,
  513. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  514. Parent = hit,
  515. }
  516. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  517. elseif Type == "Snare" then
  518. local bp = Create("BodyPosition"){
  519. P = 2000,
  520. D = 100,
  521. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  522. position = hit.Parent.Torso.Position,
  523. Parent = hit.Parent.Torso,
  524. }
  525. game:GetService("Debris"):AddItem(bp, 1)
  526. elseif Type == "Freeze" then
  527. local BodPos = Create("BodyPosition"){
  528. P = 50000,
  529. D = 1000,
  530. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  531. position = hit.Parent.Torso.Position,
  532. Parent = hit.Parent.Torso,
  533. }
  534. local BodGy = Create("BodyGyro") {
  535. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  536. P = 20e+003,
  537. Parent = hit.Parent.Torso,
  538. cframe = hit.Parent.Torso.CFrame,
  539. }
  540. hit.Parent.Torso.Anchored = true
  541. coroutine.resume(coroutine.create(function(Part)
  542. swait(1.5)
  543. Part.Anchored = false
  544. end), hit.Parent.Torso)
  545. game:GetService("Debris"):AddItem(BodPos, 3)
  546. game:GetService("Debris"):AddItem(BodGy, 3)
  547. end
  548. local debounce = Create("BoolValue"){
  549. Name = "DebounceHit",
  550. Parent = hit.Parent,
  551. Value = true,
  552. }
  553. game:GetService("Debris"):AddItem(debounce, Delay)
  554. c = Create("ObjectValue"){
  555. Name = "creator",
  556. Value = Player,
  557. Parent = h,
  558. }
  559. game:GetService("Debris"):AddItem(c, .5)
  560. end
  561. end
  562.  
  563. function ShowDamage(Pos, Text, Time, Color)
  564. local Rate = (1 / 30)
  565. local Pos = (Pos or Vector3.new(0, 0, 0))
  566. local Text = (Text or "")
  567. local Time = (Time or 2)
  568. local Color = (Color or Color3.new(1, 0, 1))
  569. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  570. EffectPart.Anchored = true
  571. local BillboardGui = Create("BillboardGui"){
  572. Size = UDim2.new(3, 0, 3, 0),
  573. Adornee = EffectPart,
  574. Parent = EffectPart,
  575. }
  576. local TextLabel = Create("TextLabel"){
  577. BackgroundTransparency = 1,
  578. Size = UDim2.new(1, 0, 1, 0),
  579. Text = Text,
  580. Font = "SciFi",
  581. TextColor3 = Color,
  582. TextScaled = true,
  583. Parent = BillboardGui,
  584. }
  585. game.Debris:AddItem(EffectPart, (Time))
  586. EffectPart.Parent = game:GetService("Workspace")
  587. delay(0, function()
  588. local Frames = (Time / Rate)
  589. for Frame = 1, Frames do
  590. wait(Rate)
  591. local Percent = (Frame / Frames)
  592. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  593. TextLabel.TextTransparency = Percent
  594. end
  595. if EffectPart and EffectPart.Parent then
  596. EffectPart:Destroy()
  597. end
  598. end)
  599. end
  600.  
  601. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  602. for _, c in pairs(workspace:children()) do
  603. local hum = c:findFirstChild("Humanoid")
  604. if hum ~= nil then
  605. local head = c:findFirstChild("Torso")
  606. if head ~= nil then
  607. local targ = head.Position - Part.Position
  608. local mag = targ.magnitude
  609. if mag <= Magnitude and c.Name ~= Player.Name then
  610. for i = 1, 10 do
  611. Effects.Elect.Create(head.CFrame, 10, 10, 10)
  612. end
  613. CFuncs.Sound.Create("0", head, 1, 1)
  614. Effects.Sphere.Create(BrickColor.new("Deep blue"), head.CFrame, .5, .5, .5, .5, .5, .5, .05)
  615. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
  616. end
  617. end
  618. end
  619. end
  620. end
  621.  
  622. HandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HandleR", Vector3.new(0.403949469, 0.452220112, 0.425030977))
  623. 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))
  624. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HitboxR", Vector3.new(1.00394952, 1.05222011, 1.02503109))
  625. 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))
  626. HandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HandleL", Vector3.new(0.403949469, 0.452220112, 0.425030977))
  627. 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))
  628. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HitboxL", Vector3.new(1.00394952, 1.05222011, 1.02503109))
  629. 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))
  630. sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  631. sref.Anchored = true
  632.  
  633. EffectModel = Create("Model"){
  634. Parent = Character,
  635. Name = "Effects",
  636. }
  637.  
  638. Effects = {
  639. Block = {
  640. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  641. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  642. prt.Anchored = true
  643. prt.CFrame = cframe
  644. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  645. game:GetService("Debris"):AddItem(prt, 10)
  646. if Type == 1 or Type == nil then
  647. table.insert(Effects, {
  648. prt,
  649. "Block1",
  650. delay,
  651. x3,
  652. y3,
  653. z3,
  654. msh
  655. })
  656. elseif Type == 2 then
  657. table.insert(Effects, {
  658. prt,
  659. "Block2",
  660. delay,
  661. x3,
  662. y3,
  663. z3,
  664. msh
  665. })
  666. end
  667. end;
  668. };
  669.  
  670. Cylinder = {
  671. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  672. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  673. prt.Anchored = true
  674. prt.CFrame = cframe
  675. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  676. game:GetService("Debris"):AddItem(prt, 2)
  677. table.insert(Effects, {
  678. prt,
  679. "Cylinder",
  680. delay,
  681. x3,
  682. y3,
  683. z3,
  684. msh
  685. })
  686. end;
  687. };
  688.  
  689. Head = {
  690. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  691. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  692. prt.Anchored = true
  693. prt.CFrame = cframe
  694. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  695. game:GetService("Debris"):AddItem(prt, 10)
  696. table.insert(Effects, {
  697. prt,
  698. "Cylinder",
  699. delay,
  700. x3,
  701. y3,
  702. z3,
  703. msh
  704. })
  705. end;
  706. };
  707.  
  708. Sphere = {
  709. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  710. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  711. prt.Anchored = true
  712. prt.CFrame = cframe
  713. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  714. game:GetService("Debris"):AddItem(prt, 10)
  715. table.insert(Effects, {
  716. prt,
  717. "Cylinder",
  718. delay,
  719. x3,
  720. y3,
  721. z3,
  722. msh
  723. })
  724. end;
  725. };
  726.  
  727. Elect = {
  728. Create = function(cff, x, y, z)
  729. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Deep blue"), "Part", Vector3.new(1, 1, 1))
  730. prt.Anchored = true
  731. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  732. prt.CFrame = CFrame.new(prt.Position)
  733. game:GetService("Debris"):AddItem(prt, 2)
  734. local xval = math.random() / 2
  735. local yval = math.random() / 2
  736. local zval = math.random() / 2
  737. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  738. table.insert(Effects, {
  739. prt,
  740. "Elec",
  741. 0.1,
  742. x,
  743. y,
  744. z,
  745. xval,
  746. yval,
  747. zval
  748. })
  749. end;
  750.  
  751. };
  752.  
  753. Ring = {
  754. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  755. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  756. prt.Anchored = true
  757. prt.CFrame = cframe
  758. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  759. game:GetService("Debris"):AddItem(prt, 10)
  760. table.insert(Effects, {
  761. prt,
  762. "Cylinder",
  763. delay,
  764. x3,
  765. y3,
  766. z3,
  767. msh
  768. })
  769. end;
  770. };
  771.  
  772.  
  773. Wave = {
  774. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  775. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  776. prt.Anchored = true
  777. prt.CFrame = cframe
  778. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  779. game:GetService("Debris"):AddItem(prt, 10)
  780. table.insert(Effects, {
  781. prt,
  782. "Cylinder",
  783. delay,
  784. x3,
  785. y3,
  786. z3,
  787. msh
  788. })
  789. end;
  790. };
  791.  
  792. Break = {
  793. Create = function(brickcolor, cframe, x1, y1, z1)
  794. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  795. prt.Anchored = true
  796. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  797. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  798. local num = math.random(10, 50) / 1000
  799. game:GetService("Debris"):AddItem(prt, 10)
  800. table.insert(Effects, {
  801. prt,
  802. "Shatter",
  803. num,
  804. prt.CFrame,
  805. math.random() - math.random(),
  806. 0,
  807. math.random(50, 100) / 100
  808. })
  809. end;
  810. };
  811.  
  812. Fire = {
  813. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  814. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  815. prt.Anchored = true
  816. prt.CFrame = cframe
  817. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  818. game:GetService("Debris"):AddItem(prt, 10)
  819. table.insert(Effects, {
  820. prt,
  821. "Fire",
  822. delay,
  823. 1,
  824. 1,
  825. 1,
  826. msh
  827. })
  828. end;
  829. };
  830.  
  831. FireWave = {
  832. Create = function(brickcolor, cframe, x1, y1, z1)
  833. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  834. prt.Anchored = true
  835. prt.CFrame = cframe
  836. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  837. local d = Create("Decal"){
  838. Parent = prt,
  839. Texture = "rbxassetid://26356434",
  840. Face = "Top",
  841. }
  842. local d = Create("Decal"){
  843. Parent = prt,
  844. Texture = "rbxassetid://26356434",
  845. Face = "Bottom",
  846. }
  847. game:GetService("Debris"):AddItem(prt, 10)
  848. table.insert(Effects, {
  849. prt,
  850. "FireWave",
  851. 1,
  852. 30,
  853. math.random(400, 600) / 100,
  854. msh
  855. })
  856. end;
  857. };
  858.  
  859. Lightning = {
  860. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  861. local magz = (p0 - p1).magnitude
  862. local curpos = p0
  863. local trz = {
  864. -ofs,
  865. ofs
  866. }
  867. for i = 1, tym do
  868. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  869. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  870. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  871. li.Material = "Neon"
  872. if tym == i then
  873. local magz2 = (curpos - p1).magnitude
  874. li.Size = Vector3.new(th, th, magz2)
  875. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  876. table.insert(Effects, {
  877. li,
  878. "Disappear",
  879. last
  880. })
  881. else
  882. do
  883. do
  884. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  885. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  886. game.Debris:AddItem(li, 10)
  887. table.insert(Effects, {
  888. li,
  889. "Disappear",
  890. last
  891. })
  892. end
  893. end
  894. end
  895. end
  896. end
  897. };
  898.  
  899. EffectTemplate = {
  900.  
  901. };
  902. }
  903.  
  904. local DORARA = false
  905.  
  906. function ORA()
  907. attack = true
  908. for i = 0, 1, 0.2 do
  909. swait()
  910. PlayAnimationFromTable({
  911. 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),
  912. 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),
  913. 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),
  914. 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),
  915. 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),
  916. 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),
  917. }, .3, false)
  918. end
  919. local DORA = CFuncs.Sound.Create("161823027", Torso, 1, 1)
  920. Instance.new("DistortionSoundEffect", DORA).Level = .45
  921. DORA.Looped = true
  922. local Con1 = HitboxL.Touched:connect(function(hit) Damage(HitboxL, hit, 1, 5, 0, "Normal", RootPart, 0, "260430117", 1) end)
  923. local Con2 = HitboxR.Touched:connect(function(hit) Damage(HitboxR, hit, 1, 5, 0, "Normal", RootPart, 0, "260430117", 1) end)
  924. while DORARA == true do
  925. RootPart.Velocity = RootPart.CFrame.lookVector * 5
  926. for i = 0, 1, 0.7 do
  927. swait()
  928. Effects.Elect.Create(HitboxL.CFrame, 4, 4, 4)
  929. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
  930. PlayAnimationFromTable({
  931. 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),
  932. 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),
  933. 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),
  934. 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),
  935. 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),
  936. 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),
  937. }, .9, false)
  938. end
  939. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  940. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 2, 2, 2, .15)
  941. RootPart.Velocity = RootPart.CFrame.lookVector * 5
  942. for i = 0, 1, 0.7 do
  943. swait()
  944. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxR.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .2)
  945. PlayAnimationFromTable({
  946. 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),
  947. 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),
  948. 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),
  949. 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),
  950. 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),
  951. 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),
  952. }, .9, false)
  953. end
  954.  
  955. fat = Instance.new("BindableEvent", script)
  956. fat.Name = "Heartbeat"
  957. script:WaitForChild("Heartbeat")
  958. frame = 0.013333333333333
  959. tf = 0
  960. allowframeloss = false
  961. tossremainder = false
  962. lastframe = tick()
  963. script.Heartbeat:Fire()
  964. local ss = Instance.new("Sound",char)
  965. ss.Volume = 3
  966. ss.Looped = true
  967. ss.Pitch = 1
  968. ss.SoundId = "rbxassetid://0"
  969. ss:Play()
  970. function sbchat(msg,displayname)
  971. if not displayname then
  972. displayname = 'bela'
  973. end
  974. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  975. local st = Instance.new('StringValue')
  976. st.Name = 'SB_Chat'
  977. st.Value = displayname..'/'..msg
  978. delay(0.2,function() st.Parent = v end)
  979. end
  980. end
  981.  
  982. sbchat("ORA ORA ORA",'[Star Platinum]')
  983. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  984. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxR.CFrame, .5, .5, .5, 2, 2, 2, .2)
  985. end
  986. Con1:disconnect()
  987. Con2:disconnect()
  988. DORA:Stop()
  989. attack = false
  990. end
  991.  
  992. local stoppedParts = {}
  993.  
  994.  
  995. function getAllParts()
  996. local rtn = {}
  997.  
  998. local function recurse(object)
  999. for q,e in next, object:children() do
  1000. if e:isA'BasePart' and e.Name ~= "HumanoidRootPart" then
  1001. table.insert(rtn, e)
  1002. end
  1003. recurse(e)
  1004. end
  1005. end
  1006.  
  1007. recurse(workspace)
  1008. return rtn
  1009. end
  1010.  
  1011. function stopParts(distance)
  1012. stoppedParts = {}
  1013. for nada, part in next, getAllParts() do
  1014. local dist = (Torso.Position-part.Position).magnitude
  1015. if dist <= distance and part.Name ~='Base' and part.Name ~= 'Baseplate' and not part:isDescendantOf(Torso.Parent) and part.Anchored ~= true then
  1016. table.insert(stoppedParts, part)
  1017. if part.Name ~= "Torso" and part.Anchored ~= true then
  1018. part.Anchored = true
  1019. end
  1020. end
  1021. end
  1022. end
  1023.  
  1024.  
  1025. function freeParts()
  1026. for q,e in next, stoppedParts do
  1027. stoppedParts[q] = nil
  1028. e.Anchored = false
  1029. end
  1030. end
  1031.  
  1032. local effect = Instance.new('ColorCorrectionEffect')
  1033. function TheWorld(Mode)
  1034. if Mode == "Time Start" then
  1035. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
  1036. for i = 1,50 do
  1037. if effect.Saturation <= 0 then
  1038. effect.Saturation = effect.Saturation + i/50
  1039. end
  1040. swait(1/30)
  1041. end
  1042. freeParts()
  1043. effect.Saturation = 0
  1044. effect.Contrast = 0
  1045. effect.Parent = nil
  1046. workspace.Gravity = 196.2
  1047. end
  1048. if Mode == "Quick Stop" then
  1049.  
  1050. fat = Instance.new("BindableEvent", script)
  1051. fat.Name = "Heartbeat"
  1052. script:WaitForChild("Heartbeat")
  1053. frame = 0.013333333333333
  1054. tf = 0
  1055. allowframeloss = false
  1056. tossremainder = false
  1057. lastframe = tick()
  1058. script.Heartbeat:Fire()
  1059. local ss = Instance.new("Sound",char)
  1060. ss.Volume = 3
  1061. ss.Looped = true
  1062. ss.Pitch = 1
  1063. ss.SoundId = "rbxassetid://0"
  1064. ss:Play()
  1065. function sbchat(msg,displayname)
  1066. if not displayname then
  1067. displayname = 'bela'
  1068. end
  1069. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  1070. local st = Instance.new('StringValue')
  1071. st.Name = 'SB_Chat'
  1072. st.Value = displayname..'/'..msg
  1073. delay(0.2,function() st.Parent = v end)
  1074. end
  1075. end
  1076.  
  1077. sbchat("THE WORLD!",'[Star Platinum]')
  1078. local zawarudo = CFuncs.Sound.Create("735067173", workspace, 1, 1)
  1079. Instance.new("DistortionSoundEffect", zawarudo).Level = .67
  1080. swait(60)
  1081. Effects.Sphere.Create(BrickColor.new("Institutional white"), RootPart.CFrame, 1, 1, 1, 50, 50, 50, .01)
  1082. effect.Parent = game.Lighting
  1083. for i = 1,50 do
  1084. effect.Saturation = -(i/10)
  1085. swait()
  1086. end
  1087. stopParts(5555)
  1088. end
  1089. end
  1090.  
  1091. Mouse.Button1Down:connect(function()
  1092. if attack == false and DORARA == false then
  1093. DORARA = true
  1094. ORA()
  1095. end
  1096. end)
  1097.  
  1098. Mouse.Button1Up:connect(function()
  1099. if attack == true and DORARA == true then
  1100. DORARA = false
  1101. end
  1102. end)
  1103.  
  1104. Mouse.KeyDown:connect(function(k)
  1105. k = k:lower()
  1106. if attack == false and k == 'g' and TimeStop == false then
  1107. TimeStop = true
  1108. TheWorld("Quick Stop")
  1109. elseif attack == false and k == 'g' and TimeStop == true then
  1110. TimeStop = false
  1111. TheWorld("Time Start")
  1112. end
  1113. end)
  1114.  
  1115. while true do
  1116. swait()
  1117. sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  1118. for i, v in pairs(Character:GetChildren()) do
  1119. if v:IsA("Part") then
  1120. v.Material = "SmoothPlastic"
  1121. elseif v:IsA("Accessory") then
  1122. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1123. end
  1124. end
  1125. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1126. velocity = RootPart.Velocity.y
  1127. sine = sine + change
  1128. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1129. if RootPart.Velocity.y > 1 and hit == nil then
  1130. Anim = "Jump"
  1131. if attack == false then
  1132. PlayAnimationFromTable({
  1133. 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),
  1134. 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),
  1135. 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),
  1136. 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),
  1137. 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),
  1138. 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),
  1139. }, .3, false)
  1140. end
  1141. elseif RootPart.Velocity.y < -1 and hit == nil then
  1142. Anim = "Fall"
  1143. if attack == false then
  1144. PlayAnimationFromTable({
  1145. 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),
  1146. 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),
  1147. 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),
  1148. 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),
  1149. 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),
  1150. 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),
  1151. }, .3, false)
  1152. end
  1153. elseif Torsovelocity < 1 and hit ~= nil then
  1154. Anim = "Idle"
  1155. if attack == false then
  1156. change = 1
  1157. PlayAnimationFromTable({
  1158. 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),
  1159. 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),
  1160. 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),
  1161. 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),
  1162. 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),
  1163. 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),
  1164. }, .3, false)
  1165. end
  1166. elseif Torsovelocity > 2 and hit ~= nil then
  1167. Anim = "Walk"
  1168. if attack == false then
  1169. change = 2
  1170. PlayAnimationFromTable({
  1171. 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),
  1172. 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),
  1173. 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),
  1174. 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),
  1175. 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)),
  1176. 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)),
  1177. }, .3, false)
  1178. end
  1179. end
  1180. if 0 < #Effects then
  1181. for e = 1, #Effects do
  1182. if Effects[e] ~= nil then
  1183. local Thing = Effects[e]
  1184. if Thing ~= nil then
  1185. local Part = Thing[1]
  1186. local Mode = Thing[2]
  1187. local Delay = Thing[3]
  1188. local IncX = Thing[4]
  1189. local IncY = Thing[5]
  1190. local IncZ = Thing[6]
  1191. if Thing[2] == "Shoot" then
  1192. local Look = Thing[1]
  1193. local move = 5
  1194. local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
  1195. if Thing[10] ~= nil then
  1196. da = pos
  1197. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1198. cfa = CFrame.new(Thing[4], pos)
  1199. tehCF = cfa:lerp(cf2, 0.2)
  1200. Thing[1] = tehCF.lookVector
  1201. end
  1202. local mag = (Thing[4] - pos).magnitude
  1203. Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
  1204. 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)
  1205. Thing[4] = Thing[4] + Look * move
  1206. Thing[3] = Thing[3] - 1
  1207. if 2 < Thing[5] then
  1208. Thing[5] = Thing[5] - 0.3
  1209. Thing[6] = Thing[6] - 0.3
  1210. end
  1211. if hit ~= nil then
  1212. Thing[3] = 0
  1213. MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
  1214. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1215. ref.Anchored = true
  1216. ref.CFrame = CFrame.new(pos)
  1217. Effects.Block.Create(BrickColor.new("Deep blue"), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05)
  1218. Effects.Sphere.Create(BrickColor.new("Deep blue"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
  1219. game:GetService("Debris"):AddItem(ref, 1)
  1220. end
  1221. if Thing[3] <= 0 then
  1222. table.remove(Effects, e)
  1223. end
  1224. end
  1225. do
  1226. do
  1227. if Thing[2] == "FireWave" then
  1228. if Thing[3] <= Thing[4] then
  1229. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1230. Thing[3] = Thing[3] + 1
  1231. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1232. else
  1233. Part.Parent = nil
  1234. table.remove(Effects, e)
  1235. end
  1236. end
  1237. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1238. if Thing[1].Transparency <= 1 then
  1239. if Thing[2] == "Block1" then
  1240. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1241. Mesh = Thing[7]
  1242. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1243. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1244. else
  1245. if Thing[2] == "Block2" then
  1246. Thing[1].CFrame = Thing[1].CFrame
  1247. Mesh = Thing[7]
  1248. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1249. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1250. else
  1251. if Thing[2] == "Fire" then
  1252. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1253. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1254. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1255. else
  1256. if Thing[2] == "Cylinder" then
  1257. Mesh = Thing[7]
  1258. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1259. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1260. else
  1261. if Thing[2] == "Blood" then
  1262. Mesh = Thing[7]
  1263. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1264. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1265. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1266. else
  1267. if Thing[2] == "Elec" then
  1268. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  1269. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1270. else
  1271. if Thing[2] == "Disappear" then
  1272. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1273. end
  1274. end
  1275. end
  1276. end
  1277. end
  1278. end
  1279. end
  1280. else
  1281. Part.Parent = nil
  1282. table.remove(Effects, e)
  1283. end
  1284. end
  1285. end
  1286. end
  1287. end
  1288. end
  1289. end
  1290. end
  1291. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement