carlosname

Untitled

Apr 17th, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.30 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : Maniac ]]--
  3. -------------------------------------------------------
  4. --A script By makhail07
  5.  
  6. --Discord Creterisk#2958
  7.  
  8. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  9. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  10. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  11. --YOU FUCKING SKIDS,
  12. --For Those who log/decompile this, If you sell or trade this,
  13. --and I find out who you are, i will take massive action.
  14.  
  15. -------------------------------------------------------
  16.  
  17. local FavIDs = {
  18. 340106355, --Nefl Crystals
  19. 927529620, --Dimension
  20. 876981900, --Fantasy
  21. 398987889, --Ordinary Days
  22. 1117396305, --Oh wait, it's you.
  23. 885996042, --Action Winter Journey
  24. 919231299, --Sprawling Idiot Effigy
  25. 743466274, --Good Day Sunshine
  26. 727411183, --Knife Fight
  27. 1402748531, --The Earth Is Counting On You!
  28. 595230126 --Robot Language
  29. }
  30.  
  31. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  32. do
  33. script.Parent = owner.Character
  34. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  35. local function NewFakeEvent()
  36. local Bind = Instance.new("BindableEvent")
  37. local Fake;Fake = {Connections = {},
  38. fakeEvent=true;
  39. Connect=function(self,Func)
  40. Bind.Event:connect(Func)
  41. self.Connections[Bind] = true
  42. return setmetatable({Connected = true},{
  43. __index = function (self,Index)
  44. if Index:lower() == "disconnect" then
  45. return function() Fake.Connections[Bind] = false;self.Connected = false end
  46. end
  47. return Fake[Index]
  48. end;
  49. __tostring = function() return "Connection" end;
  50. })
  51. end}
  52. Fake.connect = Fake.Connect;return Fake;
  53. end
  54. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  55. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  56. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  57. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  58. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  59. local function TriggerEvent(self,Event,...)
  60. local Trigger = Mouse[Event]
  61. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  62. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  63. end
  64. end
  65. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  66. Event.OnServerEvent:Connect(function(FiredBy,Input)
  67. if FiredBy.Name ~= owner.Name then return end
  68. if Input.MouseEvent then
  69. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  70. else
  71. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  72. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  73. for _,Action in pairs(ContextActionService.Actions) do
  74. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  75. end
  76. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  77. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  78. end
  79. end)
  80. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  81. Event.Parent = NLS([[
  82. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  83. local Input = function(Input,gameProcessedEvent)
  84. if gameProcessedEvent then return end
  85. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  86. end
  87. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  88. local Hit,Target
  89. while wait(1/30) do
  90. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  91. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  92. end
  93. end
  94. ]],owner.Character)
  95. end
  96. RealGame = game;game = setmetatable({},{
  97. __index = function (self,Index)
  98. local Sandbox = function (Thing)
  99. if Thing:IsA("Player") then
  100. local RealPlayer = Thing
  101. return setmetatable({},{
  102. __index = function (self,Index)
  103. local Type = type(RealPlayer[Index])
  104. if Type == "function" then
  105. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  106. return function (self)return InternalData["Mouse"] end
  107. end
  108. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  109. end
  110. return RealPlayer[Index]
  111. end;
  112. __tostring = function(self) return RealPlayer.Name end
  113. })
  114. end
  115. end
  116. if RealGame[Index] then
  117. local Type = type(RealGame[Index])
  118. if Type == "function" then
  119. if Index:lower() == "getservice" or Index:lower() == "service" then
  120. return function (self,Service)
  121. local FakeServices = {
  122. ["players"] = function()
  123. return setmetatable({},{
  124. __index = function (self2,Index2)
  125. local RealService = RealGame:GetService(Service)
  126. local Type2 = type(Index2)
  127. if Type2 == "function" then
  128. return function (self,...) return RealService[Index2](RealService,...)end
  129. else
  130. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  131. return RealService[Index2]
  132. end
  133. end;
  134. __tostring = function(self) return RealGame:GetService(Service).Name end
  135. })
  136. end;
  137. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  138. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  139. ["runservice"] = function()
  140. return setmetatable({},{
  141. __index = function(self2,Index2)
  142. local RealService = RealGame:GetService(Service)
  143. local Type2 = type(Index2)
  144. if Type2 == "function" then
  145. return function (self,...) return RealService[Index2](RealService,...) end
  146. else
  147. local RunServices = {
  148. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  149. ["renderstepped"] = function() return RealService["Stepped"] end
  150. }
  151. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  152. return RealService[Index2]
  153. end
  154. end
  155. })
  156. end
  157. }
  158. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  159. return RealGame:GetService(Service)
  160. end
  161. end
  162. return function (self,...) return RealGame[Index](RealGame,...) end
  163. else
  164. if game:GetService(Index) then return game:GetService(Index) end
  165. return RealGame[Index]
  166. end
  167. end
  168. return nil
  169. end
  170. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  171.  
  172.  
  173.  
  174. --The reality of my life isn't real but a Universe -makhail07
  175. wait()
  176. local plr = game:service'Players'.LocalPlayer
  177. print('Local User is '..plr.Name)
  178. print('Maniac Loaded')
  179. print('No, this is not a burn ripoff.')
  180. local char = plr.Character
  181. local hum = char.Humanoid
  182. local hed = char.Head
  183. local root = char.HumanoidRootPart
  184. local rootj = root.RootJoint
  185. local tors = char.Torso
  186. local ra = char["Right Arm"]
  187. local la = char["Left Arm"]
  188. local rl = char["Right Leg"]
  189. local ll = char["Left Leg"]
  190. local neck = tors["Neck"]
  191. local mouse = plr:GetMouse()
  192. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  193. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  194. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  195. local maincolor = BrickColor.new("New Yeller")
  196.  
  197. -------------------------------------------------------
  198. --Start Good Stuff--
  199. -------------------------------------------------------
  200. cam = game.Workspace.CurrentCamera
  201. CF = CFrame.new
  202. angles = CFrame.Angles
  203. attack = false
  204. Euler = CFrame.fromEulerAnglesXYZ
  205. Rad = math.rad
  206. IT = Instance.new
  207. BrickC = BrickColor.new
  208. Cos = math.cos
  209. Acos = math.acos
  210. Sin = math.sin
  211. Asin = math.asin
  212. Abs = math.abs
  213. Mrandom = math.random
  214. Floor = math.floor
  215. -------------------------------------------------------
  216. --End Good Stuff--
  217. -------------------------------------------------------
  218. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  219. RSH, LSH = nil, nil
  220. RW = Instance.new("Weld")
  221. LW = Instance.new("Weld")
  222. RH = tors["Right Hip"]
  223. LH = tors["Left Hip"]
  224. RSH = tors["Right Shoulder"]
  225. LSH = tors["Left Shoulder"]
  226. RSH.Parent = nil
  227. LSH.Parent = nil
  228. RW.Name = "RW"
  229. RW.Part0 = tors
  230. RW.C0 = CF(1.5, 0.5, 0)
  231. RW.C1 = CF(0, 0.5, 0)
  232. RW.Part1 = ra
  233. RW.Parent = tors
  234. LW.Name = "LW"
  235. LW.Part0 = tors
  236. LW.C0 = CF(-1.5, 0.5, 0)
  237. LW.C1 = CF(0, 0.5, 0)
  238. LW.Part1 = la
  239. LW.Parent = tors
  240. Effects = {}
  241. -------------------------------------------------------
  242. --Start HeartBeat--
  243. -------------------------------------------------------
  244. ArtificialHB = Instance.new("BindableEvent", script)
  245. ArtificialHB.Name = "Heartbeat"
  246. script:WaitForChild("Heartbeat")
  247.  
  248. frame = 1 / 60
  249. tf = 0
  250. allowframeloss = false
  251. tossremainder = false
  252.  
  253.  
  254. lastframe = tick()
  255. script.Heartbeat:Fire()
  256.  
  257.  
  258. game:GetService("RunService").Heartbeat:connect(function(s, p)
  259. tf = tf + s
  260. if tf >= frame then
  261. if allowframeloss then
  262. script.Heartbeat:Fire()
  263. lastframe = tick()
  264. else
  265. for i = 1, math.floor(tf / frame) do
  266. script.Heartbeat:Fire()
  267. end
  268. lastframe = tick()
  269. end
  270. if tossremainder then
  271. tf = 0
  272. else
  273. tf = tf - frame * math.floor(tf / frame)
  274. end
  275. end
  276. end)
  277. -------------------------------------------------------
  278. --End HeartBeat--
  279. -------------------------------------------------------
  280.  
  281. -------------------------------------------------------
  282. --Start Important Functions--
  283. -------------------------------------------------------
  284. function swait(num)
  285. if num == 0 or num == nil then
  286. game:service("RunService").Stepped:wait(0)
  287. else
  288. for i = 0, num do
  289. game:service("RunService").Stepped:wait(0)
  290. end
  291. end
  292. end
  293. function thread(f)
  294. coroutine.resume(coroutine.create(f))
  295. end
  296. function clerp(a, b, t)
  297. local qa = {
  298. QuaternionFromCFrame(a)
  299. }
  300. local qb = {
  301. QuaternionFromCFrame(b)
  302. }
  303. local ax, ay, az = a.x, a.y, a.z
  304. local bx, by, bz = b.x, b.y, b.z
  305. local _t = 1 - t
  306. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  307. end
  308. function QuaternionFromCFrame(cf)
  309. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  310. local trace = m00 + m11 + m22
  311. if trace > 0 then
  312. local s = math.sqrt(1 + trace)
  313. local recip = 0.5 / s
  314. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  315. else
  316. local i = 0
  317. if m00 < m11 then
  318. i = 1
  319. end
  320. if m22 > (i == 0 and m00 or m11) then
  321. i = 2
  322. end
  323. if i == 0 then
  324. local s = math.sqrt(m00 - m11 - m22 + 1)
  325. local recip = 0.5 / s
  326. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  327. elseif i == 1 then
  328. local s = math.sqrt(m11 - m22 - m00 + 1)
  329. local recip = 0.5 / s
  330. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  331. elseif i == 2 then
  332. local s = math.sqrt(m22 - m00 - m11 + 1)
  333. local recip = 0.5 / s
  334. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  335. end
  336. end
  337. end
  338. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  339. local xs, ys, zs = x + x, y + y, z + z
  340. local wx, wy, wz = w * xs, w * ys, w * zs
  341. local xx = x * xs
  342. local xy = x * ys
  343. local xz = x * zs
  344. local yy = y * ys
  345. local yz = y * zs
  346. local zz = z * zs
  347. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  348. end
  349. function QuaternionSlerp(a, b, t)
  350. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  351. local startInterp, finishInterp
  352. if cosTheta >= 1.0E-4 then
  353. if 1 - cosTheta > 1.0E-4 then
  354. local theta = math.acos(cosTheta)
  355. local invSinTheta = 1 / Sin(theta)
  356. startInterp = Sin((1 - t) * theta) * invSinTheta
  357. finishInterp = Sin(t * theta) * invSinTheta
  358. else
  359. startInterp = 1 - t
  360. finishInterp = t
  361. end
  362. elseif 1 + cosTheta > 1.0E-4 then
  363. local theta = math.acos(-cosTheta)
  364. local invSinTheta = 1 / Sin(theta)
  365. startInterp = Sin((t - 1) * theta) * invSinTheta
  366. finishInterp = Sin(t * theta) * invSinTheta
  367. else
  368. startInterp = t - 1
  369. finishInterp = t
  370. end
  371. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  372. end
  373. function rayCast(Position, Direction, Range, Ignore)
  374. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  375. end
  376. local RbxUtility = LoadLibrary("RbxUtility")
  377. local Create = RbxUtility.Create
  378.  
  379. -------------------------------------------------------
  380. --Start Damage Function--
  381. -------------------------------------------------------
  382. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  383. if hit.Parent == nil then
  384. return
  385. end
  386. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  387. for _, v in pairs(hit.Parent:children()) do
  388. if v:IsA("Humanoid") then
  389. h = v
  390. end
  391. end
  392. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  393.  
  394. hit.Parent:FindFirstChild("Head"):BreakJoints()
  395. end
  396.  
  397. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  398. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  399. if hit.Parent.DebounceHit.Value == true then
  400. return
  401. end
  402. end
  403. if insta == true then
  404. hit.Parent:FindFirstChild("Head"):BreakJoints()
  405. end
  406. local c = Create("ObjectValue"){
  407. Name = "creator",
  408. Value = game:service("Players").LocalPlayer,
  409. Parent = h,
  410. }
  411. game:GetService("Debris"):AddItem(c, .5)
  412. if HitSound ~= nil and HitPitch ~= nil then
  413. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  414. end
  415. local Damage = math.random(minim, maxim)
  416. local blocked = false
  417. local block = hit.Parent:findFirstChild("Block")
  418. if block ~= nil then
  419. if block.className == "IntValue" then
  420. if block.Value > 0 then
  421. blocked = true
  422. block.Value = block.Value - 1
  423. print(block.Value)
  424. end
  425. end
  426. end
  427. if blocked == false then
  428. h.Health = h.Health - Damage
  429. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  430. else
  431. h.Health = h.Health - (Damage / 2)
  432. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  433. end
  434. if Type == "Knockdown" then
  435. local hum = hit.Parent.Humanoid
  436. hum.PlatformStand = true
  437. coroutine.resume(coroutine.create(function(HHumanoid)
  438. swait(1)
  439. HHumanoid.PlatformStand = false
  440. end), hum)
  441. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  442. local bodvol = Create("BodyVelocity"){
  443. velocity = angle * knockback,
  444. P = 5000,
  445. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  446. Parent = hit,
  447. }
  448. local rl = Create("BodyAngularVelocity"){
  449. P = 3000,
  450. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  451. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  452. Parent = hit,
  453. }
  454. game:GetService("Debris"):AddItem(bodvol, .5)
  455. game:GetService("Debris"):AddItem(rl, .5)
  456. elseif Type == "Normal" then
  457. local vp = Create("BodyVelocity"){
  458. P = 500,
  459. maxForce = Vector3.new(math.huge, 0, math.huge),
  460. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  461. }
  462. if knockback > 0 then
  463. vp.Parent = hit.Parent.Torso
  464. end
  465. game:GetService("Debris"):AddItem(vp, .5)
  466. elseif Type == "Up" then
  467. local bodyVelocity = Create("BodyVelocity"){
  468. velocity = Vector3.new(0, 20, 0),
  469. P = 5000,
  470. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  471. Parent = hit,
  472. }
  473. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  474. elseif Type == "DarkUp" then
  475. coroutine.resume(coroutine.create(function()
  476. for i = 0, 1, 0.1 do
  477. swait()
  478. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  479. end
  480. end))
  481. local bodyVelocity = Create("BodyVelocity"){
  482. velocity = Vector3.new(0, 20, 0),
  483. P = 5000,
  484. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  485. Parent = hit,
  486. }
  487. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  488. elseif Type == "Snare" then
  489. local bp = Create("BodyPosition"){
  490. P = 2000,
  491. D = 100,
  492. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  493. position = hit.Parent.Torso.Position,
  494. Parent = hit.Parent.Torso,
  495. }
  496. game:GetService("Debris"):AddItem(bp, 1)
  497. elseif Type == "Freeze" then
  498. local BodPos = Create("BodyPosition"){
  499. P = 50000,
  500. D = 1000,
  501. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  502. position = hit.Parent.Torso.Position,
  503. Parent = hit.Parent.Torso,
  504. }
  505. local BodGy = Create("BodyGyro") {
  506. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  507. P = 20e+003,
  508. Parent = hit.Parent.Torso,
  509. cframe = hit.Parent.Torso.CFrame,
  510. }
  511. hit.Parent.Torso.Anchored = true
  512. coroutine.resume(coroutine.create(function(Part)
  513. swait(1.5)
  514. Part.Anchored = false
  515. end), hit.Parent.Torso)
  516. game:GetService("Debris"):AddItem(BodPos, 3)
  517. game:GetService("Debris"):AddItem(BodGy, 3)
  518. end
  519. local debounce = Create("BoolValue"){
  520. Name = "DebounceHit",
  521. Parent = hit.Parent,
  522. Value = true,
  523. }
  524. game:GetService("Debris"):AddItem(debounce, Delay)
  525. c = Create("ObjectValue"){
  526. Name = "creator",
  527. Value = Player,
  528. Parent = h,
  529. }
  530. game:GetService("Debris"):AddItem(c, .5)
  531. end
  532. end
  533. -------------------------------------------------------
  534. --End Damage Function--
  535. -------------------------------------------------------
  536.  
  537. -------------------------------------------------------
  538. --Start Damage Function Customization--
  539. -------------------------------------------------------
  540. function ShowDamage(Pos, Text, Time, Color)
  541. local Rate = (1 / 30)
  542. local Pos = (Pos or Vector3.new(0, 0, 0))
  543. local Text = (Text or "")
  544. local Time = (Time or 2)
  545. local Color = (Color or Color3.new(1, 0, 1))
  546. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  547. EffectPart.Anchored = true
  548. local BillboardGui = Create("BillboardGui"){
  549. Size = UDim2.new(3, 0, 3, 0),
  550. Adornee = EffectPart,
  551. Parent = EffectPart,
  552. }
  553. local TextLabel = Create("TextLabel"){
  554. BackgroundTransparency = 1,
  555. Size = UDim2.new(1, 0, 1, 0),
  556. Text = Text,
  557. Font = "Bodoni",
  558. TextColor3 = Color,
  559. TextScaled = true,
  560. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  561. Parent = BillboardGui,
  562. }
  563. game.Debris:AddItem(EffectPart, (Time))
  564. EffectPart.Parent = game:GetService("Workspace")
  565. delay(0, function()
  566. local Frames = (Time / Rate)
  567. for Frame = 1, Frames do
  568. wait(Rate)
  569. local Percent = (Frame / Frames)
  570. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  571. TextLabel.TextTransparency = Percent
  572. end
  573. if EffectPart and EffectPart.Parent then
  574. EffectPart:Destroy()
  575. end
  576. end)
  577. end
  578. -------------------------------------------------------
  579. --End Damage Function Customization--
  580. -------------------------------------------------------
  581.  
  582. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  583. for _, c in pairs(workspace:children()) do
  584. local hum = c:findFirstChild("Humanoid")
  585. if hum ~= nil then
  586. local head = c:findFirstChild("Head")
  587. if head ~= nil then
  588. local targ = head.Position - Part.Position
  589. local mag = targ.magnitude
  590. if magni >= mag and c.Name ~= plr.Name then
  591. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  592. end
  593. end
  594. end
  595. end
  596. end
  597.  
  598.  
  599. CFuncs = {
  600. Part = {
  601. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  602. local Part = Create("Part")({
  603. Parent = Parent,
  604. Reflectance = Reflectance,
  605. Transparency = Transparency,
  606. CanCollide = false,
  607. Locked = true,
  608. BrickColor = BrickColor.new(tostring(BColor)),
  609. Name = Name,
  610. Size = Size,
  611. Material = Material
  612. })
  613. RemoveOutlines(Part)
  614. return Part
  615. end
  616. },
  617. Mesh = {
  618. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  619. local Msh = Create(Mesh)({
  620. Parent = Part,
  621. Offset = OffSet,
  622. Scale = Scale
  623. })
  624. if Mesh == "SpecialMesh" then
  625. Msh.MeshType = MeshType
  626. Msh.MeshId = MeshId
  627. end
  628. return Msh
  629. end
  630. },
  631. Mesh = {
  632. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  633. local Msh = Create(Mesh)({
  634. Parent = Part,
  635. Offset = OffSet,
  636. Scale = Scale
  637. })
  638. if Mesh == "SpecialMesh" then
  639. Msh.MeshType = MeshType
  640. Msh.MeshId = MeshId
  641. end
  642. return Msh
  643. end
  644. },
  645. Weld = {
  646. Create = function(Parent, Part0, Part1, C0, C1)
  647. local Weld = Create("Weld")({
  648. Parent = Parent,
  649. Part0 = Part0,
  650. Part1 = Part1,
  651. C0 = C0,
  652. C1 = C1
  653. })
  654. return Weld
  655. end
  656. },
  657. Sound = {
  658. Create = function(id, par, vol, pit)
  659. coroutine.resume(coroutine.create(function()
  660. local S = Create("Sound")({
  661. Volume = vol,
  662. Pitch = pit or 1,
  663. SoundId = id,
  664. Parent = par or workspace
  665. })
  666. wait()
  667. S:play()
  668. game:GetService("Debris"):AddItem(S, 6)
  669. end))
  670. end
  671. },
  672. ParticleEmitter = {
  673. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  674. local fp = Create("ParticleEmitter")({
  675. Parent = Parent,
  676. Color = ColorSequence.new(Color1, Color2),
  677. LightEmission = LightEmission,
  678. Size = Size,
  679. Texture = Texture,
  680. Transparency = Transparency,
  681. ZOffset = ZOffset,
  682. Acceleration = Accel,
  683. Drag = Drag,
  684. LockedToPart = LockedToPart,
  685. VelocityInheritance = VelocityInheritance,
  686. EmissionDirection = EmissionDirection,
  687. Enabled = Enabled,
  688. Lifetime = LifeTime,
  689. Rate = Rate,
  690. Rotation = Rotation,
  691. RotSpeed = RotSpeed,
  692. Speed = Speed,
  693. VelocitySpread = VelocitySpread
  694. })
  695. return fp
  696. end
  697. }
  698. }
  699. function RemoveOutlines(part)
  700. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  701. end
  702. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  703. local Part = Create("Part")({
  704. formFactor = FormFactor,
  705. Parent = Parent,
  706. Reflectance = Reflectance,
  707. Transparency = Transparency,
  708. CanCollide = false,
  709. Locked = true,
  710. BrickColor = BrickColor.new(tostring(BColor)),
  711. Name = Name,
  712. Size = Size,
  713. Material = Material
  714. })
  715. RemoveOutlines(Part)
  716. return Part
  717. end
  718. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  719. local Msh = Create(Mesh)({
  720. Parent = Part,
  721. Offset = OffSet,
  722. Scale = Scale
  723. })
  724. if Mesh == "SpecialMesh" then
  725. Msh.MeshType = MeshType
  726. Msh.MeshId = MeshId
  727. end
  728. return Msh
  729. end
  730. function CreateWeld(Parent, Part0, Part1, C0, C1)
  731. local Weld = Create("Weld")({
  732. Parent = Parent,
  733. Part0 = Part0,
  734. Part1 = Part1,
  735. C0 = C0,
  736. C1 = C1
  737. })
  738. return Weld
  739. end
  740.  
  741.  
  742. -------------------------------------------------------
  743. --Start Effect Function--
  744. -------------------------------------------------------
  745. EffectModel = Instance.new("Model", char)
  746. Effects = {
  747. Block = {
  748. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  749. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  750. prt.Anchored = true
  751. prt.CFrame = cframe
  752. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  753. game:GetService("Debris"):AddItem(prt, 10)
  754. if Type == 1 or Type == nil then
  755. table.insert(Effects, {
  756. prt,
  757. "Block1",
  758. delay,
  759. x3,
  760. y3,
  761. z3,
  762. msh
  763. })
  764. elseif Type == 2 then
  765. table.insert(Effects, {
  766. prt,
  767. "Block2",
  768. delay,
  769. x3,
  770. y3,
  771. z3,
  772. msh
  773. })
  774. else
  775. table.insert(Effects, {
  776. prt,
  777. "Block3",
  778. delay,
  779. x3,
  780. y3,
  781. z3,
  782. msh
  783. })
  784. end
  785. end
  786. },
  787. Sphere = {
  788. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  789. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  790. prt.Anchored = true
  791. prt.CFrame = cframe
  792. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  793. game:GetService("Debris"):AddItem(prt, 10)
  794. table.insert(Effects, {
  795. prt,
  796. "Cylinder",
  797. delay,
  798. x3,
  799. y3,
  800. z3,
  801. msh
  802. })
  803. end
  804. },
  805. Cylinder = {
  806. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  807. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  808. prt.Anchored = true
  809. prt.CFrame = cframe
  810. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  811. game:GetService("Debris"):AddItem(prt, 10)
  812. table.insert(Effects, {
  813. prt,
  814. "Cylinder",
  815. delay,
  816. x3,
  817. y3,
  818. z3,
  819. msh
  820. })
  821. end
  822. },
  823. Wave = {
  824. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  825. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  826. prt.Anchored = true
  827. prt.CFrame = cframe
  828. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  829. game:GetService("Debris"):AddItem(prt, 10)
  830. table.insert(Effects, {
  831. prt,
  832. "Cylinder",
  833. delay,
  834. x3 / 60,
  835. y3 / 60,
  836. z3 / 60,
  837. msh
  838. })
  839. end
  840. },
  841. Ring = {
  842. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  843. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  844. prt.Anchored = true
  845. prt.CFrame = cframe
  846. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  847. game:GetService("Debris"):AddItem(prt, 10)
  848. table.insert(Effects, {
  849. prt,
  850. "Cylinder",
  851. delay,
  852. x3,
  853. y3,
  854. z3,
  855. msh
  856. })
  857. end
  858. },
  859. Break = {
  860. Create = function(brickcolor, cframe, x1, y1, z1)
  861. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  862. prt.Anchored = true
  863. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  864. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  865. local num = math.random(10, 50) / 1000
  866. game:GetService("Debris"):AddItem(prt, 10)
  867. table.insert(Effects, {
  868. prt,
  869. "Shatter",
  870. num,
  871. prt.CFrame,
  872. math.random() - math.random(),
  873. 0,
  874. math.random(50, 100) / 100
  875. })
  876. end
  877. },
  878. Spiral = {
  879. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  880. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  881. prt.Anchored = true
  882. prt.CFrame = cframe
  883. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  884. game:GetService("Debris"):AddItem(prt, 10)
  885. table.insert(Effects, {
  886. prt,
  887. "Cylinder",
  888. delay,
  889. x3,
  890. y3,
  891. z3,
  892. msh
  893. })
  894. end
  895. },
  896. Push = {
  897. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  898. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  899. prt.Anchored = true
  900. prt.CFrame = cframe
  901. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  902. game:GetService("Debris"):AddItem(prt, 10)
  903. table.insert(Effects, {
  904. prt,
  905. "Cylinder",
  906. delay,
  907. x3,
  908. y3,
  909. z3,
  910. msh
  911. })
  912. end
  913. }
  914. }
  915. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  916. local fp = IT("Part")
  917. fp.formFactor = formfactor
  918. fp.Parent = parent
  919. fp.Reflectance = reflectance
  920. fp.Transparency = transparency
  921. fp.CanCollide = false
  922. fp.Locked = true
  923. fp.BrickColor = brickcolor
  924. fp.Name = name
  925. fp.Size = size
  926. fp.Position = tors.Position
  927. RemoveOutlines(fp)
  928. fp.Material = "SmoothPlastic"
  929. fp:BreakJoints()
  930. return fp
  931. end
  932.  
  933. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  934. local mesh = IT(Mesh)
  935. mesh.Parent = part
  936. if Mesh == "SpecialMesh" then
  937. mesh.MeshType = meshtype
  938. if meshid ~= "nil" then
  939. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  940. end
  941. end
  942. mesh.Offset = offset
  943. mesh.Scale = scale
  944. return mesh
  945. end
  946.  
  947. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  948. local type = type
  949. local rng = Instance.new("Part", char)
  950. rng.Anchored = true
  951. rng.BrickColor = color
  952. rng.CanCollide = false
  953. rng.FormFactor = 3
  954. rng.Name = "Ring"
  955. rng.Material = "Neon"
  956. rng.Size = Vector3.new(1, 1, 1)
  957. rng.Transparency = 0
  958. rng.TopSurface = 0
  959. rng.BottomSurface = 0
  960. rng.CFrame = pos
  961. local rngm = Instance.new("SpecialMesh", rng)
  962. rngm.MeshType = MType
  963. rngm.Scale = scale
  964. local scaler2 = 1
  965. if type == "Add" then
  966. scaler2 = 1 * value
  967. elseif type == "Divide" then
  968. scaler2 = 1 / value
  969. end
  970. coroutine.resume(coroutine.create(function()
  971. for i = 0, 10 / bonuspeed, 0.1 do
  972. swait()
  973. if type == "Add" then
  974. scaler2 = scaler2 - 0.01 * value / bonuspeed
  975. elseif type == "Divide" then
  976. scaler2 = scaler2 - 0.01 / value * bonuspeed
  977. end
  978. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  979. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  980. end
  981. rng:Destroy()
  982. end))
  983. end
  984.  
  985. function Eviscerate(dude)
  986. if dude.Name ~= char then
  987. local bgf = IT("BodyGyro", dude.Head)
  988. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  989. local val = IT("BoolValue", dude)
  990. val.Name = "IsHit"
  991. local ds = coroutine.wrap(function()
  992. dude:WaitForChild("Head"):BreakJoints()
  993. wait(0.5)
  994. target = nil
  995. coroutine.resume(coroutine.create(function()
  996. for i, v in pairs(dude:GetChildren()) do
  997. if v:IsA("Accessory") then
  998. v:Destroy()
  999. end
  1000. if v:IsA("Humanoid") then
  1001. v:Destroy()
  1002. end
  1003. if v:IsA("CharacterMesh") then
  1004. v:Destroy()
  1005. end
  1006. if v:IsA("Model") then
  1007. v:Destroy()
  1008. end
  1009. if v:IsA("Part") or v:IsA("MeshPart") then
  1010. for x, o in pairs(v:GetChildren()) do
  1011. if o:IsA("Decal") then
  1012. o:Destroy()
  1013. end
  1014. end
  1015. coroutine.resume(coroutine.create(function()
  1016. v.Material = "Neon"
  1017. v.CanCollide = false
  1018. local PartEmmit1 = IT("ParticleEmitter", v)
  1019. PartEmmit1.LightEmission = 1
  1020. PartEmmit1.Texture = "rbxassetid://284205403"
  1021. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1022. PartEmmit1.Rate = 150
  1023. PartEmmit1.Lifetime = NumberRange.new(1)
  1024. PartEmmit1.Size = NumberSequence.new({
  1025. NumberSequenceKeypoint.new(0, 0.75, 0),
  1026. NumberSequenceKeypoint.new(1, 0, 0)
  1027. })
  1028. PartEmmit1.Transparency = NumberSequence.new({
  1029. NumberSequenceKeypoint.new(0, 0, 0),
  1030. NumberSequenceKeypoint.new(1, 1, 0)
  1031. })
  1032. PartEmmit1.Speed = NumberRange.new(0, 0)
  1033. PartEmmit1.VelocitySpread = 30000
  1034. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1035. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1036. local BodPoss = IT("BodyPosition", v)
  1037. BodPoss.P = 3000
  1038. BodPoss.D = 1000
  1039. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1040. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1041. v.Color = maincolor.Color
  1042. coroutine.resume(coroutine.create(function()
  1043. for i = 0, 49 do
  1044. swait(1)
  1045. v.Transparency = v.Transparency + 0.08
  1046. end
  1047. wait(0.5)
  1048. PartEmmit1.Enabled = false
  1049. wait(3)
  1050. v:Destroy()
  1051. dude:Destroy()
  1052. end))
  1053. end))
  1054. end
  1055. end
  1056. end))
  1057. end)
  1058. ds()
  1059. end
  1060. end
  1061.  
  1062. function FindNearestHead(Position, Distance, SinglePlayer)
  1063. if SinglePlayer then
  1064. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1065. end
  1066. local List = {}
  1067. for i, v in pairs(workspace:GetChildren()) do
  1068. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1069. table.insert(List, v)
  1070. end
  1071. end
  1072. return List
  1073. end
  1074.  
  1075. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1076. local type = type
  1077. local rng = Instance.new("Part", char)
  1078. rng.Anchored = true
  1079. rng.BrickColor = color
  1080. rng.CanCollide = false
  1081. rng.FormFactor = 3
  1082. rng.Name = "Ring"
  1083. rng.Material = "Neon"
  1084. rng.Size = Vector3.new(1, 1, 1)
  1085. rng.Transparency = 0
  1086. rng.TopSurface = 0
  1087. rng.BottomSurface = 0
  1088. rng.CFrame = pos
  1089. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1090. local rngm = Instance.new("SpecialMesh", rng)
  1091. rngm.MeshType = MType
  1092. rngm.Scale = Vector3.new(x1, y1, z1)
  1093. local scaler2 = 1
  1094. local speeder = FastSpeed
  1095. if type == "Add" then
  1096. scaler2 = 1 * value
  1097. elseif type == "Divide" then
  1098. scaler2 = 1 / value
  1099. end
  1100. coroutine.resume(coroutine.create(function()
  1101. for i = 0, 10 / bonuspeed, 0.1 do
  1102. swait()
  1103. if type == "Add" then
  1104. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1105. elseif type == "Divide" then
  1106. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1107. end
  1108. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1109. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1110. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1111. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1112. end
  1113. rng:Destroy()
  1114. end))
  1115. end
  1116.  
  1117. function SoulSteal(dude)
  1118. if dude.Name ~= char then
  1119. local bgf = IT("BodyGyro", dude.Head)
  1120. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1121. local val = IT("BoolValue", dude)
  1122. val.Name = "IsHit"
  1123. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1124. local soulst = coroutine.wrap(function()
  1125. local soul = Instance.new("Part",dude)
  1126. soul.Size = Vector3.new(1,1,1)
  1127. soul.CanCollide = false
  1128. soul.Anchored = false
  1129. soul.Position = torso.Position
  1130. soul.Transparency = 1
  1131. local PartEmmit1 = IT("ParticleEmitter", soul)
  1132. PartEmmit1.LightEmission = 1
  1133. PartEmmit1.Texture = "rbxassetid://569507414"
  1134. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1135. PartEmmit1.Rate = 250
  1136. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1137. PartEmmit1.Size = NumberSequence.new({
  1138. NumberSequenceKeypoint.new(0, 1, 0),
  1139. NumberSequenceKeypoint.new(1, 0, 0)
  1140. })
  1141. PartEmmit1.Transparency = NumberSequence.new({
  1142. NumberSequenceKeypoint.new(0, 0, 0),
  1143. NumberSequenceKeypoint.new(1, 1, 0)
  1144. })
  1145. PartEmmit1.Speed = NumberRange.new(0, 0)
  1146. PartEmmit1.VelocitySpread = 30000
  1147. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1148. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1149. local BodPoss = IT("BodyPosition", soul)
  1150. BodPoss.P = 3000
  1151. BodPoss.D = 1000
  1152. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1153. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1154. wait(1.6)
  1155. soul.Touched:connect(function(hit)
  1156. if hit.Parent == char then
  1157. soul:Destroy()
  1158. end
  1159. end)
  1160. wait(1.2)
  1161. while soul do
  1162. swait()
  1163. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1164. BodPoss.Position = tors.Position
  1165. end
  1166. end)
  1167. soulst()
  1168. end
  1169. end
  1170. function FaceMouse()
  1171. local Cam = workspace.CurrentCamera
  1172. return {
  1173. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1174. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1175. }
  1176. end
  1177. -------------------------------------------------------
  1178. --End Effect Function--
  1179. -------------------------------------------------------
  1180. function Cso(ID, PARENT, VOLUME, PITCH)
  1181. local NSound = nil
  1182. coroutine.resume(coroutine.create(function()
  1183. NSound = IT("Sound", PARENT)
  1184. NSound.Volume = VOLUME
  1185. NSound.Pitch = PITCH
  1186. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1187. swait()
  1188. NSound:play()
  1189. game:GetService("Debris"):AddItem(NSound, 10)
  1190. end))
  1191. return NSound
  1192. end
  1193. function CameraEnshaking(Length, Intensity)
  1194. coroutine.resume(coroutine.create(function()
  1195. local intensity = 1 * Intensity
  1196. local rotM = 0.01 * Intensity
  1197. for i = 0, Length, 0.1 do
  1198. swait()
  1199. intensity = intensity - 0.05 * Intensity / Length
  1200. rotM = rotM - 5.0E-4 * Intensity / Length
  1201. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1202. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1203. end
  1204. hum.CameraOffset = Vector3.new(0, 0, 0)
  1205. end))
  1206. end
  1207. -------------------------------------------------------
  1208. --End Important Functions--
  1209. -------------------------------------------------------
  1210.  
  1211.  
  1212. -------------------------------------------------------
  1213. --Start Customization--
  1214. -------------------------------------------------------
  1215. local Player_Size = 1
  1216. if Player_Size ~= 1 then
  1217. root.Size = root.Size * Player_Size
  1218. tors.Size = tors.Size * Player_Size
  1219. hed.Size = hed.Size * Player_Size
  1220. ra.Size = ra.Size * Player_Size
  1221. la.Size = la.Size * Player_Size
  1222. rl.Size = rl.Size * Player_Size
  1223. ll.Size = ll.Size * Player_Size
  1224. ----------------------------------------------------------------------------------
  1225. rootj.Parent = root
  1226. neck.Parent = tors
  1227. RW.Parent = tors
  1228. LW.Parent = tors
  1229. RH.Parent = tors
  1230. LH.Parent = tors
  1231. ----------------------------------------------------------------------------------
  1232. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1233. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1234. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1235. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1236. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1237. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1238. ----------------------------------------------------------------------------------
  1239. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1240. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1241. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1242. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1243. --hat.Parent = Character
  1244. end
  1245. ----------------------------------------------------------------------------------
  1246. local SONG = 1274310715
  1247. local SONG2 = 0
  1248. local Music = Instance.new("Sound",tors)
  1249. Music.Volume = 2.5
  1250. Music.Looped = true
  1251. Music.Pitch = 1 --Pitcher
  1252.  
  1253. ----------------------------------------------------------------------------------
  1254. local equipped = false
  1255. local idle = 0
  1256. local change = 1
  1257. local val = 0
  1258. local toim = 0
  1259. local idleanim = 0.4
  1260. local sine = 0
  1261. local Sit = 1
  1262. ----------------------------------------------------------------------------------
  1263. hum.WalkSpeed = 8
  1264. hum.JumpPower = 57
  1265. hum.Animator.Parent = nil
  1266. ----------------------------------------------------------------------------------
  1267. local BlurAmount = 25
  1268. local Last = cam.CFrame.lookVector
  1269. local Blur = Instance.new("BlurEffect",cam)
  1270. game.Workspace.Changed:connect(function(p)
  1271. if p == "CurrentCamera" then
  1272. cam = game.Workspace.CurrentCamera
  1273. if Blur and Blur.Parent then
  1274. Blur.Parent = cam
  1275. else
  1276. Blur = Instance.new("BlurEffect",cam)
  1277. end
  1278. end
  1279. end)
  1280. -------------------------------------------------------
  1281. --End Customization--
  1282. -------------------------------------------------------
  1283.  
  1284.  
  1285. -------------------------------------------------------
  1286. --Start Attacks N Stuff--
  1287. -------------------------------------------------------
  1288. function SunBlastWIP()
  1289. attack = true
  1290. hum.WalkSpeed = 3.01
  1291. for i = 0, 4, 0.1 do
  1292. swait()
  1293. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  1294. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2)
  1295. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1296. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  1297. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  1298. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1299. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1300. end
  1301. for i = 0, 2, 0.1 do
  1302. swait()
  1303. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  1304. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(40)), 0.2)
  1305. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  1306. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-25)), 0.2)
  1307. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(25)), 0.2)
  1308. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1309. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1310. end
  1311. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1312. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1313. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  1314. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1315. CameraEnshaking(4, 5)
  1316. Cso("206049428", char, 10, 1)
  1317. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  1318. if v:FindFirstChild("Head") then
  1319. Eviscerate(v)
  1320. end
  1321. end
  1322. for i = 0, 2, 0.1 do
  1323. swait()
  1324. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  1325. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2)
  1326. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1327. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  1328. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  1329. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1330. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1331. end
  1332. hum.WalkSpeed = 16
  1333. attack = false
  1334. end
  1335. function attackone()
  1336. attack = true
  1337. hum.WalkSpeed = 3.01
  1338. for i = 0, 3, 0.1 do
  1339. swait()
  1340. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.2)
  1341. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(-40)), 0.1)
  1342. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.1)
  1343. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-7)), 0.1)
  1344. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.1)
  1345. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .3* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(45)), 0.3)
  1346. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
  1347. end
  1348. Cso("203426541", ra, 10, 1)
  1349. for i = 0, 2, 0.1 do
  1350. swait()
  1351. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), -0.3)
  1352. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3)
  1353. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.2)
  1354. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.2)
  1355. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.2)
  1356. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.2)
  1357. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1358. end
  1359. hum.WalkSpeed = 16
  1360. attack = false
  1361. end
  1362. function attacktwo()
  1363. attack = true
  1364. hum.WalkSpeed = 3.01
  1365. for i = 0, 2, 0.1 do
  1366. swait()
  1367. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  1368. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1369. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1370. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.1)
  1371. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.1)
  1372. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.2)
  1373. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.2)
  1374. end
  1375. Cso("203426541", rl, 10, 1)
  1376. for i = 0, 3, 0.1 do
  1377. swait()
  1378. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), -0.1)
  1379. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.1)
  1380. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.1)
  1381. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.1)
  1382. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.1)
  1383. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.2)
  1384. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.2)
  1385. end
  1386. hum.WalkSpeed = 16
  1387. attack = false
  1388. end
  1389. function attackthree()
  1390. attack = true
  1391. hum.WalkSpeed = 3.01
  1392. for i = 0, 2.3, 0.1 do
  1393. swait()
  1394. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  1395. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.1)
  1396. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25), Rad(0), Rad(0)), 0.1)
  1397. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.1)
  1398. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.1)
  1399. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-7.5 * Sin(sine / 20)), Rad(10)), 0.2)
  1400. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-10)), 0.2)
  1401. end
  1402. Cso("203426541", hed, 10, 1)
  1403. for i = 0, 2, 0.1 do
  1404. swait()
  1405. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  1406. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1407. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.1)
  1408. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.1)
  1409. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.1)
  1410. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(-7.5 * Sin(sine / 20)), Rad(10)), 0.2)
  1411. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(7.5 * Sin(sine / 20)), Rad(-10)), 0.2)
  1412. end
  1413. hum.WalkSpeed = 16
  1414. attack = false
  1415. end
  1416. function Taunt1()
  1417. attack = true
  1418. hum.WalkSpeed = 3.01
  1419. Cso("1535994137", hed, 10, 1)
  1420. for i = 0, 9, 0.1 do
  1421. swait()
  1422. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  1423. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1)
  1424. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1425. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1426. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1427. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(10), Rad(-20), Rad(-90)), 0.2)
  1428. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0 + 0.025 * Sin(sine / 20)* Player_Size, -.8* Player_Size) * angles(Rad(6), Rad(20), Rad(90)), 0.2)
  1429. end
  1430. hum.WalkSpeed = 16
  1431. attack = false
  1432. end
  1433. function WarpWIP()
  1434. attack = true
  1435. for i = 0, 1.6, 0.1 do
  1436. swait()
  1437. hum.CameraOffset = Vector3.new(0, 1 + 0.1 * Cos(sine / 20), 0)
  1438. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  1439. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(0)), 0.2)
  1440. RW.C0 = clerp(RW.C0, CF(1.1, 0.5, -0.4) * angles(Rad(80), Rad(0 * Cos(sine / 20)), Rad(-45)), 0.2)
  1441. LW.C0 = clerp(LW.C0, CF(-1.1, 0.5, -0.4) * angles(Rad(70), Rad(0), Rad(55)), 0.2)
  1442. RH.C0 = clerp(RH.C0, CF(1, -0.1 - 0.1 * Cos(sine / 20), -0.6) * RHCF * angles(Rad(-1 + 1 * Cos(sine / 20)), Rad(0), Rad(-20 - 2 * Cos(sine / 20))), 0.2)
  1443. LH.C0 = clerp(LH.C0, CF(-1, -0.1 - 0.1 * Cos(sine / 20), -0.6) * LHCF * angles(Rad(-1 + 1 * Cos(sine / 20)), Rad(0), Rad(20 + 2 * Cos(sine / 20))), 0.2)
  1444. end
  1445. for i = 1, 10 do
  1446. g = char:GetChildren()
  1447. for i = 1, #g do
  1448. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  1449. g[i].Transparency = g[i].Transparency + 0.1
  1450. hed.face.Transparency = hed.face.Transparency + 0.1
  1451. elseif g[i].ClassName == "Accessory" then
  1452. g[i].Handle.Transparency = g[i].Handle.Transparency + 0.1
  1453. end
  1454. end
  1455. swait()
  1456. end
  1457. local ORIGINPOS = root.Position
  1458. root.CFrame = CF(Vector3.new(mouse.Hit.p.X,root.Position.Y,mouse.Hit.p.Z),ORIGINPOS)
  1459. for i = 1, 10 do
  1460. g = char:GetChildren()
  1461. for i = 1, #g do
  1462. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  1463. g[i].Transparency = g[i].Transparency - 0.1
  1464. hed.face.Transparency = hed.face.Transparency - 0.1
  1465. elseif g[i].ClassName == "Accessory" then
  1466. g[i].Handle.Transparency = g[i].Handle.Transparency - 0.1
  1467. end
  1468. end
  1469. swait()
  1470. end
  1471. attack = false
  1472. end
  1473. -------------------------------------------------------
  1474. --End Attacks N Stuff--
  1475. -------------------------------------------------------
  1476. mouse.KeyDown:connect(function(key)
  1477. if string.byte(key) == 48 then
  1478. Swing = 2
  1479. hum.WalkSpeed = 38.82
  1480. end
  1481. end)
  1482. mouse.KeyUp:connect(function(key)
  1483. if string.byte(key) == 48 then
  1484. Swing = 1
  1485. hum.WalkSpeed = 8
  1486. end
  1487. end)
  1488. local Combo = 1
  1489. mouse.KeyDown:connect(function(key)
  1490. if attack == false then
  1491. if key == 'z' then
  1492. SunBlastWIP()
  1493. elseif key == 'x' then
  1494. WarpWIP()
  1495. elseif key == 't' then
  1496. Taunt1()
  1497. end
  1498. end
  1499. end)
  1500. mouse.Button1Down:connect(function(key)
  1501. if attack == false then
  1502. if Combo == 1 then
  1503. Combo = 2
  1504. attackone()
  1505. elseif Combo == 2 then
  1506. Combo = 3
  1507. attacktwo()
  1508. elseif Combo == 3 then
  1509. Combo = 1
  1510. attackthree()
  1511. end
  1512. end
  1513. end)
  1514.  
  1515.  
  1516.  
  1517. -------------------------------------------------------
  1518. --Start Animations--
  1519. -------------------------------------------------------
  1520. while true do
  1521. swait()
  1522. sine = sine + change
  1523. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1524. local velderp = root.Velocity.y
  1525. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1526. if equipped == true or equipped == false then
  1527. if attack == false then
  1528. idle = idle + 1
  1529. else
  1530. idle = 0
  1531. end
  1532. --[[if Music.TimePosition > 13 then
  1533. workspace.Base.BrickColor = BrickC("Cyan")
  1534. end
  1535. if Music.TimePosition > 16 then
  1536. local S = Instance.new('Sky', game:GetService'Lighting')
  1537. S.Name = ' 1341 63469 '
  1538. S.SkyboxBk = "rbxassetid://44200334"
  1539. S.SkyboxDn = "rbxassetid://44200418"
  1540. S.SkyboxUp = "rbxassetid://44200442"
  1541. S.SkyboxRt = "rbxassetid://44200394"
  1542. S.SkyboxLf = "rbxassetid://44200377"
  1543. S.SkyboxFt = "rbxassetid://44200353"
  1544. end]]
  1545. if 1 < root.Velocity.y and hitfloor == nil then
  1546. Anim = "Jump"
  1547. if attack == false then
  1548. hum.CameraOffset = Vector3.new(0, -0.5 + 0.1 * Cos(sine / 7), 0)
  1549. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1550. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1551. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1552. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1553. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1554. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1555. end
  1556. elseif -1 > root.Velocity.y and hitfloor == nil then
  1557. Anim = "Fall"
  1558. if attack == false then
  1559. hum.CameraOffset = Vector3.new(0, -0.5 + 0.1 * Cos(sine / 7), 0)
  1560. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1561. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1562. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1563. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1564. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1565. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1566. end
  1567. elseif torvel < 1 and hitfloor ~= nil then
  1568. Anim = "Idle"
  1569. change = 1
  1570. if attack == false then
  1571. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  1572. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1573. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25 - 9 * Sin(sine / 30)), Rad(0), Rad(-10 * Sin(sine / 35))), 0.3)
  1574. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(20)), 0.15)
  1575. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
  1576. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-7.5 * Sin(sine / 20)), Rad(25 + 7.5 * Sin(sine / 20))), 0.1)
  1577. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25 - 7.5 * Sin(sine / 20))), 0.1)
  1578. end
  1579. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1580. Anim = "Walk"
  1581. change = .9
  1582. if attack == false then
  1583. hum.CameraOffset = Vector3.new(0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7, 0)
  1584. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  1585. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1586. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1587. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1588. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(4) - ra.RotVelocity.Y / 75), 0.1)
  1589. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(-4) + la.RotVelocity.Y / 75), 0.1)
  1590. end
  1591. elseif torvel >= 25 and hitfloor ~= nil then
  1592. Anim = "Sprint"
  1593. change = 1.35
  1594. if attack == false then
  1595. hum.CameraOffset = Vector3.new(0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7, 0)
  1596. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  1597. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1598. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1599. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1600. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1601. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1602. end
  1603. end
  1604. end
  1605. if not Blur or Blur.Parent == nil then Blur = Instance.new("BlurEffect",cam) end
  1606. local magnitude = (cam.CFrame.lookVector - Last).magnitude
  1607. Blur.Size = math.abs(magnitude)*BlurAmount
  1608. Last = cam.CFrame.lookVector
  1609.  
  1610. Music.SoundId = "rbxassetid://"..SONG
  1611. Music.Looped = true
  1612. Music.Pitch = 1
  1613. Music.Volume = 3
  1614. Music.Parent = tors
  1615. Music:Resume()
  1616. if 0 < #Effects then
  1617. for e = 1, #Effects do
  1618. if Effects[e] ~= nil then
  1619. local Thing = Effects[e]
  1620. if Thing ~= nil then
  1621. local Part = Thing[1]
  1622. local Mode = Thing[2]
  1623. local Delay = Thing[3]
  1624. local IncX = Thing[4]
  1625. local IncY = Thing[5]
  1626. local IncZ = Thing[6]
  1627. if 1 >= Thing[1].Transparency then
  1628. if Thing[2] == "Block1" then
  1629. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1630. local Mesh = Thing[1].Mesh
  1631. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1632. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1633. elseif Thing[2] == "Block2" then
  1634. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1635. local Mesh = Thing[7]
  1636. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1637. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1638. elseif Thing[2] == "Block3" then
  1639. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1640. local Mesh = Thing[7]
  1641. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1642. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1643. elseif Thing[2] == "Cylinder" then
  1644. local Mesh = Thing[1].Mesh
  1645. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1646. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1647. elseif Thing[2] == "Blood" then
  1648. local Mesh = Thing[7]
  1649. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1650. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1651. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1652. elseif Thing[2] == "Elec" then
  1653. local Mesh = Thing[1].Mesh
  1654. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1655. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1656. elseif Thing[2] == "Disappear" then
  1657. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1658. elseif Thing[2] == "Shatter" then
  1659. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1660. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1661. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1662. Thing[6] = Thing[6] + Thing[5]
  1663. end
  1664. else
  1665. Part.Parent = nil
  1666. table.remove(Effects, e)
  1667. end
  1668. end
  1669. end
  1670. end
  1671. end
  1672. end
  1673. -------------------------------------------------------
  1674. --End Animations And Script--
  1675. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment