Advertisement
AgentVK

ZA WORLDO

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