Advertisement
Tetezaza1542

Ultimate poot

Sep 2nd, 2018
492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 219.08 KB | None | 0 0
  1. ---------------
  2. --Ultimate poot v2.9.5--
  3. ----------------------------------------------------------------
  4. print([[
  5. --made by Makhail07
  6. --FE code by Mokiros
  7. --Edited by HeavyThePootisMan333
  8. --fixed by saba1520/kisslarge --
  9. --Discord: [GRID-EEST]HeavyThePootisMan333#7955
  10. --------------------------------
  11. hello good sir
  12. Don't leak pls
  13. Enjoy ;)
  14. --------------------------------
  15. ]])
  16.  
  17. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  18. local Player,game,owner = owner,game
  19. local RealPlayer = Player
  20. do
  21. local rp = RealPlayer
  22. script.Parent = rp.Character
  23.  
  24. --RemoteEvent for communicating
  25. local Event = Instance.new("RemoteEvent")
  26. Event.Name = "UserInput_Event"
  27.  
  28. --Fake event to make stuff like Mouse.KeyDown work
  29. local function fakeEvent()
  30. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  31. t.connect = t.Connect
  32. return t
  33. end
  34.  
  35. --Creating fake input objects with fake variables
  36. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  37. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  38. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  39. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  40. end}
  41. --Merged 2 functions into one by checking amount of arguments
  42. CAS.UnbindAction = CAS.BindAction
  43.  
  44. --This function will trigger the events that have been :Connect()'ed
  45. local function te(self,ev,...)
  46. local t = m[ev]
  47. if t and t._fakeEvent then
  48. for _,f in pairs(t.Functions) do
  49. f(...)
  50. end
  51. end
  52. end
  53. m.TrigEvent = te
  54. UIS.TrigEvent = te
  55.  
  56. Event.OnServerEvent:Connect(function(plr,io)
  57. if plr~=rp then return end
  58. m.Target = io.Target
  59. m.Hit = io.Hit
  60. if not io.isMouse then
  61. local b = io.UserInputState == Enum.UserInputState.Begin
  62. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  63. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[
  77. local Player = game:GetService("Players").LocalPlayer
  78. local Event = script:WaitForChild("UserInput_Event")
  79.  
  80. local Mouse = Player:GetMouse()
  81. local UIS = game:GetService("UserInputService")
  82. local input = function(io,a)
  83. if a then return end
  84. --Since InputObject is a client-side instance, we create and pass table instead
  85. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  86. end
  87. UIS.InputBegan:Connect(input)
  88. UIS.InputEnded:Connect(input)
  89.  
  90. local h,t
  91. --Give the server mouse data 30 times every second, but only if the values changed
  92. --If player is not moving their mouse, client won't fire events
  93. while wait(1/30) do
  94. if h~=Mouse.Hit or t~=Mouse.Target then
  95. h,t=Mouse.Hit,Mouse.Target
  96. Event:FireServer({isMouse=true,Target=t,Hit=h})
  97. end
  98. end]==],Player.Character)
  99.  
  100. ----Sandboxed game object that allows the usage of client-side methods and services
  101. --Real game object
  102. local _rg = game
  103.  
  104. --Metatable for fake service
  105. local fsmt = {
  106. __index = function(self,k)
  107. local s = rawget(self,"_RealService")
  108. if s then return s[k] end
  109. end,
  110. __newindex = function(self,k,v)
  111. local s = rawget(self,"_RealService")
  112. if s then s[k]=v end
  113. end,
  114. __call = function(self,...)
  115. local s = rawget(self,"_RealService")
  116. if s then return s(...) end
  117. end
  118. }
  119. local function FakeService(t,RealService)
  120. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  121. return setmetatable(t,fsmt)
  122. end
  123.  
  124. --Fake game object
  125. local g = {
  126. GetService = function(self,s)
  127. return self[s]
  128. end,
  129. Players = FakeService({
  130. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  131. },"Players"),
  132. UserInputService = FakeService(UIS,"UserInputService"),
  133. ContextActionService = FakeService(CAS,"ContextActionService"),
  134. }
  135. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  136. g.service = g.GetService
  137.  
  138. g.RunService = FakeService({
  139. RenderStepped = _rg:GetService("RunService").Heartbeat,
  140. BindToRenderStep = function(self,name,_,fun)
  141. self._btrs[name] = self.Heartbeat:Connect(fun)
  142. end,
  143. UnbindFromRenderStep = function(self,name)
  144. self._btrs[name]:Disconnect()
  145. end,
  146. },"RunService")
  147.  
  148. setmetatable(g,{
  149. __index=function(self,s)
  150. return _rg:GetService(s) or typeof(_rg[s])=="function"
  151. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  152. end,
  153. __newindex = fsmt.__newindex,
  154. __call = fsmt.__call
  155. })
  156. --Changing owner to fake player object to support owner:GetMouse()
  157. game,owner = g,g.Players.LocalPlayer
  158. end
  159.  
  160. Player = owner
  161. PlayerGui = Player.PlayerGui
  162. Cam = workspace.CurrentCamera
  163. Backpack = Player.Backpack
  164. Character = Player.Character
  165. Humanoid = Character.Humanoid
  166. Mouse = Player:GetMouse()
  167. RootPart = Character["HumanoidRootPart"]
  168. Torso = Character["Torso"]
  169. Head = Character["Head"]
  170. RightArm = Character["Right Arm"]
  171. LeftArm = Character["Left Arm"]
  172. RightLeg = Character["Right Leg"]
  173. LeftLeg = Character["Left Leg"]
  174. RootJoint = RootPart["RootJoint"]
  175. Neck = Torso["Neck"]
  176. RightShoulder = Torso["Right Shoulder"]
  177. LeftShoulder = Torso["Left Shoulder"]
  178. RightHip = Torso["Right Hip"]
  179. LeftHip = Torso["Left Hip"]
  180.  
  181. Character = Player.Character
  182. Humanoid = Character.Humanoid
  183.  
  184. IT = Instance.new
  185. CF = CFrame.new
  186. VT = Vector3.new
  187. RAD = math.rad
  188. C3 = Color3.new
  189. UD2 = UDim2.new
  190. BRICKC = BrickColor.new
  191. ANGLES = CFrame.Angles
  192. EULER = CFrame.fromEulerAnglesXYZ
  193. COS = math.cos
  194. ACOS = math.acos
  195. SIN = math.sin
  196. ASIN = math.asin
  197. ABS = math.abs
  198. MRANDOM = math.random
  199. FLOOR = math.floor
  200.  
  201. --//=================================\\
  202. --|| USEFUL VALUES
  203. --\\=================================//
  204.  
  205. Animation_Speed = 3
  206. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  207. local Speed = 25
  208. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  209. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  210. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  211. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  212. local DAMAGEMULTIPLIER = 1
  213. local ANIM = "Idle"
  214. local ATTACK = false
  215. local EQUIPPED = false
  216. local HOLD = false
  217. local COMBO = 1
  218. local Rooted = false
  219. local SINE = 0
  220. local KEYHOLD = false
  221. local CHANGE = 2 / Animation_Speed
  222. local WALKINGANIM = false
  223. local VALUE1 = false
  224. local VALUE2 = false
  225. local ROBLOXIDLEANIMATION = IT("Animation")
  226. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  227. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  228. --ROBLOXIDLEANIMATION.Parent = Humanoid
  229. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  230. WEAPONGUI.Name = "Weapon GUI"
  231. local Effects = IT("Folder", Character)
  232. Effects.Name = "Effects"
  233. local ANIMATOR = Humanoid.Animator
  234. local ANIMATE = Character.Animate
  235. local UNANCHOR = true
  236. local PLAYMAINANIM = true
  237. local BOLTSOUNDS = {168586621,168586586,178452241}
  238.  
  239. --//=================================\\
  240. --\\=================================//
  241.  
  242. wait(1)
  243. plr = game.Players.LocalPlayer
  244. char = plr.Character
  245. mouse = plr:GetMouse()
  246. whitecolor = Color3.new(255,255,255)
  247. epicmode = false
  248. normal = true
  249. for i,v in pairs(char:GetChildren()) do
  250. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  251. v:Destroy()
  252. end
  253. end
  254. local shirt = Instance.new("Shirt",char)
  255. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=144423481"
  256. local pants = Instance.new("Pants",char)
  257. pants.PantsTemplate = "http://www.roblox.com/asset/?id=138981718"
  258. local bdycolors = char["Body Colors"]
  259. bdycolors.HeadColor3 = whitecolor
  260. bdycolors.LeftArmColor3 = whitecolor
  261. bdycolors.LeftLegColor3 = whitecolor
  262. bdycolors.RightArmColor3 = whitecolor
  263. bdycolors.RightLegColor3 = whitecolor
  264. bdycolors.TorsoColor3 = whitecolor
  265. for i,v in pairs(char:GetChildren()) do
  266. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  267. v:Destroy()
  268. end
  269. end
  270. --//=================================\\
  271. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  272. --\\=================================//
  273.  
  274. ArtificialHB = Instance.new("BindableEvent", script)
  275. ArtificialHB.Name = "ArtificialHB"
  276.  
  277. script:WaitForChild("ArtificialHB")
  278.  
  279. frame = Frame_Speed
  280. tf = 0
  281. allowframeloss = false
  282. tossremainder = false
  283. lastframe = tick()
  284. script.ArtificialHB:Fire()
  285.  
  286. game:GetService("RunService").Heartbeat:connect(function(s, p)
  287. tf = tf + s
  288. if tf >= frame then
  289. if allowframeloss then
  290. script.ArtificialHB:Fire()
  291. lastframe = tick()
  292. else
  293. for i = 1, math.floor(tf / frame) do
  294. script.ArtificialHB:Fire()
  295. end
  296. lastframe = tick()
  297. end
  298. if tossremainder then
  299. tf = 0
  300. else
  301. tf = tf - frame * math.floor(tf / frame)
  302. end
  303. end
  304. end)
  305.  
  306. --//=================================\\
  307. --\\=================================//
  308.  
  309. --//=================================\\
  310. --|| SOME FUNCTIONS
  311. --\\=================================//
  312. -------1
  313. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  314. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  315. end
  316.  
  317. function PositiveAngle(NUMBER)
  318. if NUMBER >= 0 then
  319. NUMBER = 0
  320. end
  321. return NUMBER
  322. end
  323.  
  324. function NegativeAngle(NUMBER)
  325. if NUMBER <= 0 then
  326. NUMBER = 0
  327. end
  328. return NUMBER
  329. end
  330.  
  331. function Swait(NUMBER)
  332. if NUMBER == 0 or NUMBER == nil then
  333. ArtificialHB.Event:wait()
  334. else
  335. for i = 1, NUMBER do
  336. ArtificialHB.Event:wait()
  337. end
  338. end
  339. end
  340.  
  341. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  342. local NEWMESH = IT(MESH)
  343. if MESH == "SpecialMesh" then
  344. NEWMESH.MeshType = MESHTYPE
  345. if MESHID ~= "nil" and MESHID ~= "" then
  346. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  347. end
  348. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  349. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  350. end
  351. end
  352. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  353. NEWMESH.Scale = SCALE
  354. NEWMESH.Parent = PARENT
  355. return NEWMESH
  356. end
  357.  
  358. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  359. local NEWPART = IT("Part")
  360. NEWPART.formFactor = FORMFACTOR
  361. NEWPART.Reflectance = REFLECTANCE
  362. NEWPART.Transparency = TRANSPARENCY
  363. NEWPART.CanCollide = false
  364. NEWPART.Locked = true
  365. NEWPART.Anchored = true
  366. if ANCHOR == false then
  367. NEWPART.Anchored = false
  368. end
  369. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  370. NEWPART.Name = NAME
  371. NEWPART.Size = SIZE
  372. NEWPART.Position = Torso.Position
  373. NEWPART.Material = MATERIAL
  374. NEWPART:BreakJoints()
  375. NEWPART.Parent = PARENT
  376. return NEWPART
  377. end
  378.  
  379. local function weldBetween(a, b)
  380. local weldd = Instance.new("ManualWeld")
  381. weldd.Part0 = a
  382. weldd.Part1 = b
  383. weldd.C0 = CFrame.new()
  384. weldd.C1 = b.CFrame:inverse() * a.CFrame
  385. weldd.Parent = a
  386. return weldd
  387. end
  388.  
  389.  
  390. function QuaternionFromCFrame(cf)
  391. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  392. local trace = m00 + m11 + m22
  393. if trace > 0 then
  394. local s = math.sqrt(1 + trace)
  395. local recip = 0.5 / s
  396. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  397. else
  398. local i = 0
  399. if m11 > m00 then
  400. i = 1
  401. end
  402. if m22 > (i == 0 and m00 or m11) then
  403. i = 2
  404. end
  405. if i == 0 then
  406. local s = math.sqrt(m00 - m11 - m22 + 1)
  407. local recip = 0.5 / s
  408. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  409. elseif i == 1 then
  410. local s = math.sqrt(m11 - m22 - m00 + 1)
  411. local recip = 0.5 / s
  412. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  413. elseif i == 2 then
  414. local s = math.sqrt(m22 - m00 - m11 + 1)
  415. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  416. end
  417. end
  418. end
  419.  
  420. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  421. local xs, ys, zs = x + x, y + y, z + z
  422. local wx, wy, wz = w * xs, w * ys, w * zs
  423. local xx = x * xs
  424. local xy = x * ys
  425. local xz = x * zs
  426. local yy = y * ys
  427. local yz = y * zs
  428. local zz = z * zs
  429. 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))
  430. end
  431.  
  432. function QuaternionSlerp(a, b, t)
  433. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  434. local startInterp, finishInterp;
  435. if cosTheta >= 0.0001 then
  436. if (1 - cosTheta) > 0.0001 then
  437. local theta = ACOS(cosTheta)
  438. local invSinTheta = 1 / SIN(theta)
  439. startInterp = SIN((1 - t) * theta) * invSinTheta
  440. finishInterp = SIN(t * theta) * invSinTheta
  441. else
  442. startInterp = 1 - t
  443. finishInterp = t
  444. end
  445. else
  446. if (1 + cosTheta) > 0.0001 then
  447. local theta = ACOS(-cosTheta)
  448. local invSinTheta = 1 / SIN(theta)
  449. startInterp = SIN((t - 1) * theta) * invSinTheta
  450. finishInterp = SIN(t * theta) * invSinTheta
  451. else
  452. startInterp = t - 1
  453. finishInterp = t
  454. end
  455. end
  456. 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
  457. end
  458.  
  459. function Clerp(a, b, t)
  460. local qa = {QuaternionFromCFrame(a)}
  461. local qb = {QuaternionFromCFrame(b)}
  462. local ax, ay, az = a.x, a.y, a.z
  463. local bx, by, bz = b.x, b.y, b.z
  464. local _t = 1 - t
  465. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  466. end
  467.  
  468. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  469. local frame = IT("Frame")
  470. frame.BackgroundTransparency = TRANSPARENCY
  471. frame.BorderSizePixel = BORDERSIZEPIXEL
  472. frame.Position = POSITION
  473. frame.Size = SIZE
  474. frame.BackgroundColor3 = COLOR
  475. frame.BorderColor3 = BORDERCOLOR
  476. frame.Name = NAME
  477. frame.Parent = PARENT
  478. return frame
  479. end
  480.  
  481. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  482. local label = IT("TextLabel")
  483. label.BackgroundTransparency = 1
  484. label.Size = UD2(1, 0, 1, 0)
  485. label.Position = UD2(0, 0, 0, 0)
  486. label.TextColor3 = TEXTCOLOR
  487. label.TextStrokeColor3 = BRICKC"Really white".Color
  488. label.TextStrokeTransparency = STROKETRANSPARENCY
  489. label.TextTransparency = TRANSPARENCY
  490. label.FontSize = TEXTFONTSIZE
  491. label.Font = TEXTFONT
  492. label.BorderSizePixel = BORDERSIZEPIXEL
  493. label.TextScaled = false
  494. label.Text = TEXT
  495. label.Name = NAME
  496. label.Parent = PARENT
  497. return label
  498. end
  499.  
  500. function NoOutlines(PART)
  501. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  502. end
  503.  
  504. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  505. local NEWWELD = IT(TYPE)
  506. NEWWELD.Part0 = PART0
  507. NEWWELD.Part1 = PART1
  508. NEWWELD.C0 = C0
  509. NEWWELD.C1 = C1
  510. NEWWELD.Parent = PARENT
  511. return NEWWELD
  512. end
  513.  
  514. local S = IT("Sound")
  515. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  516. local NEWSOUND = nil
  517. coroutine.resume(coroutine.create(function()
  518. NEWSOUND = S:Clone()
  519. NEWSOUND.Parent = PARENT
  520. NEWSOUND.Volume = VOLUME
  521. NEWSOUND.Pitch = PITCH
  522. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  523. NEWSOUND:play()
  524. NEWSOUND.Name = "Audio"
  525. if DOESLOOP == true then
  526. NEWSOUND.Looped = true
  527. else
  528. repeat Swait() until NEWSOUND.Playing == false
  529. NEWSOUND:remove()
  530. end
  531. end))
  532. return NEWSOUND
  533. end
  534.  
  535. function CFrameFromTopBack(at, top, back)
  536. local right = top:Cross(back)
  537. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  538. end
  539.  
  540. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  541. function WACKYEFFECT(Table)
  542. local TYPE = (Table.EffectType or "Sphere")
  543. local SIZE = (Table.Size or VT(1,1,1))
  544. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  545. local TRANSPARENCY = (Table.Transparency or 0)
  546. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  547. local CFRAME = (Table.CFrame or Torso.CFrame)
  548. local MOVEDIRECTION = (Table.MoveToPos or nil)
  549. local ROTATION1 = (Table.RotationX or 0)
  550. local ROTATION2 = (Table.RotationY or 0)
  551. local ROTATION3 = (Table.RotationZ or 0)
  552. local MATERIAL = (Table.Material or "Neon")
  553. local COLOR = (Table.Color or C3(1,1,1))
  554. local TIME = (Table.Time or 45)
  555. local SOUNDID = (Table.SoundID or nil)
  556. local SOUNDPITCH = (Table.SoundPitch or nil)
  557. local SOUNDVOLUME = (Table.SoundVolume or nil)
  558. coroutine.resume(coroutine.create(function()
  559. local PLAYSSOUND = false
  560. local SOUND = nil
  561. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  562. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  563. PLAYSSOUND = true
  564. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  565. end
  566. EFFECT.Color = COLOR
  567. local MSH = nil
  568. if TYPE == "Sphere" then
  569. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  570. elseif TYPE == "Block" then
  571. MSH = IT("BlockMesh",EFFECT)
  572. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  573. elseif TYPE == "Box" then
  574. MSH = IT("BlockMesh",EFFECT)
  575. MSH.Scale = SIZE
  576. elseif TYPE == "Wave" then
  577. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  578. elseif TYPE == "Ring" then
  579. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  580. elseif TYPE == "Slash" then
  581. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  582. elseif TYPE == "Round Slash" then
  583. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  584. elseif TYPE == "Swirl" then
  585. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  586. elseif TYPE == "Skull" then
  587. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  588. elseif TYPE == "Crystal" then
  589. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  590. end
  591. if MSH ~= nil then
  592. local MOVESPEED = nil
  593. if MOVEDIRECTION ~= nil then
  594. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  595. end
  596. local GROWTH = SIZE - ENDSIZE
  597. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  598. if TYPE == "Block" then
  599. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  600. else
  601. EFFECT.CFrame = CFRAME
  602. end
  603. for LOOP = 1, TIME do
  604. Swait()
  605. MSH.Scale = MSH.Scale - GROWTH/TIME
  606. if TYPE == "Wave" then
  607. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  608. end
  609. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  610. if TYPE == "Block" then
  611. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  612. else
  613. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  614. end
  615. if MOVEDIRECTION ~= nil then
  616. local ORI = EFFECT.Orientation
  617. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  618. EFFECT.Orientation = ORI
  619. end
  620. end
  621. if PLAYSSOUND == false then
  622. EFFECT:remove()
  623. else
  624. repeat Swait() until SOUND.Playing == false
  625. EFFECT:remove()
  626. end
  627. else
  628. if PLAYSSOUND == false then
  629. EFFECT:remove()
  630. else
  631. repeat Swait() until SOUND.Playing == false
  632. EFFECT:remove()
  633. end
  634. end
  635. end))
  636. end
  637.  
  638. function Shatter(Part)
  639. if Part.Transparency == 0 then
  640. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  641. Debris:AddItem(SOUNDPART,5)
  642. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  643. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  644. local SIZESET = SIZE/4
  645. local XOffset = Part.Size.X*1.5/SIZESET
  646. local YOffset = Part.Size.Y*1.5/SIZESET
  647. local ZOffset = Part.Size.Z*1.5/SIZESET
  648. for x = 1, math.ceil(XOffset) do
  649. for y = 1, math.ceil(YOffset) do
  650. for z = 1, math.ceil(ZOffset) do
  651. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  652. SHARD.CanCollide = true
  653. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  654. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  655. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  656. end
  657. end
  658. end
  659. end
  660. Part:remove()
  661. end
  662.  
  663. function MakeForm(PART,TYPE)
  664. if TYPE == "Cyl" then
  665. local MSH = IT("CylinderMesh",PART)
  666. elseif TYPE == "Ball" then
  667. local MSH = IT("SpecialMesh",PART)
  668. MSH.MeshType = "Sphere"
  669. elseif TYPE == "Wedge" then
  670. local MSH = IT("SpecialMesh",PART)
  671. MSH.MeshType = "Wedge"
  672. end
  673. end
  674.  
  675. Debris = game:GetService("Debris")
  676.  
  677. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  678. local DIRECTION = CF(StartPos,EndPos).lookVector
  679. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  680. end
  681.  
  682. function turnto(position)
  683. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  684. end
  685.  
  686. -------1
  687. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  688. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  689. end
  690.  
  691. function PositiveAngle(NUMBER)
  692. if NUMBER >= 0 then
  693. NUMBER = 0
  694. end
  695. return NUMBER
  696. end
  697.  
  698. function NegativeAngle(NUMBER)
  699. if NUMBER <= 0 then
  700. NUMBER = 0
  701. end
  702. return NUMBER
  703. end
  704.  
  705. function Swait(NUMBER)
  706. if NUMBER == 0 or NUMBER == nil then
  707. ArtificialHB.Event:wait()
  708. else
  709. for i = 1, NUMBER do
  710. ArtificialHB.Event:wait()
  711. end
  712. end
  713. end
  714.  
  715. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  716. local NEWMESH = IT(MESH)
  717. if MESH == "SpecialMesh" then
  718. NEWMESH.MeshType = MESHTYPE
  719. if MESHID ~= "nil" and MESHID ~= "" then
  720. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  721. end
  722. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  723. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  724. end
  725. end
  726. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  727. NEWMESH.Scale = SCALE
  728. NEWMESH.Parent = PARENT
  729. return NEWMESH
  730. end
  731.  
  732. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  733. local NEWPART = IT("Part")
  734. NEWPART.formFactor = FORMFACTOR
  735. NEWPART.Reflectance = REFLECTANCE
  736. NEWPART.Transparency = TRANSPARENCY
  737. NEWPART.CanCollide = false
  738. NEWPART.Locked = true
  739. NEWPART.Anchored = true
  740. if ANCHOR == false then
  741. NEWPART.Anchored = false
  742. end
  743. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  744. NEWPART.Name = NAME
  745. NEWPART.Size = SIZE
  746. NEWPART.Position = Torso.Position
  747. NEWPART.Material = MATERIAL
  748. NEWPART:BreakJoints()
  749. NEWPART.Parent = PARENT
  750. return NEWPART
  751. end
  752.  
  753. local function weldBetween(a, b)
  754. local weldd = Instance.new("ManualWeld")
  755. weldd.Part0 = a
  756. weldd.Part1 = b
  757. weldd.C0 = CFrame.new()
  758. weldd.C1 = b.CFrame:inverse() * a.CFrame
  759. weldd.Parent = a
  760. return weldd
  761. end
  762.  
  763.  
  764. function QuaternionFromCFrame(cf)
  765. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  766. local trace = m00 + m11 + m22
  767. if trace > 0 then
  768. local s = math.sqrt(1 + trace)
  769. local recip = 0.5 / s
  770. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  771. else
  772. local i = 0
  773. if m11 > m00 then
  774. i = 1
  775. end
  776. if m22 > (i == 0 and m00 or m11) then
  777. i = 2
  778. end
  779. if i == 0 then
  780. local s = math.sqrt(m00 - m11 - m22 + 1)
  781. local recip = 0.5 / s
  782. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  783. elseif i == 1 then
  784. local s = math.sqrt(m11 - m22 - m00 + 1)
  785. local recip = 0.5 / s
  786. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  787. elseif i == 2 then
  788. local s = math.sqrt(m22 - m00 - m11 + 1)
  789. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  790. end
  791. end
  792. end
  793.  
  794. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  795. local xs, ys, zs = x + x, y + y, z + z
  796. local wx, wy, wz = w * xs, w * ys, w * zs
  797. local xx = x * xs
  798. local xy = x * ys
  799. local xz = x * zs
  800. local yy = y * ys
  801. local yz = y * zs
  802. local zz = z * zs
  803. 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))
  804. end
  805.  
  806. function QuaternionSlerp(a, b, t)
  807. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  808. local startInterp, finishInterp;
  809. if cosTheta >= 0.0001 then
  810. if (1 - cosTheta) > 0.0001 then
  811. local theta = ACOS(cosTheta)
  812. local invSinTheta = 1 / SIN(theta)
  813. startInterp = SIN((1 - t) * theta) * invSinTheta
  814. finishInterp = SIN(t * theta) * invSinTheta
  815. else
  816. startInterp = 1 - t
  817. finishInterp = t
  818. end
  819. else
  820. if (1 + cosTheta) > 0.0001 then
  821. local theta = ACOS(-cosTheta)
  822. local invSinTheta = 1 / SIN(theta)
  823. startInterp = SIN((t - 1) * theta) * invSinTheta
  824. finishInterp = SIN(t * theta) * invSinTheta
  825. else
  826. startInterp = t - 1
  827. finishInterp = t
  828. end
  829. end
  830. 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
  831. end
  832.  
  833. function Clerp(a, b, t)
  834. local qa = {QuaternionFromCFrame(a)}
  835. local qb = {QuaternionFromCFrame(b)}
  836. local ax, ay, az = a.x, a.y, a.z
  837. local bx, by, bz = b.x, b.y, b.z
  838. local _t = 1 - t
  839. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  840. end
  841.  
  842. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  843. local frame = IT("Frame")
  844. frame.BackgroundTransparency = TRANSPARENCY
  845. frame.BorderSizePixel = BORDERSIZEPIXEL
  846. frame.Position = POSITION
  847. frame.Size = SIZE
  848. frame.BackgroundColor3 = COLOR
  849. frame.BorderColor3 = BORDERCOLOR
  850. frame.Name = NAME
  851. frame.Parent = PARENT
  852. return frame
  853. end
  854.  
  855. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  856. local label = IT("TextLabel")
  857. label.BackgroundTransparency = 1
  858. label.Size = UD2(1, 0, 1, 0)
  859. label.Position = UD2(0, 0, 0, 0)
  860. label.TextColor3 = TEXTCOLOR
  861. label.TextStrokeTransparency = STROKETRANSPARENCY
  862. label.TextTransparency = TRANSPARENCY
  863. label.FontSize = TEXTFONTSIZE
  864. label.Font = TEXTFONT
  865. label.BorderSizePixel = BORDERSIZEPIXEL
  866. label.TextScaled = false
  867. label.Text = TEXT
  868. label.Name = NAME
  869. label.Parent = PARENT
  870. return label
  871. end
  872.  
  873. function NoOutlines(PART)
  874. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  875. end
  876.  
  877. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  878. local NEWWELD = IT(TYPE)
  879. NEWWELD.Part0 = PART0
  880. NEWWELD.Part1 = PART1
  881. NEWWELD.C0 = C0
  882. NEWWELD.C1 = C1
  883. NEWWELD.Parent = PARENT
  884. return NEWWELD
  885. end
  886.  
  887. local S = IT("Sound")
  888. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  889. local NEWSOUND = nil
  890. coroutine.resume(coroutine.create(function()
  891. NEWSOUND = S:Clone()
  892. NEWSOUND.Parent = PARENT
  893. NEWSOUND.Volume = VOLUME
  894. NEWSOUND.Pitch = PITCH
  895. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  896. NEWSOUND:play()
  897. if DOESLOOP == true then
  898. NEWSOUND.Looped = true
  899. else
  900. repeat wait(1) until NEWSOUND.Playing == false
  901. NEWSOUND:remove()
  902. end
  903. end))
  904. return NEWSOUND
  905. end
  906.  
  907. local EyeSizes={
  908. NumberSequenceKeypoint.new(0,2,0),
  909. NumberSequenceKeypoint.new(1,0,0)
  910. }
  911. local EyeTrans={
  912. NumberSequenceKeypoint.new(0,0.5,0),
  913. NumberSequenceKeypoint.new(1,1,0)
  914. }
  915. local PE=Instance.new("ParticleEmitter",nil)
  916. PE.LightEmission=.8
  917. PE.Color = ColorSequence.new(BRICKC("white").Color,BRICKC("Really White").Color)
  918. PE.Size=NumberSequence.new(EyeSizes)
  919. PE.Transparency=NumberSequence.new(EyeTrans)
  920. PE.Lifetime=NumberRange.new(0.35,1)
  921. PE.Rotation=NumberRange.new(0,360)
  922. PE.Rate=100
  923. PE.VelocitySpread = 10000
  924. PE.Acceleration = Vector3.new(0,85,0)
  925. PE.Drag = 5
  926. PE.Speed = NumberRange.new(0.1,5)
  927. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  928. PE.ZOffset = 0.5
  929. PE.Name = "PE"
  930. PE.Enabled = false
  931.  
  932. function Fire(art)
  933. local PARTICLES = PE:Clone()
  934. PARTICLES.Parent = art
  935. PARTICLES.Enabled = true
  936. return PARTICLES
  937. end
  938.  
  939. function CFrameFromTopBack(at, top, back)
  940. local right = top:Cross(back)
  941. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  942. end
  943.  
  944. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  945. function WACKYEFFECT(Table)
  946. local TYPE = (Table.EffectType or "Sphere")
  947. local SIZE = (Table.Size or VT(1,1,1))
  948. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  949. local TRANSPARENCY = (Table.Transparency or 0)
  950. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  951. local CFRAME = (Table.CFrame or Torso.CFrame)
  952. local MOVEDIRECTION = (Table.MoveToPos or nil)
  953. local ROTATION1 = (Table.RotationX or 0)
  954. local ROTATION2 = (Table.RotationY or 0)
  955. local ROTATION3 = (Table.RotationZ or 0)
  956. local MATERIAL = (Table.Material or "Neon")
  957. local COLOR = (Table.Color or C3(255,255,255))
  958. local TIME = (Table.Time or 45)
  959. local SOUNDID = (Table.SoundID or nil)
  960. local SOUNDPITCH = (Table.SoundPitch or nil)
  961. local SOUNDVOLUME = (Table.SoundVolume or nil)
  962. coroutine.resume(coroutine.create(function()
  963. local PLAYSSOUND = false
  964. local SOUND = nil
  965. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really black"), "Effect", VT(1,1,1), true)
  966. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  967. PLAYSSOUND = true
  968. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  969. end
  970. EFFECT.Color = COLOR
  971. local MSH = nil
  972. if TYPE == "Sphere" then
  973. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  974. elseif TYPE == "Block" or TYPE == "Box" then
  975. MSH = IT("BlockMesh",EFFECT)
  976. MSH.Scale = SIZE
  977. elseif TYPE == "Wave" then
  978. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  979. elseif TYPE == "Ring" then
  980. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  981. elseif TYPE == "Slash" then
  982. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  983. elseif TYPE == "Round Slash" then
  984. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  985. elseif TYPE == "Swirl" then
  986. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  987. elseif TYPE == "Skull" then
  988. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  989. elseif TYPE == "Crystal" then
  990. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  991. end
  992. if MSH ~= nil then
  993. local MOVESPEED = nil
  994. if MOVEDIRECTION ~= nil then
  995. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  996. end
  997. local GROWTH = SIZE - ENDSIZE
  998. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  999. if TYPE == "Block" then
  1000. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1001. else
  1002. EFFECT.CFrame = CFRAME
  1003. end
  1004. for LOOP = 1, TIME+1 do
  1005. Swait()
  1006. MSH.Scale = MSH.Scale - GROWTH/TIME
  1007. if TYPE == "Wave" then
  1008. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1009. end
  1010. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1011. if TYPE == "Block" then
  1012. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1013. else
  1014. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1015. end
  1016. if MOVEDIRECTION ~= nil then
  1017. local ORI = EFFECT.Orientation
  1018. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1019. EFFECT.Orientation = ORI
  1020. end
  1021. end
  1022. if PLAYSSOUND == false then
  1023. EFFECT:remove()
  1024. else
  1025. repeat wait(1) until SOUND.Playing == false
  1026. EFFECT:remove()
  1027. end
  1028. else
  1029. if PLAYSSOUND == false then
  1030. EFFECT:remove()
  1031. else
  1032. repeat Swait() until SOUND.Playing == false
  1033. EFFECT:remove()
  1034. end
  1035. end
  1036. end))
  1037. end
  1038.  
  1039. function MakeForm(PART,TYPE)
  1040. if TYPE == "Cyl" then
  1041. local MSH = IT("CylinderMesh",PART)
  1042. elseif TYPE == "Ball" then
  1043. local MSH = IT("SpecialMesh",PART)
  1044. MSH.MeshType = "Sphere"
  1045. elseif TYPE == "Wedge" then
  1046. local MSH = IT("SpecialMesh",PART)
  1047. MSH.MeshType = "Wedge"
  1048. end
  1049. end
  1050.  
  1051. Debris = game:GetService("Debris")
  1052.  
  1053. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1054. local DIRECTION = CF(StartPos,EndPos).lookVector
  1055. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1056. end
  1057.  
  1058. local HATWELD = nil
  1059. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  1060. PLAYMAINANIM = false
  1061. if WhichPose == "Cast1" then
  1062. for i=0, Time, 0.1 / Animation_Speed do
  1063. Swait()
  1064. if Magic == true then
  1065. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1066. end
  1067. if Gyro ~= nil and Gyro ~= false then
  1068. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1069. end
  1070. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  1071. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  1072. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1073. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1074. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1075. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1076. end
  1077. elseif WhichPose == "Cast2" then
  1078. for i=0, Time, 0.1 / Animation_Speed do
  1079. Swait()
  1080. if Magic == true then
  1081. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1082. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1083. end
  1084. if Gyro ~= nil and Gyro ~= false then
  1085. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1086. end
  1087. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1088. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1089. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1090. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1091. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1092. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1093. end
  1094. elseif WhichPose == "RightArmUp" then
  1095. for i=0, Time, 0.1 / Animation_Speed do
  1096. Swait()
  1097. if Magic == true then
  1098. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1099. end
  1100. if Gyro ~= nil and Gyro ~= false then
  1101. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1102. end
  1103. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  1104. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1105. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1106. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1107. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1108. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1109. end
  1110. elseif WhichPose == "Taunt" then
  1111. for i=0, Time, 0.1 / Animation_Speed do
  1112. Swait()
  1113. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1114. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1115. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1116. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1117. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1118. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1119. end
  1120.  
  1121. CreateSound(1466932232,Torso,10,1,false)
  1122. for i=0, Time*2, 0.1 / Animation_Speed do
  1123. Swait()
  1124. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1125. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1128. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1129. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1130. end
  1131. for i=0, Time, 0.1 / Animation_Speed do
  1132. Swait()
  1133. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1134. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  1135. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1136. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1137. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1138. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1139.  
  1140. end
  1141.  
  1142. elseif WhichPose == "Prepare key" then
  1143. for i=0, Time, 0.1 / Animation_Speed do
  1144. Swait()
  1145. if Gyro ~= nil and Gyro ~= false then
  1146. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1147. end
  1148. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  1149. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  1150. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1151. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1152. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1153. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1154. end
  1155. elseif WhichPose == "Turn key" then
  1156. for i=0, Time, 0.1 / Animation_Speed do
  1157. Swait()
  1158. if Gyro ~= nil and Gyro ~= false then
  1159. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1160. end
  1161. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  1162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  1163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1165. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1166. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1167. end
  1168. end
  1169. PLAYMAINANIM = true
  1170. end
  1171.  
  1172. --Lightning({Color = C3(255,255,255), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  1173. function Lightning(Table)
  1174. local Color = Table.Color or C3(255,255,255)
  1175. local StartPos = Table.Start or Torso.Position
  1176. local EndPos = Table.End or Mouse.Hit.p
  1177. local SegmentLength = Table.SegmentL or 2
  1178. local Thickness = Table.Thickness or 0.1
  1179. local Dissapear = Table.DoesFade or false
  1180. local Parent = Table.Ignore or Character
  1181. local MaxDist = Table.MaxDist or 400
  1182. local Branches = Table.Branches or false
  1183. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  1184. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  1185. local LIGHTNINGMODEL = IT("Model",Effects)
  1186. LIGHTNINGMODEL.Name = "Lightning"
  1187. local LastBolt = nil
  1188. for E = 1, DISTANCE do
  1189. local ExtraSize = (DISTANCE-E)/15
  1190. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Really black"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  1191. PART.Color = Color
  1192. MakeForm(PART,"Cyl")
  1193. if LastBolt == nil then
  1194. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1195. else
  1196. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1197. end
  1198. LastBolt = PART
  1199. if Branches == true then
  1200. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  1201. if CHOICE == 1 then
  1202. local LASTBRANCH = nil
  1203. for i = 1, MRANDOM(2,5) do
  1204. local ExtraSize2 = ((DISTANCE-E)/25)/i
  1205. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Really black"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  1206. PART.Color = Color
  1207. MakeForm(PART,"Cyl")
  1208. if LASTBRANCH == nil then
  1209. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1210. else
  1211. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1212. end
  1213. LASTBRANCH = PART
  1214. end
  1215. end
  1216. end
  1217. end
  1218. if Dissapear == true then
  1219. coroutine.resume(coroutine.create(function()
  1220. for i = 1, 10 do
  1221. Swait()
  1222. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  1223. if c.ClassName == "Part" then
  1224. c.Transparency = i/10
  1225. end
  1226. end
  1227. end
  1228. LIGHTNINGMODEL:remove()
  1229. end))
  1230. elseif Dissapear == false then
  1231. Debris:AddItem(LIGHTNINGMODEL,0.1)
  1232. end
  1233. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  1234. end
  1235.  
  1236. --//=================================\\
  1237. --|| WEAPON CREATION
  1238. --\\=================================//
  1239. -------
  1240. ----
  1241. Humanoid.DisplayDistanceType = "None"
  1242. local naeeym2 = IT("BillboardGui",Character)
  1243. naeeym2.AlwaysOnTop = true
  1244. naeeym2.Size = UDim2.new(5,35,2,15)
  1245. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1246. naeeym2.MaxDistance = 75
  1247. naeeym2.Adornee = Character.Head
  1248. naeeym2.Name = "Name"
  1249. local tecks2 = IT("TextLabel",naeeym2)
  1250. tecks2.BackgroundTransparency = 1
  1251. tecks2.TextScaled = true
  1252. tecks2.BorderSizePixel = 0
  1253. tecks2.Text = ""
  1254. tecks2.Font = "Fantasy"
  1255. tecks2.TextSize = 30
  1256. tecks2.TextStrokeTransparency = 0
  1257. tecks2.TextColor3 = C3(0,0,0)
  1258. tecks2.TextStrokeColor3 = C3(0,0,0)
  1259. tecks2.Size = UDim2.new(1,0,0.5,0)
  1260. tecks2.Parent = naeeym2
  1261. local top = Instance.new("Shirt")
  1262. top.ShirtTemplate = "rbxassetid://0"
  1263. top.Parent = Character
  1264. top.Name = "Cloth"
  1265. local bottom = Instance.new("Pants")
  1266. bottom.PantsTemplate = "rbxassetid://0"
  1267. bottom.Parent = Character
  1268. bottom.Name = "Cloth"
  1269. ---------------------
  1270. if Character:FindFirstChildOfClass("Accessory") then
  1271. Character:FindFirstChildOfClass("Accessory"):remove()
  1272. elseif Character:FindFirstChildOfClass("Hat") then
  1273. Character:FindFirstChildOfClass("Hat"):remove()
  1274. end
  1275. if Head:FindFirstChild("face") then
  1276. Head.face.Texture = "rbxassetid://"
  1277. end
  1278.  
  1279. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  1280. PRT.Color = C3(255,255,255)
  1281. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  1282. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  1283. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  1284. PRT.Color = C3(255,255,255)
  1285. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  1286. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  1287.  
  1288. local LASTPART = Head
  1289. for i = 1, 20 do
  1290. local MATH = (1-(i/25))
  1291. if LASTPART == Head then
  1292. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1293. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1294. LASTPART = Horn
  1295. Horn.Color = C3((i*3-3)/255,255,255)
  1296. else
  1297. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1298. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  1299. LASTPART = Horn
  1300. Horn.Color = C3((i*3-3)/255,255,255)
  1301. end
  1302. end
  1303. local LASTPART = Head
  1304. for i = 1, 20 do
  1305. local MATH = (1-(i/25))
  1306. if LASTPART == Head then
  1307. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1308. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  1309. LASTPART = Horn
  1310. Horn.Color = C3((i*3-3)/255,255,255)
  1311. else
  1312. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1313. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  1314. LASTPART = Horn
  1315. Horn.Color = C3((i*3-3)/255,255,255)
  1316. end
  1317. end
  1318.  
  1319. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.6,0.1,1)/2,false)
  1320. MakeForm(Eye,"Ball")
  1321. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1322. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.6,0.1,1)/2,false)
  1323. MakeForm(Eye,"Ball")
  1324. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1325. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.1,1,1)/2,false)
  1326. MakeForm(Eye,"Ball")
  1327. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1328. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Teal", "Eye", VT(0.1,1,1)/2,false)
  1329. MakeForm(Eye,"Ball")
  1330. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1331.  
  1332.  
  1333. local A = IT("Attachment",Torso)
  1334. A.Position = VT(1,1.3,0)
  1335. A.Orientation = VT(-0.098, -89.999, 0.227)
  1336. local B = IT("Attachment",Torso)
  1337. B.Position = VT(-1.3,-0.6,0)
  1338. B.Orientation = VT(-88.911, -68.808, 158.782)
  1339. local ChainLink = IT("Beam",Torso)
  1340. ChainLink.Texture = "rbxassetid://73042633"
  1341. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  1342. ChainLink.TextureSpeed = 1
  1343. ChainLink.FaceCamera = true
  1344. ChainLink.Width0 = 1
  1345. ChainLink.Width1 = 1
  1346. ChainLink.TextureLength = 3
  1347. ChainLink.Attachment0 = A
  1348. ChainLink.Attachment1 = B
  1349. ChainLink.CurveSize0 = 1.6
  1350. ChainLink.CurveSize1 = 1.6
  1351. ChainLink.FaceCamera = true
  1352. ChainLink.Transparency = NumberSequence.new(0)
  1353. local ChainLink = IT("Beam",Torso)
  1354. ChainLink.Texture = "rbxassetid://73042633"
  1355. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  1356. ChainLink.TextureSpeed = 1
  1357. ChainLink.FaceCamera = true
  1358. ChainLink.Width0 = 1
  1359. ChainLink.Width1 = 1
  1360. ChainLink.TextureLength = 3
  1361. ChainLink.Attachment0 = B
  1362. ChainLink.Attachment1 = A
  1363. ChainLink.CurveSize0 = 1.6
  1364. ChainLink.CurveSize1 = 1.6
  1365. ChainLink.FaceCamera = true
  1366. ChainLink.Transparency = NumberSequence.new(0)
  1367. local A = IT("Attachment",Torso)
  1368. A.Position = VT(1.3,-0.85,0)
  1369. A.Orientation = VT(-0.098, -89.999, 0.227)
  1370. local B = IT("Attachment",Torso)
  1371. B.Position = VT(-1,2,0)
  1372. B.Orientation = VT(-88.911, -68.808, 158.782)
  1373. local ChainLink = IT("Beam",Torso)
  1374. ChainLink.Texture = "rbxassetid://73042633"
  1375. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  1376. ChainLink.TextureSpeed = 1
  1377. ChainLink.FaceCamera = true
  1378. ChainLink.Width0 = 1
  1379. ChainLink.Width1 = 1
  1380. ChainLink.TextureLength = 3
  1381. ChainLink.Attachment0 = A
  1382. ChainLink.Attachment1 = B
  1383. ChainLink.CurveSize0 = 1.3
  1384. ChainLink.CurveSize1 = 1.3
  1385. ChainLink.FaceCamera = true
  1386. ChainLink.Transparency = NumberSequence.new(0)
  1387. local ChainLink = IT("Beam",Torso)
  1388. ChainLink.Texture = "rbxassetid://73042633"
  1389. ChainLink.Color = ColorSequence.new(C3(58,125,21))
  1390. ChainLink.TextureSpeed = 1
  1391. ChainLink.FaceCamera = true
  1392. ChainLink.Width0 = 1
  1393. ChainLink.Width1 = 1
  1394. ChainLink.TextureLength = 3
  1395. ChainLink.Attachment0 = B
  1396. ChainLink.Attachment1 = A
  1397. ChainLink.CurveSize0 = 1.3
  1398. ChainLink.CurveSize1 = 1.3
  1399. ChainLink.FaceCamera = true
  1400. ChainLink.Transparency = NumberSequence.new(0)
  1401.  
  1402. for _, c in pairs(Character:GetDescendants()) do
  1403. if c and c.Parent then
  1404. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  1405. local ACCESSORY = c.Parent
  1406. c.Parent = Character
  1407. if c then
  1408. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  1409. weldBetween(Head,c)
  1410. else
  1411. weldBetween(Torso,c)
  1412. end
  1413. end
  1414. ACCESSORY:remove()
  1415. elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1416. c.Material = "Neon"
  1417. c.Color = C3(255,255,255)
  1418. if c:FindFirstChildOfClass("SpecialMesh") then
  1419. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1420. end
  1421. if c == Head then
  1422. if c:FindFirstChild("face") then
  1423. c.face:remove()
  1424. end
  1425. end
  1426. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1427. c.Color = C3(255,255,255)
  1428. c.Material = "Neon"
  1429. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1430. c:remove()
  1431. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1432.  
  1433. end
  1434. end
  1435. end
  1436. local BODY = {}
  1437. for _, c in pairs(Character:GetDescendants()) do
  1438. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1439. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1440. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1441. end
  1442. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1443. elseif c:IsA("JointInstance") then
  1444. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1445. end
  1446. end
  1447. function refit()
  1448. Character.Parent = workspace
  1449. for e = 1, #BODY do
  1450. if BODY[e] ~= nil then
  1451. local STUFF = BODY[e]
  1452. local PART = STUFF[1]
  1453. local PARENT = STUFF[2]
  1454. local MATERIAL = STUFF[3]
  1455. local COLOR = STUFF[4]
  1456. local TRANSPARENCY = STUFF[5]
  1457. --local SIZE = STUFF[6]
  1458. local NAME = STUFF[7]
  1459. if PART.ClassName == "Part" and PART ~= RootPart then
  1460. PART.Material = MATERIAL
  1461. PART.Transparency = TRANSPARENCY
  1462. PART.Name = NAME
  1463. end
  1464. if PART.Parent ~= PARENT then
  1465. Humanoid:remove()
  1466. PART.Parent = PARENT
  1467. Humanoid = IT("Humanoid",Character)
  1468. end
  1469. end
  1470. end
  1471. end
  1472.  
  1473. local SKILLTEXTCOLOR = C3(255,255,255)
  1474. local SKILLFONT = "Fantasy"
  1475. local SKILLTEXTSIZE = 6
  1476.  
  1477. Humanoid.Died:connect(function()
  1478. refit()
  1479. end)
  1480.  
  1481. z = Instance.new("Sound", char)
  1482. z.SoundId = "rbxassetid://0"
  1483. z.Looped = true
  1484. z.Pitch = 1
  1485. z.Volume = 1
  1486. wait(.01)
  1487. z:Play()
  1488. ------------------------
  1489.  
  1490. local FavIDs = {
  1491. 340106355, --Nefl Crystals
  1492. 927529620, --Dimension
  1493. 876981900, --Fantasy
  1494. 398987889, --Ordinary Days
  1495. 1117396305, --Oh wait, it's you.
  1496. 885996042, --Action Winter Journey
  1497. 919231299, --Sprawling Idiot Effigy
  1498. 743466274, --Good Day Sunshine
  1499. 727411183, --Knife Fight
  1500. 1402748531, --The Earth Is Counting On You!
  1501. 595230126 --Robot Language
  1502. }
  1503.  
  1504.  
  1505. --The reality of my life isn't real but a Universe -makhail07
  1506. wait(0.2)
  1507. local plr = game:service'Players'.LocalPlayer
  1508. print('poot is '..plr.Name)
  1509. local char = plr.Character
  1510. local hum = char.Humanoid
  1511. local hed = char.Head
  1512. local root = char.HumanoidRootPart
  1513. local rootj = root.RootJoint
  1514. local tors = char.Torso
  1515. local ra = char["Right Arm"]
  1516. local la = char["Left Arm"]
  1517. local rl = char["Right Leg"]
  1518. local ll = char["Left Leg"]
  1519. local neck = tors["Neck"]
  1520. local mouse = plr:GetMouse()
  1521. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1522. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1523. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1524. local maincolor = BrickColor.new("Institutional white")
  1525.  
  1526. -------------------------------------------------------
  1527. --Start Good Stuff--
  1528. -------------------------------------------------------
  1529. cam = game.Workspace.CurrentCamera
  1530. CF = CFrame.new
  1531. angles = CFrame.Angles
  1532. attack = false
  1533. Euler = CFrame.fromEulerAnglesXYZ
  1534. Rad = math.rad
  1535. IT = Instance.new
  1536. BrickC = BrickColor.new
  1537. Cos = math.cos
  1538. Acos = math.acos
  1539. Sin = math.sin
  1540. Asin = math.asin
  1541. Abs = math.abs
  1542. Mrandom = math.random
  1543. Floor = math.floor
  1544. -------------------------------------------------------
  1545. --End Good Stuff--
  1546. -------------------------------------------------------
  1547. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1548. RSH, LSH = nil, nil
  1549. RW = Instance.new("Weld")
  1550. LW = Instance.new("Weld")
  1551. RH = tors["Right Hip"]
  1552. LH = tors["Left Hip"]
  1553. RSH = tors["Right Shoulder"]
  1554. LSH = tors["Left Shoulder"]
  1555. RSH.Parent = nil
  1556. LSH.Parent = nil
  1557. RW.Name = "RW"
  1558. RW.Part0 = tors
  1559. RW.C0 = CF(1.5, 0.5, 0)
  1560. RW.C1 = CF(0, 0.5, 0)
  1561. RW.Part1 = ra
  1562. RW.Parent = tors
  1563. LW.Name = "LW"
  1564. LW.Part0 = tors
  1565. LW.C0 = CF(-1.5, 0.5, 0)
  1566. LW.C1 = CF(0, 0.5, 0)
  1567. LW.Part1 = la
  1568. LW.Parent = tors
  1569. Effects = {}
  1570. -------------------------------------------------------
  1571. --Start HeartBeat--
  1572. -------------------------------------------------------
  1573. ArtificialHB = Instance.new("BindableEvent", script)
  1574. ArtificialHB.Name = "Heartbeat"
  1575. script:WaitForChild("Heartbeat")
  1576.  
  1577. frame = 1 / 60
  1578. tf = 0
  1579. allowframeloss = false
  1580. tossremainder = false
  1581.  
  1582.  
  1583. lastframe = tick()
  1584. script.Heartbeat:Fire()
  1585.  
  1586.  
  1587. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1588. tf = tf + s
  1589. if tf >= frame then
  1590. if allowframeloss then
  1591. script.Heartbeat:Fire()
  1592. lastframe = tick()
  1593. else
  1594. for i = 1, math.floor(tf / frame) do
  1595. script.Heartbeat:Fire()
  1596. end
  1597. lastframe = tick()
  1598. end
  1599. if tossremainder then
  1600. tf = 0
  1601. else
  1602. tf = tf - frame * math.floor(tf / frame)
  1603. end
  1604. end
  1605. end)
  1606. -------------------------------------------------------
  1607. --End HeartBeat--
  1608. -------------------------------------------------------
  1609.  
  1610. -------------------------------------------------------
  1611. --Start Important Functions--
  1612. -------------------------------------------------------
  1613. function swait(num)
  1614. if num == 0 or num == nil then
  1615. game:service("RunService").Stepped:wait(0)
  1616. else
  1617. for i = 0, num do
  1618. game:service("RunService").Stepped:wait(0)
  1619. end
  1620. end
  1621. end
  1622. function thread(f)
  1623. coroutine.resume(coroutine.create(f))
  1624. end
  1625. function clerp(a, b, t)
  1626. local qa = {
  1627. QuaternionFromCFrame(a)
  1628. }
  1629. local qb = {
  1630. QuaternionFromCFrame(b)
  1631. }
  1632. local ax, ay, az = a.x, a.y, a.z
  1633. local bx, by, bz = b.x, b.y, b.z
  1634. local _t = 1 - t
  1635. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1636. end
  1637. function QuaternionFromCFrame(cf)
  1638. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1639. local trace = m00 + m11 + m22
  1640. if trace > 0 then
  1641. local s = math.sqrt(1 + trace)
  1642. local recip = 0.5 / s
  1643. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1644. else
  1645. local i = 0
  1646. if m00 < m11 then
  1647. i = 1
  1648. end
  1649. if m22 > (i == 0 and m00 or m11) then
  1650. i = 2
  1651. end
  1652. if i == 0 then
  1653. local s = math.sqrt(m00 - m11 - m22 + 1)
  1654. local recip = 0.5 / s
  1655. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1656. elseif i == 1 then
  1657. local s = math.sqrt(m11 - m22 - m00 + 1)
  1658. local recip = 0.5 / s
  1659. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1660. elseif i == 2 then
  1661. local s = math.sqrt(m22 - m00 - m11 + 1)
  1662. local recip = 0.5 / s
  1663. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1664. end
  1665. end
  1666. end
  1667. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1668. local xs, ys, zs = x + x, y + y, z + z
  1669. local wx, wy, wz = w * xs, w * ys, w * zs
  1670. local xx = x * xs
  1671. local xy = x * ys
  1672. local xz = x * zs
  1673. local yy = y * ys
  1674. local yz = y * zs
  1675. local zz = z * zs
  1676. 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))
  1677. end
  1678. function QuaternionSlerp(a, b, t)
  1679. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1680. local startInterp, finishInterp
  1681. if cosTheta >= 1.0E-4 then
  1682. if 1 - cosTheta > 1.0E-4 then
  1683. local theta = math.acos(cosTheta)
  1684. local invSinTheta = 1 / Sin(theta)
  1685. startInterp = Sin((1 - t) * theta) * invSinTheta
  1686. finishInterp = Sin(t * theta) * invSinTheta
  1687. else
  1688. startInterp = 1 - t
  1689. finishInterp = t
  1690. end
  1691. elseif 1 + cosTheta > 1.0E-4 then
  1692. local theta = math.acos(-cosTheta)
  1693. local invSinTheta = 1 / Sin(theta)
  1694. startInterp = Sin((t - 1) * theta) * invSinTheta
  1695. finishInterp = Sin(t * theta) * invSinTheta
  1696. else
  1697. startInterp = t - 1
  1698. finishInterp = t
  1699. end
  1700. 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
  1701. end
  1702. function rayCast(Position, Direction, Range, Ignore)
  1703. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1704. end
  1705. local RbxUtility = LoadLibrary("RbxUtility")
  1706. local Create = RbxUtility.Create
  1707.  
  1708.  
  1709.  
  1710. function swait(num)
  1711. if num == 0 or num == nil then
  1712. game:service("RunService").Stepped:wait(0)
  1713. else
  1714. for i = 0, num do
  1715. game:service("RunService").Stepped:wait(0)
  1716. end
  1717. end
  1718. end
  1719. function thread(f)
  1720. coroutine.resume(coroutine.create(f))
  1721. end
  1722. function clerp(a, b, t)
  1723. local qa = {
  1724. QuaternionFromCFrame(a)
  1725. }
  1726. local qb = {
  1727. QuaternionFromCFrame(b)
  1728. }
  1729. local ax, ay, az = a.x, a.y, a.z
  1730. local bx, by, bz = b.x, b.y, b.z
  1731. local _t = 1 - t
  1732. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1733. end
  1734. function QuaternionFromCFrame(cf)
  1735. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1736. local trace = m00 + m11 + m22
  1737. if trace > 0 then
  1738. local s = math.sqrt(1 + trace)
  1739. local recip = 0.5 / s
  1740. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1741. else
  1742. local i = 0
  1743. if m00 < m11 then
  1744. i = 1
  1745. end
  1746. if m22 > (i == 0 and m00 or m11) then
  1747. i = 2
  1748. end
  1749. if i == 0 then
  1750. local s = math.sqrt(m00 - m11 - m22 + 1)
  1751. local recip = 0.5 / s
  1752. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1753. elseif i == 1 then
  1754. local s = math.sqrt(m11 - m22 - m00 + 1)
  1755. local recip = 0.5 / s
  1756. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1757. elseif i == 2 then
  1758. local s = math.sqrt(m22 - m00 - m11 + 1)
  1759. local recip = 0.5 / s
  1760. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1761. end
  1762. end
  1763. end
  1764. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1765. local xs, ys, zs = x + x, y + y, z + z
  1766. local wx, wy, wz = w * xs, w * ys, w * zs
  1767. local xx = x * xs
  1768. local xy = x * ys
  1769. local xz = x * zs
  1770. local yy = y * ys
  1771. local yz = y * zs
  1772. local zz = z * zs
  1773. 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))
  1774. end
  1775. function QuaternionSlerp(a, b, t)
  1776. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1777. local startInterp, finishInterp
  1778. if cosTheta >= 1.0E-4 then
  1779. if 1 - cosTheta > 1.0E-4 then
  1780. local theta = math.acos(cosTheta)
  1781. local invSinTheta = 1 / Sin(theta)
  1782. startInterp = Sin((1 - t) * theta) * invSinTheta
  1783. finishInterp = Sin(t * theta) * invSinTheta
  1784. else
  1785. startInterp = 1 - t
  1786. finishInterp = t
  1787. end
  1788. elseif 1 + cosTheta > 1.0E-4 then
  1789. local theta = math.acos(-cosTheta)
  1790. local invSinTheta = 1 / Sin(theta)
  1791. startInterp = Sin((t - 1) * theta) * invSinTheta
  1792. finishInterp = Sin(t * theta) * invSinTheta
  1793. else
  1794. startInterp = t - 1
  1795. finishInterp = t
  1796. end
  1797. 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
  1798. end
  1799. function rayCast(Position, Direction, Range, Ignore)
  1800. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1801. end
  1802. local RbxUtility = LoadLibrary("RbxUtility")
  1803. local Create = RbxUtility.Create
  1804. -------------------------------------------------------
  1805. --Start Damage Function--
  1806. -------------------------------------------------------
  1807. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1808. if hit.Parent == nil then
  1809. return
  1810. end
  1811. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1812. for _, v in pairs(hit.Parent:children()) do
  1813. if v:IsA("Humanoid") then
  1814. h = v
  1815. end
  1816. end
  1817. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1818.  
  1819. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1820. end
  1821.  
  1822. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1823. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1824. if hit.Parent.DebounceHit.Value == true then
  1825. return
  1826. end
  1827. end
  1828. if insta == true then
  1829. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1830. end
  1831. local c = Create("ObjectValue"){
  1832. Name = "creator",
  1833. Value = game:service("Players").LocalPlayer,
  1834. Parent = h,
  1835. }
  1836. game:GetService("Debris"):AddItem(c, .5)
  1837. if HitSound ~= nil and HitPitch ~= nil then
  1838. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1839. end
  1840. local Damage = math.random(minim, maxim)
  1841. local blocked = false
  1842. local block = hit.Parent:findFirstChild("Block")
  1843. if block ~= nil then
  1844. if block.className == "IntValue" then
  1845. if block.Value > 0 then
  1846. blocked = true
  1847. block.Value = block.Value - 1
  1848. print(block.Value)
  1849. end
  1850. end
  1851. end
  1852. if blocked == false then
  1853. h.Health = h.Health - Damage
  1854. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1855. else
  1856. h.Health = h.Health - (Damage / 2)
  1857. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1858. end
  1859. if Type == "Knockdown" then
  1860. local hum = hit.Parent.Humanoid
  1861. hum.PlatformStand = true
  1862. coroutine.resume(coroutine.create(function(HHumanoid)
  1863. swait(1)
  1864. HHumanoid.PlatformStand = false
  1865. end), hum)
  1866. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1867. local bodvol = Create("BodyVelocity"){
  1868. velocity = angle * knockback,
  1869. P = 5000,
  1870. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1871. Parent = hit,
  1872. }
  1873. local rl = Create("BodyAngularVelocity"){
  1874. P = 3000,
  1875. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1876. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1877. Parent = hit,
  1878. }
  1879. game:GetService("Debris"):AddItem(bodvol, .5)
  1880. game:GetService("Debris"):AddItem(rl, .5)
  1881. elseif Type == "Normal" then
  1882. local vp = Create("BodyVelocity"){
  1883. P = 500,
  1884. maxForce = Vector3.new(math.huge, 0, math.huge),
  1885. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1886. }
  1887. if knockback > 0 then
  1888. vp.Parent = hit.Parent.Torso
  1889. end
  1890. game:GetService("Debris"):AddItem(vp, .5)
  1891. elseif Type == "Up" then
  1892. local bodyVelocity = Create("BodyVelocity"){
  1893. velocity = Vector3.new(0, 20, 0),
  1894. P = 5000,
  1895. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1896. Parent = hit,
  1897. }
  1898. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1899. elseif Type == "DarkUp" then
  1900. coroutine.resume(coroutine.create(function()
  1901. for i = 0, 1, 0.1 do
  1902. swait()
  1903. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1904. end
  1905. end))
  1906. local bodyVelocity = Create("BodyVelocity"){
  1907. velocity = Vector3.new(0, 20, 0),
  1908. P = 5000,
  1909. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1910. Parent = hit,
  1911. }
  1912. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1913. elseif Type == "Snare" then
  1914. local bp = Create("BodyPosition"){
  1915. P = 2000,
  1916. D = 100,
  1917. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1918. position = hit.Parent.Torso.Position,
  1919. Parent = hit.Parent.Torso,
  1920. }
  1921. game:GetService("Debris"):AddItem(bp, 1)
  1922. elseif Type == "Freeze" then
  1923. local BodPos = Create("BodyPosition"){
  1924. P = 50000,
  1925. D = 1000,
  1926. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1927. position = hit.Parent.Torso.Position,
  1928. Parent = hit.Parent.Torso,
  1929. }
  1930. local BodGy = Create("BodyGyro") {
  1931. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1932. P = 20e+003,
  1933. Parent = hit.Parent.Torso,
  1934. cframe = hit.Parent.Torso.CFrame,
  1935. }
  1936. hit.Parent.Torso.Anchored = true
  1937. coroutine.resume(coroutine.create(function(Part)
  1938. swait(1.5)
  1939. Part.Anchored = false
  1940. end), hit.Parent.Torso)
  1941. game:GetService("Debris"):AddItem(BodPos, 3)
  1942. game:GetService("Debris"):AddItem(BodGy, 3)
  1943. end
  1944. local debounce = Create("BoolValue"){
  1945. Name = "DebounceHit",
  1946. Parent = hit.Parent,
  1947. Value = true,
  1948. }
  1949. game:GetService("Debris"):AddItem(debounce, Delay)
  1950. c = Create("ObjectValue"){
  1951. Name = "creator",
  1952. Value = Player,
  1953. Parent = h,
  1954. }
  1955. game:GetService("Debris"):AddItem(c, .5)
  1956. end
  1957. end
  1958. -------------------------------------------------------
  1959. --Start Damage Function--
  1960. -------------------------------------------------------
  1961. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1962. if hit.Parent == nil then
  1963. return
  1964. end
  1965. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1966. for _, v in pairs(hit.Parent:children()) do
  1967. if v:IsA("Humanoid") then
  1968. h = v
  1969. end
  1970. end
  1971. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1972.  
  1973. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1974. end
  1975.  
  1976. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1977. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1978. if hit.Parent.DebounceHit.Value == true then
  1979. return
  1980. end
  1981. end
  1982. if insta == true then
  1983. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1984. end
  1985. local c = Create("ObjectValue"){
  1986. Name = "creator",
  1987. Value = game:service("Players").LocalPlayer,
  1988. Parent = h,
  1989. }
  1990. game:GetService("Debris"):AddItem(c, .5)
  1991. if HitSound ~= nil and HitPitch ~= nil then
  1992. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1993. end
  1994. local Damage = math.random(minim, maxim)
  1995. local blocked = false
  1996. local block = hit.Parent:findFirstChild("Block")
  1997. if block ~= nil then
  1998. if block.className == "IntValue" then
  1999. if block.Value > 0 then
  2000. blocked = true
  2001. block.Value = block.Value - 1
  2002. print(block.Value)
  2003. end
  2004. end
  2005. end
  2006. if blocked == false then
  2007. h.Health = h.Health - Damage
  2008. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2009. else
  2010. h.Health = h.Health - (Damage / 2)
  2011. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2012. end
  2013. if Type == "Knockdown" then
  2014. local hum = hit.Parent.Humanoid
  2015. hum.PlatformStand = true
  2016. coroutine.resume(coroutine.create(function(HHumanoid)
  2017. swait(1)
  2018. HHumanoid.PlatformStand = false
  2019. end), hum)
  2020. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  2021. local bodvol = Create("BodyVelocity"){
  2022. velocity = angle * knockback,
  2023. P = 5000,
  2024. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2025. Parent = hit,
  2026. }
  2027. local rl = Create("BodyAngularVelocity"){
  2028. P = 3000,
  2029. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2030. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2031. Parent = hit,
  2032. }
  2033. game:GetService("Debris"):AddItem(bodvol, .5)
  2034. game:GetService("Debris"):AddItem(rl, .5)
  2035. elseif Type == "Normal" then
  2036. local vp = Create("BodyVelocity"){
  2037. P = 500,
  2038. maxForce = Vector3.new(math.huge, 0, math.huge),
  2039. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2040. }
  2041. if knockback > 0 then
  2042. vp.Parent = hit.Parent.Torso
  2043. end
  2044. game:GetService("Debris"):AddItem(vp, .5)
  2045. elseif Type == "Up" then
  2046. local bodyVelocity = Create("BodyVelocity"){
  2047. velocity = Vector3.new(0, 20, 0),
  2048. P = 5000,
  2049. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2050. Parent = hit,
  2051. }
  2052. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2053. elseif Type == "DarkUp" then
  2054. coroutine.resume(coroutine.create(function()
  2055. for i = 0, 1, 0.1 do
  2056. swait()
  2057. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2058. end
  2059. end))
  2060. local bodyVelocity = Create("BodyVelocity"){
  2061. velocity = Vector3.new(0, 20, 0),
  2062. P = 5000,
  2063. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2064. Parent = hit,
  2065. }
  2066. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2067. elseif Type == "Snare" then
  2068. local bp = Create("BodyPosition"){
  2069. P = 2000,
  2070. D = 100,
  2071. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2072. position = hit.Parent.Torso.Position,
  2073. Parent = hit.Parent.Torso,
  2074. }
  2075. game:GetService("Debris"):AddItem(bp, 1)
  2076. elseif Type == "Freeze" then
  2077. local BodPos = Create("BodyPosition"){
  2078. P = 50000,
  2079. D = 1000,
  2080. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2081. position = hit.Parent.Torso.Position,
  2082. Parent = hit.Parent.Torso,
  2083. }
  2084. local BodGy = Create("BodyGyro") {
  2085. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2086. P = 20e+003,
  2087. Parent = hit.Parent.Torso,
  2088. cframe = hit.Parent.Torso.CFrame,
  2089. }
  2090. hit.Parent.Torso.Anchored = true
  2091. coroutine.resume(coroutine.create(function(Part)
  2092. swait(1.5)
  2093. Part.Anchored = false
  2094. end), hit.Parent.Torso)
  2095. game:GetService("Debris"):AddItem(BodPos, 3)
  2096. game:GetService("Debris"):AddItem(BodGy, 3)
  2097. end
  2098. local debounce = Create("BoolValue"){
  2099. Name = "DebounceHit",
  2100. Parent = hit.Parent,
  2101. Value = true,
  2102. }
  2103. game:GetService("Debris"):AddItem(debounce, Delay)
  2104. c = Create("ObjectValue"){
  2105. Name = "creator",
  2106. Value = Player,
  2107. Parent = h,
  2108. }
  2109. game:GetService("Debris"):AddItem(c, .5)
  2110. end
  2111. end
  2112.  
  2113. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2114. if hit.Parent == nil then
  2115. return
  2116. end
  2117. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2118. for _, v in pairs(hit.Parent:children()) do
  2119. if v:IsA("Humanoid") then
  2120. h = v
  2121. end
  2122. end
  2123. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  2124.  
  2125. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2126. end
  2127.  
  2128. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2129. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  2130. if hit.Parent.DebounceHit.Value == true then
  2131. return
  2132. end
  2133. end
  2134. if insta == true then
  2135. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2136. end
  2137. local c = Create("ObjectValue"){
  2138. Name = "creator",
  2139. Value = game:service("Players").LocalPlayer,
  2140. Parent = h,
  2141. }
  2142. game:GetService("Debris"):AddItem(c, .5)
  2143. if HitSound ~= nil and HitPitch ~= nil then
  2144. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2145. end
  2146. local Damage = math.random(minim, maxim)
  2147. local blocked = false
  2148. local block = hit.Parent:findFirstChild("Block")
  2149. if block ~= nil then
  2150. if block.className == "IntValue" then
  2151. if block.Value > 0 then
  2152. blocked = true
  2153. block.Value = block.Value - 1
  2154. print(block.Value)
  2155. end
  2156. end
  2157. end
  2158. if blocked == false then
  2159. h.Health = h.Health - Damage
  2160. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2161. else
  2162. h.Health = h.Health - (Damage / 2)
  2163. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2164. end
  2165. if Type == "Knockdown" then
  2166. local hum = hit.Parent.Humanoid
  2167. hum.PlatformStand = true
  2168. coroutine.resume(coroutine.create(function(HHumanoid)
  2169. swait(1)
  2170. HHumanoid.PlatformStand = false
  2171. end), hum)
  2172. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  2173. local bodvol = Create("BodyVelocity"){
  2174. velocity = angle * knockback,
  2175. P = 5000,
  2176. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2177. Parent = hit,
  2178. }
  2179. local rl = Create("BodyAngularVelocity"){
  2180. P = 3000,
  2181. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2182. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2183. Parent = hit,
  2184. }
  2185. game:GetService("Debris"):AddItem(bodvol, .5)
  2186. game:GetService("Debris"):AddItem(rl, .5)
  2187. elseif Type == "Normal" then
  2188. local vp = Create("BodyVelocity"){
  2189. P = 500,
  2190. maxForce = Vector3.new(math.huge, 0, math.huge),
  2191. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2192. }
  2193. if knockback > 0 then
  2194. vp.Parent = hit.Parent.Torso
  2195. end
  2196. game:GetService("Debris"):AddItem(vp, .5)
  2197. elseif Type == "Up" then
  2198. local bodyVelocity = Create("BodyVelocity"){
  2199. velocity = Vector3.new(0, 20, 0),
  2200. P = 5000,
  2201. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2202. Parent = hit,
  2203. }
  2204. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2205. elseif Type == "DarkUp" then
  2206. coroutine.resume(coroutine.create(function()
  2207. for i = 0, 1, 0.1 do
  2208. swait()
  2209. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2210. end
  2211. end))
  2212. local bodyVelocity = Create("BodyVelocity"){
  2213. velocity = Vector3.new(0, 20, 0),
  2214. P = 5000,
  2215. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2216. Parent = hit,
  2217. }
  2218. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2219. elseif Type == "Snare" then
  2220. local bp = Create("BodyPosition"){
  2221. P = 2000,
  2222. D = 100,
  2223. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2224. position = hit.Parent.Torso.Position,
  2225. Parent = hit.Parent.Torso,
  2226. }
  2227. game:GetService("Debris"):AddItem(bp, 1)
  2228. elseif Type == "Freeze" then
  2229. local BodPos = Create("BodyPosition"){
  2230. P = 50000,
  2231. D = 1000,
  2232. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2233. position = hit.Parent.Torso.Position,
  2234. Parent = hit.Parent.Torso,
  2235. }
  2236. local BodGy = Create("BodyGyro") {
  2237. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2238. P = 20e+003,
  2239. Parent = hit.Parent.Torso,
  2240. cframe = hit.Parent.Torso.CFrame,
  2241. }
  2242. hit.Parent.Torso.Anchored = true
  2243. coroutine.resume(coroutine.create(function(Part)
  2244. swait(1.5)
  2245. Part.Anchored = false
  2246. end), hit.Parent.Torso)
  2247. game:GetService("Debris"):AddItem(BodPos, 3)
  2248. game:GetService("Debris"):AddItem(BodGy, 3)
  2249. end
  2250. local debounce = Create("BoolValue"){
  2251. Name = "DebounceHit",
  2252. Parent = hit.Parent,
  2253. Value = true,
  2254. }
  2255. game:GetService("Debris"):AddItem(debounce, Delay)
  2256. c = Create("ObjectValue"){
  2257. Name = "creator",
  2258. Value = Player,
  2259. Parent = h,
  2260. }
  2261.  
  2262. end
  2263. end
  2264. -------------------------------------------------------
  2265. --End Damage Function--
  2266. -------------------------------------------------------
  2267.  
  2268. -------------------------------------------------------
  2269. --Start Damage Function Customization--
  2270. -------------------------------------------------------
  2271. function ShowDamage(Pos, Text, Time, Color)
  2272. local Rate = (1 / 30)
  2273. local Pos = (Pos or Vector3.new(0, 0, 0))
  2274. local Text = (Text or "")
  2275. local Time = (Time or 2)
  2276. local Color = (Color or Color3.new(1, 0, 1))
  2277. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2278. EffectPart.Anchored = true
  2279. local BillboardGui = Create("BillboardGui"){
  2280. Size = UDim2.new(3, 0, 3, 0),
  2281. Adornee = EffectPart,
  2282. Parent = EffectPart,
  2283. }
  2284. local TextLabel = Create("TextLabel"){
  2285. BackgroundTransparency = 1,
  2286. Size = UDim2.new(1, 0, 1, 0),
  2287. Text = Text,
  2288. Font = "Bodoni",
  2289. TextColor3 = Color,
  2290. TextScaled = true,
  2291. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  2292. Parent = BillboardGui,
  2293. }
  2294. game.Debris:AddItem(EffectPart, (Time))
  2295. EffectPart.Parent = game:GetService("Workspace")
  2296. delay(0, function()
  2297. local Frames = (Time / Rate)
  2298. for Frame = 1, Frames do
  2299. wait(Rate)
  2300. local Percent = (Frame / Frames)
  2301. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2302. TextLabel.TextTransparency = Percent
  2303. end
  2304. if EffectPart and EffectPart.Parent then
  2305. EffectPart:Destroy()
  2306. end
  2307. end)
  2308. end
  2309. -------------------------------------------------------
  2310. --End Damage Function Customization--
  2311. -------------------------------------------------------
  2312. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2313. for _, c in pairs(workspace:children()) do
  2314. local hum = c:findFirstChild("Humanoid")
  2315. if hum ~= nil then
  2316. local head = c:findFirstChild("Head")
  2317. if head ~= nil then
  2318. local targ = head.Position - Part.Position
  2319. local mag = targ.magnitude
  2320. if magni >= mag and c.Name ~= plr.Name then
  2321. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  2322. end
  2323. end
  2324. end
  2325. end
  2326. end
  2327.  
  2328.  
  2329. CFuncs = {
  2330. Part = {
  2331. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2332. local Part = Create("Part")({
  2333. Parent = Parent,
  2334. Reflectance = Reflectance,
  2335. Transparency = Transparency,
  2336. CanCollide = false,
  2337. Locked = true,
  2338. BrickColor = BrickColor.new(tostring(BColor)),
  2339. Name = Name,
  2340. Size = Size,
  2341. Material = Material
  2342. })
  2343. RemoveOutlines(Part)
  2344. return Part
  2345. end
  2346. },
  2347. Mesh = {
  2348. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2349. local Msh = Create(Mesh)({
  2350. Parent = Part,
  2351. Offset = OffSet,
  2352. Scale = Scale
  2353. })
  2354. if Mesh == "SpecialMesh" then
  2355. Msh.MeshType = MeshType
  2356. Msh.MeshId = MeshId
  2357. end
  2358. return Msh
  2359. end
  2360. },
  2361. Mesh = {
  2362. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2363. local Msh = Create(Mesh)({
  2364. Parent = Part,
  2365. Offset = OffSet,
  2366. Scale = Scale
  2367. })
  2368. if Mesh == "SpecialMesh" then
  2369. Msh.MeshType = MeshType
  2370. Msh.MeshId = MeshId
  2371. end
  2372. return Msh
  2373. end
  2374. },
  2375. Weld = {
  2376. Create = function(Parent, Part0, Part1, C0, C1)
  2377. local Weld = Create("Weld")({
  2378. Parent = Parent,
  2379. Part0 = Part0,
  2380. Part1 = Part1,
  2381. C0 = C0,
  2382. C1 = C1
  2383. })
  2384. return Weld
  2385. end
  2386. },
  2387. Sound = {
  2388. Create = function(id, par, vol, pit)
  2389. coroutine.resume(coroutine.create(function()
  2390. local S = Create("Sound")({
  2391. Volume = vol,
  2392. Pitch = pit or 1,
  2393. SoundId = id,
  2394. Parent = par or workspace
  2395. })
  2396. wait()
  2397. S:play()
  2398. game:GetService("Debris"):AddItem(S, 6)
  2399. end))
  2400. end
  2401. },
  2402. ParticleEmitter = {
  2403. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2404. local fp = Create("ParticleEmitter")({
  2405. Parent = Parent,
  2406. Color = ColorSequence.new(Color1, Color2),
  2407. LightEmission = LightEmission,
  2408. Size = Size,
  2409. Texture = Texture,
  2410. Transparency = Transparency,
  2411. ZOffset = ZOffset,
  2412. Acceleration = Accel,
  2413. Drag = Drag,
  2414. LockedToPart = LockedToPart,
  2415. VelocityInheritance = VelocityInheritance,
  2416. EmissionDirection = EmissionDirection,
  2417. Enabled = Enabled,
  2418. Lifetime = LifeTime,
  2419. Rate = Rate,
  2420. Rotation = Rotation,
  2421. RotSpeed = RotSpeed,
  2422. Speed = Speed,
  2423. VelocitySpread = VelocitySpread
  2424. })
  2425. return fp
  2426. end
  2427. }
  2428. }
  2429. function RemoveOutlines(part)
  2430. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2431. end
  2432. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2433. local Part = Create("Part")({
  2434. formFactor = FormFactor,
  2435. Parent = Parent,
  2436. Reflectance = Reflectance,
  2437. Transparency = Transparency,
  2438. CanCollide = false,
  2439. Locked = true,
  2440. BrickColor = BrickColor.new(tostring(BColor)),
  2441. Name = Name,
  2442. Size = Size,
  2443. Material = Material
  2444. })
  2445. RemoveOutlines(Part)
  2446. return Part
  2447. end
  2448. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2449. local Msh = Create(Mesh)({
  2450. Parent = Part,
  2451. Offset = OffSet,
  2452. Scale = Scale
  2453. })
  2454. if Mesh == "SpecialMesh" then
  2455. Msh.MeshType = MeshType
  2456. Msh.MeshId = MeshId
  2457. end
  2458. return Msh
  2459. end
  2460. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2461. local Weld = Create("Weld")({
  2462. Parent = Parent,
  2463. Part0 = Part0,
  2464. Part1 = Part1,
  2465. C0 = C0,
  2466. C1 = C1
  2467. })
  2468. return Weld
  2469. end
  2470.  
  2471.  
  2472.  
  2473. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2474. for _, c in pairs(workspace:children()) do
  2475. local hum = c:findFirstChild("Humanoid")
  2476. if hum ~= nil then
  2477. local head = c:findFirstChild("Head")
  2478. if head ~= nil then
  2479. local targ = head.Position - Part.Position
  2480. local mag = targ.magnitude
  2481. if magni >= mag and c.Name ~= plr.Name then
  2482. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  2483. end
  2484. end
  2485. end
  2486. end
  2487. end
  2488.  
  2489.  
  2490. CFuncs = {
  2491. Part = {
  2492. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2493. local Part = Create("Part")({
  2494. Parent = Parent,
  2495. Reflectance = Reflectance,
  2496. Transparency = Transparency,
  2497. CanCollide = false,
  2498. Locked = true,
  2499. BrickColor = BrickColor.new(tostring(BColor)),
  2500. Name = Name,
  2501. Size = Size,
  2502. Material = Material
  2503. })
  2504. RemoveOutlines(Part)
  2505. return Part
  2506. end
  2507. },
  2508. Mesh = {
  2509. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2510. local Msh = Create(Mesh)({
  2511. Parent = Part,
  2512. Offset = OffSet,
  2513. Scale = Scale
  2514. })
  2515. if Mesh == "SpecialMesh" then
  2516. Msh.MeshType = MeshType
  2517. Msh.MeshId = MeshId
  2518. end
  2519. return Msh
  2520. end
  2521. },
  2522. Mesh = {
  2523. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2524. local Msh = Create(Mesh)({
  2525. Parent = Part,
  2526. Offset = OffSet,
  2527. Scale = Scale
  2528. })
  2529. if Mesh == "SpecialMesh" then
  2530. Msh.MeshType = MeshType
  2531. Msh.MeshId = MeshId
  2532. end
  2533. return Msh
  2534. end
  2535. },
  2536. Weld = {
  2537. Create = function(Parent, Part0, Part1, C0, C1)
  2538. local Weld = Create("Weld")({
  2539. Parent = Parent,
  2540. Part0 = Part0,
  2541. Part1 = Part1,
  2542. C0 = C0,
  2543. C1 = C1
  2544. })
  2545. return Weld
  2546. end
  2547. },
  2548. Sound = {
  2549. Create = function(id, par, vol, pit)
  2550. coroutine.resume(coroutine.create(function()
  2551. local S = Create("Sound")({
  2552. Volume = vol,
  2553. Pitch = pit or 1,
  2554. SoundId = id,
  2555. Parent = par or workspace
  2556. })
  2557. wait()
  2558. S:play()
  2559. game:GetService("Debris"):AddItem(S, 6)
  2560. end))
  2561. end
  2562. },
  2563. ParticleEmitter = {
  2564. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2565. local fp = Create("ParticleEmitter")({
  2566. Parent = Parent,
  2567. Color = ColorSequence.new(Color1, Color2),
  2568. LightEmission = LightEmission,
  2569. Size = Size,
  2570. Texture = Texture,
  2571. Transparency = Transparency,
  2572. ZOffset = ZOffset,
  2573. Acceleration = Accel,
  2574. Drag = Drag,
  2575. LockedToPart = LockedToPart,
  2576. VelocityInheritance = VelocityInheritance,
  2577. EmissionDirection = EmissionDirection,
  2578. Enabled = Enabled,
  2579. Lifetime = LifeTime,
  2580. Rate = Rate,
  2581. Rotation = Rotation,
  2582. RotSpeed = RotSpeed,
  2583. Speed = Speed,
  2584. VelocitySpread = VelocitySpread
  2585. })
  2586. return fp
  2587. end
  2588. }
  2589. }
  2590. function RemoveOutlines(part)
  2591. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2592. end
  2593. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2594. local Part = Create("Part")({
  2595. formFactor = FormFactor,
  2596. Parent = Parent,
  2597. Reflectance = Reflectance,
  2598. Transparency = Transparency,
  2599. CanCollide = false,
  2600. Locked = true,
  2601. BrickColor = BrickColor.new(tostring(BColor)),
  2602. Name = Name,
  2603. Size = Size,
  2604. Material = Material
  2605. })
  2606. RemoveOutlines(Part)
  2607. return Part
  2608. end
  2609. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2610. local Msh = Create(Mesh)({
  2611. Parent = Part,
  2612. Offset = OffSet,
  2613. Scale = Scale
  2614. })
  2615. if Mesh == "SpecialMesh" then
  2616. Msh.MeshType = MeshType
  2617. Msh.MeshId = MeshId
  2618. end
  2619. return Msh
  2620. end
  2621. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2622. local Weld = Create("Weld")({
  2623. Parent = Parent,
  2624. Part0 = Part0,
  2625. Part1 = Part1,
  2626. C0 = C0,
  2627. C1 = C1
  2628. })
  2629. return Weld
  2630. end
  2631.  
  2632.  
  2633. -------------------------------------------------------
  2634. --Start Effect Function--
  2635. -------------------------------------------------------
  2636. EffectModel = Instance.new("Model", char)
  2637. Effects = {
  2638. Block = {
  2639. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2640. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2641. prt.Anchored = true
  2642. prt.CFrame = cframe
  2643. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2644. game:GetService("Debris"):AddItem(prt, 10)
  2645. if Type == 1 or Type == nil then
  2646. table.insert(Effects, {
  2647. prt,
  2648. "Block1",
  2649. delay,
  2650. x3,
  2651. y3,
  2652. z3,
  2653. msh
  2654. })
  2655. elseif Type == 2 then
  2656. table.insert(Effects, {
  2657. prt,
  2658. "Block2",
  2659. delay,
  2660. x3,
  2661. y3,
  2662. z3,
  2663. msh
  2664. })
  2665. else
  2666. table.insert(Effects, {
  2667. prt,
  2668. "Block3",
  2669. delay,
  2670. x3,
  2671. y3,
  2672. z3,
  2673. msh
  2674. })
  2675. end
  2676. end
  2677. },
  2678. Sphere = {
  2679. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2680. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2681. prt.Anchored = true
  2682. prt.CFrame = cframe
  2683. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2684. game:GetService("Debris"):AddItem(prt, 10)
  2685. table.insert(Effects, {
  2686. prt,
  2687. "Cylinder",
  2688. delay,
  2689. x3,
  2690. y3,
  2691. z3,
  2692. msh
  2693. })
  2694. end
  2695. },
  2696. Cylinder = {
  2697. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2698. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2699. prt.Anchored = true
  2700. prt.CFrame = cframe
  2701. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2702. game:GetService("Debris"):AddItem(prt, 10)
  2703. table.insert(Effects, {
  2704. prt,
  2705. "Cylinder",
  2706. delay,
  2707. x3,
  2708. y3,
  2709. z3,
  2710. msh
  2711. })
  2712. end
  2713. },
  2714. Wave = {
  2715. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2716. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2717. prt.Anchored = true
  2718. prt.CFrame = cframe
  2719. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  2720. game:GetService("Debris"):AddItem(prt, 10)
  2721. table.insert(Effects, {
  2722. prt,
  2723. "Cylinder",
  2724. delay,
  2725. x3 / 60,
  2726. y3 / 60,
  2727. z3 / 60,
  2728. msh
  2729. })
  2730. end
  2731. },
  2732. Ring = {
  2733. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2734. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2735. prt.Anchored = true
  2736. prt.CFrame = cframe
  2737. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2738. game:GetService("Debris"):AddItem(prt, 10)
  2739. table.insert(Effects, {
  2740. prt,
  2741. "Cylinder",
  2742. delay,
  2743. x3,
  2744. y3,
  2745. z3,
  2746. msh
  2747. })
  2748. end
  2749. },
  2750. Break = {
  2751. Create = function(brickcolor, cframe, x1, y1, z1)
  2752. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2753. prt.Anchored = true
  2754. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2755. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2756. local num = math.random(10, 50) / 1000
  2757. game:GetService("Debris"):AddItem(prt, 10)
  2758. table.insert(Effects, {
  2759. prt,
  2760. "Shatter",
  2761. num,
  2762. prt.CFrame,
  2763. math.random() - math.random(),
  2764. 0,
  2765. math.random(50, 100) / 100
  2766. })
  2767. end
  2768. },
  2769. Spiral = {
  2770. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2771. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2772. prt.Anchored = true
  2773. prt.CFrame = cframe
  2774. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2775. game:GetService("Debris"):AddItem(prt, 10)
  2776. table.insert(Effects, {
  2777. prt,
  2778. "Cylinder",
  2779. delay,
  2780. x3,
  2781. y3,
  2782. z3,
  2783. msh
  2784. })
  2785. end
  2786. },
  2787. Push = {
  2788. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2789. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2790. prt.Anchored = true
  2791. prt.CFrame = cframe
  2792. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2793. game:GetService("Debris"):AddItem(prt, 10)
  2794. table.insert(Effects, {
  2795. prt,
  2796. "Cylinder",
  2797. delay,
  2798. x3,
  2799. y3,
  2800. z3,
  2801. msh
  2802. })
  2803. end
  2804. }
  2805. }
  2806. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  2807. local fp = IT("Part")
  2808. fp.formFactor = formfactor
  2809. fp.Parent = parent
  2810. fp.Reflectance = reflectance
  2811. fp.Transparency = transparency
  2812. fp.CanCollide = false
  2813. fp.Locked = true
  2814. fp.BrickColor = brickcolor
  2815. fp.Name = name
  2816. fp.Size = size
  2817. fp.Position = tors.Position
  2818. RemoveOutlines(fp)
  2819. fp.Material = "SmoothPlastic"
  2820. fp:BreakJoints()
  2821. return fp
  2822. end
  2823.  
  2824. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2825. local mesh = IT(Mesh)
  2826. mesh.Parent = part
  2827. if Mesh == "SpecialMesh" then
  2828. mesh.MeshType = meshtype
  2829. if meshid ~= "nil" then
  2830. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  2831. end
  2832. end
  2833. mesh.Offset = offset
  2834. mesh.Scale = scale
  2835. return mesh
  2836. end
  2837.  
  2838. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  2839. local type = type
  2840. local rng = Instance.new("Part", char)
  2841. rng.Anchored = true
  2842. rng.BrickColor = color
  2843. rng.CanCollide = false
  2844. rng.FormFactor = 3
  2845. rng.Name = "Ring"
  2846. rng.Material = "Neon"
  2847. rng.Size = Vector3.new(1, 1, 1)
  2848. rng.Transparency = 0
  2849. rng.TopSurface = 0
  2850. rng.BottomSurface = 0
  2851. rng.CFrame = pos
  2852. local rngm = Instance.new("SpecialMesh", rng)
  2853. rngm.MeshType = MType
  2854. rngm.Scale = scale
  2855. local scaler2 = 1
  2856. if type == "Add" then
  2857. scaler2 = 1 * value
  2858. elseif type == "Divide" then
  2859. scaler2 = 1 / value
  2860. end
  2861. coroutine.resume(coroutine.create(function()
  2862. for i = 0, 10 / bonuspeed, 0.1 do
  2863. swait()
  2864. if type == "Add" then
  2865. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2866. elseif type == "Divide" then
  2867. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2868. end
  2869. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2870. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  2871. end
  2872. rng:Destroy()
  2873. end))
  2874. end
  2875.  
  2876. function Eviscerate(dude)
  2877. if dude.Name ~= char then
  2878. local bgf = IT("BodyGyro", dude.Head)
  2879. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2880. local val = IT("BoolValue", dude)
  2881. val.Name = "IsHit"
  2882. local ds = coroutine.wrap(function()
  2883. dude:WaitForChild("Head"):BreakJoints()
  2884. wait(0.5)
  2885. target = nil
  2886. coroutine.resume(coroutine.create(function()
  2887. for i, v in pairs(dude:GetChildren()) do
  2888. if v:IsA("Accessory") then
  2889. v:Destroy()
  2890. end
  2891. if v:IsA("Humanoid") then
  2892. v:Destroy()
  2893. end
  2894. if v:IsA("CharacterMesh") then
  2895. v:Destroy()
  2896. end
  2897. if v:IsA("Model") then
  2898. v:Destroy()
  2899. end
  2900. if v:IsA("Part") or v:IsA("MeshPart") then
  2901. for x, o in pairs(v:GetChildren()) do
  2902. if o:IsA("Decal") then
  2903. o:Destroy()
  2904. end
  2905. end
  2906. coroutine.resume(coroutine.create(function()
  2907. v.Material = "Neon"
  2908. v.CanCollide = false
  2909. local PartEmmit1 = IT("ParticleEmitter", v)
  2910. PartEmmit1.LightEmission = 1
  2911. PartEmmit1.Texture = "rbxassetid://284205403"
  2912. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2913. PartEmmit1.Rate = 150
  2914. PartEmmit1.Lifetime = NumberRange.new(1)
  2915. PartEmmit1.Size = NumberSequence.new({
  2916. NumberSequenceKeypoint.new(0, 0.75, 0),
  2917. NumberSequenceKeypoint.new(1, 0, 0)
  2918. })
  2919. PartEmmit1.Transparency = NumberSequence.new({
  2920. NumberSequenceKeypoint.new(0, 0, 0),
  2921. NumberSequenceKeypoint.new(1, 1, 0)
  2922. })
  2923. PartEmmit1.Speed = NumberRange.new(0, 0)
  2924. PartEmmit1.VelocitySpread = 30000
  2925. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  2926. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  2927. local BodPoss = IT("BodyPosition", v)
  2928. BodPoss.P = 3000
  2929. BodPoss.D = 1000
  2930. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2931. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2932. v.Color = maincolor.Color
  2933. coroutine.resume(coroutine.create(function()
  2934. for i = 0, 49 do
  2935. swait(1)
  2936. v.Transparency = v.Transparency + 0.08
  2937. end
  2938. wait(0.5)
  2939. PartEmmit1.Enabled = false
  2940. wait(3)
  2941. v:Destroy()
  2942. dude:Destroy()
  2943. end))
  2944. end))
  2945. end
  2946. end
  2947. end))
  2948. end)
  2949. ds()
  2950. end
  2951. end
  2952.  
  2953. function FindNearestHead(Position, Distance, SinglePlayer)
  2954. if SinglePlayer then
  2955. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  2956. end
  2957. local List = {}
  2958. for i, v in pairs(workspace:GetChildren()) do
  2959. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  2960. table.insert(List, v)
  2961. end
  2962. end
  2963. return List
  2964. end
  2965.  
  2966. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  2967. local type = type
  2968. local rng = Instance.new("Part", char)
  2969. rng.Anchored = true
  2970. rng.BrickColor = color
  2971. rng.CanCollide = false
  2972. rng.FormFactor = 3
  2973. rng.Name = "Ring"
  2974. rng.Material = "Neon"
  2975. rng.Size = Vector3.new(1, 1, 1)
  2976. rng.Transparency = 0
  2977. rng.TopSurface = 0
  2978. rng.BottomSurface = 0
  2979. rng.CFrame = pos
  2980. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2981. local rngm = Instance.new("SpecialMesh", rng)
  2982. rngm.MeshType = MType
  2983. rngm.Scale = Vector3.new(x1, y1, z1)
  2984. local scaler2 = 1
  2985. local speeder = FastSpeed
  2986. if type == "Add" then
  2987. scaler2 = 1 * value
  2988. elseif type == "Divide" then
  2989. scaler2 = 1 / value
  2990. end
  2991. coroutine.resume(coroutine.create(function()
  2992. for i = 0, 10 / bonuspeed, 0.1 do
  2993. swait()
  2994. if type == "Add" then
  2995. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2996. elseif type == "Divide" then
  2997. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2998. end
  2999. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  3000. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  3001. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3002. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  3003. end
  3004. rng:Destroy()
  3005. end))
  3006. end
  3007.  
  3008. function SoulSteal(dude)
  3009. if dude.Name ~= char then
  3010. local bgf = IT("BodyGyro", dude.Head)
  3011. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3012. local val = IT("BoolValue", dude)
  3013. val.Name = "IsHit"
  3014. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  3015. local soulst = coroutine.wrap(function()
  3016. local soul = Instance.new("Part",dude)
  3017. soul.Size = Vector3.new(1,1,1)
  3018. soul.CanCollide = false
  3019. soul.Anchored = false
  3020. soul.Position = torso.Position
  3021. soul.Transparency = 1
  3022. local PartEmmit1 = IT("ParticleEmitter", soul)
  3023. PartEmmit1.LightEmission = 1
  3024. PartEmmit1.Texture = "rbxassetid://569507414"
  3025. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3026. PartEmmit1.Rate = 250
  3027. PartEmmit1.Lifetime = NumberRange.new(1.6)
  3028. PartEmmit1.Size = NumberSequence.new({
  3029. NumberSequenceKeypoint.new(0, 1, 0),
  3030. NumberSequenceKeypoint.new(1, 0, 0)
  3031. })
  3032. PartEmmit1.Transparency = NumberSequence.new({
  3033. NumberSequenceKeypoint.new(0, 0, 0),
  3034. NumberSequenceKeypoint.new(1, 1, 0)
  3035. })
  3036. PartEmmit1.Speed = NumberRange.new(0, 0)
  3037. PartEmmit1.VelocitySpread = 30000
  3038. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  3039. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  3040. local BodPoss = IT("BodyPosition", soul)
  3041. BodPoss.P = 3000
  3042. BodPoss.D = 1000
  3043. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3044. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3045. wait(1.6)
  3046. soul.Touched:connect(function(hit)
  3047. if hit.Parent == char then
  3048. soul:Destroy()
  3049. end
  3050. end)
  3051. wait(1.2)
  3052. while soul do
  3053. swait()
  3054. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3055. BodPoss.Position = tors.Position
  3056. end
  3057. end)
  3058. soulst()
  3059. end
  3060. end
  3061. function FaceMouse()
  3062. local Cam = workspace.CurrentCamera
  3063. return {
  3064. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3065. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3066. }
  3067. end
  3068. -------------------------------------------------------
  3069. --Start Effect Function--
  3070. ------------------------------------------------------
  3071. EffectModel = Instance.new("Model", char)
  3072. Effects = {
  3073. Block = {
  3074. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3075. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3076. prt.Anchored = true
  3077. prt.CFrame = cframe
  3078. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3079. game:GetService("Debris"):AddItem(prt, 10)
  3080. if Type == 1 or Type == nil then
  3081. table.insert(Effects, {
  3082. prt,
  3083. "Block1",
  3084. delay,
  3085. x3,
  3086. y3,
  3087. z3,
  3088. msh
  3089. })
  3090. elseif Type == 2 then
  3091. table.insert(Effects, {
  3092. prt,
  3093. "Block2",
  3094. delay,
  3095. x3,
  3096. y3,
  3097. z3,
  3098. msh
  3099. })
  3100. else
  3101. table.insert(Effects, {
  3102. prt,
  3103. "Block3",
  3104. delay,
  3105. x3,
  3106. y3,
  3107. z3,
  3108. msh
  3109. })
  3110. end
  3111. end
  3112. },
  3113. Sphere = {
  3114. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3115. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3116. prt.Anchored = true
  3117. prt.CFrame = cframe
  3118. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3119. game:GetService("Debris"):AddItem(prt, 10)
  3120. table.insert(Effects, {
  3121. prt,
  3122. "Cylinder",
  3123. delay,
  3124. x3,
  3125. y3,
  3126. z3,
  3127. msh
  3128. })
  3129. end
  3130. },
  3131. Cylinder = {
  3132. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3133. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3134. prt.Anchored = true
  3135. prt.CFrame = cframe
  3136. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3137. game:GetService("Debris"):AddItem(prt, 10)
  3138. table.insert(Effects, {
  3139. prt,
  3140. "Cylinder",
  3141. delay,
  3142. x3,
  3143. y3,
  3144. z3,
  3145. msh
  3146. })
  3147. end
  3148. },
  3149. Wave = {
  3150. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3151. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3152. prt.Anchored = true
  3153. prt.CFrame = cframe
  3154. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  3155. game:GetService("Debris"):AddItem(prt, 10)
  3156. table.insert(Effects, {
  3157. prt,
  3158. "Cylinder",
  3159. delay,
  3160. x3 / 60,
  3161. y3 / 60,
  3162. z3 / 60,
  3163. msh
  3164. })
  3165. end
  3166. },
  3167. Ring = {
  3168. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3169. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3170. prt.Anchored = true
  3171. prt.CFrame = cframe
  3172. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3173. game:GetService("Debris"):AddItem(prt, 10)
  3174. table.insert(Effects, {
  3175. prt,
  3176. "Cylinder",
  3177. delay,
  3178. x3,
  3179. y3,
  3180. z3,
  3181. msh
  3182. })
  3183. end
  3184. },
  3185. Break = {
  3186. Create = function(brickcolor, cframe, x1, y1, z1)
  3187. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3188. prt.Anchored = true
  3189. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3190. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3191. local num = math.random(10, 50) / 1000
  3192. game:GetService("Debris"):AddItem(prt, 10)
  3193. table.insert(Effects, {
  3194. prt,
  3195. "Shatter",
  3196. num,
  3197. prt.CFrame,
  3198. math.random() - math.random(),
  3199. 0,
  3200. math.random(50, 100) / 100
  3201. })
  3202. end
  3203. },
  3204. Spiral = {
  3205. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3206. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3207. prt.Anchored = true
  3208. prt.CFrame = cframe
  3209. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3210. game:GetService("Debris"):AddItem(prt, 10)
  3211. table.insert(Effects, {
  3212. prt,
  3213. "Cylinder",
  3214. delay,
  3215. x3,
  3216. y3,
  3217. z3,
  3218. msh
  3219. })
  3220. end
  3221. },
  3222. Push = {
  3223. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3224. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3225. prt.Anchored = true
  3226. prt.CFrame = cframe
  3227. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3228. game:GetService("Debris"):AddItem(prt, 10)
  3229. table.insert(Effects, {
  3230. prt,
  3231. "Cylinder",
  3232. delay,
  3233. x3,
  3234. y3,
  3235. z3,
  3236. msh
  3237. })
  3238. end
  3239. }
  3240. }
  3241. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  3242. local fp = IT("Part")
  3243. fp.formFactor = formfactor
  3244. fp.Parent = parent
  3245. fp.Reflectance = reflectance
  3246. fp.Transparency = transparency
  3247. fp.CanCollide = false
  3248. fp.Locked = true
  3249. fp.BrickColor = brickcolor
  3250. fp.Name = name
  3251. fp.Size = size
  3252. fp.Position = tors.Position
  3253. RemoveOutlines(fp)
  3254. fp.Material = "SmoothPlastic"
  3255. fp:BreakJoints()
  3256. return fp
  3257. end
  3258.  
  3259. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3260. local mesh = IT(Mesh)
  3261. mesh.Parent = part
  3262. if Mesh == "SpecialMesh" then
  3263. mesh.MeshType = meshtype
  3264. if meshid ~= "nil" then
  3265. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  3266. end
  3267. end
  3268. mesh.Offset = offset
  3269. mesh.Scale = scale
  3270. return mesh
  3271. end
  3272.  
  3273. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  3274. local type = type
  3275. local rng = Instance.new("Part", char)
  3276. rng.Anchored = true
  3277. rng.BrickColor = color
  3278. rng.CanCollide = false
  3279. rng.FormFactor = 3
  3280. rng.Name = "Ring"
  3281. rng.Material = "Neon"
  3282. rng.Size = Vector3.new(1, 1, 1)
  3283. rng.Transparency = 0
  3284. rng.TopSurface = 0
  3285. rng.BottomSurface = 0
  3286. rng.CFrame = pos
  3287. local rngm = Instance.new("SpecialMesh", rng)
  3288. rngm.MeshType = MType
  3289. rngm.Scale = scale
  3290. local scaler2 = 1
  3291. if type == "Add" then
  3292. scaler2 = 1 * value
  3293. elseif type == "Divide" then
  3294. scaler2 = 1 / value
  3295. end
  3296. coroutine.resume(coroutine.create(function()
  3297. for i = 0, 10 / bonuspeed, 0.1 do
  3298. swait()
  3299. if type == "Add" then
  3300. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3301. elseif type == "Divide" then
  3302. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3303. end
  3304. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3305. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  3306. end
  3307. rng:Destroy()
  3308. end))
  3309. end
  3310.  
  3311. function Eviscerate(dude)
  3312. if dude.Name ~= char then
  3313. local bgf = IT("BodyGyro", dude.Head)
  3314. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3315. local val = IT("BoolValue", dude)
  3316. val.Name = "IsHit"
  3317. local ds = coroutine.wrap(function()
  3318. dude:WaitForChild("Head"):BreakJoints()
  3319. wait(0.5)
  3320. target = nil
  3321. coroutine.resume(coroutine.create(function()
  3322. for i, v in pairs(dude:GetChildren()) do
  3323. if v:IsA("Accessory") then
  3324. v:Destroy()
  3325. end
  3326. if v:IsA("Humanoid") then
  3327. v:Destroy()
  3328. end
  3329. if v:IsA("CharacterMesh") then
  3330. v:Destroy()
  3331. end
  3332. if v:IsA("Model") then
  3333. v:Destroy()
  3334. end
  3335. if v:IsA("Part") or v:IsA("MeshPart") then
  3336. for x, o in pairs(v:GetChildren()) do
  3337. if o:IsA("Decal") then
  3338. o:Destroy()
  3339. end
  3340. end
  3341. coroutine.resume(coroutine.create(function()
  3342. v.Material = "Neon"
  3343. v.CanCollide = false
  3344. local PartEmmit1 = IT("ParticleEmitter", v)
  3345. PartEmmit1.LightEmission = 1
  3346. PartEmmit1.Texture = "rbxassetid://284205403"
  3347. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3348. PartEmmit1.Rate = 150
  3349. PartEmmit1.Lifetime = NumberRange.new(1)
  3350. PartEmmit1.Size = NumberSequence.new({
  3351. NumberSequenceKeypoint.new(0, 0.75, 0),
  3352. NumberSequenceKeypoint.new(1, 0, 0)
  3353. })
  3354. PartEmmit1.Transparency = NumberSequence.new({
  3355. NumberSequenceKeypoint.new(0, 0, 0),
  3356. NumberSequenceKeypoint.new(1, 1, 0)
  3357. })
  3358. PartEmmit1.Speed = NumberRange.new(0, 0)
  3359. PartEmmit1.VelocitySpread = 30000
  3360. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  3361. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  3362. local BodPoss = IT("BodyPosition", v)
  3363. BodPoss.P = 3000
  3364. BodPoss.D = 1000
  3365. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3366. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3367. v.Color = maincolor.Color
  3368. coroutine.resume(coroutine.create(function()
  3369. for i = 0, 49 do
  3370. swait(1)
  3371. v.Transparency = v.Transparency + 0.08
  3372. end
  3373. wait(0.5)
  3374. PartEmmit1.Enabled = false
  3375. wait(3)
  3376. v:Destroy()
  3377. dude:Destroy()
  3378. end))
  3379. end))
  3380. end
  3381. end
  3382. end))
  3383. end)
  3384. ds()
  3385. end
  3386. end
  3387.  
  3388. function FindNearestHead(Position, Distance, SinglePlayer)
  3389. if SinglePlayer then
  3390. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  3391. end
  3392. local List = {}
  3393. for i, v in pairs(workspace:GetChildren()) do
  3394. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  3395. table.insert(List, v)
  3396. end
  3397. end
  3398. return List
  3399. end
  3400.  
  3401. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  3402. local type = type
  3403. local rng = Instance.new("Part", char)
  3404. rng.Anchored = true
  3405. rng.BrickColor = color
  3406. rng.CanCollide = false
  3407. rng.FormFactor = 3
  3408. rng.Name = "Ring"
  3409. rng.Material = "Neon"
  3410. rng.Size = Vector3.new(1, 1, 1)
  3411. rng.Transparency = 0
  3412. rng.TopSurface = 0
  3413. rng.BottomSurface = 0
  3414. rng.CFrame = pos
  3415. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  3416. local rngm = Instance.new("SpecialMesh", rng)
  3417. rngm.MeshType = MType
  3418. rngm.Scale = Vector3.new(x1, y1, z1)
  3419. local scaler2 = 1
  3420. local speeder = FastSpeed
  3421. if type == "Add" then
  3422. scaler2 = 1 * value
  3423. elseif type == "Divide" then
  3424. scaler2 = 1 / value
  3425. end
  3426. coroutine.resume(coroutine.create(function()
  3427. for i = 0, 10 / bonuspeed, 0.1 do
  3428. swait()
  3429. if type == "Add" then
  3430. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3431. elseif type == "Divide" then
  3432. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3433. end
  3434. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  3435. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  3436. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3437. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  3438. end
  3439. rng:Destroy()
  3440. end))
  3441. end
  3442.  
  3443. function SoulSteal(dude)
  3444. if dude.Name ~= char then
  3445. local bgf = IT("BodyGyro", dude.Head)
  3446. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3447. local val = IT("BoolValue", dude)
  3448. val.Name = "IsHit"
  3449. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  3450. local soulst = coroutine.wrap(function()
  3451. local soul = Instance.new("Part",dude)
  3452. soul.Size = Vector3.new(1,1,1)
  3453. soul.CanCollide = false
  3454. soul.Anchored = false
  3455. soul.Position = torso.Position
  3456. soul.Transparency = 1
  3457. local PartEmmit1 = IT("ParticleEmitter", soul)
  3458. PartEmmit1.LightEmission = 1
  3459. PartEmmit1.Texture = "rbxassetid://569507414"
  3460. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3461. PartEmmit1.Rate = 250
  3462. PartEmmit1.Lifetime = NumberRange.new(1.6)
  3463. PartEmmit1.Size = NumberSequence.new({
  3464. NumberSequenceKeypoint.new(0, 1, 0),
  3465. NumberSequenceKeypoint.new(1, 0, 0)
  3466. })
  3467. PartEmmit1.Transparency = NumberSequence.new({
  3468. NumberSequenceKeypoint.new(0, 0, 0),
  3469. NumberSequenceKeypoint.new(1, 1, 0)
  3470. })
  3471. PartEmmit1.Speed = NumberRange.new(0, 0)
  3472. PartEmmit1.VelocitySpread = 30000
  3473. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  3474. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  3475. local BodPoss = IT("BodyPosition", soul)
  3476. BodPoss.P = 3000
  3477. BodPoss.D = 1000
  3478. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3479. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3480. wait(1.6)
  3481. soul.Touched:connect(function(hit)
  3482. if hit.Parent == char then
  3483. soul:Destroy()
  3484. end
  3485. end)
  3486. wait(1.2)
  3487. while soul do
  3488. swait()
  3489. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3490. BodPoss.Position = tors.Position
  3491. end
  3492. end)
  3493. soulst()
  3494. end
  3495. end
  3496. function FaceMouse()
  3497. local Cam = workspace.CurrentCamera
  3498. return {
  3499. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3500. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3501. }
  3502. end
  3503.  
  3504. function ShowDamage(Pos, Text, Time, Color)
  3505. local Rate = (1 / 30)
  3506. local Pos = (Pos or Vector3.new(0, 0, 0))
  3507. local Text = (Text or "")
  3508. local Time = (Time or 2)
  3509. local Color = (Color or Color3.new(1, 0, 1))
  3510. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3511. EffectPart.Anchored = true
  3512. local BillboardGui = Create("BillboardGui"){
  3513. Size = UDim2.new(3, 0, 3, 0),
  3514. Adornee = EffectPart,
  3515. Parent = EffectPart,
  3516. }
  3517. local TextLabel = Create("TextLabel"){
  3518. BackgroundTransparency = 1,
  3519. Size = UDim2.new(1, 0, 1, 0),
  3520. Text = Text,
  3521. Font = "Bodoni",
  3522. TextColor3 = Color,
  3523. TextScaled = true,
  3524. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  3525. Parent = BillboardGui,
  3526. }
  3527. game.Debris:AddItem(EffectPart, (Time))
  3528. EffectPart.Parent = game:GetService("Workspace")
  3529. delay(0, function()
  3530. local Frames = (Time / Rate)
  3531. for Frame = 1, Frames do
  3532. wait(Rate)
  3533. local Percent = (Frame / Frames)
  3534. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3535. TextLabel.TextTransparency = Percent
  3536. end
  3537. if EffectPart and EffectPart.Parent then
  3538. EffectPart:Destroy()
  3539. end
  3540. end)
  3541. end
  3542.  
  3543.  
  3544. EffectModel = Instance.new("Model", char)
  3545. Effects = {
  3546. Block = {
  3547. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3548. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3549. prt.Anchored = true
  3550. prt.CFrame = cframe
  3551. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3552. game:GetService("Debris"):AddItem(prt, 10)
  3553. if Type == 1 or Type == nil then
  3554. table.insert(Effects, {
  3555. prt,
  3556. "Block1",
  3557. delay,
  3558. x3,
  3559. y3,
  3560. z3,
  3561. msh
  3562. })
  3563. elseif Type == 2 then
  3564. table.insert(Effects, {
  3565. prt,
  3566. "Block2",
  3567. delay,
  3568. x3,
  3569. y3,
  3570. z3,
  3571. msh
  3572. })
  3573. else
  3574. table.insert(Effects, {
  3575. prt,
  3576. "Block3",
  3577. delay,
  3578. x3,
  3579. y3,
  3580. z3,
  3581. msh
  3582. })
  3583. end
  3584. end
  3585. },
  3586. Sphere = {
  3587. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3588. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3589. prt.Anchored = true
  3590. prt.CFrame = cframe
  3591. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3592. game:GetService("Debris"):AddItem(prt, 10)
  3593. table.insert(Effects, {
  3594. prt,
  3595. "Cylinder",
  3596. delay,
  3597. x3,
  3598. y3,
  3599. z3,
  3600. msh
  3601. })
  3602. end
  3603. },
  3604. Cylinder = {
  3605. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3606. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3607. prt.Anchored = true
  3608. prt.CFrame = cframe
  3609. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3610. game:GetService("Debris"):AddItem(prt, 10)
  3611. table.insert(Effects, {
  3612. prt,
  3613. "Cylinder",
  3614. delay,
  3615. x3,
  3616. y3,
  3617. z3,
  3618. msh
  3619. })
  3620. end
  3621. },
  3622. Wave = {
  3623. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3624. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3625. prt.Anchored = true
  3626. prt.CFrame = cframe
  3627. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  3628. game:GetService("Debris"):AddItem(prt, 10)
  3629. table.insert(Effects, {
  3630. prt,
  3631. "Cylinder",
  3632. delay,
  3633. x3 / 60,
  3634. y3 / 60,
  3635. z3 / 60,
  3636. msh
  3637. })
  3638. end
  3639. },
  3640. Ring = {
  3641. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3642. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3643. prt.Anchored = true
  3644. prt.CFrame = cframe
  3645. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3646. game:GetService("Debris"):AddItem(prt, 10)
  3647. table.insert(Effects, {
  3648. prt,
  3649. "Cylinder",
  3650. delay,
  3651. x3,
  3652. y3,
  3653. z3,
  3654. msh
  3655. })
  3656. end
  3657. },
  3658. Break = {
  3659. Create = function(brickcolor, cframe, x1, y1, z1)
  3660. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3661. prt.Anchored = true
  3662. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3663. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3664. local num = math.random(10, 50) / 1000
  3665. game:GetService("Debris"):AddItem(prt, 10)
  3666. table.insert(Effects, {
  3667. prt,
  3668. "Shatter",
  3669. num,
  3670. prt.CFrame,
  3671. math.random() - math.random(),
  3672. 0,
  3673. math.random(50, 100) / 100
  3674. })
  3675. end
  3676. },
  3677. Spiral = {
  3678. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3679. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3680. prt.Anchored = true
  3681. prt.CFrame = cframe
  3682. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3683. game:GetService("Debris"):AddItem(prt, 10)
  3684. table.insert(Effects, {
  3685. prt,
  3686. "Cylinder",
  3687. delay,
  3688. x3,
  3689. y3,
  3690. z3,
  3691. msh
  3692. })
  3693. end
  3694. },
  3695. Push = {
  3696. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3697. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3698. prt.Anchored = true
  3699. prt.CFrame = cframe
  3700. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3701. game:GetService("Debris"):AddItem(prt, 10)
  3702. table.insert(Effects, {
  3703. prt,
  3704. "Cylinder",
  3705. delay,
  3706. x3,
  3707. y3,
  3708. z3,
  3709. msh
  3710. })
  3711. end
  3712. }
  3713. }
  3714. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  3715. local fp = IT("Part")
  3716. fp.formFactor = formfactor
  3717. fp.Parent = parent
  3718. fp.Reflectance = reflectance
  3719. fp.Transparency = transparency
  3720. fp.CanCollide = false
  3721. fp.Locked = true
  3722. fp.BrickColor = brickcolor
  3723. fp.Name = name
  3724. fp.Size = size
  3725. fp.Position = tors.Position
  3726. RemoveOutlines(fp)
  3727. fp.Material = "SmoothPlastic"
  3728. fp:BreakJoints()
  3729. return fp
  3730. end
  3731.  
  3732. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3733. local mesh = IT(Mesh)
  3734. mesh.Parent = part
  3735. if Mesh == "SpecialMesh" then
  3736. mesh.MeshType = meshtype
  3737. if meshid ~= "nil" then
  3738. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  3739. end
  3740. end
  3741. mesh.Offset = offset
  3742. mesh.Scale = scale
  3743. return mesh
  3744. end
  3745.  
  3746. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  3747. local type = type
  3748. local rng = Instance.new("Part", char)
  3749. rng.Anchored = true
  3750. rng.BrickColor = color
  3751. rng.CanCollide = false
  3752. rng.FormFactor = 3
  3753. rng.Name = "Ring"
  3754. rng.Material = "Neon"
  3755. rng.Size = Vector3.new(1, 1, 1)
  3756. rng.Transparency = 0
  3757. rng.TopSurface = 0
  3758. rng.BottomSurface = 0
  3759. rng.CFrame = pos
  3760. local rngm = Instance.new("SpecialMesh", rng)
  3761. rngm.MeshType = MType
  3762. rngm.Scale = scale
  3763. local scaler2 = 1
  3764. if type == "Add" then
  3765. scaler2 = 1 * value
  3766. elseif type == "Divide" then
  3767. scaler2 = 1 / value
  3768. end
  3769. coroutine.resume(coroutine.create(function()
  3770. for i = 0, 10 / bonuspeed, 0.1 do
  3771. swait()
  3772. if type == "Add" then
  3773. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3774. elseif type == "Divide" then
  3775. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3776. end
  3777. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3778. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  3779. end
  3780. rng:Destroy()
  3781. end))
  3782. end
  3783.  
  3784. function Eviscerate(dude)
  3785. if dude.Name ~= char then
  3786. local bgf = IT("BodyGyro", dude.Head)
  3787. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3788. local val = IT("BoolValue", dude)
  3789. val.Name = "IsHit"
  3790. local ds = coroutine.wrap(function()
  3791. dude:WaitForChild("Head"):BreakJoints()
  3792. wait(0.5)
  3793. target = nil
  3794. coroutine.resume(coroutine.create(function()
  3795. for i, v in pairs(dude:GetChildren()) do
  3796. if v:IsA("Accessory") then
  3797. v:Destroy()
  3798. end
  3799. if v:IsA("Humanoid") then
  3800. v:Destroy()
  3801. end
  3802. if v:IsA("CharacterMesh") then
  3803. v:Destroy()
  3804. end
  3805. if v:IsA("Model") then
  3806. v:Destroy()
  3807. end
  3808. if v:IsA("Part") or v:IsA("MeshPart") then
  3809. for x, o in pairs(v:GetChildren()) do
  3810. if o:IsA("Decal") then
  3811. o:Destroy()
  3812. end
  3813. end
  3814. coroutine.resume(coroutine.create(function()
  3815. v.Material = "Neon"
  3816. v.CanCollide = false
  3817. local PartEmmit1 = IT("ParticleEmitter", v)
  3818. PartEmmit1.LightEmission = 1
  3819. PartEmmit1.Texture = "rbxassetid://1523916715"
  3820. PartEmmit1.Color = ColorSequence.new(Color3.new(0, 0, 0))
  3821. PartEmmit1.Rate = 150
  3822. PartEmmit1.Lifetime = NumberRange.new(1)
  3823. PartEmmit1.Size = NumberSequence.new({
  3824. NumberSequenceKeypoint.new(0, 0.75, 0),
  3825. NumberSequenceKeypoint.new(1, 0, 0)
  3826. })
  3827. PartEmmit1.Transparency = NumberSequence.new({
  3828. NumberSequenceKeypoint.new(0, 0, 0),
  3829. NumberSequenceKeypoint.new(1, 1, 0)
  3830. })
  3831. PartEmmit1.Speed = NumberRange.new(0, 0)
  3832. PartEmmit1.VelocitySpread = 30000
  3833. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  3834. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  3835. local BodPoss = IT("BodyPosition", v)
  3836. BodPoss.P = 3000
  3837. BodPoss.D = 1000
  3838. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3839. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3840. v.Color = maincolor.Color
  3841. coroutine.resume(coroutine.create(function()
  3842. for i = 0, 49 do
  3843. swait(1)
  3844. v.Transparency = v.Transparency + 0.08
  3845. end
  3846. wait(0.5)
  3847. PartEmmit1.Enabled = false
  3848. wait(3)
  3849. v:Destroy()
  3850. dude:Destroy()
  3851. end))
  3852. end))
  3853. end
  3854. end
  3855. end))
  3856. end)
  3857. ds()
  3858. end
  3859. end
  3860.  
  3861. function FindNearestHead(Position, Distance, SinglePlayer)
  3862. if SinglePlayer then
  3863. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  3864. end
  3865. local List = {}
  3866. for i, v in pairs(workspace:GetChildren()) do
  3867. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  3868. table.insert(List, v)
  3869. end
  3870. end
  3871. return List
  3872. end
  3873.  
  3874. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  3875. local type = type
  3876. local rng = Instance.new("Part", char)
  3877. rng.Anchored = true
  3878. rng.BrickColor = color
  3879. rng.CanCollide = false
  3880. rng.FormFactor = 3
  3881. rng.Name = "Ring"
  3882. rng.Material = "Neon"
  3883. rng.Size = Vector3.new(1, 1, 1)
  3884. rng.Transparency = 0
  3885. rng.TopSurface = 0
  3886. rng.BottomSurface = 0
  3887. rng.CFrame = pos
  3888. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  3889. local rngm = Instance.new("SpecialMesh", rng)
  3890. rngm.MeshType = MType
  3891. rngm.Scale = Vector3.new(x1, y1, z1)
  3892. local scaler2 = 1
  3893. local speeder = FastSpeed
  3894. if type == "Add" then
  3895. scaler2 = 1 * value
  3896. elseif type == "Divide" then
  3897. scaler2 = 1 / value
  3898. end
  3899. coroutine.resume(coroutine.create(function()
  3900. for i = 0, 10 / bonuspeed, 0.1 do
  3901. swait()
  3902. if type == "Add" then
  3903. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3904. elseif type == "Divide" then
  3905. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3906. end
  3907. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  3908. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  3909. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3910. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  3911. end
  3912. rng:Destroy()
  3913. end))
  3914. end
  3915.  
  3916. function SoulSteal(dude)
  3917. if dude.Name ~= char then
  3918. local bgf = IT("BodyGyro", dude.Head)
  3919. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3920. local val = IT("BoolValue", dude)
  3921. val.Name = "IsHit"
  3922. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  3923. local soulst = coroutine.wrap(function()
  3924. local soul = Instance.new("Part",dude)
  3925. soul.Size = Vector3.new(1,1,1)
  3926. soul.CanCollide = false
  3927. soul.Anchored = false
  3928. soul.Position = torso.Position
  3929. soul.Transparency = 1
  3930. local PartEmmit1 = IT("ParticleEmitter", soul)
  3931. PartEmmit1.LightEmission = 1
  3932. PartEmmit1.Texture = "rbxassetid://569507414"
  3933. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3934. PartEmmit1.Rate = 250
  3935. PartEmmit1.Lifetime = NumberRange.new(1.6)
  3936. PartEmmit1.Size = NumberSequence.new({
  3937. NumberSequenceKeypoint.new(0, 1, 0),
  3938. NumberSequenceKeypoint.new(1, 0, 0)
  3939. })
  3940. PartEmmit1.Transparency = NumberSequence.new({
  3941. NumberSequenceKeypoint.new(0, 0, 0),
  3942. NumberSequenceKeypoint.new(1, 1, 0)
  3943. })
  3944. PartEmmit1.Speed = NumberRange.new(0, 0)
  3945. PartEmmit1.VelocitySpread = 30000
  3946. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  3947. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  3948. local BodPoss = IT("BodyPosition", soul)
  3949. BodPoss.P = 3000
  3950. BodPoss.D = 1000
  3951. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3952. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3953. wait(1.6)
  3954. soul.Touched:connect(function(hit)
  3955. if hit.Parent == char then
  3956. soul:Destroy()
  3957. end
  3958. end)
  3959. wait(1.2)
  3960. while soul do
  3961. swait()
  3962. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3963. BodPoss.Position = tors.Position
  3964. end
  3965. end)
  3966. soulst()
  3967. end
  3968. end
  3969. function FaceMouse()
  3970. local Cam = workspace.CurrentCamera
  3971. return {
  3972. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3973. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3974. }
  3975. end
  3976. -------------------------------------------------------
  3977. --End Effect Function--
  3978. -------------------------------------------------------
  3979. -------------------------------------------------------
  3980. --End Important Functions--
  3981. -------------------------------------------------------
  3982.  
  3983.  
  3984. -------------------------------------------------------
  3985. --Start Customization--
  3986. -------------------------------------------------------
  3987. local Player_Size = 1
  3988. if Player_Size ~= 1 then
  3989. root.Size = root.Size * Player_Size
  3990. tors.Size = tors.Size * Player_Size
  3991. hed.Size = hed.Size * Player_Size
  3992. ra.Size = ra.Size * Player_Size
  3993. la.Size = la.Size * Player_Size
  3994. rl.Size = rl.Size * Player_Size
  3995. ll.Size = ll.Size * Player_Size
  3996. ----------------------------------------------------------------------------------
  3997. rootj.Parent = root
  3998. neck.Parent = tors
  3999. RW.Parent = tors
  4000. LW.Parent = tors
  4001. RH.Parent = tors
  4002. LH.Parent = tors
  4003. ----------------------------------------------------------------------------------
  4004. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  4005. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  4006. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  4007. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  4008. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  4009. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  4010. ----------------------------------------------------------------------------------
  4011. 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))
  4012. 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))
  4013. 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))
  4014. 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))
  4015. --hat.Parent = Character
  4016. end
  4017. ----------------------------------------------------------------------------------
  4018. local equipped = false
  4019. local idle = 0
  4020. local change = 1
  4021. local val = 0
  4022. local toim = 0
  4023. local idleanim = 0.4
  4024. local sine = 0
  4025. local Sit = 1
  4026. ----------------------------------------------------------------------------------
  4027. hum.WalkSpeed = 8
  4028. hum.JumpPower = 57
  4029. hum.Animator.Parent = nil
  4030. ----------------------------------------------------------------------------------
  4031.  
  4032. -------------------------------------------------------
  4033. --End Customization--
  4034. -------------------------------------------------------
  4035.  
  4036.  
  4037. -------------------------------------------------------
  4038. --Start Attacks N Stuff--
  4039. -------------------------------------------------------
  4040. local naeeym2 = Instance.new("BillboardGui",char)
  4041. naeeym2.AlwaysOnTop = true
  4042. naeeym2.Size = UDim2.new(5,35,2,35)
  4043. naeeym2.StudsOffset = Vector3.new(0,2,0)
  4044. naeeym2.Adornee = hed
  4045. naeeym2.Name = "Name"
  4046.  
  4047. local tecks2 = Instance.new("TextLabel",naeeym2)
  4048. tecks2.BackgroundTransparency = 1
  4049. tecks2.TextScaled = true
  4050. tecks2.BorderSizePixel = 0
  4051. tecks2.Text = "im dead"
  4052. tecks2.Font = "Garamond"
  4053. tecks2.TextSize = 30
  4054. tecks2.TextStrokeTransparency = 0
  4055. tecks2.TextColor3 = BrickColor.new('Pastel Blue').Color
  4056. tecks2.TextStrokeColor3 = BrickColor.new('Really bue').Color
  4057. tecks2.Size = UDim2.new(1,0,0.5,0)
  4058. tecks2.Parent = naeeym2
  4059. textfag = tecks2
  4060. tecks2.Text = "Edited by HeavyThePootisMan333 and made by Makhail07 FE code by Mokiros and fixed by saba1520/kisslarge"
  4061. wait(2)
  4062. tecks2.Text = "dont leak or die"
  4063. wait(1)
  4064. tecks2.Text = "ultimate Poot"
  4065. coroutine.resume(coroutine.create(function()
  4066. while textfag ~= nil do
  4067. swait()
  4068. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  4069. textfag.Rotation = math.random(-3,3)
  4070. end
  4071. end))
  4072.  
  4073.  
  4074. function chatfunc(text, color)
  4075. local chat = coroutine.wrap(function()
  4076. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  4077. char:FindFirstChild("TalkingBillBoard"):destroy()
  4078. end
  4079. local naeeym2 = Instance.new("BillboardGui", char)
  4080. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  4081. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  4082. naeeym2.Adornee = hed
  4083. naeeym2.Name = "TalkingBillBoard"
  4084. local tecks2 = Instance.new("TextLabel", naeeym2)
  4085. tecks2.BackgroundTransparency = 1
  4086. tecks2.BorderSizePixel = 0
  4087. tecks2.Text = ""
  4088. tecks2.Font = "SciFi"
  4089. tecks2.TextSize = 30
  4090. tecks2.TextStrokeTransparency = 0
  4091. tecks2.TextColor3 = color
  4092. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  4093. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  4094. local tecks3 = Instance.new("TextLabel", naeeym2)
  4095. tecks3.BackgroundTransparency = 1
  4096. tecks3.BorderSizePixel = 0
  4097. tecks3.Text = ""
  4098. tecks3.Font = "SciFi"
  4099. tecks3.TextSize = 30
  4100. tecks3.TextStrokeTransparency = 0
  4101. tecks3.TextColor3 = Color3.new(0, 0, 0)
  4102. tecks3.TextStrokeColor3 = color
  4103. tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  4104. coroutine.resume(coroutine.create(function()
  4105. while true do
  4106. swait(1)
  4107. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  4108. tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  4109. tecks2.Rotation = math.random(-5, 5)
  4110. tecks3.Rotation = math.random(-5, 5)
  4111. end
  4112. end))
  4113. for i = 1, string.len(text) do
  4114. CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  4115. tecks2.Text = string.sub(text, 1, i)
  4116. tecks3.Text = string.sub(text, 1, i)
  4117. swait(1)
  4118. end
  4119. wait(1)
  4120. local randomrot = math.random(1, 2)
  4121. if randomrot == 1 then
  4122. for i = 1, 50 do
  4123. swait()
  4124. tecks2.Rotation = tecks2.Rotation - 0.75
  4125. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  4126. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  4127. tecks3.Rotation = tecks2.Rotation + 0.75
  4128. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  4129. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  4130. end
  4131. elseif randomrot == 2 then
  4132. for i = 1, 50 do
  4133. swait()
  4134. tecks2.Rotation = tecks2.Rotation + 0.75
  4135. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  4136. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  4137. tecks3.Rotation = tecks2.Rotation - 0.75
  4138. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  4139. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  4140. end
  4141. end
  4142. naeeym2:Destroy()
  4143. end)
  4144. chat()
  4145. end
  4146. ----------
  4147. function Taunt1()
  4148. attack = true
  4149. hum.WalkSpeed = 0
  4150. chatfunc("hello good sir", BrickColor.new("Really black").Color)
  4151. CFuncs.Sound.Create("rbxassetid://138130777", head, 100, 1)
  4152. for i = 0, 9, 0.1 do
  4153. swait()
  4154. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.15)
  4155. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  4156. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(78), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(15)), 0.15)
  4157. 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(-78), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-15)), 0.15)
  4158. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-9), Rad(0), Rad(155 + 25 * Sin(sine / 2.5))), 0.12)
  4159. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  4160. end
  4161. attack = false
  4162. hum.WalkSpeed = 10
  4163. end
  4164. function Taunt2()
  4165. attack = true
  4166. hum.WalkSpeed = 0
  4167. chatfunc("wth what are you doing", BrickColor.new("Really black").Color)
  4168. CFuncs.Sound.Create("rbxassetid://609247669", head, 100, 1)
  4169. for i = 0, 2, 0.1 do
  4170. swait()
  4171. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  4172. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  4173. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  4174. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  4175. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  4176. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  4177. end
  4178. for i = 0, 6, 0.1 do
  4179. swait()
  4180. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .2 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  4181. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15)
  4182. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  4183. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  4184. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  4185. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  4186. end
  4187. for i = 0, 2, 0.1 do
  4188. swait()
  4189. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  4190. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  4191. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  4192. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  4193. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  4194. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  4195. end
  4196. attack = false
  4197. hum.WalkSpeed = 10
  4198. end
  4199. function DANCEFORME2()
  4200. print("oh shit rip!!!!!._.")
  4201. chatfunc("party!!", BrickColor.new("Really black").Color)
  4202. CreateSound("1458638152", hed, 10, 1)
  4203. attack = true
  4204. repeat
  4205. for i = 0, 2.6, 0.1 do
  4206. swait()
  4207. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, -0.7 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.1)
  4208. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45), Rad(0), Rad(0)), 0.1)
  4209. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -.5 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.2 * 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)
  4210. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -.5 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.2 * 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)
  4211. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  4212. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 12))), 0.1)
  4213. end
  4214. for i = 0, 2.6, 0.1 do
  4215. swait()
  4216. 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(8 - 2.5 * Sin(sine / 24)), Rad(0)), 0.1)
  4217. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
  4218. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1.3 * 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)
  4219. 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)
  4220. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-.6), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
  4221. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
  4222. end
  4223. for i = 0, 2.6, 0.1 do
  4224. swait()
  4225. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, -0.7 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.1)
  4226. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45), Rad(0), Rad(0)), 0.1)
  4227. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -.5 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.2 * 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)
  4228. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -.5 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.2 * 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)
  4229. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  4230. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 12))), 0.1)
  4231. end
  4232. for i = 0, 2.6, 0.1 do
  4233. swait()
  4234. 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(-8 - 2.5 * Sin(sine / 24)), Rad(0)), 0.1)
  4235. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
  4236. 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)
  4237. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1.3 * 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)
  4238. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-.6), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
  4239. LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
  4240. end
  4241. until Playing == false
  4242. MERKIO2:Stop()
  4243. attack = false
  4244. hum.WalkSpeed = 16
  4245. end
  4246.  
  4247. function Eyeyeyeyeyeyey_Slammo()
  4248. attack = true
  4249. hum.WalkSpeed = 0
  4250. local Blobby = IT("Part", char)
  4251. Blobby.Name = "Blob"
  4252. Blobby.CanCollide = false
  4253. Blobby.BrickColor = BrickC("Really black")
  4254. Blobby.Transparency = 0
  4255. Blobby.Material = "Plastic"
  4256. Blobby.Size = Vector3.new(1, 1, 2)
  4257. Blobby.TopSurface = Enum.SurfaceType.Smooth
  4258. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  4259.  
  4260. local Weld = IT("Weld", Blobby)
  4261. Weld.Part0 = hed
  4262. Weld.Part1 = Blobby
  4263. Weld.C1 = CF(0, -17.6, 1.4)
  4264. Weld.C0 = angles(Rad(0),0,0)
  4265.  
  4266. local M2 = IT("SpecialMesh")
  4267. M2.Parent = Blobby
  4268. M2.MeshId = "http://www.roblox.com/asset/?id=120607730"
  4269. M2.TextureId = "http://www.roblox.com/asset/?id=1032770833"
  4270. M2.Scale = Vector3.new(3.3, 3.3, 3.3)
  4271. CFuncs.Sound.Create("rbxassetid://135925117", head, 100, 1)
  4272. for i = 0, 6, 0.1 do
  4273. swait()
  4274. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.2)
  4275. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  4276. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  4277. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  4278. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
  4279. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
  4280. end
  4281. Magic(1, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  4282. Magic(5, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  4283. Magic(10, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  4284. for i, v in pairs(FindNearestHead(root.CFrame.p, 25.5)) do
  4285. if v:FindFirstChild("Head") then
  4286. Eviscerate(v)
  4287. end
  4288. end
  4289. for i = 0, 6, 0.1 do
  4290. swait()
  4291. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(90 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  4292. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  4293. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.3 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15)
  4294. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.3 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15)
  4295. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
  4296. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
  4297. end
  4298. Blobby:Destroy()
  4299. attack = false
  4300. hum.WalkSpeed = 10
  4301. end
  4302. function LimitlessDivinity()
  4303. for i = 0, 2, 0.1 do
  4304. swait()
  4305. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  4306. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  4307. 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  4308. 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  4309. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
  4310. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
  4311. end
  4312. local p = Instance.new("Part",char)
  4313. p.Anchored = true
  4314. p.Size = Vector3.new(0.1,0.1,0.1)
  4315. p.BrickColor = BrickC("Really black")
  4316. p.Material = "Neon"
  4317. p.CFrame = CFrame.new(mouse.Hit.p)
  4318. local m = Instance.new("SpecialMesh",p)
  4319. m.MeshType = "Sphere"
  4320. m.Scale = Vector3.new(80,80,80)
  4321. Magic(3, "Add", p.CFrame, Vector3.new(8, 8, 8), 0.15, BrickC("Really black"), "Sphere")
  4322. CFuncs["Sound"].Create("rbxassetid://183763506", p, 10, 0.5)
  4323. for i = 1, 100 do
  4324. swait()
  4325. Aura(2.5,-0.5,"Add", p.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-0.025,BrickC("Really black"),25, "Sphere")
  4326. m.Scale = m.Scale + Vector3.new(1,1,1)
  4327. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  4328. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  4329. 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  4330. 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  4331. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
  4332. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
  4333. end
  4334. for i = 1,10 do
  4335. swait()
  4336. m.Scale = m.Scale - Vector3.new(16,16,16)
  4337. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  4338. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  4339. 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  4340. 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  4341. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
  4342. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
  4343. end
  4344. for i = 1,100 do
  4345. Aura(5,10,"Add",p.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.2,BrickC("Really black"),0, "Sphere")
  4346. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  4347. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  4348. 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  4349. 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  4350. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
  4351. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
  4352. end
  4353. Magic(1, "Add", p.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Really black"), "Sphere")
  4354. Magic(1, "Add", p.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Really black"), "Sphere")
  4355. Magic(1, "Add", p.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Really black"), "Sphere")
  4356. MagniDamage(p, 60, 50, 100, 0, "Normal")
  4357. CFuncs["Sound"].Create("rbxassetid://138213851", p, 2,1.2)
  4358. CFuncs["Sound"].Create("rbxassetid://239000203", p, 2,1.2)
  4359. CFuncs["Sound"].Create("rbxassetid://919941001", char, 3,1.05)
  4360. p.Transparency = 1
  4361. end
  4362. function NebulaticManiac()
  4363. attack = true
  4364. hum.WalkSpeed = 0
  4365. for i = 0,1.2,0.1 do
  4366. swait()
  4367. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  4368. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4369. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  4370. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  4371. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  4372. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
  4373. end
  4374. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  4375. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  4376. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  4377. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  4378. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
  4379. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really black"), "Sphere")
  4380. Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Really black"), "Sphere")
  4381.  
  4382. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
  4383. if v:FindFirstChild("Head") then
  4384. Eviscerate(v)
  4385. end
  4386. end
  4387.  
  4388. for i = 1,4.7,0.1 do
  4389. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  4390. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  4391. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  4392. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  4393. RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1)
  4394. LW.C0 = clerp(LW.C0, CF(-1.5, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(-15)), 0.1)
  4395. end
  4396. wait(.6)
  4397. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  4398. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  4399. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  4400. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  4401. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
  4402. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Toothpaste"), "Sphere")
  4403. Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01,BrickColor.new("Really black"), "Sphere")
  4404.  
  4405. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
  4406. if v:FindFirstChild("Head") then
  4407. Eviscerate(v)
  4408. end
  4409. end
  4410.  
  4411. for i = 1,4.7,0.1 do
  4412. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  4413. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  4414. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  4415. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  4416. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(15)), 0.1)
  4417. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1)
  4418. end
  4419. wait(.6)
  4420. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  4421. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  4422. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  4423. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  4424. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
  4425. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really black"), "Sphere")
  4426. Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Really black"), "Sphere")
  4427.  
  4428. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
  4429. if v:FindFirstChild("Head") then
  4430. Eviscerate(v)
  4431. end
  4432. end
  4433.  
  4434. for i = 1,4.7,0.1 do
  4435. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  4436. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  4437. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  4438. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  4439. RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1)
  4440. LW.C0 = clerp(LW.C0, CF(-1.5, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(-15)), 0.1)
  4441. end
  4442. wait(.6)
  4443. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  4444. Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
  4445. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
  4446. Effects.Sphere.Create(maincolor, root.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
  4447. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
  4448. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Toothpaste"), "Sphere")
  4449. Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("Really black"), "Sphere")
  4450.  
  4451. for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
  4452. if v:FindFirstChild("Head") then
  4453. Eviscerate(v)
  4454. end
  4455. end
  4456.  
  4457. for i = 1,4.7,0.1 do
  4458. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  4459. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  4460. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  4461. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  4462. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(15)), 0.1)
  4463. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1)
  4464. end
  4465. wait(.6)
  4466. attack = false
  4467. hum.WalkSpeed = 8
  4468. end
  4469. function THUNDERCLAP()
  4470. attack = true
  4471.  
  4472. for i = 0, 15, 0.1 do
  4473. swait()
  4474. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  4475. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  4476. 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  4477. 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  4478. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
  4479. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
  4480. end
  4481. CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
  4482.  
  4483. for i = 0, 7, 0.1 do
  4484. swait()
  4485. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  4486. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  4487. 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  4488. 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  4489. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 - 4.5 * Sin(sine / 20))), 0.3)
  4490. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.3)
  4491. end
  4492.  
  4493. Magic(1, "Add", root.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Really black"), "Sphere")
  4494. Magic(1, "Add", root.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Really black"), "Sphere")
  4495. Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Really black"), "Sphere")
  4496. for i, v in pairs(FindNearestHead(tors.CFrame.p, 500000)) do
  4497. if v:FindFirstChild("Head") then
  4498. Eviscerate(v)
  4499. end
  4500. end
  4501. CFuncs["Sound"].Create("rbxassetid://138213851", char, 2,1.2)
  4502. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,1.2)
  4503. CFuncs["Sound"].Create("rbxassetid://919941001", char, 3,1.05)
  4504. for i = 0, 7, 0.1 do
  4505. swait()
  4506. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  4507. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(0)), 0.3)
  4508. 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(25)), 0.3)
  4509. 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-25)), 0.3)
  4510. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 - 4.5 * Sin(sine / 20))), 0.3)
  4511. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 + 4.5 * Sin(sine / 20))), 0.3)
  4512. end
  4513. attack = false
  4514. end
  4515. function Call_Upon_The_Eyes()
  4516. attack = true
  4517. hum.WalkSpeed = 0
  4518. for i = 0, 6, 0.1 do
  4519. swait()
  4520. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4521. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4522. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  4523. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  4524. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12)
  4525. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  4526. end
  4527. Magic(5, "Add", Mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  4528. Magic(10, "Add", Mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  4529. Magic(1, "Add", Mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  4530. Magic(1, "Add", Mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  4531.  
  4532. for i, v in pairs(FindNearestHead(Mouse.Hit.p, 14.5)) do
  4533. if v:FindFirstChild("Head") then
  4534. Eviscerate(v)
  4535. end
  4536. end
  4537. for i = 0, 6, 0.1 do
  4538. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4539. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4540. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  4541. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  4542. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2)
  4543. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  4544. end
  4545. attack = false
  4546. hum.WalkSpeed = 10
  4547. end
  4548. function Painful_Stomp()
  4549. attack = true
  4550. for i = 0,5.2,0.1 do
  4551. swait()
  4552. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  4553. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4554. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  4555. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  4556. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  4557. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  4558. end
  4559.  
  4560. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  4561. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  4562. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  4563. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  4564. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  4565. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  4566. Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  4567. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  4568. if v:FindFirstChild("Head") then
  4569. Eviscerate(v)
  4570. end
  4571. end
  4572. coroutine.resume(coroutine.create(function()
  4573. for i = 0,2.8,0.1 do
  4574. swait()
  4575. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  4576. end
  4577. for i = 0,1.8,0.1 do
  4578. swait()
  4579. hum.CameraOffset = Vector3.new(0,0,0)
  4580. end
  4581. end))
  4582. for i = 0,3.7,0.1 do
  4583. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  4584. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4585. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  4586. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  4587. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  4588. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  4589. end
  4590. wait(.6)
  4591. attack = false
  4592. end
  4593. function ShutTheHellUp()
  4594. chatfunc("you suck..", BrickColor.new("Really black").Color)
  4595. attack = true
  4596. hum.WalkSpeed = 2.01
  4597. CFuncs.Sound.Create("rbxassetid://1058417264", head, 10, 1)
  4598. for i = 0,3,0.1 do
  4599. swait()
  4600. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4601. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  4602. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4603. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4604. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  4605. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  4606. end
  4607. for i = 0,1.2,0.1 do
  4608. swait()
  4609. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4610. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  4611. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4612. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4613. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  4614. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  4615. end
  4616. for i = 0,1.2,0.1 do
  4617. swait()
  4618. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4619. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  4620. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4621. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4622. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  4623. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  4624. end
  4625. for i = 0,1.2,0.1 do
  4626. swait()
  4627. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4628. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  4629. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4630. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4631. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  4632. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  4633. end
  4634. for i = 0,1.2,0.1 do
  4635. swait()
  4636. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4637. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  4638. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4639. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4640. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  4641. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  4642. end
  4643. for i = 0,2,0.1 do
  4644. swait()
  4645. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4646. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  4647. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4648. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4649. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(120), Rad(0), Rad(5)), 0.1)
  4650. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  4651. end
  4652. for i = 0,2,0.1 do
  4653. swait()
  4654. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  4655. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  4656. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4657. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  4658. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  4659. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  4660. end
  4661. hum.WalkSpeed = 16
  4662. attack = false
  4663. end
  4664. function GlitchedHell()
  4665. chatfunc("poot", BrickColor.new("Really white").Color)
  4666. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4667. local HITBODY = mouse.Target.Parent
  4668. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  4669. local HEAD = HITBODY:FindFirstChild("Head")
  4670. local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4671. if TORS ~= nil and HUMAN ~= nil then
  4672. attack = true
  4673. hum.WalkSpeed = 0
  4674. root.CFrame = TORS.CFrame * CFrame.new(-1,0,3)
  4675. TORS.Anchored = true
  4676. CreateSound("333430981", hed, 5, 1)
  4677. for i = 1, 25 do
  4678. swait()
  4679. for _,v in next, char:GetDescendants() do
  4680. if(v:IsA'DataModelMesh')then
  4681. v.Offset = Vector3.new(math.random(-500,500)/200,math.random(-500,500)/200,math.random(-500,500)/200)
  4682. end
  4683. end
  4684. end
  4685.  
  4686. for _,v in next, char:GetDescendants() do
  4687. if(v:IsA'DataModelMesh')then
  4688. v.Offset = Vector3.new(0,0,0)
  4689. end
  4690. end
  4691. for i = 0, 1.2, 0.1 do
  4692. swait()
  4693. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  4694. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  4695. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  4696. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  4697. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  4698. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  4699. end
  4700. wait(.5)
  4701. for i = 0, 2.2, 0.1 do
  4702. swait()
  4703. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
  4704. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  4705. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1)
  4706. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  4707. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  4708. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  4709. end
  4710.  
  4711. for i = 0, 1.2, 0.1 do
  4712. swait()
  4713. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
  4714. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  4715. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1)
  4716. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  4717. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  4718. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  4719. end
  4720. end
  4721. CreateSound("180083298", hed, 10, 1)
  4722. attack = false
  4723. HITBODY:BreakJoints()
  4724. TORS:Remove()
  4725. TORS.Anchored = false
  4726. attack = false
  4727. hum.WalkSpeed = 16
  4728. end
  4729. end
  4730. function GlitchedTeleport()
  4731. CanUse = false
  4732. CreateSound("333430981", hed, 5, 1)
  4733. for i = 1, 25 do
  4734. swait()
  4735.  
  4736. for _,v in next, char:GetDescendants() do
  4737. if(v:IsA'DataModelMesh')then
  4738. v.Offset = Vector3.new(math.random(-500,500)/200,math.random(-500,500)/200,math.random(-500,500)/200)
  4739. end
  4740. end
  4741. end
  4742.  
  4743. for _,v in next, char:GetDescendants() do
  4744. if(v:IsA'DataModelMesh')then
  4745. v.Offset = Vector3.new(0,0,0)
  4746. end
  4747. end
  4748. wait(.5)
  4749. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  4750. CreateSound("289556450", hed, 10, 1)
  4751. for i = 1, 60 do
  4752. swait()
  4753.  
  4754. for _,v in next, char:GetDescendants() do
  4755. if(v:IsA'DataModelMesh')then
  4756. v.Offset = Vector3.new(math.random(-500,500)/200,math.random(-500,500)/200,math.random(-500,500)/200)
  4757. end
  4758. end
  4759. end
  4760.  
  4761. for _,v in next, char:GetDescendants() do
  4762. if(v:IsA'DataModelMesh')then
  4763. v.Offset = Vector3.new(0,0,0)
  4764. end
  4765. end
  4766. wait(1)
  4767. CanUse = true
  4768. end
  4769. function Up_High_Noon()
  4770. print("Oh fuck")
  4771. chatfunc("poot ball", BrickColor.new("Pastel Blue").Color)
  4772. attack = true
  4773. CFuncs.Sound.Create("rbxassetid://0", head, 100, 1)
  4774. local orb = Instance.new("Part", char)
  4775. orb.Anchored = true
  4776. orb.BrickColor = BrickC("Really black")
  4777. orb.CanCollide = false
  4778. orb.FormFactor = 3
  4779. orb.Name = "Ring"
  4780. orb.Material = "Neon"
  4781. orb.Size = Vector3.new(1, 1, 1)
  4782. orb.Transparency = 0
  4783. orb.TopSurface = 0
  4784. orb.BottomSurface = 0
  4785. local orbm = Instance.new("SpecialMesh", orb)
  4786. orbm.MeshType = "Sphere"
  4787. orbm.Name = "SizeMesh"
  4788. orbm.Scale = Vector3.new(0, 0, 0)
  4789. local scaled = 0.1
  4790. local posid = 0
  4791. for i = 0, 109, 0.1 do
  4792. swait()
  4793. scaled = scaled + 0.001
  4794. posid = posid - scaled
  4795. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  4796. orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
  4797. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  4798. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.2)
  4799. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  4800. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  4801. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(180)), 0.2)
  4802. LW.C0 = clerp(LW.C0, CF(-1.2* Player_Size, 0.8 + 0.02 * Sin(sine / 20* Player_Size), -.6* Player_Size) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.2)
  4803. end
  4804. coroutine.resume(coroutine.create(function()
  4805. orb.Anchored = false
  4806. CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  4807. local a = Instance.new("Part", workspace)
  4808. a.Name = "Direction"
  4809. a.Anchored = true
  4810. a.BrickColor = BrickC("Bright red")
  4811. a.Material = "Neon"
  4812. a.Transparency = 1
  4813. a.CanCollide = false
  4814. local ray = Ray.new(orb.CFrame.p, (root.CFrame.lookVector - orb.CFrame.p).unit * 500)
  4815. local ignore = orb
  4816. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4817. a.BottomSurface = 10
  4818. a.TopSurface = 10
  4819. local distance = (orb.CFrame.p - position).magnitude
  4820. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4821. a.CFrame = CF(orb.CFrame.p, position) * CF(0, 0, 0)
  4822. orb.CFrame = a.CFrame
  4823. a:Destroy()
  4824. local bv = Instance.new("BodyVelocity")
  4825. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4826. bv.velocity = orb.CFrame.lookVector * 125
  4827. bv.Parent = orb
  4828. local hitted = false
  4829. game:GetService("Debris"):AddItem(orb, 15)
  4830. wait()
  4831. local hit = orb.Touched:connect(function(hit)
  4832. if hitted == false then
  4833. hitted = true
  4834. coroutine.resume(coroutine.create(function()
  4835. for i = 0,1.8,0.1 do
  4836. swait()
  4837. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  4838. end
  4839. for i = 0,1.8,0.1 do
  4840. swait()
  4841. hum.CameraOffset = Vector3.new(0,0,0)
  4842. end
  4843. end))
  4844. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  4845. for i, v in pairs(FindNearestHead(orb.CFrame.p, 50000)) do
  4846. if v:FindFirstChild("Head") then
  4847. Eviscerate(v)
  4848. end
  4849. end
  4850. Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere")
  4851. Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere")
  4852. for i = 0, 9 do
  4853. --Aura(1, 2.5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Royal purple"), 0, "Sphere")
  4854. --Aura(2, 5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Royal purple"), 0, "Sphere")
  4855. end
  4856. orb.Anchored = true
  4857. orb.Transparency = 1
  4858. wait(8)
  4859. orb:Destroy()
  4860. end
  4861. end)
  4862. end))
  4863. for i = 0, 6, 0.1 do
  4864. swait()
  4865. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  4866. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.2)
  4867. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  4868. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  4869. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(124)), 0.2)
  4870. LW.C0 = clerp(LW.C0, CF(-1.2* Player_Size, 0.8 + 0.02 * Sin(sine / 20* Player_Size), -.6* Player_Size) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.2)
  4871. end
  4872. attack = false
  4873. end
  4874. function EndMySufferingV2()
  4875. chatfunc("Dab.", BrickColor.new("Really black").Color)
  4876. attack = true
  4877. hum.WalkSpeed = 1.01
  4878. CreateSound("577475178", hed, 10, 1)
  4879. for i = 0,18,0.1 do
  4880. swait()
  4881. rootj.C0=clerp(rootj.C0,RootCF*CF(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(15),math.rad(-10),math.rad(0)),0.15)
  4882. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  4883. RH.C0=clerp(RH.C0,CF(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  4884. LH.C0=clerp(LH.C0,CF(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-20)),0.15)
  4885. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(-0), math.rad(10), math.rad(-110)), 0.1)
  4886. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-10), math.rad(-105)), 0.1)
  4887. end
  4888. attack = false
  4889. hum.WalkSpeed = 16
  4890. end
  4891. function High_Noon()
  4892. print("poot poot")
  4893. chatfunc("poot ball", BrickColor.new("Pastel Blue").Color)
  4894. attack = true
  4895. CFuncs.Sound.Create("rbxassetid://0", head, 100, 1)
  4896. local orb = Instance.new("Part", char)
  4897. orb.Anchored = true
  4898. orb.BrickColor = BrickC("Really black")
  4899. orb.CanCollide = false
  4900. orb.FormFactor = 3
  4901. orb.Name = "Ring"
  4902. orb.Material = "Neon"
  4903. orb.Size = Vector3.new(1, 1, 1)
  4904. orb.Transparency = 0
  4905. orb.TopSurface = 0
  4906. orb.BottomSurface = 0
  4907. local orbm = Instance.new("SpecialMesh", orb)
  4908. orbm.MeshType = "Sphere"
  4909. orbm.Name = "SizeMesh"
  4910. orbm.Scale = Vector3.new(0, 0, 0)
  4911. local scaled = 0.1
  4912. local posid = 0
  4913. for i = 0, 109, 0.1 do
  4914. swait()
  4915. scaled = scaled + 0.001
  4916. --posid = posid - scaled
  4917. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  4918. orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
  4919. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  4920. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.2)
  4921. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  4922. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  4923. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(90)), 0.2)
  4924. LW.C0 = clerp(LW.C0, CF(-1.2* Player_Size, 0.8 + 0.02 * Sin(sine / 20* Player_Size), -.6* Player_Size) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.2)
  4925. end
  4926. coroutine.resume(coroutine.create(function()
  4927. orb.Anchored = false
  4928. --CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  4929. local a = Instance.new("Part", workspace)
  4930. a.Name = "Direction"
  4931. a.Anchored = true
  4932. a.BrickColor = BrickC("Bright red")
  4933. a.Material = "Neon"
  4934. a.Transparency = 1
  4935. a.CanCollide = false
  4936. local ray = Ray.new(orb.CFrame.p, (root.CFrame.lookVector - orb.CFrame.p).unit * 500)
  4937. local ignore = orb
  4938. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4939. a.BottomSurface = 10
  4940. a.TopSurface = 10
  4941. local distance = (orb.CFrame.p - position).magnitude
  4942. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4943. a.CFrame = CF(orb.CFrame.p, position) * CF(0, 0, 0)
  4944. orb.CFrame = a.CFrame
  4945. a:Destroy()
  4946. local bv = Instance.new("BodyVelocity")
  4947. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4948. bv.velocity = orb.CFrame.lookVector * 125
  4949. bv.Parent = orb
  4950. local hitted = false
  4951. game:GetService("Debris"):AddItem(orb, 15)
  4952. wait()
  4953. local hit = orb.Touched:connect(function(hit)
  4954. if hitted == false then
  4955. hitted = true
  4956. coroutine.resume(coroutine.create(function()
  4957. for i = 0,1.8,0.1 do
  4958. swait()
  4959. hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
  4960. end
  4961. for i = 0,1.8,0.1 do
  4962. swait()
  4963. hum.CameraOffset = Vector3.new(0,0,0)
  4964. end
  4965. end))
  4966. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  4967. for i, v in pairs(FindNearestHead(orb.CFrame.p, 50000)) do
  4968. if v:FindFirstChild("Head") then
  4969. Eviscerate(v)
  4970. end
  4971. end
  4972. Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere")
  4973. Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere")
  4974. for i = 0, 9 do
  4975. --Aura(1, 2.5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Royal purple"), 0, "Sphere")
  4976. --Aura(2, 5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Royal purple"), 0, "Sphere")
  4977. end
  4978. orb.Anchored = true
  4979. orb.Transparency = 1
  4980. wait(8)
  4981. orb:Destroy()
  4982. end
  4983. end)
  4984. end))
  4985. for i = 0, 6, 0.1 do
  4986. swait()
  4987. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
  4988. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.2)
  4989. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  4990. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.2)
  4991. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(124)), 0.2)
  4992. LW.C0 = clerp(LW.C0, CF(-1.2* Player_Size, 0.8 + 0.02 * Sin(sine / 20* Player_Size), -.6* Player_Size) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.2)
  4993. end
  4994. attack = false
  4995. end
  4996.  
  4997.  
  4998. function BURN_IN_HELL()
  4999. attack = true
  5000. chatfunc("BURN....", BrickColor.random().Color)
  5001. for i = 0,5.2,0.1 do
  5002. swait()
  5003. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  5004. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  5005. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  5006. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  5007. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  5008. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  5009. end
  5010. chatfunc("IN....", BrickColor.random().Color)
  5011. wait(2)
  5012. CreateSound("331666100", char, 10, 1)
  5013. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  5014. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  5015. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  5016. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  5017. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  5018. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  5019. chatfunc("poot bird hell lol", BrickColor.random().Color)
  5020. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  5021. if v:FindFirstChild("Head") then
  5022. Eviscerate(v)
  5023. SoulSteal(v)
  5024. end
  5025. end
  5026. coroutine.resume(coroutine.create(function()
  5027. for i = 0,2.8,0.1 do
  5028. swait()
  5029. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  5030. end
  5031. for i = 0,1.8,0.1 do
  5032. swait()
  5033. hum.CameraOffset = Vector3.new(0,0,0)
  5034. end
  5035. end))
  5036. for i = 0,3.7,0.1 do
  5037. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  5038. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  5039. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  5040. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  5041. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  5042. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  5043. end
  5044. wait(.6)
  5045. CreateSound("907332997", hed, 10, 1)
  5046. attack = false
  5047. end
  5048.  
  5049. function Cso(ID, PARENT, VOLUME, PITCH)
  5050. local NSound = nil
  5051. coroutine.resume(coroutine.create(function()
  5052. NSound = IT("Sound", PARENT)
  5053. NSound.Volume = VOLUME
  5054. NSound.Pitch = PITCH
  5055. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  5056. swait()
  5057. NSound:play()
  5058. game:GetService("Debris"):AddItem(NSound, 10)
  5059. end))
  5060. return NSound
  5061. end
  5062. function OHHHHHHH()
  5063. attack = true
  5064. Speed = 0
  5065. CreateSound("663306786", hed, 10, 1)
  5066. chatfunc("help me.", BrickColor.new("Really red").Color)
  5067. for i = 0, 12, 0.1 do
  5068. swait()
  5069. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0 + 1 * i * Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.1)
  5070. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  5071. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  5072. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(143), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  5073. end
  5074. CreateSound("663307468", hed, 10, 1)
  5075. chatfunc("ahhhhhhhhhhhhhhh", BrickColor.new("Really black").Color)
  5076. for i = 0, 6, 0.1 do
  5077. swait()
  5078. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 4500 * Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  5079. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  5080. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  5081. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(156), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  5082. end
  5083. Speed = 56
  5084. attack = false
  5085. end
  5086. function Gum()
  5087. attack = true
  5088. Speed = 0
  5089. local Senses = Cso("605297168", hed, 6, 1)
  5090. swait(2)
  5091. repeat
  5092. swait()
  5093. 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(20)), 0.2)
  5094. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.2)
  5095. 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.2)
  5096. 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), Rad(-90)), 0.2)
  5097. until Senses.TimePosition > 2.7
  5098. for i = 0, 3, 0.1 do
  5099. swait()
  5100. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size) * angles(Rad(-30), Rad(0), Rad(0)), 0.5)
  5101. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  5102. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.5)
  5103. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5)
  5104. end
  5105. root.Anchored = true
  5106. repeat
  5107. swait()
  5108. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.7 + 0.1* Player_Size) * angles(Rad(90), Rad(0), Rad(0)), 0.5)
  5109. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  5110. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.5)
  5111. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5)
  5112. until Senses.Playing == false
  5113. Speed = 56
  5114. attack = false
  5115. root.Anchored = false
  5116. end
  5117. function WoodyGotWood()
  5118. attack = true
  5119. Speed = 0
  5120. local Woodlenny = Cso("1764642350", hed, 6, 1)
  5121. swait(2)
  5122. repeat
  5123. swait()
  5124. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 5)) * angles(Rad(20), Rad(0), Rad(5)), 0.2)
  5125. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20), Rad(0), Rad(-5 - 15 * Sin(sine / 20))), 0.2)
  5126. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.2)
  5127. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(0), Rad(-10)), 0.2)
  5128. until Woodlenny.TimePosition > 3.6
  5129. root.Anchored = true
  5130. repeat
  5131. swait()
  5132. for i = 0, 2, 0.1 do
  5133. swait()
  5134. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.7 + 0.1* Player_Size) * angles(Rad(-90), Rad(0), Rad(0)), 0.5)
  5135. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  5136. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(90)), 0.5)
  5137. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5)
  5138. end
  5139. for i = 0, 1.6, 0.1 do
  5140. swait()
  5141. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.4 + 0.1* Player_Size) * angles(Rad(-90), Rad(0), Rad(0)), 0.5)
  5142. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  5143. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(75)), 0.5)
  5144. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-75)), 0.5)
  5145. end
  5146. until Woodlenny.Playing == false
  5147. Speed = 56
  5148. attack = false
  5149. root.Anchored = false
  5150. end
  5151. function GalaBomb()
  5152. attack = true
  5153. chatfunc("pooty poot poot.", BrickColor.new("Really white").Color)
  5154. Cso("506001681", hed, 3.5, 1)
  5155. local orb = Instance.new("Part", char)
  5156. orb.Anchored = true
  5157. orb.BrickColor = BrickC("Really black")
  5158. orb.CanCollide = false
  5159. orb.FormFactor = 3
  5160. orb.Name = "Ring"
  5161. orb.Material = "Neon"
  5162. orb.Size = Vector3.new(1, 1, 1)
  5163. orb.Transparency = 0
  5164. orb.TopSurface = 0
  5165. orb.BottomSurface = 0
  5166. local orbm = Instance.new("SpecialMesh", orb)
  5167. orbm.MeshType = "Sphere"
  5168. orbm.Name = "SizeMesh"
  5169. orbm.Scale = Vector3.new(0, 0, 0)
  5170. local scaled = 0.1
  5171. local posid = 0
  5172. for i = 0, 12, 0.1 do
  5173. swait()
  5174. scaled = scaled + 0.001
  5175. posid = posid - scaled
  5176. orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
  5177. orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
  5178. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(0)), 0.1)
  5179. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-25)), 0.1)
  5180. 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1)
  5181. 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1)
  5182. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(170), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
  5183. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1)
  5184. end
  5185. for i = 0, 2, 0.1 do
  5186. swait()
  5187. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(-30)), 0.1)
  5188. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(30)), 0.1)
  5189. 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.1)
  5190. 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.1)
  5191. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
  5192. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.1)
  5193. end
  5194. coroutine.resume(coroutine.create(function()
  5195. orb.Anchored = false
  5196. CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
  5197. local a = Instance.new("Part", workspace)
  5198. a.Name = "Direction"
  5199. a.Anchored = true
  5200. a.BrickColor = BrickC("Really black")
  5201. a.Material = "Neon"
  5202. a.Transparency = 1
  5203. a.CanCollide = false
  5204. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  5205. local ignore = orb
  5206. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5207. a.BottomSurface = 10
  5208. a.TopSurface = 10
  5209. local distance = (orb.CFrame.p - position).magnitude
  5210. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5211. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  5212. orb.CFrame = a.CFrame
  5213. a:Destroy()
  5214. local bv = Instance.new("BodyVelocity")
  5215. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  5216. bv.velocity = orb.CFrame.lookVector * 125
  5217. bv.Parent = orb
  5218. local hitted = false
  5219. game:GetService("Debris"):AddItem(orb, 15)
  5220. swait()
  5221. local hit = orb.Touched:connect(function(hit)
  5222. if hitted == false then
  5223. hitted = true
  5224. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  5225. for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do
  5226. if v:FindFirstChild("Head") then
  5227. Eviscerate(v)
  5228. end
  5229. end
  5230. Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really black"), "Sphere")
  5231. Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really black"), "Sphere")
  5232. for i = 0, 9 do
  5233. Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere")
  5234. Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really black"), 0, "Sphere")
  5235. end
  5236. orb.Anchored = true
  5237. orb.Transparency = 1
  5238. wait(8)
  5239. orb:Destroy()
  5240. end
  5241. end)
  5242. end))
  5243. for i = 0, 1, 0.1 do
  5244. swait()
  5245. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(6), Rad(0), Rad(30)), 0.3)
  5246. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-15, 15)), Rad(-30)), 0.3)
  5247. 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(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(6)), 0.3)
  5248. 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(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-6)), 0.3)
  5249. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3)
  5250. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(6), Rad(Mrandom(-15, 15)), Rad(-5 + 4.5 * Sin(sine / 20))), 0.3)
  5251. end
  5252. attack = false
  5253. end
  5254. -------------------------------------------------------
  5255. --End Attacks N Stuff--
  5256. -------------------------------------------------------
  5257. mouse.KeyDown:connect(function(key)
  5258. if attack == false then
  5259. if key == 't' then
  5260. Taunt1()
  5261. elseif key == 'y' then
  5262. Taunt2()
  5263. elseif key == 'p' then
  5264. DANCEFORME2()
  5265. elseif key == 'c' then
  5266. LimitlessDivinity()
  5267. elseif key == 'v' then
  5268. NebulaticManiac()
  5269. elseif key == 'b' then
  5270. THUNDERCLAP()
  5271. elseif key == 'n' then
  5272. Call_Upon_The_Eyes()
  5273. elseif key == 'm' then
  5274. Painful_Stomp()
  5275. elseif key == 'l' then
  5276. ShutTheHellUp()
  5277. elseif key == 'q' then
  5278. GlitchedHell()
  5279. elseif key == 'k' then
  5280. GlitchedTeleport()
  5281. elseif key == 'j' then
  5282. Gum()
  5283. elseif key == 'g' then
  5284. WoodyGotWood()
  5285. elseif key == 'u' then
  5286. GalaBomb()
  5287. elseif key == 'f' then
  5288. Up_High_Noon()
  5289. elseif key == 'e' then
  5290. EndMySufferingV2()
  5291. elseif key == 'z' then
  5292. High_Noon()
  5293. elseif key == 'x' then
  5294. Eyeyeyeyeyeyey_Slammo()
  5295. elseif key == 'h' then
  5296. OHHHHHHH()
  5297. elseif key == 'r' then
  5298. BURN_IN_HELL()
  5299. end
  5300. end
  5301. end)
  5302.  
  5303.  
  5304.  
  5305.  
  5306.  
  5307.  
  5308.  
  5309.  
  5310.  
  5311.  
  5312.  
  5313. -------------------------------------------------------
  5314. --Start Animations--
  5315. -------------------------------------------------------
  5316. while true do
  5317. swait()
  5318. sine = sine + change
  5319. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  5320. local velderp = root.Velocity.y
  5321. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  5322. if equipped == true or equipped == false then
  5323. if attack == false then
  5324. idle = idle + 1
  5325. else
  5326. idle = 0
  5327. end
  5328. if 1 < root.Velocity.y and hitfloor == nil then
  5329. Anim = "Jump"
  5330. if attack == false then
  5331. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  5332. 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)
  5333. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  5334. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  5335. 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)
  5336. 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)
  5337. end
  5338. elseif -1 > root.Velocity.y and hitfloor == nil then
  5339. Anim = "Fall"
  5340. if attack == false then
  5341. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  5342. 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)
  5343. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  5344. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  5345. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  5346. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  5347. end
  5348. elseif torvel < 1 and hitfloor ~= nil then
  5349. Anim = "Idle"
  5350. change = 1
  5351. if attack == false then
  5352. 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(20)), 0.15)
  5353. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 7.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
  5354. 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(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.15)
  5355. 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(-75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(8)), 0.15)
  5356. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-.6), Rad(15 + 6.5 * Sin(sine / 20))), 0.1)
  5357. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-10), Rad(-.6), Rad(-15 - 6.5 * Sin(sine / 20))), 0.1)
  5358. end
  5359. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  5360. Anim = "Walk"
  5361. change = 1
  5362. if attack == false then
  5363. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  5364. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  5365. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  5366. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  5367. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
  5368. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  5369. end
  5370. elseif torvel >= 25 and hitfloor ~= nil then
  5371. Anim = "Sprint"
  5372. change = 1.35
  5373. if attack == false then
  5374. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  5375. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  5376. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  5377. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  5378. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  5379. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  5380. end
  5381. end
  5382. end
  5383. if 0 < #Effects then
  5384. for e = 1, #Effects do
  5385. if Effects[e] ~= nil then
  5386. local Thing = Effects[e]
  5387. if Thing ~= nil then
  5388. local Part = Thing[1]
  5389. local Mode = Thing[2]
  5390. local Delay = Thing[3]
  5391. local IncX = Thing[4]
  5392. local IncY = Thing[5]
  5393. local IncZ = Thing[6]
  5394. if 1 >= Thing[1].Transparency then
  5395. if Thing[2] == "Block1" then
  5396. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  5397. local Mesh = Thing[1].Mesh
  5398. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5399. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5400. elseif Thing[2] == "Block2" then
  5401. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  5402. local Mesh = Thing[7]
  5403. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5404. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5405. elseif Thing[2] == "Block3" then
  5406. 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)
  5407. local Mesh = Thing[7]
  5408. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5409. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5410. elseif Thing[2] == "Cylinder" then
  5411. local Mesh = Thing[1].Mesh
  5412. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5413. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5414. elseif Thing[2] == "Blood" then
  5415. local Mesh = Thing[7]
  5416. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  5417. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5418. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5419. elseif Thing[2] == "Elec" then
  5420. local Mesh = Thing[1].Mesh
  5421. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  5422. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5423. elseif Thing[2] == "Disappear" then
  5424. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5425. elseif Thing[2] == "Shatter" then
  5426. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5427. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  5428. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  5429. Thing[6] = Thing[6] + Thing[5]
  5430. end
  5431. else
  5432. Part.Parent = nil
  5433. table.remove(Effects, e)
  5434. end
  5435. end
  5436. end
  5437. end
  5438. end
  5439. end
  5440. -------------------------------------------------------
  5441. --End Animations And Script--
  5442. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement