ItsFentix

Star Plat

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