Advertisement
Guest User

Untitled

a guest
Aug 20th, 2018
751
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.27 KB | None | 0 0
  1. -------------------------------------------------------
  2. --Small Script Edit By InfiniteOneWithdank
  3. --Discord MasterDekim#2921
  4. -------------------------------------------------------
  5.  
  6. --Funny stuff kid
  7.  
  8. wait(1 / 60)
  9. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  10. local Player,game,owner = owner,game
  11. local RealPlayer = Player
  12. do
  13. print("FE Compatibility code by Mokiros")
  14. local rp = RealPlayer
  15. script.Parent = rp.Character
  16.  
  17. --RemoteEvent for communicating
  18. local Event = Instance.new("RemoteEvent")
  19. Event.Name = "UserInput_Event"
  20.  
  21. --Fake event to make stuff like Mouse.KeyDown work
  22. local function fakeEvent()
  23. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  24. t.connect = t.Connect
  25. return t
  26. end
  27.  
  28. --Creating fake input objects with fake variables
  29. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  30. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  31. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  32. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  33. end}
  34. --Merged 2 functions into one by checking amount of arguments
  35. CAS.UnbindAction = CAS.BindAction
  36.  
  37. --This function will trigger the events that have been :Connect()'ed
  38. local function te(self,ev,...)
  39. local t = m[ev]
  40. if t and t._fakeEvent then
  41. for _,f in pairs(t.Functions) do
  42. f(...)
  43. end
  44. end
  45. end
  46. m.TrigEvent = te
  47. UIS.TrigEvent = te
  48.  
  49. Event.OnServerEvent:Connect(function(plr,io)
  50. if plr~=rp then return end
  51. m.Target = io.Target
  52. m.Hit = io.Hit
  53. if not io.isMouse then
  54. local b = io.UserInputState == Enum.UserInputState.Begin
  55. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  56. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  57. end
  58. for _,t in pairs(CAS.Actions) do
  59. for _,k in pairs(t.Keys) do
  60. if k==io.KeyCode then
  61. t.Function(t.Name,io.UserInputState,io)
  62. end
  63. end
  64. end
  65. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  66. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  67. end
  68. end)
  69. Event.Parent = NLS([==[
  70. local Player = game:GetService("Players").LocalPlayer
  71. local Event = script:WaitForChild("UserInput_Event")
  72.  
  73. local Mouse = Player:GetMouse()
  74. local UIS = game:GetService("UserInputService")
  75. local input = function(io,a)
  76. if a then return end
  77. --Since InputObject is a client-side instance, we create and pass table instead
  78. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  79. end
  80. UIS.InputBegan:Connect(input)
  81. UIS.InputEnded:Connect(input)
  82.  
  83. local h,t
  84. --Give the server mouse data 30 times every second, but only if the values changed
  85. --If player is not moving their mouse, client won't fire events
  86. while wait(1/30) do
  87. if h~=Mouse.Hit or t~=Mouse.Target then
  88. h,t=Mouse.Hit,Mouse.Target
  89. Event:FireServer({isMouse=true,Target=t,Hit=h})
  90. end
  91. end]==],Player.Character)
  92.  
  93. ----Sandboxed game object that allows the usage of client-side methods and services
  94. --Real game object
  95. local _rg = game
  96.  
  97. --Metatable for fake service
  98. local fsmt = {
  99. __index = function(self,k)
  100. local s = rawget(self,"_RealService")
  101. if s then return s[k] end
  102. end,
  103. __newindex = function(self,k,v)
  104. local s = rawget(self,"_RealService")
  105. if s then s[k]=v end
  106. end,
  107. __call = function(self,...)
  108. local s = rawget(self,"_RealService")
  109. if s then return s(...) end
  110. end
  111. }
  112. local function FakeService(t,RealService)
  113. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  114. return setmetatable(t,fsmt)
  115. end
  116.  
  117. --Fake game object
  118. local g = {
  119. GetService = function(self,s)
  120. return self[s]
  121. end,
  122. Players = FakeService({
  123. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  124. },"Players"),
  125. UserInputService = FakeService(UIS,"UserInputService"),
  126. ContextActionService = FakeService(CAS,"ContextActionService"),
  127. }
  128. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  129. g.service = g.GetService
  130.  
  131. g.RunService = FakeService({
  132. RenderStepped = _rg:GetService("RunService").Heartbeat,
  133. BindToRenderStep = function(self,name,_,fun)
  134.  
  135. end,
  136. UnbindFromRenderStep = function(self,name)
  137. self._btrs[name]:Disconnect()
  138. end,
  139. },"RunService")
  140.  
  141. setmetatable(g,{
  142. __index=function(self,s)
  143. return _rg:GetService(s) or typeof(_rg[s])=="function"
  144. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  145. end,
  146. __newindex = fsmt.__newindex,
  147. __call = fsmt.__call
  148. })
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = g,g.Players.LocalPlayer
  151. end
  152. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  153. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  154. do
  155. print("FE Compatibility code by Mokiros")
  156. script.Parent = Player.Character
  157.  
  158. --RemoteEvent for communicating
  159. local Event = Instance.new("RemoteEvent")
  160. Event.Name = "UserInput_Event"
  161.  
  162. --Fake event to make stuff like Mouse.KeyDown work
  163. local function fakeEvent()
  164. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  165. t.connect = t.Connect
  166. return t
  167. end
  168.  
  169. --Creating fake input objects with fake variables
  170. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  171. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  172. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  173. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  174. end}
  175. --Merged 2 functions into one by checking amount of arguments
  176. CAS.UnbindAction = CAS.BindAction
  177.  
  178. --This function will trigger the events that have been :Connect()'ed
  179. local function te(self,ev,...)
  180. local t = m[ev]
  181. if t and t._fakeEvent and t.Function then
  182. t.Function(...)
  183. end
  184. end
  185. m.TrigEvent = te
  186. UIS.TrigEvent = te
  187.  
  188. Event.OnServerEvent:Connect(function(plr,io)
  189. if plr~=Player then return end
  190. if io.isMouse then
  191. m.Target = io.Target
  192. m.Hit = io.Hit
  193. else
  194. local b = io.UserInputState == Enum.UserInputState.Begin
  195. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  196. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  197. end
  198. for _,t in pairs(CAS.Actions) do
  199. for _,k in pairs(t.Keys) do
  200. if k==io.KeyCode then
  201. t.Function(t.Name,io.UserInputState,io)
  202. end
  203. end
  204. end
  205. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  206. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  207. end
  208. end)
  209. Event.Parent = NLS([==[
  210. local Player = game:GetService("Players").LocalPlayer
  211. local Event = script:WaitForChild("UserInput_Event")
  212.  
  213. local UIS = game:GetService("UserInputService")
  214. local input = function(io,a)
  215. if a then return end
  216. --Since InputObject is a client-side instance, we create and pass table instead
  217. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  218. end
  219. UIS.InputBegan:Connect(input)
  220. UIS.InputEnded:Connect(input)
  221.  
  222. local Mouse = Player:GetMouse()
  223. local h,t
  224. --Give the server mouse data 30 times every second, but only if the values changed
  225. --If player is not moving their mouse, client won't fire events
  226. while wait(1/30) do
  227. if h~=Mouse.Hit or t~=Mouse.Target then
  228. h,t=Mouse.Hit,Mouse.Target
  229. Event:FireServer({isMouse=true,Target=t,Hit=h})
  230. end
  231. end]==],Player.Character)
  232. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  233. end
  234.  
  235. local plr = owner
  236. print('Local User is '..plr.Name)
  237. print('Huehuehue')
  238. print([[
  239. Ever just yeet your meet
  240.  
  241. Controls :
  242. T - Taunt ( Will Most Likely Break The script )
  243. Q - Sit boi
  244. Click - Sip substance
  245. Z - Infinite Smite
  246. X - Warp
  247. ]])
  248. local char = plr.character
  249. local hum = char:FindFirstChildOfClass'Humanoid'
  250. local hed = char.Head
  251. local root = char:FindFirstChild'HumanoidRootPart'
  252. local rootj = root.RootJoint
  253. local tors = char.Torso
  254. local ra = char["Right Arm"]
  255. local la = char["Left Arm"]
  256. local rl = char["Right Leg"]
  257. local ll = char["Left Leg"]
  258. local neck = tors["Neck"]
  259. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  260. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  261. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  262. local maincolor = BrickColor.new("Institutional white")
  263.  
  264. m = owner
  265. char = m.Character
  266. local txt = Instance.new("BillboardGui", char)
  267. txt.Adornee = char.Head
  268. txt.Name = "_status"
  269. txt.Size = UDim2.new(2, 0, 1.2, 0)
  270. txt.StudsOffset = Vector3.new(-9, 8, 0)
  271. local text = Instance.new("TextLabel", txt)
  272. text.Size = UDim2.new(10, 0, 7, 0)
  273. text.FontSize = "Size24"
  274. text.TextScaled = true
  275. text.TextTransparency = 0
  276. text.BackgroundTransparency = 1
  277. text.TextTransparency = 0
  278. text.TextStrokeTransparency = 0
  279. text.Font = "Bodoni"
  280. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  281. v = Instance.new("Part")
  282. v.Name = "ColorBrick"
  283. v.Parent = m.Character
  284. v.FormFactor = "Symmetric"
  285. v.Anchored = true
  286. v.CanCollide = false
  287. v.BottomSurface = "Smooth"
  288. v.TopSurface = "Smooth"
  289. v.Size = Vector3.new(10, 5, 3)
  290. v.Transparency = 1
  291. v.CFrame = char.Torso.CFrame
  292. v.BrickColor = BrickColor.new("Really black")
  293. v.Transparency = 1
  294. v.Shape = "Block"
  295. spawn(function()
  296. local TweenService = game:GetService("TweenService")
  297. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  298. local Int = 0
  299. while wait(0.5) do
  300. if Int == #Colours then Int = 0 end
  301. Int = Int+1
  302. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  303. end
  304. end)
  305. text.Text = "I am here to help"
  306.  
  307. -------------------------------------------------------
  308. --Start Good Stuff--
  309. -------------------------------------------------------
  310. cam = game.Workspace.CurrentCamera
  311. CF = CFrame.new
  312. angles = CFrame.Angles
  313. attack = false
  314. Euler = CFrame.fromEulerAnglesXYZ
  315. Rad = math.rad
  316. IT = Instance.new
  317. BrickC = BrickColor.new
  318. Cos = math.cos
  319. Acos = math.acos
  320. Sin = math.sin
  321. Asin = math.asin
  322. Abs = math.abs
  323. Mrandom = math.random
  324. Floor = math.floor
  325. -------------------------------------------------------
  326. --End Good Stuff--
  327. -------------------------------------------------------
  328. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  329. RSH, LSH = nil, nil
  330. RW = Instance.new("Weld")
  331. LW = Instance.new("Weld")
  332. RH = tors["Right Hip"]
  333. LH = tors["Left Hip"]
  334. RSH = tors["Right Shoulder"]
  335. LSH = tors["Left Shoulder"]
  336. RSH.Parent = nil
  337. LSH.Parent = nil
  338. RW.Name = "RW"
  339. RW.Part0 = tors
  340. RW.C0 = CF(1.5, 0.5, 0)
  341. RW.C1 = CF(0, 0.5, 0)
  342. RW.Part1 = ra
  343. RW.Parent = tors
  344. LW.Name = "LW"
  345. LW.Part0 = tors
  346. LW.C0 = CF(-1.5, 0.5, 0)
  347. LW.C1 = CF(0, 0.5, 0)
  348. LW.Part1 = la
  349. LW.Parent = tors
  350. Effects = {}
  351. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  352. local wld = Instance.new("Weld", wp1)
  353. wld.Part0 = wp0
  354. wld.Part1 = wp1
  355. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  356. end
  357. newWeld(tors, ll, -0.5, -1, 0)
  358. ll.Weld.C1 = CFrame.new(0, 1, 0)
  359. newWeld(tors, rl, 0.5, -1, 0)
  360. rl.Weld.C1 = CFrame.new(0, 1, 0)
  361. -------------------------------------------------------
  362. --Start HeartBeat--
  363. -------------------------------------------------------
  364. ArtificialHB = Instance.new("BindableEvent", script)
  365. ArtificialHB.Name = "Heartbeat"
  366. script:WaitForChild("Heartbeat")
  367.  
  368. frame = 1 / 60
  369. tf = 0
  370. allowframeloss = false
  371. tossremainder = false
  372.  
  373.  
  374. lastframe = tick()
  375. script.Heartbeat:Fire()
  376.  
  377.  
  378. game:GetService("RunService").Heartbeat:connect(function(s, p)
  379. tf = tf + s
  380. if tf >= frame then
  381. if allowframeloss then
  382. script.Heartbeat:Fire()
  383. lastframe = tick()
  384. else
  385. for i = 1, math.floor(tf / frame) do
  386. script.Heartbeat:Fire()
  387. end
  388. lastframe = tick()
  389. end
  390. if tossremainder then
  391. tf = 0
  392. else
  393. tf = tf - frame * math.floor(tf / frame)
  394. end
  395. end
  396. end)
  397. -------------------------------------------------------
  398. --End HeartBeat--
  399. -------------------------------------------------------
  400.  
  401. -------------------------------------------------------
  402. --Start Important Functions--
  403. -------------------------------------------------------
  404. function swait(num)
  405. if num == 0 or num == nil then
  406. game:service("RunService").Stepped:wait(0)
  407. else
  408. for i = 0, num do
  409. game:service("RunService").Stepped:wait(0)
  410. end
  411. end
  412. end
  413. function thread(f)
  414. coroutine.resume(coroutine.create(f))
  415. end
  416. function clerp(a, b, t)
  417. local qa = {
  418. QuaternionFromCFrame(a)
  419. }
  420. local qb = {
  421. QuaternionFromCFrame(b)
  422. }
  423. local ax, ay, az = a.x, a.y, a.z
  424. local bx, by, bz = b.x, b.y, b.z
  425. local _t = 1 - t
  426. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  427. end
  428. function QuaternionFromCFrame(cf)
  429. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  430. local trace = m00 + m11 + m22
  431. if trace > 0 then
  432. local s = math.sqrt(1 + trace)
  433. local recip = 0.5 / s
  434. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  435. else
  436. local i = 0
  437. if m00 < m11 then
  438. i = 1
  439. end
  440. if m22 > (i == 0 and m00 or m11) then
  441. i = 2
  442. end
  443. if i == 0 then
  444. local s = math.sqrt(m00 - m11 - m22 + 1)
  445. local recip = 0.5 / s
  446. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  447. elseif i == 1 then
  448. local s = math.sqrt(m11 - m22 - m00 + 1)
  449. local recip = 0.5 / s
  450. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  451. elseif i == 2 then
  452. local s = math.sqrt(m22 - m00 - m11 + 1)
  453. local recip = 0.5 / s
  454. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  455. end
  456. end
  457. end
  458. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  459. local xs, ys, zs = x + x, y + y, z + z
  460. local wx, wy, wz = w * xs, w * ys, w * zs
  461. local xx = x * xs
  462. local xy = x * ys
  463. local xz = x * zs
  464. local yy = y * ys
  465. local yz = y * zs
  466. local zz = z * zs
  467. 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))
  468. end
  469. function QuaternionSlerp(a, b, t)
  470. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  471. local startInterp, finishInterp
  472. if cosTheta >= 1.0E-4 then
  473. if 1 - cosTheta > 1.0E-4 then
  474. local theta = math.acos(cosTheta)
  475. local invSinTheta = 1 / Sin(theta)
  476. startInterp = Sin((1 - t) * theta) * invSinTheta
  477. finishInterp = Sin(t * theta) * invSinTheta
  478. else
  479. startInterp = 1 - t
  480. finishInterp = t
  481. end
  482. elseif 1 + cosTheta > 1.0E-4 then
  483. local theta = math.acos(-cosTheta)
  484. local invSinTheta = 1 / Sin(theta)
  485. startInterp = Sin((t - 1) * theta) * invSinTheta
  486. finishInterp = Sin(t * theta) * invSinTheta
  487. else
  488. startInterp = t - 1
  489. finishInterp = t
  490. end
  491. 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
  492. end
  493. function CameraEnshaking(Length, Intensity)
  494. coroutine.resume(coroutine.create(function()
  495. local intensity = 1 * Intensity
  496. local rotM = 0.01 * Intensity
  497. for i = 0, Length, 0.1 do
  498. swait()
  499. intensity = intensity - 0.05 * Intensity / Length
  500. rotM = rotM - 5.0E-4 * Intensity / Length
  501. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  502. 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)
  503. end
  504. hum.CameraOffset = Vector3.new(0, 0, 0)
  505. end))
  506. end
  507. local Particle = IT("ParticleEmitter",nil)
  508. Particle.Enabled = false
  509. Particle.LightEmission = 0.2
  510. Particle.Rate = 150
  511. Particle.ZOffset = 1
  512. Particle.Rotation = NumberRange.new(-180, 180)
  513.  
  514. function ParticleEmitter(Table)
  515. local PRTCL = Particle:Clone()
  516. local Color1 = Table.Color1 or Color3.new(0,1,0)
  517. local Color2 = Table.Color2 or Color3.new(1,0,0)
  518. local Speed = Table.Speed or 5
  519. local Drag = Table.Drag or 0
  520. local Size1 = Table.Size1 or 1
  521. local Size2 = Table.Size2 or 5
  522. local Lifetime1 = Table.Lifetime1 or 1
  523. local Lifetime2 = Table.Lifetime2 or 1.5
  524. local Parent = Table.Parent or tors
  525. local Emit = Table.Emit or 100
  526. local Offset = Table.Offset or 360
  527. local Acel = Table.Acel or Vector3.new(0,0,0)
  528. local Enabled = Table.Enabled or false
  529. local Texture = Table.Texture or "281983280"
  530. local RotS = Table.RotSpeed or NumberRange.new(-15, 15)
  531. local Trans1 = Table.Transparency1 or 0
  532. local Trans2 = Table.Transparency2 or 0
  533. PRTCL.Parent = Parent
  534. PRTCL.RotSpeed = RotS
  535. PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
  536. PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture
  537. PRTCL.Color = ColorSequence.new(Color1,Color2)
  538. PRTCL.Size = NumberSequence.new(Size1,Size2)
  539. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  540. PRTCL.Speed = NumberRange.new(Speed)
  541. PRTCL.VelocitySpread = Offset
  542. PRTCL.Drag = Drag
  543. PRTCL.Acceleration = Acel
  544. if Enabled == false then
  545. PRTCL:Emit(Emit)
  546. game:GetService("Debris"):AddItem(PRTCL,Lifetime2)
  547. else
  548. PRTCL.Enabled = true
  549. end
  550. return PRTCL
  551. end
  552. function rayCast(Position, Direction, Range, Ignore)
  553. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  554. end
  555. local RbxUtility = LoadLibrary("RbxUtility")
  556. local Create = RbxUtility.Create
  557.  
  558. -------------------------------------------------------
  559. --Start Damage Function--
  560. -------------------------------------------------------
  561. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  562. if hit.Parent == nil then
  563. return
  564. end
  565. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  566. for _, v in pairs(hit.Parent:children()) do
  567. if v:IsA("Humanoid") then
  568. h = v
  569. end
  570. end
  571. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  572.  
  573. hit.Parent:FindFirstChild("Head"):BreakJoints()
  574. end
  575.  
  576. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  577. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  578. if hit.Parent.DebounceHit.Value == true then
  579. return
  580. end
  581. end
  582. if insta == true then
  583. hit.Parent:FindFirstChild("Head"):BreakJoints()
  584. end
  585. local c = Create("ObjectValue"){
  586. Name = "creator",
  587. Value = game:service("Players").LocalPlayer,
  588. Parent = h,
  589. }
  590. game:GetService("Debris"):AddItem(c, .5)
  591. if HitSound ~= nil and HitPitch ~= nil then
  592. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  593. end
  594. local Damage = math.random(minim, maxim)
  595. local blocked = false
  596. local block = hit.Parent:findFirstChild("Block")
  597. if block ~= nil then
  598. if block.className == "IntValue" then
  599. if block.Value > 0 then
  600. blocked = true
  601. block.Value = block.Value - 1
  602. print(block.Value)
  603. end
  604. end
  605. end
  606. if blocked == false then
  607. h.Health = h.Health - Damage
  608. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  609. else
  610. h.Health = h.Health - (Damage / 2)
  611. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  612. end
  613. if Type == "Knockdown" then
  614. local hum = hit.Parent.Humanoid
  615. hum.PlatformStand = true
  616. coroutine.resume(coroutine.create(function(HHumanoid)
  617. swait(1)
  618. HHumanoid.PlatformStand = false
  619. end), hum)
  620. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  621. local bodvol = Create("BodyVelocity"){
  622. velocity = angle * knockback,
  623. P = 5000,
  624. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  625. Parent = hit,
  626. }
  627. local rl = Create("BodyAngularVelocity"){
  628. P = 3000,
  629. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  630. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  631. Parent = hit,
  632. }
  633. game:GetService("Debris"):AddItem(bodvol, .5)
  634. game:GetService("Debris"):AddItem(rl, .5)
  635. elseif Type == "Normal" then
  636. local vp = Create("BodyVelocity"){
  637. P = 500,
  638. maxForce = Vector3.new(math.huge, 0, math.huge),
  639. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  640. }
  641. if knockback > 0 then
  642. vp.Parent = hit.Parent.Torso
  643. end
  644. game:GetService("Debris"):AddItem(vp, .5)
  645. elseif Type == "Up" then
  646. local bodyVelocity = Create("BodyVelocity"){
  647. velocity = Vector3.new(0, 20, 0),
  648. P = 5000,
  649. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  650. Parent = hit,
  651. }
  652. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  653. elseif Type == "DarkUp" then
  654. coroutine.resume(coroutine.create(function()
  655. for i = 0, 1, 0.1 do
  656. swait()
  657. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  658. end
  659. end))
  660. local bodyVelocity = Create("BodyVelocity"){
  661. velocity = Vector3.new(0, 20, 0),
  662. P = 5000,
  663. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  664. Parent = hit,
  665. }
  666. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  667. elseif Type == "Snare" then
  668. local bp = Create("BodyPosition"){
  669. P = 2000,
  670. D = 100,
  671. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  672. position = hit.Parent.Torso.Position,
  673. Parent = hit.Parent.Torso,
  674. }
  675. game:GetService("Debris"):AddItem(bp, 1)
  676. elseif Type == "Freeze" then
  677. local BodPos = Create("BodyPosition"){
  678. P = 50000,
  679. D = 1000,
  680. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  681. position = hit.Parent.Torso.Position,
  682. Parent = hit.Parent.Torso,
  683. }
  684. local BodGy = Create("BodyGyro") {
  685. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  686. P = 20e+003,
  687. Parent = hit.Parent.Torso,
  688. cframe = hit.Parent.Torso.CFrame,
  689. }
  690. hit.Parent.Torso.Anchored = true
  691. coroutine.resume(coroutine.create(function(Part)
  692. swait(1.5)
  693. Part.Anchored = false
  694. end), hit.Parent.Torso)
  695. game:GetService("Debris"):AddItem(BodPos, 3)
  696. game:GetService("Debris"):AddItem(BodGy, 3)
  697. end
  698. local debounce = Create("BoolValue"){
  699. Name = "DebounceHit",
  700. Parent = hit.Parent,
  701. Value = true,
  702. }
  703. game:GetService("Debris"):AddItem(debounce, Delay)
  704. c = Create("ObjectValue"){
  705. Name = "creator",
  706. Value = Player,
  707. Parent = h,
  708. }
  709. game:GetService("Debris"):AddItem(c, .5)
  710. end
  711. end
  712. -------------------------------------------------------
  713. --End Damage Function--
  714. -------------------------------------------------------
  715.  
  716. -------------------------------------------------------
  717. --Start Damage Function Customization--
  718. -------------------------------------------------------
  719. function ShowDamage(Pos, Text, Time, Color)
  720. local Rate = (1 / 30)
  721. local Pos = (Pos or Vector3.new(0, 0, 0))
  722. local Text = (Text or "")
  723. local Time = (Time or 2)
  724. local Color = (Color or Color3.new(1, 0, 1))
  725. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  726. EffectPart.Anchored = true
  727. local BillboardGui = Create("BillboardGui"){
  728. Size = UDim2.new(3, 0, 3, 0),
  729. Adornee = EffectPart,
  730. Parent = EffectPart,
  731. }
  732. local TextLabel = Create("TextLabel"){
  733. BackgroundTransparency = 1,
  734. Size = UDim2.new(1, 0, 1, 0),
  735. Text = Text,
  736. Font = "Bodoni",
  737. TextColor3 = Color,
  738. TextScaled = true,
  739. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  740. Parent = BillboardGui,
  741. }
  742. game.Debris:AddItem(EffectPart, (Time))
  743. EffectPart.Parent = game:GetService("Workspace")
  744. delay(0, function()
  745. local Frames = (Time / Rate)
  746. for Frame = 1, Frames do
  747. wait(Rate)
  748. local Percent = (Frame / Frames)
  749. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  750. TextLabel.TextTransparency = Percent
  751. end
  752. if EffectPart and EffectPart.Parent then
  753. EffectPart:Destroy()
  754. end
  755. end)
  756. end
  757. -------------------------------------------------------
  758. --End Damage Function Customization--
  759. -------------------------------------------------------
  760.  
  761. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  762. for _, c in pairs(workspace:children()) do
  763. local hum = c:findFirstChild("Humanoid")
  764. if hum ~= nil then
  765. local head = c:findFirstChild("Head")
  766. if head ~= nil then
  767. local targ = head.Position - Part.Position
  768. local mag = targ.magnitude
  769. if magni >= mag and c.Name ~= plr.Name then
  770. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  771. end
  772. end
  773. end
  774. end
  775. end
  776.  
  777.  
  778. CFuncs = {
  779. Part = {
  780. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  781. local Part = Create("Part")({
  782. Parent = Parent,
  783. Reflectance = Reflectance,
  784. Transparency = Transparency,
  785. CanCollide = false,
  786. Locked = true,
  787. BrickColor = BrickColor.new(tostring(BColor)),
  788. Name = Name,
  789. Size = Size,
  790. Material = Material
  791. })
  792. RemoveOutlines(Part)
  793. return Part
  794. end
  795. },
  796. Mesh = {
  797. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  798. local Msh = Create(Mesh)({
  799. Parent = Part,
  800. Offset = OffSet,
  801. Scale = Scale
  802. })
  803. if Mesh == "SpecialMesh" then
  804. Msh.MeshType = MeshType
  805. Msh.MeshId = MeshId
  806. end
  807. return Msh
  808. end
  809. },
  810. Mesh = {
  811. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  812. local Msh = Create(Mesh)({
  813. Parent = Part,
  814. Offset = OffSet,
  815. Scale = Scale
  816. })
  817. if Mesh == "SpecialMesh" then
  818. Msh.MeshType = MeshType
  819. Msh.MeshId = MeshId
  820. end
  821. return Msh
  822. end
  823. },
  824. Weld = {
  825. Create = function(Parent, Part0, Part1, C0, C1)
  826. local Weld = Create("Weld")({
  827. Parent = Parent,
  828. Part0 = Part0,
  829. Part1 = Part1,
  830. C0 = C0,
  831. C1 = C1
  832. })
  833. return Weld
  834. end
  835. },
  836. Sound = {
  837. Create = function(id, par, vol, pit)
  838. coroutine.resume(coroutine.create(function()
  839. local S = Create("Sound")({
  840. Volume = vol,
  841. Pitch = pit or 1,
  842. SoundId = id,
  843. Parent = par or workspace
  844. })
  845. wait()
  846. S:play()
  847. game:GetService("Debris"):AddItem(S, 6)
  848. end))
  849. end
  850. },
  851. ParticleEmitter = {
  852. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  853. local fp = Create("ParticleEmitter")({
  854. Parent = Parent,
  855. Color = ColorSequence.new(Color1, Color2),
  856. LightEmission = LightEmission,
  857. Size = Size,
  858. Texture = Texture,
  859. Transparency = Transparency,
  860. ZOffset = ZOffset,
  861. Acceleration = Accel,
  862. Drag = Drag,
  863. LockedToPart = LockedToPart,
  864. VelocityInheritance = VelocityInheritance,
  865. EmissionDirection = EmissionDirection,
  866. Enabled = Enabled,
  867. Lifetime = LifeTime,
  868. Rate = Rate,
  869. Rotation = Rotation,
  870. RotSpeed = RotSpeed,
  871. Speed = Speed,
  872. VelocitySpread = VelocitySpread
  873. })
  874. return fp
  875. end
  876. }
  877. }
  878. function RemoveOutlines(part)
  879. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  880. end
  881. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  882. local Part = Create("Part")({
  883. formFactor = FormFactor,
  884. Parent = Parent,
  885. Reflectance = Reflectance,
  886. Transparency = Transparency,
  887. CanCollide = false,
  888. Locked = true,
  889. BrickColor = BrickColor.new(tostring(BColor)),
  890. Name = Name,
  891. Size = Size,
  892. Material = Material
  893. })
  894. RemoveOutlines(Part)
  895. return Part
  896. end
  897. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  898. local Msh = Create(Mesh)({
  899. Parent = Part,
  900. Offset = OffSet,
  901. Scale = Scale
  902. })
  903. if Mesh == "SpecialMesh" then
  904. Msh.MeshType = MeshType
  905. Msh.MeshId = MeshId
  906. end
  907. return Msh
  908. end
  909. function CreateWeld(Parent, Part0, Part1, C0, C1)
  910. local Weld = Create("Weld")({
  911. Parent = Parent,
  912. Part0 = Part0,
  913. Part1 = Part1,
  914. C0 = C0,
  915. C1 = C1
  916. })
  917. return Weld
  918. end
  919.  
  920.  
  921. -------------------------------------------------------
  922. --Start Effect Function--
  923. -------------------------------------------------------
  924. EffectModel = Instance.new("Model", char)
  925. Effects = {
  926. Block = {
  927. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  928. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  929. prt.Anchored = true
  930. prt.CFrame = cframe
  931. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  932. game:GetService("Debris"):AddItem(prt, 10)
  933. if Type == 1 or Type == nil then
  934. table.insert(Effects, {
  935. prt,
  936. "Block1",
  937. delay,
  938. x3,
  939. y3,
  940. z3,
  941. msh
  942. })
  943. elseif Type == 2 then
  944. table.insert(Effects, {
  945. prt,
  946. "Block2",
  947. delay,
  948. x3,
  949. y3,
  950. z3,
  951. msh
  952. })
  953. else
  954. table.insert(Effects, {
  955. prt,
  956. "Block3",
  957. delay,
  958. x3,
  959. y3,
  960. z3,
  961. msh
  962. })
  963. end
  964. end
  965. },
  966. Sphere = {
  967. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  968. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  969. prt.Anchored = true
  970. prt.CFrame = cframe
  971. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  972. game:GetService("Debris"):AddItem(prt, 10)
  973. table.insert(Effects, {
  974. prt,
  975. "Cylinder",
  976. delay,
  977. x3,
  978. y3,
  979. z3,
  980. msh
  981. })
  982. end
  983. },
  984. Cylinder = {
  985. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  986. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  987. prt.Anchored = true
  988. prt.CFrame = cframe
  989. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  990. game:GetService("Debris"):AddItem(prt, 10)
  991. table.insert(Effects, {
  992. prt,
  993. "Cylinder",
  994. delay,
  995. x3,
  996. y3,
  997. z3,
  998. msh
  999. })
  1000. end
  1001. },
  1002. Wave = {
  1003. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1004. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1005. prt.Anchored = true
  1006. prt.CFrame = cframe
  1007. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1008. game:GetService("Debris"):AddItem(prt, 10)
  1009. table.insert(Effects, {
  1010. prt,
  1011. "Cylinder",
  1012. delay,
  1013. x3 / 60,
  1014. y3 / 60,
  1015. z3 / 60,
  1016. msh
  1017. })
  1018. end
  1019. },
  1020. Ring = {
  1021. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1022. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1023. prt.Anchored = true
  1024. prt.CFrame = cframe
  1025. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1026. game:GetService("Debris"):AddItem(prt, 10)
  1027. table.insert(Effects, {
  1028. prt,
  1029. "Cylinder",
  1030. delay,
  1031. x3,
  1032. y3,
  1033. z3,
  1034. msh
  1035. })
  1036. end
  1037. },
  1038. Break = {
  1039. Create = function(brickcolor, cframe, x1, y1, z1)
  1040. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1041. prt.Anchored = true
  1042. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1043. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1044. local num = math.random(10, 50) / 1000
  1045. game:GetService("Debris"):AddItem(prt, 10)
  1046. table.insert(Effects, {
  1047. prt,
  1048. "Shatter",
  1049. num,
  1050. prt.CFrame,
  1051. math.random() - math.random(),
  1052. 0,
  1053. math.random(50, 100) / 100
  1054. })
  1055. end
  1056. },
  1057. Spiral = {
  1058. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1059. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1060. prt.Anchored = true
  1061. prt.CFrame = cframe
  1062. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1063. game:GetService("Debris"):AddItem(prt, 10)
  1064. table.insert(Effects, {
  1065. prt,
  1066. "Cylinder",
  1067. delay,
  1068. x3,
  1069. y3,
  1070. z3,
  1071. msh
  1072. })
  1073. end
  1074. },
  1075. Push = {
  1076. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1077. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1078. prt.Anchored = true
  1079. prt.CFrame = cframe
  1080. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1081. game:GetService("Debris"):AddItem(prt, 10)
  1082. table.insert(Effects, {
  1083. prt,
  1084. "Cylinder",
  1085. delay,
  1086. x3,
  1087. y3,
  1088. z3,
  1089. msh
  1090. })
  1091. end
  1092. }
  1093. }
  1094. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1095. local fp = IT("Part")
  1096. fp.formFactor = formfactor
  1097. fp.Parent = parent
  1098. fp.Reflectance = reflectance
  1099. fp.Transparency = transparency
  1100. fp.CanCollide = false
  1101. fp.Locked = true
  1102. fp.BrickColor = brickcolor
  1103. fp.Name = name
  1104. fp.Size = size
  1105. fp.Position = tors.Position
  1106. RemoveOutlines(fp)
  1107. fp.Material = "SmoothPlastic"
  1108. fp:BreakJoints()
  1109. return fp
  1110. end
  1111.  
  1112. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1113. local mesh = IT(Mesh)
  1114. mesh.Parent = part
  1115. if Mesh == "SpecialMesh" then
  1116. mesh.MeshType = meshtype
  1117. if meshid ~= "nil" then
  1118. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1119. end
  1120. end
  1121. mesh.Offset = offset
  1122. mesh.Scale = scale
  1123. return mesh
  1124. end
  1125.  
  1126. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1127. local type = type
  1128. local rng = Instance.new("Part", char)
  1129. rng.Anchored = true
  1130. rng.BrickColor = color
  1131. rng.CanCollide = false
  1132. rng.FormFactor = 3
  1133. rng.Name = "Ring"
  1134. rng.Material = "Neon"
  1135. rng.Size = Vector3.new(1, 1, 1)
  1136. rng.Transparency = 0
  1137. rng.TopSurface = 0
  1138. rng.BottomSurface = 0
  1139. rng.CFrame = pos
  1140. local rngm = Instance.new("SpecialMesh", rng)
  1141. rngm.MeshType = MType
  1142. rngm.Scale = scale
  1143. local scaler2 = 1
  1144. if type == "Add" then
  1145. scaler2 = 1 * value
  1146. elseif type == "Divide" then
  1147. scaler2 = 1 / value
  1148. end
  1149. coroutine.resume(coroutine.create(function()
  1150. for i = 0, 10 / bonuspeed, 0.1 do
  1151. swait()
  1152. if type == "Add" then
  1153. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1154. elseif type == "Divide" then
  1155. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1156. end
  1157. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1158. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1159. end
  1160. rng:Destroy()
  1161. end))
  1162. end
  1163.  
  1164. function Eviscerate(dude)
  1165. if dude.Name ~= char then
  1166. local bgf = IT("BodyGyro", dude.Head)
  1167. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1168. local val = IT("BoolValue", dude)
  1169. val.Name = "IsHit"
  1170. local ds = coroutine.wrap(function()
  1171. dude:WaitForChild("Head"):BreakJoints()
  1172. wait(0.5)
  1173. target = nil
  1174. coroutine.resume(coroutine.create(function()
  1175. for i, v in pairs(dude:GetChildren()) do
  1176. if v:IsA("Accessory") then
  1177. v:Destroy()
  1178. end
  1179. if v:IsA("Humanoid") then
  1180. v:Destroy()
  1181. end
  1182. if v:IsA("CharacterMesh") then
  1183. v:Destroy()
  1184. end
  1185. if v:IsA("Model") then
  1186. v:Destroy()
  1187. end
  1188. if v:IsA("Part") or v:IsA("MeshPart") then
  1189. for x, o in pairs(v:GetChildren()) do
  1190. if o:IsA("Decal") then
  1191. o:Destroy()
  1192. end
  1193. end
  1194. coroutine.resume(coroutine.create(function()
  1195. v.Material = "Neon"
  1196. v.CanCollide = false
  1197. local PartEmmit1 = IT("ParticleEmitter", v)
  1198. PartEmmit1.LightEmission = 1
  1199. PartEmmit1.Texture = "rbxassetid://284205403"
  1200. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1201. PartEmmit1.Rate = 150
  1202. PartEmmit1.Lifetime = NumberRange.new(1)
  1203. PartEmmit1.Size = NumberSequence.new({
  1204. NumberSequenceKeypoint.new(0, 0.75, 0),
  1205. NumberSequenceKeypoint.new(1, 0, 0)
  1206. })
  1207. PartEmmit1.Transparency = NumberSequence.new({
  1208. NumberSequenceKeypoint.new(0, 0, 0),
  1209. NumberSequenceKeypoint.new(1, 1, 0)
  1210. })
  1211. PartEmmit1.Speed = NumberRange.new(0, 0)
  1212. PartEmmit1.VelocitySpread = 30000
  1213. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1214. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1215. local BodPoss = IT("BodyPosition", v)
  1216. BodPoss.P = 3000
  1217. BodPoss.D = 1000
  1218. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1219. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1220. v.Color = maincolor.Color
  1221. coroutine.resume(coroutine.create(function()
  1222. for i = 0, 49 do
  1223. swait(1)
  1224. v.Transparency = v.Transparency + 0.08
  1225. end
  1226. wait(0.5)
  1227. PartEmmit1.Enabled = false
  1228. wait(3)
  1229. v:Destroy()
  1230. dude:Destroy()
  1231. end))
  1232. end))
  1233. end
  1234. end
  1235. end))
  1236. end)
  1237. ds()
  1238. end
  1239. end
  1240.  
  1241. function FindNearestHead(Position, Distance, SinglePlayer)
  1242. if SinglePlayer then
  1243. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1244. end
  1245. local List = {}
  1246. for i, v in pairs(workspace:GetChildren()) do
  1247. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1248. table.insert(List, v)
  1249. end
  1250. end
  1251. return List
  1252. end
  1253.  
  1254. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1255. local type = type
  1256. local rng = Instance.new("Part", char)
  1257. rng.Anchored = true
  1258. rng.BrickColor = color
  1259. rng.CanCollide = false
  1260. rng.FormFactor = 3
  1261. rng.Name = "Ring"
  1262. rng.Material = "Neon"
  1263. rng.Size = Vector3.new(1, 1, 1)
  1264. rng.Transparency = 0
  1265. rng.TopSurface = 0
  1266. rng.BottomSurface = 0
  1267. rng.CFrame = pos
  1268. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1269. local rngm = Instance.new("SpecialMesh", rng)
  1270. rngm.MeshType = MType
  1271. rngm.Scale = Vector3.new(x1, y1, z1)
  1272. local scaler2 = 1
  1273. local speeder = FastSpeed
  1274. if type == "Add" then
  1275. scaler2 = 1 * value
  1276. elseif type == "Divide" then
  1277. scaler2 = 1 / value
  1278. end
  1279. coroutine.resume(coroutine.create(function()
  1280. for i = 0, 10 / bonuspeed, 0.1 do
  1281. swait()
  1282. if type == "Add" then
  1283. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1284. elseif type == "Divide" then
  1285. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1286. end
  1287. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1288. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1289. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1290. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1291. end
  1292. rng:Destroy()
  1293. end))
  1294. end
  1295.  
  1296. function SoulSteal(dude)
  1297. if dude.Name ~= char then
  1298. local bgf = IT("BodyGyro", dude.Head)
  1299. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1300. local val = IT("BoolValue", dude)
  1301. val.Name = "IsHit"
  1302. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1303. local soulst = coroutine.wrap(function()
  1304. local soul = Instance.new("Part",dude)
  1305. soul.Size = Vector3.new(1,1,1)
  1306. soul.CanCollide = false
  1307. soul.Anchored = false
  1308. soul.Position = torso.Position
  1309. soul.Transparency = 1
  1310. local PartEmmit1 = IT("ParticleEmitter", soul)
  1311. PartEmmit1.LightEmission = 1
  1312. PartEmmit1.Texture = "rbxassetid://569507414"
  1313. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1314. PartEmmit1.Rate = 250
  1315. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1316. PartEmmit1.Size = NumberSequence.new({
  1317. NumberSequenceKeypoint.new(0, 1, 0),
  1318. NumberSequenceKeypoint.new(1, 0, 0)
  1319. })
  1320. PartEmmit1.Transparency = NumberSequence.new({
  1321. NumberSequenceKeypoint.new(0, 0, 0),
  1322. NumberSequenceKeypoint.new(1, 1, 0)
  1323. })
  1324. PartEmmit1.Speed = NumberRange.new(0, 0)
  1325. PartEmmit1.VelocitySpread = 30000
  1326. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1327. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1328. local BodPoss = IT("BodyPosition", soul)
  1329. BodPoss.P = 3000
  1330. BodPoss.D = 1000
  1331. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1332. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1333. wait(1.6)
  1334. soul.Touched:connect(function(hit)
  1335. if hit.Parent == char then
  1336. soul:Destroy()
  1337. end
  1338. end)
  1339. wait(1.2)
  1340. while soul do
  1341. swait()
  1342. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1343. BodPoss.Position = tors.Position
  1344. end
  1345. end)
  1346. soulst()
  1347. end
  1348. end
  1349. function FaceMouse()
  1350. local Cam = workspace.CurrentCamera
  1351. return {
  1352. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1353. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1354. }
  1355. end
  1356. Effects = {
  1357. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  1358. local p = Instance.new("Part",EffectModel)
  1359. p.BrickColor = BrickColor.new(colour)
  1360. p.Size = partsize
  1361. p.Anchored = true
  1362. p.CanCollide = false
  1363. p.Material = matr
  1364. p.CFrame = cf
  1365. if inverse == true then
  1366. p.Transparency = 1
  1367. else
  1368. p.Transparency = 0
  1369. end
  1370. local m = Instance.new("BlockMesh",p)
  1371. m.Scale = meshstart
  1372. coroutine.wrap(function()
  1373. for i = 0, 1, factor do
  1374. swait()
  1375. if inverse == true then
  1376. p.Transparency = 1-i
  1377. else
  1378. p.Transparency = i
  1379. end
  1380. m.Scale = m.Scale + meshadd
  1381. if spin == true then
  1382. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1383. end
  1384. end
  1385. p:Destroy()
  1386. end)()
  1387. return p
  1388. end,
  1389. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1390. local p = Instance.new("Part",EffectModel)
  1391. p.BrickColor = BrickColor.new(colour)
  1392. p.Size = partsize
  1393. p.Anchored = true
  1394. p.CanCollide = false
  1395. p.Material = matr
  1396. p.CFrame = cf
  1397. if inverse == true then
  1398. p.Transparency = 1
  1399. else
  1400. p.Transparency = 0
  1401. end
  1402. local m = Instance.new("SpecialMesh",p)
  1403. m.MeshType = "Sphere"
  1404. m.Scale = meshstart
  1405. coroutine.wrap(function()
  1406. for i=0,1,factor do
  1407. swait()
  1408. if inverse == true then
  1409. p.Transparency = 1-i
  1410. else
  1411. p.Transparency = i
  1412. end
  1413. m.Scale = m.Scale + meshadd
  1414. end
  1415. p:Destroy()
  1416. end)()
  1417. return p
  1418. end,
  1419.  
  1420. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1421. local p = Instance.new("Part",EffectModel)
  1422. p.BrickColor = BrickColor.new(colour)
  1423. p.Size = partsize
  1424. p.Anchored = true
  1425. p.CanCollide = false
  1426. p.Material = matr
  1427. p.CFrame = cf
  1428. if inverse == true then
  1429. p.Transparency = 1
  1430. else
  1431. p.Transparency = 0
  1432. end
  1433. local m = Instance.new("CylinderMesh",p)
  1434. m.Scale = meshstart
  1435. coroutine.wrap(function()
  1436. for i=0,1,factor do
  1437. swait()
  1438. if inverse == true then
  1439. p.Transparency = 1-i
  1440. else
  1441. p.Transparency = i
  1442. end
  1443. m.Scale = m.Scale + meshadd
  1444. end
  1445. p:Destroy()
  1446. end)()
  1447. return p
  1448. end,
  1449.  
  1450. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  1451. local p = Instance.new("Part",EffectModel)
  1452. p.BrickColor = BrickColor.new(colour)
  1453. p.Size = Vector3.new()
  1454. p.Anchored = true
  1455. p.CanCollide = false
  1456. p.CFrame = cf
  1457. if inverse == true then
  1458. p.Transparency = 1
  1459. else
  1460. p.Transparency = 0
  1461. end
  1462. local m = Instance.new("SpecialMesh",p)
  1463. m.MeshId = "rbxassetid://20329976"
  1464. m.Scale = meshstart
  1465. coroutine.wrap(function()
  1466. for i=0,1,factor do
  1467. swait()
  1468. if inverse == true then
  1469. p.Transparency = 1-i
  1470. else
  1471. p.Transparency = i
  1472. end
  1473. m.Scale = m.Scale + meshadd
  1474. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1475. end
  1476. p:Destroy()
  1477. end)()
  1478. return p
  1479. end,
  1480.  
  1481. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  1482. local p = Instance.new("Part",EffectModel)
  1483. p.BrickColor = BrickColor.new(colour)
  1484. p.Size = Vector3.new()
  1485. p.Anchored = true
  1486. p.CanCollide = false
  1487. p.CFrame = cf
  1488. if inverse == true then
  1489. p.Transparency = 1
  1490. else
  1491. p.Transparency = 0
  1492. end
  1493. local m = Instance.new("SpecialMesh",p)
  1494. m.MeshId = "rbxassetid://3270017"
  1495. m.Scale = meshstart
  1496. coroutine.wrap(function()
  1497. for i=0,1,factor do
  1498. swait()
  1499. if inverse == true then
  1500. p.Transparency = 1-i
  1501. else
  1502. p.Transparency = i
  1503. end
  1504. m.Scale = m.Scale + meshadd
  1505. end
  1506. p:Destroy()
  1507. end)()
  1508. return p
  1509. end,
  1510.  
  1511. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  1512. local p = Instance.new("Part",EffectModel)
  1513. p.BrickColor = BrickColor.new(colour)
  1514. p.Size = Vector3.new()
  1515. p.Anchored = true
  1516. p.CanCollide = false
  1517. p.CFrame = cf
  1518. if inverse == true then
  1519. p.Transparency = 1
  1520. else
  1521. p.Transparency = 0
  1522. end
  1523. local m = Instance.new("SpecialMesh",p)
  1524. m.MeshId = meshid
  1525. m.TextureId = textid
  1526. m.Scale = meshstart
  1527. coroutine.wrap(function()
  1528. for i=0,1,factor do
  1529. swait()
  1530. if inverse == true then
  1531. p.Transparency = 1-i
  1532. else
  1533. p.Transparency = i
  1534. end
  1535. m.Scale = m.Scale + meshadd
  1536. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1537. end
  1538. p:Destroy()
  1539. end)()
  1540. return p
  1541. end,
  1542.  
  1543. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  1544. local p = Instance.new("Part",EffectModel)
  1545. p.BrickColor = BrickColor.new(colour)
  1546. p.Size = partsize
  1547. p.Anchored = true
  1548. p.CanCollide = false
  1549. p.Material = matr
  1550. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1551. if inverse == true then
  1552. p.Transparency = 1
  1553. else
  1554. p.Transparency = 0
  1555. end
  1556. local m = Instance.new("SpecialMesh",p)
  1557. m.MeshType = "Sphere"
  1558. m.Scale = meshstart
  1559. coroutine.wrap(function()
  1560. for i=0,1,factor do
  1561. swait()
  1562. if inverse == true then
  1563. p.Transparency = 1-i
  1564. else
  1565. p.Transparency = i
  1566. end
  1567. m.Scale = m.Scale + meshadd
  1568. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  1569. end
  1570. p:Destroy()
  1571. end)()
  1572. return p
  1573. end,
  1574.  
  1575. }
  1576. -------------------------------------------------------
  1577. --End Effect Function--
  1578. -------------------------------------------------------
  1579. function Cso(ID, PARENT, VOLUME, PITCH)
  1580. local NSound = nil
  1581. coroutine.resume(coroutine.create(function()
  1582. NSound = IT("Sound", PARENT)
  1583. NSound.Volume = VOLUME
  1584. NSound.Pitch = PITCH
  1585. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1586. swait()
  1587. NSound:play()
  1588. game:GetService("Debris"):AddItem(NSound, 10)
  1589. end))
  1590. return NSound
  1591. end
  1592. function CamShake(Length, Intensity)
  1593. coroutine.resume(coroutine.create(function()
  1594. local intensity = 1 * Intensity
  1595. local rotM = 0.01 * Intensity
  1596. for i = 0, Length, 0.1 do
  1597. swait()
  1598. intensity = intensity - 0.05 * Intensity / Length
  1599. rotM = rotM - 5.0E-4 * Intensity / Length
  1600. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1601. 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)
  1602. end
  1603. hum.CameraOffset = Vector3.new(0, 0, 0)
  1604. end))
  1605. end
  1606. NewInstance = function(instance,parent,properties)
  1607. local inst = Instance.new(instance)
  1608. inst.Parent = parent
  1609. if(properties)then
  1610. for i,v in next, properties do
  1611. pcall(function() inst[i] = v end)
  1612. end
  1613. end
  1614. return inst;
  1615. end
  1616. hum.MaxHealth = 1.0E298
  1617. hum.Health = 1.0E298
  1618. game:GetService("RunService"):BindToRenderStep("HOT", 0, function()
  1619. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  1620. hum.MaxHealth = 1.0E298
  1621. hum.Health = 1.0E298
  1622. end
  1623. end)
  1624. function chatfunc(text, color)
  1625. local chat = coroutine.wrap(function()
  1626. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1627. char:FindFirstChild("TalkingBillBoard"):destroy()
  1628. end
  1629. local naeeym2 = Instance.new("BillboardGui", char)
  1630. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1631. naeeym2.StudsOffset = Vector3.new(0, 1.5, 0)
  1632. naeeym2.Adornee = hed
  1633. naeeym2.Name = "TalkingBillBoard"
  1634. local tecks2 = Instance.new("TextLabel", naeeym2)
  1635. tecks2.BackgroundTransparency = 1
  1636. tecks2.BorderSizePixel = 0
  1637. tecks2.Text = ""
  1638. tecks2.Font = "Bodoni"
  1639. tecks2.TextSize = 30
  1640. tecks2.TextStrokeTransparency = 0
  1641. tecks2.TextColor3 = color
  1642. tecks2.TextStrokeColor3 = Color3.new(0,1,0)
  1643. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1644. for i = 1, string.len(text) do
  1645. CFuncs.Sound.Create("rbxassetid://418252437", hed, 1, Mrandom(8,12)/15)
  1646. tecks2.Text = string.sub(text, 1, i)
  1647. swait(1)
  1648. end
  1649. wait(1)
  1650. naeeym2:Destroy()
  1651. end)
  1652. chat()
  1653. end
  1654. New = function(Object, Parent, Name, Data)
  1655. local Object = Instance.new(Object)
  1656. for Index, Value in pairs(Data or {}) do
  1657. Object[Index] = Value
  1658. end
  1659. Object.Parent = Parent
  1660. Object.Name = Name
  1661. return Object
  1662. end
  1663.  
  1664. Cupo = New("Model",char,"Cupo",{})
  1665. Handle = New("Part",Cupo,"Handle",{BrickColor = BrickColor.new("Institutional white"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-132.232986, 1.05098712, -175.132965, -2.66358597e-06, 0.50003612, -0.866004288, 0.999999762, 3.72325388e-08, -3.4009206e-06, -2.13981866e-06, -0.866004527, -0.500036418),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1666. Mesh = New("SpecialMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.600000024, 1),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  1667. Part = New("Part",Cupo,"Part",{BrickColor = BrickColor.new("Institutional white"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-132.482986, 1.05098701, -174.699982, 0.866004169, -0.500036061, 4.80877497e-06, 3.40900579e-06, -4.61425361e-06, -0.999999642, 0.500036597, 0.866004586, -1.59157071e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1668. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 6),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  1669. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.866004348, 3.3928352e-06, 0.500036359, -0.500036299, -4.34130516e-06, 0.866004407, 4.95926542e-06, -0.999999881, -1.81985979e-06),C1 = CFrame.new(-1.1920929e-07, -0.499977112, 0, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),})
  1670. Part = New("Part",Cupo,"Part",{BrickColor = BrickColor.new("Institutional white"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-132.482986, 0.75998807, -174.699982, 0.500036061, -4.80877497e-06, 0.866004169, 4.61425361e-06, 0.999999642, 3.40900579e-06, -0.866004586, 1.59157071e-06, 0.500036597),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1671. Mesh = New("CylinderMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.200000003, 0),Scale = Vector3.new(1, 0.100000001, 1),})
  1672. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.500036299, 4.34130516e-06, -0.866004407, -4.95926542e-06, 0.999999881, 1.81985979e-06, 0.866004348, 3.3928352e-06, 0.500036359),C1 = CFrame.new(-0.290999115, -0.499977112, 0, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),})
  1673. Coffee = New("Part",Cupo,"Coffee",{BrickColor = BrickColor.new("Reddish brown"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-132.482986, 1.15998101, -174.699982, 0.500036299, -4.95926542e-06, 0.866004348, 4.34130516e-06, 0.999999881, 3.3928352e-06, -0.866004407, 1.81985979e-06, 0.500036359),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.411765, 0.25098, 0.156863),})
  1674. Mesh = New("CylinderMesh",Coffee,"Mesh",{Scale = Vector3.new(1, 1.20000005, 1),})
  1675. mot = New("Motor",Coffee,"mot",{Part0 = Coffee,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.500036299, 4.34130516e-06, -0.866004407, -4.95926542e-06, 0.999999881, 1.81985979e-06, 0.866004348, 3.3928352e-06, 0.500036359),C1 = CFrame.new(0.108993888, -0.499977112, -1.52587891e-05, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),})
  1676.  
  1677. local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CFrame.new(0, -1.1, -0.1) * CFrame.Angles(Rad(0), Rad(90), Rad(0))})
  1678.  
  1679. -------------------------------------------------------
  1680. --End Important Functions--
  1681. -------------------------------------------------------
  1682.  
  1683.  
  1684. -------------------------------------------------------
  1685. --Start Customization--
  1686. -------------------------------------------------------
  1687. local Player_Size = 1
  1688. if Player_Size ~= 1 then
  1689. root.Size = root.Size * Player_Size
  1690. tors.Size = tors.Size * Player_Size
  1691. hed.Size = hed.Size * Player_Size
  1692. ra.Size = ra.Size * Player_Size
  1693. la.Size = la.Size * Player_Size
  1694. rl.Size = rl.Size * Player_Size
  1695. ll.Size = ll.Size * Player_Size
  1696. ----------------------------------------------------------------------------------
  1697. rootj.Parent = root
  1698. neck.Parent = tors
  1699. RW.Parent = tors
  1700. LW.Parent = tors
  1701. RH.Parent = tors
  1702. LH.Parent = tors
  1703. ----------------------------------------------------------------------------------
  1704. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1705. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1706. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1707. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1708. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1709. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1710. ----------------------------------------------------------------------------------
  1711. 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))
  1712. 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))
  1713. 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))
  1714. 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))
  1715. --hat.Parent = Character
  1716. end
  1717. ----------------------------------------------------------------------------------
  1718. local SONG = 2079410088
  1719. local SONG2 = 0
  1720. local Music = Instance.new("Sound",tors)
  1721. Music.Volume = 2.5
  1722. Music.Looped = true
  1723. Music.Pitch = 1 --Pitcher
  1724. ----------------------------------------------------------------------------------
  1725. local equipped = false
  1726. local idle = 0
  1727. local change = 1
  1728. local val = 0
  1729. local toim = 0
  1730. local idleanim = 0.4
  1731. local sine = 0
  1732. local Sit = 1
  1733. local WasAir = false
  1734. local InAir = false
  1735. local LandTick = 0
  1736. local movelegs = false
  1737. local FF = Instance.new("ForceField",char)
  1738. FF.Visible = false
  1739. local Speed = 16
  1740. local Sitt = false
  1741. local VALUE1 = false
  1742. ----------------------------------------------------------------------------------
  1743. hum.JumpPower = 55
  1744. hum.Animator.Parent = nil
  1745. -------------------------------------------------------
  1746. --End Customization--
  1747. -------------------------------------------------------
  1748.  
  1749.  
  1750. -------------------------------------------------------
  1751. --Start Attacks N Stuff--
  1752. -------------------------------------------------------
  1753. function SunBlastWIP()
  1754. attack = true
  1755. hum.WalkSpeed = 3.01
  1756. for i = 0, 4, 0.1 do
  1757. swait()
  1758. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  1759. 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)
  1760. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1761. 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)
  1762. 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)
  1763. 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)
  1764. 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)
  1765. end
  1766. for i = 0, 2, 0.1 do
  1767. swait()
  1768. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  1769. 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)
  1770. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  1771. 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)
  1772. 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)
  1773. 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)
  1774. 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)
  1775. end
  1776. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1777. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1778. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  1779. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1780. CameraEnshaking(4, 5)
  1781. Cso("206049428", char, 10, 1)
  1782. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  1783. if v:FindFirstChild("Head") then
  1784. Eviscerate(v)
  1785. end
  1786. end
  1787. for i = 0, 2, 0.1 do
  1788. swait()
  1789. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  1790. 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)
  1791. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1792. 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)
  1793. 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)
  1794. 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)
  1795. 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)
  1796. end
  1797. hum.WalkSpeed = 16
  1798. attack = false
  1799. end
  1800. function Flame_Burst()
  1801. local target = nil
  1802. local targettorso = nil
  1803. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1804. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1805. target = mouse.Target.Parent.Humanoid
  1806. target2 = mouse.Target.Parent
  1807. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1808. end
  1809. end
  1810. if target ~= nil then
  1811. attack = true
  1812. hum.WalkSpeed = 0
  1813. for i = 0, 3.4, 0.1 do
  1814. swait()
  1815. hum.WalkSpeed = 0
  1816. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(45)), 0.1)
  1817. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15), Rad(0), Rad(-45)), 0.1)
  1818. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1819. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1820. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(-15), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
  1821. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
  1822. end
  1823. --ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = Vector3.new(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = targettorso, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.new(0,0,0), Color2 = Color3.new(0,0,0), Texture = "1523916715"})
  1824. --targettorso:BreakJoints()
  1825. for i = 0, 3.4, 0.1 do
  1826. swait()
  1827. hum.WalkSpeed = 0
  1828. ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = Vector3.new(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = targettorso, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.new(0,0,0), Color2 = Color3.new(0,0,0), Texture = "1523916715"})
  1829. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(45)), 0.1)
  1830. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15), Rad(0), Rad(-45)), 0.1)
  1831. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1832. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
  1833. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(135), Rad(-.6), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
  1834. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
  1835. end
  1836. for i, v in pairs(target2:GetChildren()) do
  1837. if(not char:IsAncestorOf(v))then
  1838. local hum = (v and v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
  1839. local hedder = (v and v.Parent and v.Parent:FindFirstChild'Head')
  1840. if(hum and hedder and hum.Health > 0)then
  1841. Eviscerate(v.Parent)
  1842. end
  1843. end
  1844. end
  1845. attack = false
  1846. hum.WalkSpeed = 18
  1847. end
  1848. end
  1849. function attackone()
  1850. attack = true
  1851. hum.WalkSpeed = 3.01
  1852. for i = 0, 3, 0.1 do
  1853. swait()
  1854. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.2)
  1855. 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)
  1856. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.1)
  1857. 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)
  1858. 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)
  1859. 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)
  1860. 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)
  1861. end
  1862. Cso("203426541", ra, 10, 1)
  1863. for i = 0, 2, 0.1 do
  1864. swait()
  1865. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), -0.3)
  1866. 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)
  1867. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.2)
  1868. 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)
  1869. 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)
  1870. 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)
  1871. 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)
  1872. end
  1873. hum.WalkSpeed = 16
  1874. attack = false
  1875. end
  1876. function attacktwo()
  1877. attack = true
  1878. hum.WalkSpeed = 3.01
  1879. for i = 0, 2, 0.1 do
  1880. swait()
  1881. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  1882. 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)
  1883. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1884. 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)
  1885. 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)
  1886. 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)
  1887. 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)
  1888. end
  1889. Cso("203426541", rl, 10, 1)
  1890. for i = 0, 3, 0.1 do
  1891. swait()
  1892. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), -0.1)
  1893. 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)
  1894. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.1)
  1895. 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)
  1896. 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)
  1897. 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)
  1898. 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)
  1899. end
  1900. hum.WalkSpeed = 16
  1901. attack = false
  1902. end
  1903. function attackthree()
  1904. attack = true
  1905. hum.WalkSpeed = 3.01
  1906. for i = 0, 2.3, 0.1 do
  1907. swait()
  1908. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  1909. 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)
  1910. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25), Rad(0), Rad(0)), 0.1)
  1911. 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)
  1912. 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)
  1913. 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)
  1914. 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)
  1915. end
  1916. Cso("203426541", hed, 10, 1)
  1917. for i = 0, 2, 0.1 do
  1918. swait()
  1919. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0.1)
  1920. 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)
  1921. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.1)
  1922. 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)
  1923. 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)
  1924. 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)
  1925. 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)
  1926. end
  1927. hum.WalkSpeed = 16
  1928. attack = false
  1929. end
  1930. function WarpWIP()
  1931. attack = true
  1932. for i = 0, 1.6, 0.1 do
  1933. swait()
  1934. hum.CameraOffset = Vector3.new(0, 1 + 0.1 * Cos(sine / 20), 0)
  1935. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  1936. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(0)), 0.2)
  1937. RW.C0 = clerp(RW.C0, CF(1.1, 0.5, -0.4) * angles(Rad(80), Rad(0 * Cos(sine / 20)), Rad(-45)), 0.2)
  1938. LW.C0 = clerp(LW.C0, CF(-1.1, 0.5, -0.4) * angles(Rad(70), Rad(0), Rad(55)), 0.2)
  1939. 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)
  1940. 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)
  1941. end
  1942. for i = 1, 10 do
  1943. g = char:GetChildren()
  1944. for i = 1, #g do
  1945. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  1946. g[i].Transparency = g[i].Transparency + 0.1
  1947. hed.face.Transparency = hed.face.Transparency + 0.1
  1948. elseif g[i].ClassName == "Accessory" then
  1949. g[i].Handle.Transparency = g[i].Handle.Transparency + 0.1
  1950. end
  1951. end
  1952. swait()
  1953. end
  1954. local ORIGINPOS = root.Position
  1955. root.CFrame = CF(Vector3.new(mouse.Hit.p.X,root.Position.Y,mouse.Hit.p.Z),ORIGINPOS)
  1956. for i = 1, 10 do
  1957. g = char:GetChildren()
  1958. for i = 1, #g do
  1959. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  1960. g[i].Transparency = g[i].Transparency - 0.1
  1961. hed.face.Transparency = hed.face.Transparency - 0.1
  1962. elseif g[i].ClassName == "Accessory" then
  1963. g[i].Handle.Transparency = g[i].Handle.Transparency - 0.1
  1964. end
  1965. end
  1966. swait()
  1967. end
  1968. attack = false
  1969. end
  1970. function AttackTemplate()
  1971. attack = true
  1972. for i = 0, 2, 0.1 do
  1973. swait()
  1974. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1975. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1976. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1977. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1978. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  1979. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  1980. end
  1981. attack = false
  1982. end
  1983. function Taunt()
  1984. attack = true
  1985. movelegs = true
  1986. Speed = 12
  1987. local Chatty = Mrandom(1,3)
  1988. if Chatty == 1 then
  1989. chatfunc("Not Wise idea to make me mad.", maincolor.Color)
  1990. elseif Chatty == 2 then
  1991. chatfunc("Better Delete this at sonic speed.", maincolor.Color)
  1992. elseif Chatty == 3 then
  1993. chatfunc("*Teleports Behind you*", maincolor.Color)
  1994. end
  1995. if Chatty ~= 3 then
  1996. for i = 0, 9, 0.1 do
  1997. swait()
  1998. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1999. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(10 - 5 * Cos(sine / 3))), 0.1)
  2000. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2001. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2002. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1)
  2003. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  2004. end
  2005. else
  2006. for i = 0, 9, 0.1 do
  2007. swait()
  2008. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 24) * Player_Size) * angles(Rad(0 - 4 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(-10)), 0.1)
  2009. neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15 - 2 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1)
  2010. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) - Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 24)), Rad(0), Rad(5)), 0.1)
  2011. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) + Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(-0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 24)), Rad(0), Rad(-5)), 0.1)
  2012. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1)
  2013. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  2014. end
  2015. end
  2016. movelegs = false
  2017. attack = false
  2018. Speed = 16
  2019. end
  2020. function Sippy()
  2021. attack = true
  2022. Speed = 0
  2023. local Sip = Cso("1420260652", hed, 1.2, 1)
  2024. swait()
  2025. repeat
  2026. swait()
  2027. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  2028. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 5 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1)
  2029. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2030. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2031. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.4 + 0.05 * Sin(sine / 20)* Player_Size, 0.1* Player_Size) * angles(Rad(125), Rad(0), Rad(-45)), 0.1)
  2032. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(10 - 5 * Sin(sine / 20))), 0.1)
  2033. until Sip.Playing == false
  2034. Speed = 16
  2035. attack = false
  2036. end
  2037. function SittyBoi()
  2038. attack = true
  2039. Sitt = true
  2040. Speed = 0
  2041. repeat
  2042. swait()
  2043. for i = 0, 1, 0.1 do
  2044. swait()
  2045. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
  2046. neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  2047. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(75), Rad(0), Rad(5)), 0.1)
  2048. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(75), Rad(0), Rad(-5)), 0.1)
  2049. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1)
  2050. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-15), Rad(20), Rad(-15)), 0.1)
  2051. end
  2052. until Sitt == false
  2053. attack = false
  2054. Speed = 16
  2055. end
  2056. -------------------------------------------------------
  2057. --End Attacks N Stuff--
  2058. -------------------------------------------------------
  2059. mouse.Button1Down:connect(function(key)
  2060. if attack == false then
  2061. Sippy()
  2062. end
  2063. end)
  2064. mouse.KeyDown:connect(function(key)
  2065. if (VALUE1 == false and attack == false) or Sitt == true then
  2066. if key == "q" then
  2067. if Sitt == false then
  2068. SittyBoi()
  2069. elseif Sitt == true then
  2070. Sitt = false
  2071. end
  2072. end
  2073. end
  2074. if attack == false then
  2075. if key == "t" then
  2076. Taunt()
  2077. elseif key == 'z' then
  2078. SunBlastWIP()
  2079. elseif key == 'x' then
  2080. WarpWIP()
  2081. elseif key == 'c' then
  2082. Flame_Burst()
  2083. end
  2084. end
  2085. end)
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094. -------------------------------------------------------
  2095. --Start Animations--
  2096. -------------------------------------------------------
  2097. print("By Makhail07")
  2098. while true do
  2099. swait()
  2100. sine = sine + change
  2101. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2102. local velderp = root.Velocity.y
  2103. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2104. if equipped == true or equipped == false then
  2105. if attack == false then
  2106. idle = idle + 1
  2107. else
  2108. idle = 0
  2109. end
  2110. local Landed = false
  2111. if(hitfloor)then
  2112. WasAir = false
  2113. else
  2114. WasAir = true
  2115. end
  2116. if(WasAir == false)then
  2117. if(InAir == true)then
  2118. LandTick = time()
  2119. Landed = true
  2120. end
  2121. end
  2122. if(time()-LandTick < .3)then
  2123. Landed = true
  2124. end
  2125. if(hitfloor)then
  2126. InAir = false
  2127. else
  2128. InAir = true
  2129. end
  2130. local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
  2131. local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
  2132. local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  2133. if(State == 'Jump')then
  2134. hum.JumpPower = 55
  2135. if attack == false then
  2136. 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.1)
  2137. 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)
  2138. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  2139. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  2140. 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)
  2141. 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)
  2142. end
  2143. elseif(State == 'Fall')then
  2144. if attack == false then
  2145. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  2146. 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)
  2147. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  2148. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  2149. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2150. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2151. end
  2152. elseif(State == 'Land')then
  2153. hum.JumpPower = 0
  2154. if attack == false then
  2155. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2156. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2157. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15)
  2158. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-5)), 0.15)
  2159. 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(0), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
  2160. 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(0), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  2161. end
  2162. elseif(State == 'Idle')then
  2163. change = 0.90
  2164. if attack == false then
  2165. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 24) * Player_Size) * angles(Rad(0 - 4 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(-10)), 0.1)
  2166. neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(7 - 2 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1)
  2167. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) - Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 24)), Rad(0), Rad(5)), 0.1)
  2168. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) + Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(-0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 24)), Rad(0), Rad(-5)), 0.1)
  2169. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1)
  2170. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(10 - 5 * Sin(sine / 20))), 0.1)
  2171. end
  2172. elseif(State == 'Walk')then
  2173. change = 0.76
  2174. hum.JumpPower = 55
  2175. if attack == false then
  2176. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.15 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(10), Rad(0), Rad(0 - 0.75 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75), 0.1)
  2177. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0 - 0.75 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 13), 0.1)
  2178. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Sin(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2179. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2180. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / WALKSPEEDVALUE)), Rad(-30 + 5 * Sin(sine / WALKSPEEDVALUE))), 0.1)
  2181. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0 + 0.5 * Sin(sine / WALKSPEEDVALUE)* Player_Size) * angles(Rad(-45 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75, Rad(10 * Cos(sine / WALKSPEEDVALUE)), Rad(-10) + root.RotVelocity.Y / -75), 0.1)
  2182. elseif attack == true and movelegs == true then
  2183. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Sin(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2184. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2185. end
  2186. end
  2187. end
  2188. hum.Name = "HUM"
  2189. hum.WalkSpeed = Speed
  2190. Music.SoundId = "rbxassetid://"..SONG
  2191. Music.Looped = true
  2192. Music.Pitch = 1
  2193. Music.Volume = 1.5
  2194. Music.Parent = tors
  2195. Music.Playing = true
  2196. if 0 < #Effects then
  2197. for e = 1, #Effects do
  2198. if Effects[e] ~= nil then
  2199. local Thing = Effects[e]
  2200. if Thing ~= nil then
  2201. local Part = Thing[1]
  2202. local Mode = Thing[2]
  2203. local Delay = Thing[3]
  2204. local IncX = Thing[4]
  2205. local IncY = Thing[5]
  2206. local IncZ = Thing[6]
  2207. if 1 >= Thing[1].Transparency then
  2208. if Thing[2] == "Block1" then
  2209. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2210. local Mesh = Thing[1].Mesh
  2211. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2212. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2213. elseif Thing[2] == "Block2" then
  2214. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2215. local Mesh = Thing[7]
  2216. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2217. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2218. elseif Thing[2] == "Block3" then
  2219. 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)
  2220. local Mesh = Thing[7]
  2221. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2222. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2223. elseif Thing[2] == "Cylinder" then
  2224. local Mesh = Thing[1].Mesh
  2225. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2226. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2227. elseif Thing[2] == "Blood" then
  2228. local Mesh = Thing[7]
  2229. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2230. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2231. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2232. elseif Thing[2] == "Elec" then
  2233. local Mesh = Thing[1].Mesh
  2234. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2235. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2236. elseif Thing[2] == "Disappear" then
  2237. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2238. elseif Thing[2] == "Shatter" then
  2239. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2240. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2241. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2242. Thing[6] = Thing[6] + Thing[5]
  2243. end
  2244. else
  2245. Part.Parent = nil
  2246. table.remove(Effects, e)
  2247. end
  2248. end
  2249. end
  2250. end
  2251. end
  2252. end
  2253. -------------------------------------------------------
  2254. --End Animations And Script--
  2255. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement