Advertisement
RobloxScriptzzz

Reverb Roblox Script RED

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