Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.58 KB | None | 0 0
  1. warn([[
  2. Sometimes, you just gotta stop and think for a minute.
  3. Think about what you wanna do with your life and what's important.
  4. Not just to you but to everybody.
  5. You see, you can make so much of a difference if you just put your mind to it
  6. And never forget about this one thing.
  7.  
  8. You're not here alone.
  9. ]])
  10. wait(1/60)
  11.  
  12. --// Shortcut Variables \\--
  13. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  14. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  15. local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  16. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  17. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  18. local R3 = {N=Region3.new}
  19. local De = S.Debris
  20. local WS = workspace
  21. local Lght = S.Lighting
  22. local RepS = S.ReplicatedStorage
  23. local IN = Instance.new
  24. local Plrs = S.Players
  25.  
  26. --// Initializing \\--
  27. local Plr = owner
  28. local Char = Plr.Character
  29. local Hum = Char:FindFirstChildOfClass'Humanoid'
  30. local RArm = Char["Right Arm"]
  31. local LArm = Char["Left Arm"]
  32. local RLeg = Char["Right Leg"]
  33. local LLeg = Char["Left Leg"]
  34. local Root = Char:FindFirstChild'HumanoidRootPart'
  35. local Torso = Char.Torso
  36. local Head = Char.Head
  37. local NeutralAnims = true
  38. local Attack = false
  39. local Debounces = {Debounces={}}
  40. local Mouse = Plr:GetMouse()
  41. local Hit = {}
  42. local Sine = 0
  43. local Change = 1
  44. local BloodPuddles = {}
  45. local Awakened = false
  46.  
  47. local Effects = IN("Folder",Char)
  48. Effects.Name = "Effects"
  49.  
  50.  
  51. --// Debounce System \\--
  52.  
  53.  
  54. function Debounces:New(name,cooldown)
  55. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  56. setmetatable(aaaaa,{__index = Debounces})
  57. Debounces.Debounces[name] = aaaaa
  58. return aaaaa
  59. end
  60.  
  61. function Debounces:Use(overrideUsable)
  62. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  63. if(self.Usable or overrideUsable)then
  64. self.Usable = false
  65. self.CoolingDown = true
  66. local LastUse = time()
  67. self.LastUse = LastUse
  68. delay(self.Cooldown or 2,function()
  69. if(self.LastUse == LastUse)then
  70. self.CoolingDown = false
  71. self.Usable = true
  72. end
  73. end)
  74. end
  75. end
  76.  
  77. function Debounces:Get(name)
  78. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  79. for i,v in next, Debounces.Debounces do
  80. if(i == name)then
  81. return v;
  82. end
  83. end
  84. end
  85.  
  86. function Debounces:GetProgressPercentage()
  87. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  88. if(self.CoolingDown and not self.Usable)then
  89. return math.max(
  90. math.floor(
  91. (
  92. (time()-self.LastUse)/self.Cooldown or 2
  93. )*100
  94. )
  95. )
  96. else
  97. return 100
  98. end
  99. end
  100.  
  101. --// Instance Creation Functions \\--
  102. local baseSound = IN("Sound")
  103. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  104. local Sound = baseSound:Clone()
  105. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  106. Sound.Pitch = pitch or 1
  107. Sound.Volume = volume or 1
  108. Sound.Looped = looped or false
  109. if(autoPlay)then
  110. coroutine.wrap(function()
  111. repeat wait() until Sound.IsLoaded
  112. Sound.Playing = autoPlay or false
  113. end)()
  114. end
  115. if(not looped and effect)then
  116. Sound.Stopped:connect(function()
  117. Sound.Volume = 0
  118. Sound:destroy()
  119. end)
  120. elseif(effect)then
  121. warn("Sound can't be looped and a sound effect!")
  122. end
  123. Sound.Parent =parent or Torso
  124. return Sound
  125. end
  126. function Part(parent,color,material,size,cframe,anchored,cancollide)
  127. local part = IN("Part")
  128. part.Parent = parent or Char
  129. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  130. part.Material = material or Enum.Material.SmoothPlastic
  131. part.TopSurface,part.BottomSurface=10,10
  132. part.Size = size or V3.N(1,1,1)
  133. part.CFrame = cframe or CF.N(0,0,0)
  134. part.CanCollide = cancollide or false
  135. part.Anchored = anchored or false
  136. return part
  137. end
  138.  
  139. function Weld(part0,part1,c0,c1)
  140. local weld = IN("Weld")
  141. weld.Parent = part0
  142. weld.Part0 = part0
  143. weld.Part1 = part1
  144. weld.C0 = c0 or CF.N()
  145. weld.C1 = c1 or CF.N()
  146. return weld
  147. end
  148.  
  149. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  150. local part = IN("SpecialMesh")
  151. part.MeshId = meshid or ""
  152. part.TextureId = textid or ""
  153. part.Scale = scale or V3.N(1,1,1)
  154. part.Offset = offset or V3.N(0,0,0)
  155. part.MeshType = meshtype or Enum.MeshType.Sphere
  156. part.Parent = parent
  157. return part
  158. end
  159.  
  160. NewInstance = function(instance,parent,properties)
  161. local inst = Instance.new(instance)
  162. inst.Parent = parent
  163. if(properties)then
  164. for i,v in next, properties do
  165. pcall(function() inst[i] = v end)
  166. end
  167. end
  168. return inst;
  169. end
  170.  
  171. function Clone(instance,parent,properties)
  172. local inst = instance:Clone()
  173. inst.Parent = parent
  174. if(properties)then
  175. for i,v in next, properties do
  176. pcall(function() inst[i] = v end)
  177. end
  178. end
  179. return inst;
  180. end
  181.  
  182. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  183. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  184. local Sound = IN("Sound")
  185. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  186. Sound.Pitch = pitch or 1
  187. Sound.Volume = volume or 1
  188. Sound.Looped = looped or false
  189. if(autoPlay)then
  190. coroutine.wrap(function()
  191. repeat wait() until Sound.IsLoaded
  192. Sound.Playing = autoPlay or false
  193. end)()
  194. end
  195. if(not looped and effect)then
  196. Sound.Stopped:connect(function()
  197. Sound.Volume = 0
  198. soundPart:destroy()
  199. end)
  200. elseif(effect)then
  201. warn("Sound can't be looped and a sound effect!")
  202. end
  203. Sound.Parent = soundPart
  204. return Sound
  205. end
  206.  
  207.  
  208. --// Extended ROBLOX tables \\--
  209. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  210. --// Require stuff \\--
  211. function CamShake(who,times,intense,origin)
  212. coroutine.wrap(function()
  213. if(script:FindFirstChild'CamShake')then
  214. local cam = script.CamShake:Clone()
  215. cam:WaitForChild'intensity'.Value = intense
  216. cam:WaitForChild'times'.Value = times
  217.  
  218. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  219. cam.Parent = who
  220. wait()
  221. cam.Disabled = false
  222. elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then
  223. local intensity = intense
  224. if(Hum and not Hum:FindFirstChild'CamShaking')then
  225. local cam = workspace.CurrentCamera
  226. local oCO = Hum.CameraOffset
  227. local cs = Instance.new("BoolValue",Hum)
  228. cs.Name = "CamShaking"
  229. for i = 1, times do
  230. local camDistFromOrigin
  231. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  232. camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin.Position).magnitude )/25
  233. elseif(typeof(origin) == 'Vector3')then
  234. camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin).magnitude )/25
  235. end
  236. if(camDistFromOrigin)then
  237. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  238. end
  239. --cam.CoordinateFrame = cam.CoordinateFrame*CFrame.fromEulerAnglesXYZ(math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200)
  240. if(Hum)then
  241. Hum.CameraOffset = Vector3.new(math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200)
  242. end
  243. swait()
  244. end
  245. if(Hum)then
  246. Hum.CameraOffset = oCO
  247. end
  248. cs:destroy()
  249. end
  250. end
  251. end)()
  252. end
  253.  
  254.  
  255. function CamShakeAll(times,intense,origin)
  256. for _,v in next, Plrs:players() do
  257. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  258. end
  259. end
  260.  
  261. function ServerScript(code)
  262. if(script:FindFirstChild'Loadstring')then
  263. local load = script.Loadstring:Clone()
  264. load:WaitForChild'Sauce'.Value = code
  265. load.Disabled = false
  266. load.Parent = workspace
  267. elseif(NS and typeof(NS) == 'function')then
  268. NS(code,workspace)
  269. else
  270. warn("no serverscripts lol")
  271. end
  272. end
  273.  
  274. function Nametag(color,tag)
  275. local r,g,b = C3.tRGB(color)
  276. local c3 = C3.RGB(255,255,50)
  277. local name = script:FindFirstChild'Nametag' and script.Nametag:Clone();
  278. if(not name)then
  279. name = NewInstance("BillboardGui",nil,{MaxDistance=150,AlwaysOnTop=true,Active=false,Size=UDim2.new(5,0,1,0),SizeOffset=Vector2.new(0,6)})
  280. NewInstance("TextLabel",name,{Name='PlayerName',BackgroundTransparency=1,Size=UDim2.new(1,0,1,0),Text=Plr.Name,Font=Enum.Font.Fantasy,TextColor3 = color,TextStrokeColor3 = c3,TextSize=14,TextScaled=true,TextWrapped=true,})
  281. NewInstance("TextLabel",name,{Name='Title',BackgroundTransparency=1,Size=UDim2.new(2.5,0,1.5,0),Position=UDim2.new(-.75,0,.9,0),Text=tag,Font=Enum.Font.Fantasy,TextColor3 = color,TextStrokeColor3 = c3,TextStrokeTransparency=0,TextSize=14,TextScaled=true,TextWrapped=true,})
  282. end
  283. name.Title.Text = tag
  284. name.Title.TextColor3 = color
  285. name.Title.TextStrokeColor3 = c3
  286.  
  287. name.PlayerName.Text = Plr.Name
  288. name.PlayerName.TextColor3 = color
  289. name.PlayerName.TextStrokeColor3 = c3
  290.  
  291. name.Parent = Char
  292. name.Adornee = Head
  293. --name.PlayerToHideFrom = Plr
  294.  
  295. return name.Title
  296. end
  297.  
  298. --// Customization \\--
  299.  
  300. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  301. local Remove_Hats = false
  302. local Remove_Clothing = false
  303. local PlayerSize = 1
  304. local DamageColor = BrickColor.new'CGA brown'
  305. local MusicID = ‪1547875818‬
  306. local God = true
  307. local Muted = false
  308.  
  309. local WalkSpeed = 16
  310.  
  311. --// Weapon and GUI creation, and Character Customization \\--
  312.  
  313. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  314. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  315.  
  316. if(PlayerSize ~= 1)then
  317. for _,v in next, Char:GetDescendants() do
  318. if(v:IsA'BasePart')then
  319. v.Size = v.Size * PlayerSize
  320. end
  321. end
  322. end
  323.  
  324.  
  325. local Music = Sound(Char,MusicID,1,3,true,false,true)
  326. Music.Name = 'Music'
  327.  
  328. --// Stop animations \\--
  329. for _,v in next, Hum:GetPlayingAnimationTracks() do
  330. v:Stop();
  331. end
  332.  
  333. pcall(game.Destroy,Char:FindFirstChild'Animate')
  334. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  335.  
  336. --// Joints \\--
  337.  
  338. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  339. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  340. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  341. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  342. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  343. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  344.  
  345. local LSC0 = LS.C0
  346. local RSC0 = RS.C0
  347. local NKC0 = NK.C0
  348. local LHC0 = LH.C0
  349. local RHC0 = RH.C0
  350. local RJC0 = RJ.C0
  351.  
  352. --// Artificial HB \\--
  353.  
  354. local ArtificialHB = IN("BindableEvent", script)
  355. ArtificialHB.Name = "Heartbeat"
  356.  
  357. script:WaitForChild("Heartbeat")
  358.  
  359. local tf = 0
  360. local allowframeloss = false
  361. local tossremainder = false
  362. local lastframe = tick()
  363. local frame = 1/Frame_Speed
  364. ArtificialHB:Fire()
  365.  
  366. game:GetService("RunService").Heartbeat:connect(function(s, p)
  367. tf = tf + s
  368. if tf >= frame then
  369. if allowframeloss then
  370. script.Heartbeat:Fire()
  371. lastframe = tick()
  372. else
  373. for i = 1, math.floor(tf / frame) do
  374. ArtificialHB:Fire()
  375. end
  376. lastframe = tick()
  377. end
  378. if tossremainder then
  379. tf = 0
  380. else
  381. tf = tf - frame * math.floor(tf / frame)
  382. end
  383. end
  384. end)
  385.  
  386. function swait(num)
  387. if num == 0 or num == nil then
  388. ArtificialHB.Event:wait()
  389. else
  390. for i = 0, num do
  391. ArtificialHB.Event:wait()
  392. end
  393. end
  394. end
  395.  
  396.  
  397. --// Effect Function(s) \\--
  398.  
  399. function NoobySphere(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,MeshId,Axis)
  400. local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false)
  401. local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
  402. local Scale = 1
  403. local speeder = Speed
  404. if(Type == "Multiply")then
  405. Scale = 1*Inc
  406. elseif(Type == "Divide")then
  407. Scale = 1/Inc
  408. end
  409. coroutine.wrap(function()
  410. for i = 0,10/Lifetime,.1 do
  411.  
  412. if(Type == "Multiply")then
  413. Scale = Scale - 0.01*Inc/Lifetime
  414. elseif(Type == "Divide")then
  415. Scale = Scale - 0.01/Inc*Lifetime
  416. end
  417. speeder = speeder - 0.01*Speed*Lifetime
  418. fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime
  419. fxP.Transparency = fxP.Transparency + 0.01*Lifetime
  420. if(Axis == 'x')then
  421. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, 0, 0)
  422. elseif(Axis == 'y')then
  423. fxM.Scale = fxM.Scale + Vector3.new(0, Scale*Lifetime, 0)
  424. elseif(Axis == 'z')then
  425. fxM.Scale = fxM.Scale + Vector3.new(0, 0, Scale*Lifetime)
  426. elseif(Axis == 'xyz')then
  427. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime,Scale*Lifetime,Scale*Lifetime)
  428. elseif(Axis == 'yz')then
  429. fxM.Scale = fxM.Scale + Vector3.new(0,Scale*Lifetime,Scale*Lifetime)
  430. elseif(Axis == 'xz')then
  431. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime,0,Scale*Lifetime)
  432. else
  433. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, 0)
  434. end
  435. if(fxP.Transparency >= 1)then break end
  436. swait()
  437. end
  438. fxP:destroy()
  439. end)()
  440. return fxP
  441. end
  442.  
  443. function NoobySphere2(Lifetime,Type,Pos,StartSize,Inc,Color,MeshId)
  444. local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos,true,false)
  445. local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
  446.  
  447. local Scale = 1
  448. if(Type == "Multiply")then
  449. Scale = 1*Inc
  450. elseif(Type == "Divide")then
  451. Scale = 1/Inc
  452. end
  453. coroutine.wrap(function()
  454. for i = 0,10/Lifetime,.1 do
  455.  
  456. if(Type == "Multiply")then
  457. Scale = Scale - 0.01*Inc/Lifetime
  458. elseif(Type == "Divide")then
  459. Scale = Scale - 0.01/Inc*Lifetime
  460. end
  461. fxP.Transparency = fxP.Transparency + 0.01*Lifetime
  462. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime)
  463. swait()
  464. end
  465. fxP:destroy()
  466. end)()
  467. end
  468.  
  469. function NoobyBlock(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,Fade,MeshId)
  470. local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false)
  471. local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Brick),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
  472. local Scale = 1
  473. local speeder = Speed
  474. if(Type == "Multiply")then
  475. Scale = 1*Inc
  476. elseif(Type == "Divide")then
  477. Scale = 1/Inc
  478. end
  479. coroutine.wrap(function()
  480. for i = 0,10/Lifetime,.1 do
  481. if(Type == "Multiply")then
  482. Scale = Scale - 0.01*Inc/Lifetime
  483. elseif(Type == "Divide")then
  484. Scale = Scale - 0.01/Inc*Lifetime
  485. end
  486. if(Fade)then
  487. fxP.Transparency = i/(10/Lifetime)
  488. end
  489. speeder = speeder - 0.01*Speed*Lifetime/10
  490. fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime
  491. fxM.Scale = fxM.Scale - Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime)
  492. swait()
  493. end
  494. fxP:destroy()
  495. end)()
  496. end
  497.  
  498. function Bezier(startpos, pos2, pos3, endpos, t)
  499. local A = startpos:lerp(pos2, t)
  500. local B = pos2:lerp(pos3, t)
  501. local C = pos3:lerp(endpos, t)
  502. local lerp1 = A:lerp(B, t)
  503. local lerp2 = B:lerp(C, t)
  504. local cubic = lerp1:lerp(lerp2, t)
  505. return cubic
  506. end
  507. function Puddle(hit,pos,norm,data)
  508. local material = data.Material or Enum.Material.SmoothPlastic
  509. local color = data.Color or BrickColor.new'Crimson'
  510. local size = data.Size or 1
  511.  
  512. if(hit.Name ~= 'BloodPuddle')then
  513. local Puddle = NewInstance('Part',workspace,{Material=material,BrickColor=color,Size=V3.N(size,.1,size),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'})
  514. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  515. BloodPuddles[Puddle] = 0
  516. else
  517. local cyl = hit:FindFirstChild'CylinderMesh'
  518. if(cyl)then
  519. BloodPuddles[hit] = 0
  520. cyl.Scale = cyl.Scale + V3.N(size,0,size)
  521. hit.Transparency = 0
  522. end
  523. end
  524. end
  525.  
  526. function Droplet(data)
  527. --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  528. local Size = data.Size or 1
  529. local Color = data.Color or BrickColor.new'Crimson'
  530. local StudsPerFrame = data.Speed or 1
  531. local Shape = data.Shape or 'Ball'
  532. local Frames = (data.Frames or 160)+1
  533. local Pos = data.Origin or Root.CFrame
  534. local Direction = data.Direction or Root.CFrame.lookVector*100000
  535. local Material = data.Material or Enum.Material.SmoothPlastic
  536. local Drop = data.Drop or .05
  537. local Ignorelist = data.Ignorelist or nil
  538.  
  539. local Bullet = Part(Effects,Color,Material,V3.N(Size,Size,Size),Pos,true,false)
  540. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  541. if(Shape == 'Ball')then
  542. BMesh.MeshType = Enum.MeshType.Sphere
  543. elseif(Shape == 'Head')then
  544. BMesh.MeshType = Enum.MeshType.Head
  545. elseif(Shape == 'Cylinder')then
  546. BMesh.MeshType = Enum.MeshType.Cylinder
  547. end
  548.  
  549. coroutine.wrap(function()
  550. for i = 1, Frames do
  551. Pos = Pos * CF.N(0,-(Drop*i),0)
  552. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)).p,StudsPerFrame)
  553. if(hit and (not hit.Parent or not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent:IsA'Accessory'))then
  554. Puddle(hit,pos,norm,data)
  555. break;
  556. else
  557. Bullet.CFrame = CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i))
  558. end
  559. swait()
  560. end
  561. Bullet:destroy()
  562. end)()
  563. end
  564.  
  565. function SphereFX(duration,color,scale,pos,endScale,increment)
  566. return Effect{
  567. Effect='ResizeAndFade',
  568. Color=color,
  569. Size=scale,
  570. Mesh={MeshType=Enum.MeshType.Sphere},
  571. CFrame=pos,
  572. FXSettings={
  573. EndSize=endScale,
  574. EndIsIncrement=increment
  575. }
  576. }
  577. end
  578.  
  579. function BlastFX(duration,color,scale,pos,endScale,increment)
  580. return Effect{
  581. Effect='ResizeAndFade',
  582. Color=color,
  583. Size=scale,
  584. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  585. CFrame=pos,
  586. FXSettings={
  587. EndSize=endScale,
  588. EndIsIncrement=increment
  589. }
  590. }
  591. end
  592.  
  593. function BlockFX(duration,color,scale,pos,endScale,increment)
  594. return Effect{
  595. Effect='ResizeAndFade',
  596. Color=color,
  597. Size=scale,
  598. CFrame=pos,
  599. FXSettings={
  600. EndSize=endScale,
  601. EndIsIncrement=increment
  602. }
  603. }
  604. end
  605.  
  606. function ShootBullet(data)
  607. --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
  608. local Size = data.Size or V3.N(2,2,2)
  609. local Color = data.Color or BrickColor.new'CGA brown'
  610. local StudsPerFrame = data.Speed or 10
  611. local Shape = data.Shape or 'Ball'
  612. local Frames = data.Frames or 160
  613. local Pos = data.Origin or Torso.CFrame
  614. local Direction = data.Direction or Mouse.Hit
  615. local Material = data.Material or Enum.Material.Neon
  616. local OnHit = data.HitFunction or function(hit,pos)
  617. Effect{
  618. Effect='ResizeAndFade',
  619. Color=Color,
  620. Size=V3.N(10,10,10),
  621. Mesh={MeshType=Enum.MeshType.Sphere},
  622. CFrame=CF.N(pos),
  623. FXSettings={
  624. EndSize=V3.N(.05,.05,.05),
  625. EndIsIncrement=true
  626. }
  627. }
  628. for i = 1, 5 do
  629. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  630. Effect{
  631. Effect='Fade',
  632. Frames=65,
  633. Size=V3.N(5,5,10),
  634. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
  635. Mesh = {MeshType=Enum.MeshType.Sphere},
  636. Material=Enum.Material.Neon,
  637. Color=Color,
  638. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  639. }
  640. end
  641. end
  642.  
  643. local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
  644. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  645. if(Shape == 'Ball')then
  646. BMesh.MeshType = Enum.MeshType.Sphere
  647. elseif(Shape == 'Head')then
  648. BMesh.MeshType = Enum.MeshType.Head
  649. elseif(Shape == 'Cylinder')then
  650. BMesh.MeshType = Enum.MeshType.Cylinder
  651. end
  652.  
  653. coroutine.wrap(function()
  654. for i = 1, Frames+1 do
  655. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
  656. if(hit)then
  657. OnHit(hit,pos,norm,dist)
  658. break;
  659. else
  660. Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
  661. end
  662. swait()
  663. end
  664. Bullet:destroy()
  665. end)()
  666.  
  667. end
  668.  
  669.  
  670. function Zap(data)
  671. local sCF,eCF = data.StartCFrame,data.EndCFrame
  672. assert(sCF,"You need a start CFrame!")
  673. assert(eCF,"You need an end CFrame!")
  674. local parts = data.PartCount or 15
  675. local zapRot = data.ZapRotation or {-5,5}
  676. local startThick = data.StartSize or 3;
  677. local endThick = data.EndSize or startThick/2;
  678. local color = data.Color or BrickColor.new'Electric blue'
  679. local delay = data.Delay or 35
  680. local delayInc = data.DelayInc or 0
  681. local lastLightning;
  682. local MagZ = (sCF.p - eCF.p).magnitude
  683. local thick = startThick
  684. local inc = (startThick/parts)-(endThick/parts)
  685.  
  686. for i = 1, parts do
  687. local pos = sCF.p
  688. if(lastLightning)then
  689. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  690. end
  691. delay = delay + delayInc
  692. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  693. local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  694. if(parts == i)then
  695. local MagZ = (pos-eCF.p).magnitude
  696. zapPart.Size = V3.N(endThick,endThick,MagZ)
  697. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  698. Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  699. else
  700. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  701. end
  702.  
  703. lastLightning = zapPart
  704. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  705.  
  706. thick=thick-inc
  707.  
  708. end
  709. end
  710.  
  711. function Zap2(data)
  712. local Color = data.Color or BrickColor.new'Electric blue'
  713. local StartPos = data.Start or Torso.Position
  714. local EndPos = data.End or Mouse.Hit.p
  715. local SegLength = data.SegL or 2
  716. local Thicc = data.Thickness or 0.5
  717. local Fades = data.Fade or 45
  718. local Parent = data.Parent or Effects
  719. local MaxD = data.MaxDist or 200
  720. local Branch = data.Branches or false
  721. local Material = data.Material or Enum.Material.Neon
  722. local Raycasts = data.Raycasts or false
  723. local Offset = data.Offset or {0,360}
  724. local AddMesh = (data.Mesh == nil and true or data.Mesh)
  725. if((StartPos-EndPos).magnitude > MaxD)then
  726. EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  727. end
  728. local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  729. if(Raycasts)then
  730. hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
  731. end
  732. local segments = dist/SegLength
  733. local model = IN("Model",Parent)
  734. model.Name = 'Lightning'
  735. local Last;
  736. for i = 1, segments do
  737. local size = (segments-i)/25
  738. local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  739. if(AddMesh)then IN("CylinderMesh",prt) end
  740. if(Last and math.floor(segments) == i)then
  741. local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  742. prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  743. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0)
  744. elseif(not Last)then
  745. prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  746. else
  747. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  748. end
  749. Last = prt
  750. if(Branch)then
  751. local choice = M.RNG(1,7+((segments-i)*2))
  752. if(choice == 1)then
  753. local LastB;
  754. for i2 = 1,M.RNG(2,5) do
  755. local size2 = ((segments-i)/35)/i2
  756. local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  757. if(AddMesh)then IN("CylinderMesh",prt) end
  758. if(not LastB)then
  759. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  760. else
  761. prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  762. end
  763. LastB = prt
  764. end
  765. end
  766. end
  767. end
  768. if(Fades > 0)then
  769. coroutine.wrap(function()
  770. for i = 1, Fades do
  771. for _,v in next, model:children() do
  772. if(v:IsA'BasePart')then
  773. v.Transparency = (i/Fades)
  774. end
  775. end
  776. swait()
  777. end
  778. model:destroy()
  779. end)()
  780. else
  781. S.Debris:AddItem(model,.01)
  782. end
  783. return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  784. end
  785.  
  786. function Tween(obj,props,time,easing,direction,repeats,backwards)
  787. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  788. local tween = S.TweenService:Create(obj, info, props)
  789.  
  790. tween:Play()
  791. end
  792.  
  793. function Effect(data)
  794. local Color = data.Color or C3.N(0,0,0)
  795. local Material = data.Material or Enum.Material.Neon;
  796. local MeshD = data.Mesh or {};
  797. local SoundD = data.Sound or nil;
  798. local Shape = data.Shape or Enum.PartType.Block;
  799. local Size = data.StartSize or V3.N(.1,.1,.1);
  800. local ESize = data.EndSize or V3.N(6,6,6);
  801. local Direction = data.Direction or nil;
  802. local Speed = data.Speed or .1; -- studs per second
  803. local Boomerang = data.Boomerang or {Enabled=false,SizeBoomerang=0,MoveBoomerang=0};
  804. local Pos = data.CFrame or Torso.CFrame;
  805. local Frames = data.Frames or 60;
  806. local RotInc = data.RotInc or {0,0,0}
  807. local StartTrans = data.TransStart or 0;
  808. local EndTrans = data.TransEnd or 1;
  809.  
  810. if(typeof(RotInc) == 'number')then RotInc = {RotInc,RotInc,RotInc}; end
  811. local S,PM,P;
  812.  
  813. coroutine.wrap(function()
  814. P = Part(Effects,Color,Material,V3.N(1,1,1),Pos,true,false)
  815.  
  816. if(MeshD == "Blast")then
  817. PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://20329976','',Size,V3.N(0,0,-Size.X/8))
  818. elseif(MeshD == 'Ring')then
  819. PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://559831844','',Size,V3.N(0,0,0))
  820. elseif(MeshD == 'Slash1')then
  821. PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://662586858','',V3.N(Size.X/10,.001,Size.Z/10),V3.N(0,0,0))
  822. elseif(MeshD == 'Slash2')then
  823. PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://448386996','',V3.N(Size.X/1000,Size.Y/100,Size.Z/100),V3.N(0,0,0))
  824. elseif(MeshD == 'Slash3')then
  825. PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://4770583','',Size,V3.N(0,0,0))
  826. elseif(MeshD == 'Tornado1')then
  827. PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://443529437','',Size/10,V3.N(0,0,0))
  828. elseif(MeshD == 'Tornado2')then
  829. PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://168892432','',Size/4,V3.N(0,0,0))
  830. elseif(MeshD == 'Skull')then
  831. PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://4770583','',Size*2,V3.N(0,0,0))
  832. elseif(MeshD == 'Crystal')then
  833. PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://9756362','',Size,V3.N(0,0,0))
  834. elseif(MeshD == 'Cloud')then
  835. PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://1095708','',Size,V3.N(0,0,0))
  836. elseif(MeshD == 'Sphere')then
  837. PM = Mesh(P,Enum.MeshType.Sphere,'','',Size,V3.N(0,0,0))
  838. else
  839. PM = Mesh(P,Enum.MeshType.Brick,'','',Size)
  840. end
  841.  
  842. --[[if(typeof(SoundD) == 'table')then
  843. local ID = SoundD.ID or '';
  844. local Pitch = SoundD.Pitch or 1;
  845. local Volume = SoundD.Volume or 1;
  846. S = Sound(P,ID,Pitch,Volume,false,true,true)
  847. elseif(typeof(SoundD) == 'string' or typeof(SoundD) == 'number')then
  848. S = Sound(P,SoundD,1,1,false,true,true)
  849. end]]
  850. local grow = (Size - ESize)
  851. local SizeBoomer = 1+Boomerang.SizeBoomerang/50
  852. local MoveBoomer = 1+Boomerang.MoveBoomerang/50
  853. if(Boomerang and Boomerang.Enabled)then
  854. grow = (Size - ESize)*(SizeBoomer+1)
  855. end
  856. local TransChange = StartTrans - EndTrans
  857. for i = 0, Frames do
  858. local MoveSpeed = -Speed
  859. local scaleGay = grow/Frames
  860. if(Boomerang and Boomerang.Enabled)then -- thanks shack
  861. MoveSpeed = -(Speed)*((1-(i/Frames)*MoveBoomer))
  862. scaleGay = (V3.N((grow.X)*((1 - (i/Frames)*SizeBoomer)),(grow.Y)*((1 - (i/Frames)*SizeBoomer)),(grow.Z)*((1 - (i/Frames)*SizeBoomer)))*SizeBoomer)/Frames
  863. end
  864. if(PM.MeshId == 'rbxassetid://20329976')then
  865. PM.Offset = V3.N(0,0,-PM.Scale.Z/8)
  866. elseif(PM.MeshId == 'rbxassetid://4770583')then
  867. scaleGay = scaleGay*2
  868. elseif(PM.MeshId == 'rbxassetid://168892432')then
  869. scaleGay = scaleGay/4
  870. elseif(PM.MeshId == 'rbxassetid://443529437')then
  871. scaleGay = scaleGay/10
  872. elseif(PM.MeshId == 'rbxassetid://443529437')then
  873. scaleGay = scaleGay/10
  874. end
  875. PM.Scale = PM.Scale - scaleGay
  876. P.Transparency = P.Transparency - TransChange/Frames
  877. if(RotInc == 'random')then
  878. P.CFrame=P.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  879. elseif(typeof(RotInc) == 'table')then
  880. P.CFrame=P.CFrame*CF.A(unpack(RotInc))
  881. end
  882.  
  883.  
  884. if(Direction and Speed)then
  885. local Orientation = P.Orientation
  886. P.CFrame = CF.N(P.Position,P.Position+Direction)*CF.N(0,0,MoveSpeed)
  887. P.Orientation = Orientation
  888. end
  889. swait()
  890. end
  891.  
  892. P.Transparency = 1
  893. --[[] if(S and S.Playing)then
  894. repeat swait() until not S.Parent or not S.Playing
  895. end
  896. if(S and S.Parent)then
  897. S:destroy()
  898. end]]
  899. end)()
  900.  
  901.  
  902. end
  903.  
  904. function SoulSteal(whom)
  905. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  906. print(torso)
  907. if(torso and torso:IsA'BasePart')then
  908. local Model = Instance.new("Model",Effects)
  909. Model.Name = whom.Name.."'s Soul"
  910. whom:BreakJoints()
  911. local Soul = Part(Model,BrickColor.new'Neon orange','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  912. Soul.Name = 'Head'
  913. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  914. Effect{
  915. Effect="Arc",
  916. Manual = Soul,
  917. FXSettings={
  918. Start=torso.CFrame,
  919. Home = Torso,
  920. RemoveOnGoal = true,
  921. }
  922. }
  923. local lastPoint = Soul.CFrame.p
  924.  
  925. for i = 0, 1, 0.01 do
  926. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  927. local mag = (lastPoint - Soul.Position).magnitude
  928. Effect{
  929. Effect = "Fade",
  930. CFrame = point * CF.N(0, mag/2, 0),
  931. Size = V3.N(.5,mag+.5,.5),
  932. Color = Soul.BrickColor
  933. }
  934. lastPoint = Soul.CFrame.p
  935. swait()
  936. end
  937. for i = 1, 5 do
  938. Effect{
  939. Effect="Fade",
  940. Color = BrickColor.new'Neon orange',
  941. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  942. }
  943. end
  944. end
  945. end
  946.  
  947. --// Other Functions \\ --
  948.  
  949. function CastRay(startPos,endPos,range,ignoreList)
  950. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  951. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  952. return part,pos,norm,(pos and (startPos-pos).magnitude)
  953. end
  954.  
  955. function getRegion(point,range,ignore)
  956. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  957. end
  958.  
  959. function clerp(startCF,endCF,alpha)
  960. return startCF:lerp(endCF, alpha)
  961. end
  962.  
  963. function GetTorso(char)
  964. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  965. end
  966.  
  967.  
  968. function ShowDamage(Pos, Text, Time, Color)
  969. coroutine.wrap(function()
  970. local Rate = (1 / Frame_Speed)
  971. local Pos = (Pos or Vector3.new(0, 0, 0))
  972. local Text = (Text or "")
  973. local Time = (Time or 2)
  974. local Color = (Color or Color3.new(1, 0, 1))
  975. local EffectPart = NewInstance("Part",Effects,{
  976. Material=Enum.Material.SmoothPlastic,
  977. Reflectance = 0,
  978. Transparency = 1,
  979. BrickColor = BrickColor.new(Color),
  980. Name = "Effect",
  981. Size = Vector3.new(0,0,0),
  982. Anchored = true,
  983. CFrame = CF.N(Pos)
  984. })
  985. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  986. Size = UDim2.new(1.25, 0, 1.25, 0),
  987. Adornee = EffectPart,
  988. })
  989. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  990. BackgroundTransparency = 1,
  991. Size = UDim2.new(1, 0, 1, 0),
  992. Text = Text,
  993. Font = "Bodoni",
  994. TextColor3 = Color,
  995. TextStrokeColor3 = Color3.new(0,0,0),
  996. TextStrokeTransparency=0,
  997. TextScaled = true,
  998. })
  999. S.Debris:AddItem(EffectPart, (Time))
  1000. EffectPart.Parent = workspace
  1001. delay(0, function()
  1002. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  1003. local Frames = (Time / Rate)
  1004. for Frame = 1, Frames do
  1005. swait()
  1006. local Percent = (Frame / Frames)
  1007. TextLabel.TextTransparency = Percent
  1008. TextLabel.TextStrokeTransparency = Percent
  1009. end
  1010. if EffectPart and EffectPart.Parent then
  1011. EffectPart:Destroy()
  1012. end
  1013. end) end)()
  1014. end
  1015.  
  1016. function DealDamage(data)
  1017. local Who = data.Who;
  1018. local MinDam = data.MinimumDamage or 15;
  1019. local MaxDam = data.MaximumDamage or 30;
  1020. local MaxHP = data.MaxHP or 1e5;
  1021.  
  1022. local DB = data.Debounce or .2;
  1023.  
  1024. local CritData = data.Crit or {}
  1025. local CritChance = CritData.Chance or 0;
  1026. local CritMultiplier = CritData.Multiplier or 1;
  1027.  
  1028. local DamageEffects = data.DamageFX or {}
  1029. local DamageType = DamageEffects.Type or "Normal"
  1030. local DeathFunction = DamageEffects.DeathFunction
  1031.  
  1032. assert(Who,"Specify someone to damage!")
  1033.  
  1034. local Humanoid = Who:FindFirstChildOfClass'Humanoid'
  1035. local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1)
  1036.  
  1037. local canHit = true
  1038. if(Humanoid)then
  1039. for _, p in pairs(Hit) do
  1040. if p[1] == Humanoid then
  1041. if(time() - p[2] <= DB) then
  1042. canHit = false
  1043. else
  1044. Hit[_] = nil
  1045. end
  1046. end
  1047. end
  1048. if(canHit)then
  1049. table.insert(Hit,{Humanoid,time()})
  1050. local HitTorso = GetTorso(Who)
  1051. local player = S.Players:GetPlayerFromCharacter(Who)
  1052. if(not player or player.UserId ~= ‪5719877‬ and player.UserId ~= 19081129)then
  1053. if(Humanoid.MaxHealth >= MaxHP and Humanoid.Health > 0)then
  1054. print'Got kill'
  1055. Humanoid.Health = 0;
  1056. Who:BreakJoints();
  1057. if(DeathFunction)then DeathFunction(Who,Humanoid) end
  1058. else
  1059. local c = Instance.new("ObjectValue",Hum)
  1060. c.Name = "creator"
  1061. c.Value = Plr
  1062. S.Debris:AddItem(c,0.35)
  1063. if(Who:FindFirstChild'Head' and Humanoid.Health > 0)then
  1064. ShowDamage((Who.Head.CFrame * CF.N(0, 0, (Who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), DoneDamage, 1.5, DamageColor.Color)
  1065. end
  1066. if(Humanoid.Health > 0 and Humanoid.Health-DoneDamage <= 0)then print'Got kill' if(DeathFunction)then DeathFunction(Who,Humanoid) end end
  1067. Humanoid.Health = Humanoid.Health - DoneDamage
  1068.  
  1069. if(DamageType == 'Knockback' and HitTorso)then
  1070. local up = DamageEffects.KnockUp or 25
  1071. local back = DamageEffects.KnockBack or 25
  1072. local origin = DamageEffects.Origin or Root
  1073. local decay = DamageEffects.Decay or .5;
  1074.  
  1075. local bfos = Instance.new("BodyVelocity",HitTorso)
  1076. bfos.P = 20000
  1077. bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1078. bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back)
  1079. S.Debris:AddItem(bfos,decay)
  1080. end
  1081. end
  1082. end
  1083. end
  1084. end
  1085. end
  1086.  
  1087. function AOEDamage(where,range,options)
  1088. local hit = {}
  1089. for _,v in next, getRegion(where,range,{Char}) do
  1090. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then
  1091. local callTable = {Who=v.Parent}
  1092. hit[v.Parent] = true
  1093. for _,v in next, options do callTable[_] = v end
  1094. DealDamage(callTable)
  1095. end
  1096. end
  1097. return hit
  1098. end
  1099.  
  1100. function AOEHeal(where,range,amount)
  1101. local healed = {}
  1102. for _,v in next, getRegion(where,range,{Char}) do
  1103. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1104. if(hum and not healed[hum])then
  1105. hum.Health = hum.Health + amount
  1106. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1107. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  1108. end
  1109. end
  1110. end
  1111. end
  1112.  
  1113. function FuckSoundsLoop()
  1114. while true do
  1115. for _,v in next, workspace:children() do
  1116. if(v:IsA'Sound' and not v:IsDescendantOf(Char))then
  1117. v.Volume = 0
  1118. v.Pitch = 0
  1119. v.SoundId = ''
  1120. v.PlaybackSpeed = 0
  1121. v:ClearAllChildren()
  1122. local eq = Instance.new("EqualizerSoundEffect",v)
  1123. eq.HighGain = -80
  1124. eq.LowGain = -80
  1125. eq.MidGain = -80
  1126. end
  1127. for _,v in next, v:children() do
  1128. if(v:IsA'Sound' and not v:IsDescendantOf(Char))then
  1129. v.Volume = 0
  1130. v.Pitch = 0
  1131. v.SoundId = ''
  1132. v.PlaybackSpeed = 0
  1133. v:ClearAllChildren()
  1134. local eq = Instance.new("EqualizerSoundEffect",v)
  1135. eq.HighGain = -80
  1136. eq.LowGain = -80
  1137. eq.MidGain = -80
  1138. end
  1139. end
  1140. end
  1141. swait()
  1142. end
  1143. end
  1144.  
  1145. local tag;
  1146. function AwakenTheGods()
  1147. Music.TimePosition = 0
  1148. WalkSpeed = 0
  1149. Attack = true
  1150. NeutralAnims = false
  1151. repeat
  1152. swait()
  1153. local Alpha = .1
  1154. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.00628662109+.1*M.C(Sine/20), 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1155. LH.C0 = LH.C0:lerp(CFrame.new(-0.496662438, -0.990932465-.1*M.C(Sine/20), 0.00763185322, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),Alpha)
  1156. RH.C0 = RH.C0:lerp(CFrame.new(0.498331398, -0.991056442-.1*M.C(Sine/20), 0.0170112997, 0.965925872, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925872),Alpha)
  1157. LS.C0 = LS.C0:lerp(CFrame.new(-1.21105576, 0.355495751, 0.265963584, 0.906307757, -0.422618389, -6.20176081e-07, 0.331619918, 0.711160064, 0.619902909, -0.261981934, -0.56182307, 0.784678519),Alpha)
  1158. RS.C0 = RS.C0:lerp(CFrame.new(1.21158886, 0.355498463, 0.265961438, 0.906307757, 0.422618389, 6.20176081e-07, -0.331619918, 0.711160064, 0.619902909, 0.261981934, -0.56182307, 0.784678519),Alpha)
  1159. NK.C0 = NK.C0:lerp(CFrame.new(8.77308194e-05, 1.49900818, -0.00497354567, 0.999878109, 0.000897928199, -0.0155862626, -3.57576369e-07, 0.998346031, 0.0574919991, 0.0156121058, -0.0574849918, 0.998224318)*CF.A(M.R(0+2.5*M.S(Sine/20)),0,0),Alpha)
  1160.  
  1161. until Music.TimePosition > 3
  1162. repeat
  1163. swait()
  1164. local Alpha = .1
  1165. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.00628662109+.1*M.C(Sine/20), 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1166. LH.C0 = LH.C0:lerp(CFrame.new(-0.496662438, -0.990932465-.1*M.C(Sine/20), 0.00763185322, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),Alpha)
  1167. RH.C0 = RH.C0:lerp(CFrame.new(0.498331398, -0.991056442-.1*M.C(Sine/20), 0.0170112997, 0.965925872, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925872),Alpha)
  1168. LS.C0 = LS.C0:lerp(CFrame.new(-1.21105576, 0.355495751, 0.265963584, 0.906307757, -0.422618389, -6.20176081e-07, 0.331619918, 0.711160064, 0.619902909, -0.261981934, -0.56182307, 0.784678519),Alpha)
  1169. RS.C0 = RS.C0:lerp(CFrame.new(1.21158886, 0.355498463, 0.265961438, 0.906307757, 0.422618389, 6.20176081e-07, -0.331619918, 0.711160064, 0.619902909, 0.261981934, -0.56182307, 0.784678519),Alpha)
  1170. NK.C0 = NK.C0:lerp(CFrame.new(8.77308194e-05, 1.49900818, -0.00497354567, 0.999878109, 0.000897928199, -0.0155862626, -3.57576369e-07, 0.998346031, 0.0574919991, 0.0156121058, -0.0574849918, 0.998224318)*CF.A(M.R(20-5*M.C(Sine/3)),0,0),Alpha)
  1171.  
  1172. until Music.TimePosition > 6.5
  1173. repeat
  1174. swait()
  1175. local Alpha = .1
  1176. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.00628662109+.1*M.C(Sine/20), 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1177. LH.C0 = LH.C0:lerp(CFrame.new(-0.496664226, -0.990932465-.1*M.C(Sine/20), 0.00763250887, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),Alpha)
  1178. RH.C0 = RH.C0:lerp(CFrame.new(0.498331398, -0.991056442-.1*M.C(Sine/20), 0.0170112997, 0.965925872, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925872),Alpha)
  1179. LS.C0 = LS.C0:lerp(CFrame.new(-1.39645171, 0.536808133, 0.0104179382, -0.779337943, 0.626603901, 0, -0.626603901, -0.779337943, 0, 0, 0, 1),Alpha)
  1180. RS.C0 = RS.C0:lerp(CFrame.new(1.31697524, 0.456805557, 0.0504112244, -0.779324114, -0.626621068, 0, 0.626621068, -0.779324114, 0, 0, 0, 1),Alpha)
  1181. NK.C0 = NK.C0:lerp(CFrame.new(8.77308194e-05, 1.49900818, -0.00497354567, 0.999878109, 0.000897928199, -0.0155862626, -3.57576369e-07, 0.998346031, 0.0574919991, 0.0156121058, -0.0574849918, 0.998224318)*CF.A(M.R(0-5*M.C(Sine/3)),0,0),Alpha)
  1182. until Music.TimePosition > 10
  1183. repeat
  1184. swait()
  1185. local Alpha = .1
  1186. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.00628662109+.1*M.C(Sine/20), 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1187. LH.C0 = LH.C0:lerp(CFrame.new(-0.496662438, -0.990932465-.1*M.C(Sine/20), 0.00763185322, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),Alpha)
  1188. RH.C0 = RH.C0:lerp(CFrame.new(0.498331398, -0.991056442-.1*M.C(Sine/20), 0.0170112997, 0.965925872, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925872),Alpha)
  1189. LS.C0 = LS.C0:lerp(CFrame.new(-1.21105576, 0.355495751, 0.265963584, 0.906307757, -0.422618389, -6.20176081e-07, 0.331619918, 0.711160064, 0.619902909, -0.261981934, -0.56182307, 0.784678519),Alpha)
  1190. RS.C0 = RS.C0:lerp(CFrame.new(1.21158886, 0.355498463, 0.265961438, 0.906307757, 0.422618389, 6.20176081e-07, -0.331619918, 0.711160064, 0.619902909, 0.261981934, -0.56182307, 0.784678519),Alpha)
  1191. NK.C0 = NK.C0:lerp(CFrame.new(8.77308194e-05, 1.49900818, -0.00497354567, 0.999878109, 0.000897928199, -0.0155862626, -3.57576369e-07, 0.998346031, 0.0574919991, 0.0156121058, -0.0574849918, 0.998224318)*CF.A(M.R(0+2.5*M.S(Sine/20)),0,0),Alpha)
  1192.  
  1193. until Music.TimePosition > 12
  1194. repeat
  1195. swait()
  1196. local Alpha = .1
  1197. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.00628662109+.1*M.C(Sine/20), 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1198. LH.C0 = LH.C0:lerp(CFrame.new(-0.49666357, -0.990932465-.1*M.C(Sine/20), 0.00763429701, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),Alpha)
  1199. RH.C0 = RH.C0:lerp(CFrame.new(0.498333246, -0.991056442-.1*M.C(Sine/20), 0.0170117915, 0.965925872, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925872),Alpha)
  1200. LS.C0 = LS.C0:lerp(CFrame.new(-1.21105623, 0.355496407, 0.265963048, 0.906307757, -0.422618389, -6.20176081e-07, 0.331619918, 0.711160064, 0.619902909, -0.261981934, -0.56182307, 0.784678519),Alpha)
  1201. RS.C0 = RS.C0:lerp(CFrame.new(1.41028595, 0.740271211, -0.0718183592, 1, 0, 0, 0, -0.97925663, -0.202623919, 0, 0.202623919, -0.97925663),Alpha)
  1202. NK.C0 = NK.C0:lerp(CFrame.new(8.7108463e-05, 1.49900091, -0.00497245789, 0.899524748, -0.0251164287, 0.436147332, 0, 0.998345971, 0.0574917793, -0.436869919, -0.0517152771, 0.898036897)*CF.A(M.R(0-5*M.C(Sine/3)),0,0),Alpha)
  1203.  
  1204. until Music.TimePosition > 16
  1205. repeat
  1206. swait()
  1207. local Alpha = .1
  1208. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.071796082, -0.310315907, 1, 0, 0, 0, 0.860600293, 0.509281158, 0, -0.509281158, 0.860600293),Alpha)
  1209. LH.C0 = LH.C0:lerp(CFrame.new(-0.496661127, -1.07201791, -0.265619397, 0.939692736, 0, 0.342019886, 0.174184293, 0.860600293, -0.478567809, -0.294342428, 0.509281158, 0.808699846),Alpha)
  1210. RH.C0 = RH.C0:lerp(CFrame.new(0.498330832, -1.07690001, -0.257612884, 0.965925872, 0, -0.258818984, -0.131811634, 0.860600293, -0.491927832, 0.222739697, 0.509281158, 0.831276059),Alpha)
  1211. LS.C0 = LS.C0:lerp(CFrame.new(-1.12105393, 0.772407055, 0.101261318, 0.906308234, -0.422617346, -1.34566176e-06, -0.411053032, -0.881507635, -0.232335657, 0.0981878936, 0.210568249, -0.972635865)*CF.A(M.R(0+5*M.C(Sine/0.0187235)),M.R(0+5*M.C(Sine/0.02134892345)),M.R(0+5*M.C(Sine/0.029857245))),Alpha)
  1212. RS.C0 = RS.C0:lerp(CFrame.new(1.21159422, 0.772400498, 0.101266921, 0.906308234, 0.422617346, 1.34566176e-06, 0.411053032, -0.881507635, -0.232335657, -0.0981878936, 0.210568249, -0.972635865)*CF.A(M.R(0+5*M.C(Sine/0.0187235)),M.R(0+5*M.C(Sine/0.02134892345)),M.R(0+5*M.C(Sine/0.029857245))),Alpha)
  1213. NK.C0 = NK.C0:lerp(CFrame.new(8.67834315e-05, 1.55111742, -0.0241473913, 0.999878228, 0.000897681166, -0.0155867776, 0.000381324906, 0.996643901, 0.0818608105, 0.0156079493, -0.081856817, 0.99652195)*CF.A(M.R(0+5*M.C(Sine/0.0187235)),M.R(0+5*M.C(Sine/0.02134892345)),M.R(0+5*M.C(Sine/0.029857245))),Alpha)
  1214.  
  1215. until Music.TimePosition > 20
  1216. --[[Effect{
  1217. Frames=15,
  1218. StartSize=V3.N(1,1,1),
  1219. EndSize=V3.N(30,30,30),
  1220. Mesh='Sphere',
  1221. CFrame=Root.CFrame,
  1222. Color=C3.N(1,0.5,0),
  1223. }]]
  1224. --[[Effect{
  1225. Frames=30,
  1226. StartSize=V3.N(1,1,1),
  1227. EndSize=V3.N(23,23,23),
  1228. Mesh='Sphere',
  1229. CFrame=Root.CFrame,
  1230. Color=C3.N(1,0.35,0),
  1231. }]]
  1232. repeat
  1233. --[[Effect{
  1234. Speed=2,
  1235. StartSize=V3.N(1,5,1),
  1236. EndSize=V3.N(.2,25,.2),
  1237. Mesh='Sphere',
  1238. CFrame=Root.CFrame*CF.N(M.RNG(-15,15),-6,M.RNG(-15,15)),
  1239. Color=C3.N(1,0.5,0),
  1240. Direction=V3.N(0,100,0)
  1241. }]]
  1242. swait()
  1243. local Alpha = .1
  1244. RJ.C0 = RJ.C0:lerp(CFrame.new(0, -0.828151882, 0.22274141, 1, 0, 0, 0, 0.900515974, 0.434823006, 0, -0.434823006, 0.900515974),Alpha)
  1245. LH.C0 = LH.C0:lerp(CFrame.new(-0.496667415, -0.0473905802, -0.261757344, 0.993474126, 0, 0.114058018, 0.0495950505, 0.900515974, -0.431985408, -0.102711067, 0.434823006, 0.894639313),Alpha)
  1246. RH.C0 = RH.C0:lerp(CFrame.new(0.498333693, -0.0515801907, -0.253366023, 0.994139016, 0, -0.108110003, -0.0470087156, 0.900515974, -0.43227452, 0.0973547846, 0.434823006, 0.895238042),Alpha)
  1247. LS.C0 = LS.C0:lerp(CFrame.new(-0.988035679, 0.952667892, -0.273394823, 0.732192159, -0.681098223, 2.462064e-05, -0.636693835, -0.684469581, -0.355137348, 0.24190025, 0.260013103, -0.934814095)*CF.A(M.RRNG(-15,15),M.RRNG(-15,15),M.RRNG(-15,15)),Alpha)
  1248. RS.C0 = RS.C0:lerp(CFrame.new(1.217152, 0.836422443, -0.0925583243, 0.794035316, 0.585973084, 0.161689848, 0.603134573, -0.726321995, -0.329674363, -0.0757413954, 0.359293818, -0.93014586)*CF.A(M.RRNG(-15,15),M.RRNG(-15,15),M.RRNG(-15,15)),Alpha)
  1249. NK.C0 = NK.C0:lerp(CFrame.new(9.04172193e-05, 1.49901021, -0.00497027487, 0.999878109, 0.000898505386, -0.0155869601, -9.08970833e-07, 0.99834609, 0.0574910939, 0.0156128351, -0.0574840307, 0.998224378)*CF.A(M.RRNG(-15,15),M.RRNG(-15,15),M.RRNG(-15,15)),Alpha)
  1250.  
  1251. until Music.TimePosition > 35
  1252. repeat
  1253. --[[Effect{
  1254. Speed=2,
  1255. StartSize=V3.N(1,5,1),
  1256. EndSize=V3.N(.2,25,.2),
  1257. Mesh='Sphere',
  1258. CFrame=Root.CFrame*CF.N(M.RNG(-15,15),-6,M.RNG(-15,15)),
  1259. Color=C3.N(1,0.3,0),
  1260. Direction=V3.N(0,100,0)
  1261. }]]
  1262. swait()
  1263. local Alpha = .1
  1264. RJ.C0 = RJ.C0:lerp(CFrame.new(0, 1.93639863, 0.251019001, 1, 0, 0, 0, 0.852782011, -0.522266984, 0, 0.522266984, 0.852782011),Alpha)
  1265. LH.C0 = LH.C0:lerp(CFrame.new(-0.374981761, -0.857894242, -0.035641849, 0.980454862, 0.121685907, 0.154598758, -0.179481745, 0.875070632, 0.449486136, -0.0805886909, -0.468448579, 0.879807591),Alpha)
  1266. RH.C0 = RH.C0:lerp(CFrame.new(0.357744217, -0.852208853, -0.0189704299, 0.98700285, -0.140582487, -0.0778591558, 0.160640389, 0.876621962, 0.453573078, 0.00448862463, -0.4601852, 0.887811542),Alpha)
  1267. LS.C0 = LS.C0:lerp(CFrame.new(-1.40045679, 0.60141176, -0.0528290272, 0.930431843, 0.306599438, -0.200732231, -0.169355378, 0.845493913, 0.506417572, 0.324985206, -0.437191963, 0.838598669),Alpha)
  1268. RS.C0 = RS.C0:lerp(CFrame.new(1.24771667, 0.637240052, 0.137926191, 0.929661334, -0.308971286, -0.200665429, 0.368415356, 0.779650986, 0.506373823, -5.9902668e-06, -0.54468435, 0.838641107),Alpha)
  1269. NK.C0 = NK.C0:lerp(CFrame.new(-0.00207496248, 1.440804, 0.133255839, 0.999877989, -0.00605895836, -0.0143978121, -2.10478902e-06, 0.921658099, -0.388002902, 0.015620755, 0.387955576, 0.921545625),Alpha)
  1270.  
  1271. until Music.TimePosition > 37
  1272. Effect{
  1273. Frames=30,
  1274. StartSize=V3.N(1,1,1),
  1275. EndSize=V3.N(100,100,100),
  1276. Mesh='Sphere',
  1277. CFrame=Root.CFrame,
  1278. Color=C3.N(1,0.35,0),
  1279. }
  1280. Effect{
  1281. Frames=60,
  1282. StartSize=V3.N(1,1,1),
  1283. EndSize=V3.N(95,95,95),
  1284. Mesh='Sphere',
  1285. CFrame=Root.CFrame,
  1286. Color=C3.N(1,0.5,0),
  1287. }
  1288. tag = Nametag(C3.N(1,0.5,0),"P H O E N I X")
  1289. S.Lighting.OutdoorAmbient = Color3.new(1, 0.5, 0)
  1290. S.Lighting.Ambient = Color3.new(1, 0.5, 0)
  1291. S.Lighting.FogColor = Color3.new(1, 0.5, 0)
  1292. S.Lighting.TimeOfDay = "00:00:00"
  1293. Awakened = true
  1294. Hum.HipHeight = 4
  1295. Hum.JumpPower = 150
  1296. Attack = false
  1297. NeutralAnims = true
  1298. WalkSpeed = 64
  1299. end
  1300.  
  1301. coroutine.wrap(FuckSoundsLoop)()
  1302. coroutine.wrap(AwakenTheGods)()
  1303.  
  1304. function Edgify(text)
  1305. local edge = ""
  1306. for i = 1, #text do
  1307. if(M.RNG(1,2) == 1)then
  1308. edge = edge..text:sub(i,i):lower()
  1309. else
  1310. edge = edge..text:sub(i,i):upper()
  1311. end
  1312. end
  1313. return edge
  1314. end
  1315.  
  1316.  
  1317. --[[Music.TimePosition = 37
  1318. Awakened = true
  1319. Hum.HipHeight = 4
  1320. Hum.JumpPower = 150
  1321. WalkSpeed = 32]]
  1322.  
  1323. function Click()
  1324.  
  1325. end
  1326.  
  1327. --// Wrap it all up \\--
  1328.  
  1329. coroutine.wrap(function()
  1330. while true do
  1331. if(tag)then
  1332. local tags = {"END THIS","PATHETIC","SNAP","CRACKLE","BURN","WHY ME","ENOUGH","hElP mE","IT HURTS","RIP","T I C K","T O C K","T H E C L O C K","wOrThLeSs","AH A H A HA!","aHahAhAaaHAHA!","go away"}
  1333. local text = tags[M.RNG(1,50)]
  1334. if(text)then
  1335. tag.Text = Edgify(text)
  1336. else
  1337. tag.Text = 'P H O E N I X'
  1338. end
  1339. end
  1340. swait(2)
  1341. end
  1342. end)()
  1343. while true do
  1344. swait()
  1345. Sine = Sine + Change
  1346. if(Plr.UserId == ‪327771087‬ and game.PlaceId == ‪843495510‬ and Awakened)then
  1347. S.Lighting.OutdoorAmbient = Color3.new(1, 0.1, 0)
  1348. S.Lighting.Ambient = Color3.new(1, 0.1, 0)
  1349. S.Lighting.FogColor = Color3.new(1, 0.1, 0)
  1350. S.Lighting.TimeOfDay = "00:00:00"
  1351. end
  1352. if(not Music or not Music.Parent)then
  1353. local tp = (Music and Music.TimePosition)
  1354. Music = Sound(Char,MusicID,1,10,true,false,true)
  1355. Music.Name = 'Music'
  1356. Music.TimePosition = tp
  1357. end
  1358. Music.SoundId = "rbxassetid://"..MusicID
  1359. Music.Parent = Char
  1360. Music.Pitch = 1
  1361. Music.Volume = 5
  1362. if(not Muted)then
  1363. Music:Resume()
  1364. else
  1365. Music:Pause()
  1366. end
  1367.  
  1368.  
  1369. if(God)then
  1370. Hum.MaxHealth = 1e100
  1371. Hum.Health = 1e100
  1372. if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
  1373. Hum.Name = M.RNG()*100
  1374. end
  1375.  
  1376. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * ((6+Hum.HipHeight)*PlayerSize)), Char)
  1377.  
  1378. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1379. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
  1380. if(not Effects or not Effects.Parent)then
  1381. Effects = IN("Model",Char)
  1382. Effects.Name = "Effects"
  1383. end
  1384. Hum.WalkSpeed = WalkSpeed
  1385. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  1386. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  1387.  
  1388. if(Awakened)then
  1389. NoobySphere(5,math.random(25,75)/100,"Multiply",Root.CFrame*CF.N(M.RNG(-15,15),-10,M.RNG(-15,15))*CF.A(M.R(90),0,0)*CF.A(M.RRNG(-25,25),M.RRNG(-25,25),M.RRNG(-25,25)),V3.N(.75,.75,15),.005,C3.N(1,0.5,0),0)
  1390. end
  1391.  
  1392. if(NeutralAnims)then
  1393. if(State == 'Idle')then
  1394. local Alpha = .1
  1395. Change = 1
  1396. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0+.6*M.C(Sine/20),0)*CF.A(M.R(20-2.5*M.S(Sine/20)),0,0),Alpha)
  1397. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-20+2.5*M.S(Sine/30)),0,0),Alpha)
  1398. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.S(Sine/20),0)*CF.A(M.R(-20-7.5*M.S(Sine/20)),0,M.R(-5-5*M.S(Sine/20))),Alpha)
  1399. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,.1*M.S(Sine/20),0)*CF.A(M.R(-20-7.5*M.S(Sine/20)),0,M.R(5+5*M.S(Sine/20))),Alpha)
  1400. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.1-.15*M.S(Sine/20),0)*CF.A(M.R(0+7.5*M.S(Sine/20)),0,M.R(-5-2.5*M.S(Sine/20)))*CF.A(M.R(-7.5),0,M.R(-5)),Alpha)
  1401. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,.6-.25*M.S(Sine/20),-.6)*CF.A(M.R(0+7.5*M.S(Sine/20)),0,M.R(5+2.5*M.S(Sine/20)))*CF.A(M.R(-7.5),0,M.R(5)),Alpha)
  1402.  
  1403. elseif(State == 'Run')then
  1404. local Alpha = .1
  1405. Change = 1
  1406. RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
  1407. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1408. LS.C0 = LS.C0:lerp(LSC0,Alpha)
  1409. RS.C0 = RS.C0:lerp(RSC0,Alpha)
  1410. LH.C0 = LH.C0:lerp(LHC0,Alpha)
  1411. RH.C0 = RH.C0:lerp(RHC0,Alpha)
  1412. elseif(State == 'Walk')then
  1413. local Alpha = .1
  1414. Change = 1
  1415. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0+.6*M.C(Sine/20),0)*CF.A(M.R(-25-2.5*M.S(Sine/20)),0,0),Alpha)
  1416. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-20+2.5*M.S(Sine/30)),0,0),Alpha)
  1417. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.S(Sine/20),0)*CF.A(M.R(25-2.5*M.S(Sine/20)),0,M.R(-5-2.5*M.S(Sine/20))),Alpha)
  1418. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,.1*M.S(Sine/20),0)*CF.A(M.R(25-2.5*M.S(Sine/20)),0,M.R(5+2.5*M.S(Sine/20))),Alpha)
  1419. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.1-.15*M.S(Sine/20),0)*CF.A(M.R(-10+7.5*M.S(Sine/20)),0,M.R(-5-2.5*M.S(Sine/20)))*CF.A(M.R(-7.5),0,M.R(-5)),Alpha)
  1420. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,.1-.15*M.S(Sine/20),0)*CF.A(M.R(-10+7.5*M.S(Sine/20)),0,M.R(5+2.5*M.S(Sine/20)))*CF.A(M.R(-7.5),0,M.R(5)),Alpha)
  1421.  
  1422. elseif(State == 'Jump')then
  1423. local Alpha = .1
  1424. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1425. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
  1426. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
  1427. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1428. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1429. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1430. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1431. elseif(State == 'Fall')then
  1432. local Alpha = .1
  1433. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1434. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  1435. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  1436. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1437. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1438. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1439. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1440. elseif(State == 'Paralyzed')then
  1441. -- paralyzed
  1442. elseif(State == 'Sit')then
  1443. -- sit
  1444. end
  1445. end
  1446.  
  1447. for i,v in next, BloodPuddles do
  1448. local mesh = i:FindFirstChild'CylinderMesh'
  1449. BloodPuddles[i] = v + 1
  1450. if(not mesh or i.Transparency >= 1)then
  1451. i:destroy()
  1452. BloodPuddles[i] = nil
  1453. elseif(v >= Frame_Speed*4)then
  1454. local trans = (v-Frame_Speed*4)/(Frame_Speed*2)
  1455. i.Transparency = trans
  1456. if(mesh.Scale.Z > 0)then
  1457. mesh.Scale = mesh.Scale-V3.N(.05,0,.05)
  1458. end
  1459. else
  1460. i.Transparency = 0
  1461. end
  1462. end
  1463. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement