Advertisement
Mediakiller7Cool

sadfasdgfd

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