yeetusFE

lol go raid vsb place 1

Dec 24th, 2020 (edited)
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 165.25 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("gogging, get ready for a whole lot of lag!")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. -----------------------------
  88.  
  89.  
  90. Player = owner
  91. PlayerGui = Player.PlayerGui
  92. Cam = workspace.CurrentCamera
  93. Backpack = Player.Backpack
  94. Character = Player.Character
  95. Humanoid = Character.Humanoid
  96. RootPart = Character["HumanoidRootPart"]
  97. Torso = Character["Torso"]
  98. Head = Character["Head"]
  99. RightArm = Character["Right Arm"]
  100. LeftArm = Character["Left Arm"]
  101. RightLeg = Character["Right Leg"]
  102. LeftLeg = Character["Left Leg"]
  103. RootJoint = RootPart["RootJoint"]
  104. Neck = Torso["Neck"]
  105. RightShoulder = Torso["Right Shoulder"]
  106. LeftShoulder = Torso["Left Shoulder"]
  107. RightHip = Torso["Right Hip"]
  108. LeftHip = Torso["Left Hip"]
  109.  
  110.  
  111. LVALUE = LeftArm.Color
  112. RVALUE = RightArm.Color
  113. LLVALUE = LeftLeg.Color
  114. RLVALUE = RightLeg.Color
  115. TVALUE = Torso.Color
  116. HVALUE = Head.Color
  117.  
  118. har = {"rbxassetid://6074619806"}
  119. local sick = Instance.new("Sound",Character)
  120. sick.Parent = Torso
  121. sick.Name = "comander_cool"
  122. sick:resume()
  123. sick.Looped = true
  124. sick.Volume = 1
  125. sick.MaxDistance = 80
  126. sick.Pitch = 1
  127. local zee = 1
  128. IT = Instance.new
  129. CF = CFrame.new
  130. VT = Vector3.new
  131. RAD = math.rad
  132. C3 = Color3.new
  133. UD2 = UDim2.new
  134. BRICKC = BrickColor.new
  135. ANGLES = CFrame.Angles
  136. EULER = CFrame.fromEulerAnglesXYZ
  137. COS = math.cos
  138. ACOS = math.acos
  139. SIN = math.sin
  140. ASIN = math.asin
  141. ABS = math.abs
  142. MRANDOM = math.random
  143. FLOOR = math.floor
  144. it = Instance.new
  145. Animation_Speed = 3
  146. local FORCERESET = false
  147. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  148. local Speed = 16
  149. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  150. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  151. local HOODC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  152. local SHOTGUNC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  153. local GUNC0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(30), RAD(0))
  154. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  155. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  156. local DAMAGEMULTIPLIER = 1
  157. local ANIM = "Idle"
  158. local ATTACK = false
  159. local EQUIPPED = false
  160. local HOLD = false
  161. local COMBO = 1
  162. local Rooted = false
  163. local SINE = 0
  164. local s = 0
  165. local Delete = false
  166. local c = 1
  167. local anchrd = false
  168. local RUN = game:service'RunService'
  169. local KEYHOLD = false
  170. local CHANGE = 2 / Animation_Speed
  171. local WALKINGANIM = false
  172. local VALUE1 = false
  173. local AntiBanish = true
  174. local ROBLOXIDLEANIMATION = IT("Animation")
  175. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  176. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  177. local NICE = false
  178. local VALUE3 = false
  179. --ROBLOXIDLEANIMATION.Parent = Humanoid
  180. local Fdead = false
  181. local Effects = IT("Folder", Character)
  182. Effects.Name = "Effects"
  183. local kay = false
  184. local ANIMATOR = Humanoid.Animator
  185. local ANIMATE = Character:FindFirstChild("Animate")
  186. local UNANCHOR = true
  187. local TOBANISH = {}
  188. local SKILLFONT = "Arcade"
  189. --//=================================\\
  190. --\\=================================//
  191. function BypassGS(sound)
  192. Instance.new("StringValue",sound).Name = "PleaseDontDestroyMeImAGoodBoiSoundSoPleaseDontDestroyMe"
  193. end
  194.  
  195. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  196. local Plrs = S.Players
  197. NewInstance = function(instance,parent,properties)
  198. local inst = Instance.new(instance)
  199. inst.Parent = parent
  200. if(properties)then
  201. for i,v in next, properties do
  202. pcall(function() inst[i] = v end)
  203. end
  204. end
  205. return inst;
  206. end
  207.  
  208.  
  209.  
  210. local INFACES = {54225558,4218765670,43840015,2305445434,62715613,328783891,297839245,121800545,66766963,7918803}
  211. local Lift = math.random(0,255)
  212. ff = Instance.new("ForceField",Character)
  213. ff.Visible = false
  214.  
  215.  
  216.  
  217. face = 297839245
  218.  
  219. local MATTER = {"Plastic","Wood","Slate","Concrete","CorrodedMetal","DiamondPlate","Foil","Grass","Ice","Marble","Granite","Brick","Pebble","Sand","Fabric","SmoothPlastic","Metal","WoodPlanks","Cobblestone","Air","Water","Rock","Glacier","Snow","Sandstone","Mud","Basalt","Ground","CrackedLava","Neon","Glass","Asphalt","LeafyGrass","Salt","Limestone","Pavement","ForceField"}
  220.  
  221. local PlayerSize = 1
  222. local FT,FRA,FLA,FRL,FLL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
  223. FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  224. FRA.MeshId,FRA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  225. FLA.MeshId,FLA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  226. FRL.MeshId,FRL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  227. FLL.MeshId,FLL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  228.  
  229. local AUDIOS = {"rbxassetid://844654533","rbxassetid://1439600000","rbxassetid://2256088590","rbxassetid://3154204326"}
  230.  
  231. if Player.Character:FindFirstChild("Animate") then
  232. local an = Humanoid:GetPlayingAnimationTracks()
  233. for i = 1, #an do
  234. an[i]:Stop()
  235. end
  236. Humanoid.Animator:Destroy()
  237. Player.Character:FindFirstChild("Animate"):Destroy()
  238. ANIMATOR:Destroy()
  239. ANIMATE:Destroy()
  240. end
  241. local fakerot = 0
  242.  
  243. local mde = "LORD"
  244. local FONTS = {"Fantasy","Highway","SciFi"}
  245.  
  246.  
  247.  
  248. function NewJoint(Part0,Part1,C0,C1)
  249. local Joint = Instance.new("Motor6D",Part0)
  250. Joint.Part0 = Part0
  251. Joint.Part1 = Part1
  252. Joint.C0 = C0
  253. Joint.C1 = C1
  254. Joint.Name = Part0.Name.." "..Part1.Name
  255. return Joint
  256. end
  257.  
  258. local Neck,RightShoulder,LeftShoulder,RightHip,LeftHip,RootJoint = NewJoint(Torso,Head,CF(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),CF(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)),NewJoint(Torso,RightArm,CF(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),CF(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)),NewJoint(Torso,LeftArm,CF(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),CF(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)),NewJoint(Torso,RightLeg,CF(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),CF(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)),NewJoint(Torso,LeftLeg,CF(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),CF(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)),NewJoint(RootPart,Torso,CF(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),CF(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0))
  259.  
  260.  
  261. --//=================================\\
  262. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  263. --\\=================================//
  264. --DO NOT TOUCH THIS
  265. if Character:FindFirstChild("Adds")then wait(.2) script.Disabled = true script:Destroy() error("You Shouldn't Have Added A Banisher Gun To My Script") end
  266.  
  267. ArtificialHB = Instance.new("BindableEvent", script)
  268. ArtificialHB.Name = "ArtificialHB"
  269.  
  270. script:WaitForChild("ArtificialHB")
  271.  
  272. frame = Frame_Speed
  273. tf = 0
  274. allowframeloss = false
  275. tossremainder = false
  276. lastframe = tick()
  277. script.ArtificialHB:Fire()
  278.  
  279. game:GetService("RunService").Heartbeat:connect(function(s, p)
  280. tf = tf + s
  281. if tf >= frame then
  282. if allowframeloss then
  283. script.ArtificialHB:Fire()
  284. lastframe = tick()
  285. else
  286. for i = 1, math.floor(tf / frame) do
  287. script.ArtificialHB:Fire()
  288. end
  289. lastframe = tick()
  290. end
  291. if tossremainder then
  292. tf = 0
  293. else
  294. tf = tf - frame * math.floor(tf / frame)
  295. end
  296. end
  297. end)
  298. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  299. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  300. end
  301.  
  302. function PositiveAngle(NUMBER)
  303. if NUMBER >= 0 then
  304. NUMBER = 0
  305. end
  306. return NUMBER
  307. end
  308.  
  309. function NegativeAngle(NUMBER)
  310. if NUMBER <= 0 then
  311. NUMBER = 0
  312. end
  313. return NUMBER
  314. end
  315. function Rwait(num)
  316. if num == 0 or num == nil then
  317. RUN.Stepped:wait()
  318. else
  319. for i=0,num do
  320. RUN.Stepped:wait()
  321. end
  322. end
  323. end
  324.  
  325.  
  326. BypassGS(sick)
  327. local S = IT("Sound",script)
  328. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  329. local NEWSOUND = nil
  330. coroutine.resume(coroutine.create(function()
  331. NEWSOUND = S:Clone()
  332. BypassGS(NEWSOUND)
  333. NEWSOUND.Parent = PARENT
  334. NEWSOUND.Volume = VOLUME
  335. NEWSOUND.Pitch = PITCH
  336. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  337. NEWSOUND:play()
  338. if DOESLOOP == true then
  339. NEWSOUND.Looped = true
  340. else
  341. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  342. NEWSOUND:remove()
  343. end
  344. end))
  345. return NEWSOUND
  346. end
  347.  
  348.  
  349. if Head:FindFirstChild("face") then
  350. coolface = Head.face.Texture
  351. end
  352.  
  353.  
  354. function CreateSound2(ID, PARENT, VOLUME, PITCH, TIMEPOS, DOESLOOP)
  355. local NEWSOUND = nil
  356. coroutine.resume(coroutine.create(function()
  357. NEWSOUND = S:Clone()
  358. BypassGS(NEWSOUND)
  359. NEWSOUND.Parent = PARENT
  360. NEWSOUND.Volume = VOLUME
  361. NEWSOUND.Pitch = PITCH
  362. NEWSOUND.TimePosition = TIMEPOS
  363. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  364. NEWSOUND:play()
  365. if DOESLOOP == true then
  366. NEWSOUND.Looped = true
  367. else
  368. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  369. NEWSOUND:remove()
  370. end
  371. end))
  372. return NEWSOUND
  373. end
  374.  
  375. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  376. local NEWMESH = IT(MESH)
  377. if MESH == "SpecialMesh" then
  378. NEWMESH.MeshType = MESHTYPE
  379. if MESHID ~= "nil" and MESHID ~= "" then
  380. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  381. end
  382. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  383. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  384. end
  385. end
  386. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  387. NEWMESH.Scale = SCALE
  388. NEWMESH.Parent = PARENT
  389. return NEWMESH
  390. end
  391.  
  392. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  393. local NEWPART = IT("Part")
  394. NEWPART.formFactor = FORMFACTOR
  395. NEWPART.Reflectance = REFLECTANCE
  396. NEWPART.Transparency = TRANSPARENCY
  397. NEWPART.CanCollide = false
  398. NEWPART.Locked = true
  399. NEWPART.Anchored = true
  400. if ANCHOR == false then
  401. NEWPART.Anchored = false
  402. end
  403. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  404. NEWPART.Name = NAME
  405. NEWPART.Size = SIZE
  406. NEWPART.Position = Torso.Position
  407. NEWPART.Material = MATERIAL
  408. NEWPART:BreakJoints()
  409. NEWPART.Parent = PARENT
  410. return NEWPART
  411. end
  412.  
  413. local function weldBetween(a, b)
  414. local weldd = Instance.new("ManualWeld")
  415. weldd.Part0 = a
  416. weldd.Part1 = b
  417. weldd.C0 = CFrame.new()
  418. weldd.C1 = b.CFrame:inverse() * a.CFrame
  419. weldd.Parent = a
  420. return weldd
  421. end
  422.  
  423.  
  424. function QuaternionFromCFrame(cf)
  425. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  426. local trace = m00 + m11 + m22
  427. if trace > 0 then
  428. local s = math.sqrt(1 + trace)
  429. local recip = 0.5 / s
  430. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  431. else
  432. local i = 0
  433. if m11 > m00 then
  434. i = 1
  435. end
  436. if m22 > (i == 0 and m00 or m11) then
  437. i = 2
  438. end
  439. if i == 0 then
  440. local s = math.sqrt(m00 - m11 - m22 + 1)
  441. local recip = 0.5 / s
  442. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  443. elseif i == 1 then
  444. local s = math.sqrt(m11 - m22 - m00 + 1)
  445. local recip = 0.5 / s
  446. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  447. elseif i == 2 then
  448. local s = math.sqrt(m22 - m00 - m11 + 1)
  449. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  450. end
  451. end
  452. end
  453.  
  454. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  455. local xs, ys, zs = x + x, y + y, z + z
  456. local wx, wy, wz = w * xs, w * ys, w * zs
  457. local xx = x * xs
  458. local xy = x * ys
  459. local xz = x * zs
  460. local yy = y * ys
  461. local yz = y * zs
  462. local zz = z * zs
  463. 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))
  464. end
  465.  
  466. function QuaternionSlerp(a, b, t)
  467. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  468. local startInterp, finishInterp;
  469. if cosTheta >= 0.0001 then
  470. if (1 - cosTheta) > 0.0001 then
  471. local theta = ACOS(cosTheta)
  472. local invSinTheta = 1 / SIN(theta)
  473. startInterp = SIN((1 - t) * theta) * invSinTheta
  474. finishInterp = SIN(t * theta) * invSinTheta
  475. else
  476. startInterp = 1 - t
  477. finishInterp = t
  478. end
  479. else
  480. if (1 + cosTheta) > 0.0001 then
  481. local theta = ACOS(-cosTheta)
  482. local invSinTheta = 1 / SIN(theta)
  483. startInterp = SIN((t - 1) * theta) * invSinTheta
  484. finishInterp = SIN(t * theta) * invSinTheta
  485. else
  486. startInterp = t - 1
  487. finishInterp = t
  488. end
  489. end
  490. 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
  491. end
  492.  
  493. function Clerp(a, b, t)
  494. local qa = {QuaternionFromCFrame(a)}
  495. local qb = {QuaternionFromCFrame(b)}
  496. local ax, ay, az = a.x, a.y, a.z
  497. local bx, by, bz = b.x, b.y, b.z
  498. local _t = 1 - t
  499. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  500. end
  501. function NoOutlines(PART)
  502. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  503. end
  504.  
  505. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  506. local NEWWELD = IT(TYPE)
  507. NEWWELD.Part0 = PART0
  508. NEWWELD.Part1 = PART1
  509. NEWWELD.C0 = C0
  510. NEWWELD.C1 = C1
  511. NEWWELD.Parent = PARENT
  512. return NEWWELD
  513. end
  514. function MakeForm(PART,TYPE)
  515. if TYPE == "Cyl" then
  516. local MSH = IT("CylinderMesh",PART)
  517. elseif TYPE == "Ball" then
  518. local MSH = IT("SpecialMesh",PART)
  519. MSH.MeshType = "Sphere"
  520. elseif TYPE == "Wedge" then
  521. local MSH = IT("SpecialMesh",PART)
  522. MSH.MeshType = "Wedge"
  523. end
  524. end
  525.  
  526. Debris = game:GetService("Debris")
  527.  
  528. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  529. local DIRECTION = CF(StartPos,EndPos).lookVector
  530. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  531. end
  532.  
  533. function turnto(position)
  534. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  535. end
  536. function ApplyDamage(Humanoid,Damage)
  537. Damage = Damage * DAMAGEMULTIPLIER
  538. if Humanoid.Health < 2000 then
  539. if Humanoid.Health - Damage > 0 then
  540. Humanoid.Health = Humanoid.Health - Damage
  541. else
  542. Humanoid.Parent:BreakJoints()
  543. end
  544. else
  545. Humanoid.Parent:BreakJoints()
  546. end
  547. end
  548.  
  549. function Fancy_spawntrail(LOC,AIMTO,OUCH)
  550. WACKYEFFECT2({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1.1,1.1,1.1), Transparency = 0, Transparency2 = 1, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  551. for i = 1, 1 do
  552. local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  553. local AIMPOS = CF(LOC,POS1) * CF(0,0,-45) * ANGLES(RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)))*CF(0,0,MRANDOM(5,75)/10).p
  554. local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  555. local DISTANCE = (POS - LOC).Magnitude
  556. if HIT then
  557. local HUM = nil
  558. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  559. HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  560. elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  561. HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  562. end
  563. if HUM then
  564. Kill3(HIT.Parent)
  565. end
  566. end
  567.  
  568. WACKYEFFECT2({Time = 20, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 4})
  569. WACKYEFFECT2({Time = 20, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.7,0.7,DISTANCE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(LOC,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  570. end
  571. end
  572.  
  573. function Fancy_spawntrail7(LOC,AIMTO,OUCH)
  574. for i = 1, 1 do
  575. local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  576. local AIMPOS = CF(LOC,POS1) * CF(0,0,-45) * ANGLES(RAD(0), RAD(0), RAD(0))*CF(0,0,10).p
  577. local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  578. local DISTANCE = (POS - LOC).Magnitude
  579. if HIT then
  580. local HUM = nil
  581. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  582. HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  583. elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  584. HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  585. end
  586. if HUM then
  587. end
  588. end
  589. local Z = math.random(150,255)
  590. Kill4(HIT)
  591. WACKYEFFECT2({Time = 5, EffectType = "Box", Size = VT(0.4,0.4,DISTANCE), Size2 = VT(0,0,DISTANCE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(LOC,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(Z,Z,Z), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  592. end
  593. end
  594.  
  595. function Fancy_spawntrail6(LOC,AIMTO,OUCH)
  596. for i = 1, 1 do
  597. local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  598. local AIMPOS = CF(LOC,POS1) * CF(0,0,-45) * ANGLES(RAD(0), RAD(0), RAD(0))*CF(0,0,10).p
  599. local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  600. local DISTANCE = (POS - LOC).Magnitude
  601. if HIT then
  602. local HUM = nil
  603. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  604. HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  605. elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  606. HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  607. end
  608. if HUM then
  609. end
  610. end
  611. local Z = math.random(150,255)
  612. ApplyAoE10(POS,3,30,65,0,true)
  613. WACKYEFFECT2({Time = 5, EffectType = "Box", Size = VT(0.4,0.4,DISTANCE), Size2 = VT(0,0,DISTANCE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(LOC,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(Z,Z,Z), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  614. end
  615. end
  616.  
  617. function Fancy_spawntrail3(LOC,AIMTO,OUCH)
  618. WACKYEFFECT2({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1.1,1.1,1.1), Transparency = 0, Transparency2 = 1, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  619. for i = 1, 1 do
  620. local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  621. local AIMPOS = CF(LOC,POS1) * CF(0,0,-45) * ANGLES(RAD(MRANDOM(-0,0)), RAD(MRANDOM(-0,0)), RAD(MRANDOM(-0,0)))*CF(0,0,MRANDOM(5,75)/10).p
  622. local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  623. local DISTANCE = (POS - LOC).Magnitude
  624. if HIT then
  625. local HUM = nil
  626. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  627. HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  628. elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  629. HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  630. end
  631. if HUM then
  632. Kill2(HUM)
  633. BEAN(HUM)
  634. end
  635. end
  636. WACKYEFFECT2({Time = 20, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 4})
  637. WACKYEFFECT2({Time = 20, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.7,0.7,DISTANCE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(LOC,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  638. end
  639. end
  640. local ragdolled = false
  641.  
  642. function Fancy_spawntrail2(LOC,AIMTO,OUCH)
  643. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.3,0.3,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  644. for i = 1, 1 do
  645. local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  646. local AIMPOS = CF(LOC,POS1) * CF(0,0,-45) * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,15)), RAD(MRANDOM(0,15)))*CF(0,0,MRANDOM(5,75)/10).p
  647. local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  648. local DISTANCE = (POS - LOC).Magnitude
  649. WACKYEFFECT2({Time = 20, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0.3,0.3,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  650. WACKYEFFECT2({Time = 20, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.1,0.1,DISTANCE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(LOC,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  651. end
  652. end
  653.  
  654. function SpawnTrail(FROM,TO,BIG)
  655. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, BrickColor.Random(), "Trail", VT(0,0,0))
  656. MakeForm(TRAIL,"Ball")
  657. local DIST = (FROM - TO).Magnitude
  658. if BIG == true then
  659. TRAIL.Size = VT(1,DIST,1)
  660. else
  661. TRAIL.Size = VT(0.25,DIST,0.25)
  662. end
  663. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  664. coroutine.resume(coroutine.create(function()
  665. for i = 1, 5 do
  666. wait()
  667. TRAIL.Transparency = TRAIL.Transparency
  668. end
  669. TRAIL:remove()
  670. end))
  671. end
  672.  
  673. function WACKYEFFECT2(Table)
  674. local TYPE = (Table.EffectType or "Sphere")
  675. local SIZE = (Table.Size or VT(1,1,1))
  676. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  677. local TRANSPARENCY = (Table.Transparency or 0)
  678. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  679. local CFRAME = (Table.CFrame or Torso.CFrame)
  680. local MOVEDIRECTION = (Table.MoveToPos or nil)
  681. local ROTATION1 = (Table.RotationX or 0)
  682. local ROTATION2 = (Table.RotationY or 0)
  683. local ROTATION3 = (Table.RotationZ or 0)
  684. local MATERIAL = (Table.Material or "Neon")
  685. local COLOR = (Table.Color or C3(1,1,1))
  686. local TIME = (Table.Time or 45)
  687. local SOUNDID = (Table.SoundID or nil)
  688. local SOUNDPITCH = (Table.SoundPitch or nil)
  689. local SOUNDVOLUME = (Table.SoundVolume or nil)
  690. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  691. local BOOMERANG = (Table.Boomerang or 0)
  692. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  693. coroutine.resume(coroutine.create(function()
  694. local PLAYSSOUND = false
  695. local SOUND = nil
  696. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  697. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  698. PLAYSSOUND = true
  699. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  700. end
  701. EFFECT.Color = COLOR
  702. local MSH = nil
  703. if TYPE == "Sphere" then
  704. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  705. elseif TYPE == "Block" or TYPE == "Box" then
  706. MSH = IT("BlockMesh",EFFECT)
  707. MSH.Scale = SIZE
  708. elseif TYPE == "Wave" then
  709. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  710. elseif TYPE == "Ring" then
  711. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  712. elseif TYPE == "Slash" then
  713. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  714. elseif TYPE == "Round Slash" then
  715. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  716. elseif TYPE == "Swirl" then
  717. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  718. elseif TYPE == "Skull" then
  719. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  720. elseif TYPE == "Crystal" then
  721. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  722. elseif TYPE == "Head" then
  723. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "539723444", "", SIZE, VT(0,0,0))
  724. end
  725. if MSH ~= nil then
  726. local BOOMR1 = 1+BOOMERANG/50
  727. local BOOMR2 = 1+SIZEBOOMERANG/50
  728. local MOVESPEED = nil
  729. if MOVEDIRECTION ~= nil then
  730. if USEBOOMERANGMATH == true then
  731. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  732. else
  733. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  734. end
  735. end
  736. local GROWTH = nil
  737. if USEBOOMERANGMATH == true then
  738. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  739. else
  740. GROWTH = (SIZE - ENDSIZE)
  741. end
  742. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  743. if TYPE == "Block" then
  744. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  745. else
  746. EFFECT.CFrame = CFRAME
  747. end
  748. if USEBOOMERANGMATH == true then
  749. for LOOP = 1, TIME+1 do
  750. wait()
  751. MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  752. if TYPE == "Wave" then
  753. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  754. end
  755. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  756. if TYPE == "Block" then
  757. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  758. else
  759. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  760. end
  761. if MOVEDIRECTION ~= nil then
  762. local ORI = EFFECT.Orientation
  763. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  764. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  765. end
  766. end
  767. else
  768. for LOOP = 1, TIME+1 do
  769. wait()
  770. MSH.Scale = MSH.Scale - GROWTH/TIME
  771. if TYPE == "Wave" then
  772. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  773. end
  774. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  775. if TYPE == "Block" then
  776. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  777. else
  778. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  779. end
  780. if MOVEDIRECTION ~= nil then
  781. local ORI = EFFECT.Orientation
  782. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  783. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  784. end
  785. end
  786. end
  787. EFFECT.Transparency = 1
  788. if PLAYSSOUND == false then
  789. EFFECT:remove()
  790. else
  791. repeat wait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  792. EFFECT:remove()
  793. end
  794. else
  795. if PLAYSSOUND == false then
  796. EFFECT:remove()
  797. else
  798. repeat wait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  799. EFFECT:remove()
  800. end
  801. end
  802. end))
  803. end
  804.  
  805. function WACKYEFFECT3(Table)
  806. local TYPE = (Table.EffectType or "Sphere")
  807. local SIZE = (Table.Size or VT(1,1,1))
  808. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  809. local TRANSPARENCY = (Table.Transparency or 0)
  810. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  811. local CFRAME = (Table.CFrame or Torso.CFrame)
  812. local MOVEDIRECTION = (Table.MoveToPos or nil)
  813. local ROTATION1 = (Table.RotationX or 0)
  814. local ROTATION2 = (Table.RotationY or 0)
  815. local ROTATION3 = (Table.RotationZ or 0)
  816. local MATERIAL = (Table.Material or "Neon")
  817. local COLOR = (Table.Color or C3(1,1,1))
  818. local TIME = (Table.Time or 45)
  819. local SOUNDID = (Table.SoundID or nil)
  820. local SOUNDPITCH = (Table.SoundPitch or nil)
  821. local SOUNDVOLUME = (Table.SoundVolume or nil)
  822. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  823. local BOOMERANG = (Table.Boomerang or 0)
  824. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  825. coroutine.resume(coroutine.create(function()
  826. local PLAYSSOUND = false
  827. local SOUND = nil
  828. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  829. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  830. PLAYSSOUND = true
  831. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  832. end
  833. EFFECT.Color = COLOR
  834. local MSH = nil
  835. if TYPE == "Sphere" then
  836. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  837. elseif TYPE == "Block" or TYPE == "Box" then
  838. MSH = IT("BlockMesh",EFFECT)
  839. MSH.Scale = SIZE
  840. elseif TYPE == "Wave" then
  841. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  842. elseif TYPE == "Ring" then
  843. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  844. elseif TYPE == "Slash" then
  845. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  846. elseif TYPE == "Round Slash" then
  847. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  848. elseif TYPE == "Swirl" then
  849. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  850. elseif TYPE == "Skull" then
  851. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  852. elseif TYPE == "Crystal" then
  853. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  854. end
  855. if MSH ~= nil then
  856. local BOOMR1 = 1+BOOMERANG/50
  857. local BOOMR2 = 1+SIZEBOOMERANG/50
  858. local MOVESPEED = nil
  859. if MOVEDIRECTION ~= nil then
  860. if USEBOOMERANGMATH == true then
  861. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  862. else
  863. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  864. end
  865. end
  866. local GROWTH = nil
  867. if USEBOOMERANGMATH == true then
  868. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  869. else
  870. GROWTH = (SIZE - ENDSIZE)
  871. end
  872. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  873. if TYPE == "Block" then
  874. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)))
  875. else
  876. EFFECT.CFrame = CFRAME
  877. end
  878. if USEBOOMERANGMATH == true then
  879. for LOOP = 1, TIME+1 do
  880. wait()
  881. MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  882. if TYPE == "Wave" then
  883. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  884. end
  885. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  886. if TYPE == "Block" then
  887. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)))
  888. else
  889. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  890. end
  891. if MOVEDIRECTION ~= nil then
  892. local ORI = EFFECT.Orientation
  893. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  894. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  895. end
  896. end
  897. else
  898. for LOOP = 1, TIME+1 do
  899. wait()
  900. MSH.Scale = MSH.Scale - GROWTH/TIME
  901. if TYPE == "Wave" then
  902. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  903. end
  904. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  905. if TYPE == "Block" then
  906. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)))
  907. else
  908. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  909. end
  910. if MOVEDIRECTION ~= nil then
  911. local ORI = EFFECT.Orientation
  912. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  913. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  914. end
  915. end
  916. end
  917. EFFECT.Transparency = 1
  918. if PLAYSSOUND == false then
  919. EFFECT:remove()
  920. else
  921. repeat wait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  922. EFFECT:remove()
  923. end
  924. else
  925. if PLAYSSOUND == false then
  926. EFFECT:remove()
  927. else
  928. repeat wait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  929. EFFECT:remove()
  930. end
  931. end
  932. end))
  933. end
  934.  
  935. --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})
  936. function WACKYEFFECT(Table)
  937. local TYPE = (Table.EffectType or "Sphere")
  938. local SIZE = (Table.Size or VT(1,1,1))
  939. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  940. local TRANSPARENCY = (Table.Transparency or 0)
  941. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  942. local CFRAME = (Table.CFrame or Torso.CFrame)
  943. local MOVEDIRECTION = (Table.MoveToPos or nil)
  944. local ROTATION1 = (Table.RotationX or 0)
  945. local ROTATION2 = (Table.RotationY or 0)
  946. local ROTATION3 = (Table.RotationZ or 0)
  947. local MATERIAL = (Table.Material or "Neon")
  948. local COLOR = (Table.Color or C3(1,1,1))
  949. local TIME = (Table.Time or 45)
  950. local SOUNDID = (Table.SoundID or nil)
  951. local SOUNDPITCH = (Table.SoundPitch or nil)
  952. local SOUNDVOLUME = (Table.SoundVolume or nil)
  953. coroutine.resume(coroutine.create(function()
  954. local PLAYSSOUND = false
  955. local SOUND = nil
  956. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  957. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  958. PLAYSSOUND = true
  959. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  960. end
  961. EFFECT.Color = COLOR
  962. local MSH = nil
  963. if TYPE == "Sphere" then
  964. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  965. elseif TYPE == "Block" then
  966. MSH = IT("BlockMesh",EFFECT)
  967. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  968. elseif TYPE == "Wave" then
  969. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  970. elseif TYPE == "Ring" then
  971. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  972. elseif TYPE == "Slash" then
  973. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  974. elseif TYPE == "Round Slash" then
  975. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  976. elseif TYPE == "Swirl" then
  977. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  978. elseif TYPE == "Skull" then
  979. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  980. elseif TYPE == "Crystal" then
  981. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  982. elseif TYPE == "Hat" then
  983. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "173774068", "", SIZE, VT(0,0,0))
  984. elseif TYPE == "Arm" then
  985. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2828256740", "", SIZE, VT(0,0,0))
  986. elseif TYPE == "torso" then
  987. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "48112070", "", SIZE, VT(0,0,0))
  988. elseif TYPE == "Head" then
  989. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "539723444", "", SIZE, VT(0,0,0))
  990. elseif TYPE == "Mask" then
  991. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4548197626", "", SIZE, VT(0,0,0))
  992. elseif TYPE == "Spike" then
  993. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2720161649", "", SIZE, VT(0,0,0))
  994. elseif TYPE == "Headtaker" then
  995. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1039854907", "1039856529", SIZE, VT(0,0,0))
  996. elseif TYPE == "Pumpkin" then
  997. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1050943947", "1050943957", SIZE, VT(0,0,0))
  998. end
  999. if MSH ~= nil then
  1000. local MOVESPEED = nil
  1001. if MOVEDIRECTION ~= nil then
  1002. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1003. end
  1004. local GROWTH = SIZE - ENDSIZE
  1005. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1006. if TYPE == "Block" then
  1007. EFFECT.CFrame = CFRAME
  1008. else
  1009. EFFECT.CFrame = CFRAME
  1010. end
  1011. for LOOP = 1, TIME+1 do
  1012. wait()
  1013. MSH.Scale = MSH.Scale - GROWTH/TIME
  1014. if TYPE == "Wave" then
  1015. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1016. end
  1017. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1018. if TYPE == "Block" then
  1019. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1020. else
  1021. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1022. end
  1023. if MOVEDIRECTION ~= nil then
  1024. local ORI = EFFECT.Orientation
  1025. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1026. EFFECT.Orientation = ORI
  1027. end
  1028. end
  1029. if PLAYSSOUND == false then
  1030. EFFECT:remove()
  1031. else
  1032. SOUND.Stopped:Connect(function()
  1033. EFFECT:remove()
  1034. end)
  1035. end
  1036. else
  1037. if PLAYSSOUND == false then
  1038. EFFECT:remove()
  1039. else
  1040. repeat wait() until SOUND.Playing == false
  1041. EFFECT:remove()
  1042. end
  1043. end
  1044. end))
  1045. end
  1046.  
  1047.  
  1048. --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})
  1049. function WACKYEFFECT4(Table)
  1050. local TYPE = (Table.EffectType or "Sphere")
  1051. local SIZE = (Table.Size or VT(1,1,1))
  1052. local MIDDLESIZE = (Table.Size2 or VT(0.5,0.5,0.5))
  1053. local ENDSIZE = (Table.Size3 or VT(0,0,0))
  1054. local TRANSPARENCY = (Table.Transparency or 0)
  1055. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1056. local CFRAME = (Table.CFrame or Torso.CFrame)
  1057. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1058. local ROTATION1 = (Table.RotationX or 0)
  1059. local ROTATION2 = (Table.RotationY or 0)
  1060. local ROTATION3 = (Table.RotationZ or 0)
  1061. local MATERIAL = (Table.Material or "Neon")
  1062. local COLOR = (Table.Color or C3(1,1,1))
  1063. local TIME = (Table.Time or 45)
  1064. local SOUNDID = (Table.SoundID or nil)
  1065. local SOUNDPITCH = (Table.SoundPitch or nil)
  1066. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1067. coroutine.resume(coroutine.create(function()
  1068. local PLAYSSOUND = false
  1069. local SOUND = nil
  1070. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1071. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1072. PLAYSSOUND = true
  1073. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1074. end
  1075. EFFECT.Color = COLOR
  1076. local MSH = nil
  1077. if TYPE == "Sphere" then
  1078. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1079. elseif TYPE == "Block" then
  1080. MSH = IT("BlockMesh",EFFECT)
  1081. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1082. elseif TYPE == "Wave" then
  1083. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1084. elseif TYPE == "Ring" then
  1085. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1086. elseif TYPE == "Slash" then
  1087. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1088. elseif TYPE == "Round Slash" then
  1089. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1090. elseif TYPE == "Swirl" then
  1091. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1092. elseif TYPE == "Skull" then
  1093. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1094. elseif TYPE == "Crystal" then
  1095. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1096. elseif TYPE == "Hat" then
  1097. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "173774068", "", SIZE, VT(0,0,0))
  1098. elseif TYPE == "Arm" then
  1099. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2828256740", "", SIZE, VT(0,0,0))
  1100. elseif TYPE == "torso" then
  1101. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "48112070", "", SIZE, VT(0,0,0))
  1102. elseif TYPE == "Head" then
  1103. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "539723444", "", SIZE, VT(0,0,0))
  1104. elseif TYPE == "Mask" then
  1105. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4548197626", "", SIZE, VT(0,0,0))
  1106. elseif TYPE == "Spike" then
  1107. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2720161649", "", SIZE, VT(0,0,0))
  1108. end
  1109. if MSH ~= nil then
  1110. local MOVESPEED = nil
  1111. if MOVEDIRECTION ~= nil then
  1112. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1113. end
  1114. local GROWTH = SIZE + MIDDLESIZE - ENDSIZE
  1115. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1116. if TYPE == "Block" then
  1117. EFFECT.CFrame = CFRAME
  1118. else
  1119. EFFECT.CFrame = CFRAME
  1120. end
  1121. for LOOP = 1, TIME+1 do
  1122. wait()
  1123. MSH.Scale = MSH.Scale - GROWTH/TIME
  1124. if TYPE == "Wave" then
  1125. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1126. end
  1127. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1128. if TYPE == "Block" then
  1129. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1130. else
  1131. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1132. end
  1133. if MOVEDIRECTION ~= nil then
  1134. local ORI = EFFECT.Orientation
  1135. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1136. EFFECT.Orientation = ORI
  1137. end
  1138. end
  1139. if PLAYSSOUND == false then
  1140. EFFECT:remove()
  1141. else
  1142. SOUND.Stopped:Connect(function()
  1143. EFFECT:remove()
  1144. end)
  1145. end
  1146. else
  1147. if PLAYSSOUND == false then
  1148. EFFECT:remove()
  1149. else
  1150. repeat wait() until SOUND.Playing == false
  1151. EFFECT:remove()
  1152. end
  1153. end
  1154. end))
  1155. end
  1156. local glitch = false
  1157. local INTRO2 = true
  1158.  
  1159. function how(text,doclone,obj,type,pos,rot)
  1160. spawn(function()
  1161. local raig
  1162. local w
  1163. if not doclone then
  1164. if type:lower() == "bgui" then
  1165. raig= Instance.new("BillboardGui", Head)
  1166. elseif type:lower() == "frame" then
  1167. raig = Instance.new("Frame", nil)
  1168. end
  1169. raig.Adornee = nil
  1170. raig.Name = "why"
  1171. raig.Size = UDim2.new(4, 0, 1.2, 0)
  1172. raig.StudsOffset = pos
  1173. w = Instance.new("TextLabel", raig)
  1174. w.Size = UDim2.new(10/2, 0, 7/2, 0)
  1175. w.FontSize = "Size8"
  1176. w.TextScaled = true
  1177. w.Rotation=rot
  1178. w.TextTransparency = 0
  1179. w.BackgroundTransparency = 1
  1180. w.TextTransparency = 0
  1181. w.TextStrokeTransparency = 0
  1182. w.Font = "Arcade"
  1183. w.TextStrokeColor3 = Color3.new(1,1,1)
  1184. w.TextColor3 = Color3.new(0,0,0)
  1185. w.Text = text
  1186. elseif doclone and obj then
  1187. w = obj:Clone()
  1188. w.Parent = obj.Parent
  1189. end
  1190.  
  1191. wait()
  1192. for i=1,55 do
  1193. wait()
  1194. w.TextTransparency = 1-(1/i)
  1195. w.TextStrokeTransparency = 1-(1/i)
  1196. end
  1197. game:GetService("Debris"):AddItem(w,0)
  1198. end)
  1199. end
  1200.  
  1201. function chatfunc(text)
  1202. local stop = false
  1203. local chat = coroutine.wrap(function()
  1204. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1205. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1206. end
  1207. local Bill = Instance.new("BillboardGui",Character)
  1208. Bill.Size = UDim2.new(5, 35,3, 15)
  1209. Bill.StudsOffset = Vector3.new(0,2,0)
  1210. Bill.Adornee = Character.Head
  1211. Bill.Name = "TalkingBillBoard"
  1212. Bill.MaxDistance = 70
  1213. local Hehe = Instance.new("TextLabel",Bill)
  1214. Hehe.BackgroundTransparency = 1
  1215. Hehe.BorderSizePixel = 0
  1216. Hehe.Text = ""
  1217. Hehe.TextSize = 30
  1218. Hehe.TextStrokeTransparency = 0
  1219. Hehe.TextScaled = true
  1220. Hehe.TextWrapped = false
  1221. Hehe.Size = UDim2.new(1,0,0.5,0)
  1222. coroutine.resume(coroutine.create(function()
  1223. while Hehe ~= nil do
  1224. wait()
  1225.  
  1226. if math.random(1,55) == 1 then
  1227. for i = 1, math.random(5,25) do
  1228. wait()
  1229. Hehe.Font = (FONTS[MRANDOM(1,#FONTS)])
  1230. Hehe.Position = UDim2.new(math.random(-1,1)/10,math.random(0,0),math.random(-1,1)/10,0)
  1231. Hehe.Rotation = math.random(-20,20)
  1232. Hehe.TextColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  1233. Hehe.TextStrokeColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  1234. end
  1235. else
  1236. Hehe.Font = "Fantasy"
  1237. Hehe.Position = UDim2.new(math.random(-0,0),math.random(-0,0),.1,0)
  1238. Hehe.Rotation = math.random(-0,0)
  1239. Hehe.TextColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  1240. Hehe.TextStrokeColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  1241. Hehe.Rotation = 0
  1242. end
  1243.  
  1244. Bill.ExtentsOffset = Vector3.new(0,0.2*COS(SINE/15),0)
  1245. end
  1246. end))
  1247. for i = 1,string.len(text),1 do
  1248. wait()
  1249. how('',true,Hehe)
  1250. Hehe.Text = string.sub(text,1,i)
  1251. end
  1252. coroutine.resume(coroutine.create(function()
  1253. while stop == false do
  1254. wait()
  1255. how('',true,Hehe)
  1256. end
  1257. end))
  1258. wait(3)--Re[math.random(1, 93)]
  1259. for i = 0, 5, .035 do
  1260. wait()
  1261. local spin = 0
  1262. spin = spin + 0.5
  1263.  
  1264. Hehe.TextStrokeTransparency = i
  1265. Hehe.TextTransparency = i
  1266. stop = true
  1267. end
  1268.  
  1269. Bill:Destroy()
  1270. end)
  1271. chat()
  1272. end
  1273.  
  1274.  
  1275. function vanguard()
  1276. ATTACK = true
  1277. Rooted = true
  1278. chatfunc("I am the vanguard of your destruction.")
  1279. CreateSound(2563659001,Torso,5,1,false)
  1280. for i=0, 0.1, 0.008 / Animation_Speed do
  1281. wait()
  1282. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , 0+0.08*COS(SINE/10)) * ANGLES(RAD(0+5*SIN(SINE/10)), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1283. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0-15*SIN(SINE/3)), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1284. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+0.08*SIN(SINE/10), 0) * ANGLES(RAD(180), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  1285. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5+0.08*SIN(SINE/10), 0.5) * ANGLES(RAD(-40), RAD(20), RAD(30)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1286. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-0.08*COS(SINE/10), 0) * ANGLES(RAD(0+7*SIN(SINE/10)), RAD(-3), RAD(3)) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.35 / Animation_Speed)
  1287. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-0.08*COS(SINE/10) , 0) * ANGLES(RAD(0+7*SIN(SINE/10)), RAD(3), RAD(-3)) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.35 / Animation_Speed)
  1288. end
  1289. for i=0, 0.1, 0.07 / Animation_Speed do
  1290. wait()
  1291. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , 0+0.08*COS(SINE/10)) * ANGLES(RAD(0+5*SIN(SINE/10)), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1292. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0-15*SIN(SINE/3)), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1293. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+0.08*SIN(SINE/10), -0.3) * ANGLES(RAD(90), RAD(0), RAD(0))* RIGHTSHOULDERC0, 1 / Animation_Speed)
  1294. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5+0.08*SIN(SINE/10), 0.5) * ANGLES(RAD(-40), RAD(20), RAD(30)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1295. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-0.08*COS(SINE/10), 0) * ANGLES(RAD(0+7*SIN(SINE/10)), RAD(-3), RAD(3)) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.35 / Animation_Speed)
  1296. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-0.08*COS(SINE/10) , 0) * ANGLES(RAD(0+7*SIN(SINE/10)), RAD(3), RAD(-3)) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.35 / Animation_Speed)
  1297. end
  1298. for i=0, 0.1, 0.01 / Animation_Speed do
  1299. wait()
  1300. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , 0+0.08*COS(SINE/10)) * ANGLES(RAD(0+5*SIN(SINE/10)), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1301. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0-15*SIN(SINE/3)), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1302. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.5, 0.5+0.08*SIN(SINE/10), -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0))* RIGHTSHOULDERC0,1 / Animation_Speed)
  1303. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5+0.08*SIN(SINE/10), 0.5) * ANGLES(RAD(-40), RAD(20), RAD(30)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1304. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-0.08*COS(SINE/10), 0) * ANGLES(RAD(0+7*SIN(SINE/10)), RAD(-3), RAD(3)) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.35 / Animation_Speed)
  1305. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-0.08*COS(SINE/10) , 0) * ANGLES(RAD(0+7*SIN(SINE/10)), RAD(3), RAD(-3)) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.35 / Animation_Speed)
  1306. end
  1307. for i=0, 0.1, 0.07 / Animation_Speed do
  1308. wait()
  1309. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , 0+0.08*COS(SINE/10)) * ANGLES(RAD(0+5*SIN(SINE/10)), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1310. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0-15*SIN(SINE/3)), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1311. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+0.08*SIN(SINE/10), -0.3) * ANGLES(RAD(90), RAD(0), RAD(0))* RIGHTSHOULDERC0, 1 / Animation_Speed)
  1312. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5+0.08*SIN(SINE/10), 0.5) * ANGLES(RAD(-40), RAD(20), RAD(30)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1313. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-0.08*COS(SINE/10), 0) * ANGLES(RAD(0+7*SIN(SINE/10)), RAD(-3), RAD(3)) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.35 / Animation_Speed)
  1314. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-0.08*COS(SINE/10) , 0) * ANGLES(RAD(0+7*SIN(SINE/10)), RAD(3), RAD(-3)) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.35 / Animation_Speed)
  1315. end
  1316. for i=0, 0.1, 0.0035 / Animation_Speed do
  1317. wait()
  1318. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , 0+0.08*COS(SINE/10)) * ANGLES(RAD(0+5*SIN(SINE/10)), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1319. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0-15*SIN(SINE/3)), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1320. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+0.08*SIN(SINE/10), 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0))* RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  1321. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5+0.08*SIN(SINE/10), 0.5) * ANGLES(RAD(-40), RAD(20), RAD(30)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1322. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-0.08*COS(SINE/10), 0) * ANGLES(RAD(0+7*SIN(SINE/10)), RAD(-3), RAD(3)) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.35 / Animation_Speed)
  1323. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-0.08*COS(SINE/10) , 0) * ANGLES(RAD(0+7*SIN(SINE/10)), RAD(3), RAD(-3)) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.35 / Animation_Speed)
  1324. end
  1325. ATTACK = false
  1326. Rooted = false
  1327. end
  1328.  
  1329. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1330. function Banish(Foe)
  1331. if Foe then
  1332. coroutine.resume(coroutine.create(function()
  1333. --if game.Players:FindFirstChild(Foe.Name) then
  1334. table.insert(TOBANISH,Foe.Name)
  1335. --end
  1336. Foe.Archivable = true
  1337. local CLONE = Foe:Clone()
  1338. Foe:Destroy()
  1339. CLONE.Parent = Effects
  1340. CLONE:BreakJoints()
  1341. local MATERIALS = {"Glass","Neon"}
  1342. for _, c in pairs(CLONE:GetDescendants()) do
  1343. if c:IsA("BasePart") then
  1344. c.Anchored = true
  1345. c.Transparency = c.Transparency + 1
  1346. c.Material = MATERIALS[MRANDOM(1,2)]
  1347. c.Color = C3(1,0,0)
  1348. if c.ClassName == "MeshPart" then
  1349. c.TextureID = ""
  1350. end
  1351. if c:FindFirstChildOfClass("SpecialMesh") then
  1352. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1353. end
  1354. if c:FindFirstChildOfClass("Decal") then
  1355. c:FindFirstChildOfClass("Decal"):remove()
  1356. end
  1357. c.Name = "Banished"
  1358. c.CanCollide = false
  1359. else
  1360. c:remove()
  1361. end
  1362. end
  1363. local A = false
  1364. for i = 1, 35 do
  1365. if A == false then
  1366. A = true
  1367. elseif A == true then
  1368. A = false
  1369. end
  1370. for _, c in pairs(CLONE:GetDescendants()) do
  1371. if c:IsA("BasePart") then
  1372. c.Anchored = true
  1373. c.Material = MATERIALS[MRANDOM(1,2)]
  1374. c.Transparency = c.Transparency + 0.8/35
  1375. if A == false then
  1376. c.CFrame = c.CFrame*CF(0,0,0)
  1377. elseif A == true then
  1378. c.CFrame = c.CFrame*CF(0,0,0)
  1379. end
  1380. end
  1381. end
  1382. wait()
  1383. end
  1384. CLONE:remove()
  1385. end))
  1386. end
  1387. end
  1388.  
  1389. function FBanish(Foe)
  1390. if Foe then
  1391. coroutine.resume(coroutine.create(function()
  1392. --if game.Players:FindFirstChild(Foe.Name) then
  1393. --table.insert(TOBANISH,Foe.Name)
  1394. --end
  1395. Foe.Archivable = true
  1396. local CLONE = Foe:Clone()
  1397. Foe:Destroy()
  1398. CLONE.Parent = Effects
  1399. CLONE:BreakJoints()
  1400. local MATERIALS = {"Glass","Neon"}
  1401. for _, c in pairs(CLONE:GetDescendants()) do
  1402. if c:IsA("BasePart") then
  1403. c.Anchored = true
  1404. c.Transparency = c.Transparency + 1
  1405. c.Material = MATERIALS[MRANDOM(1,2)]
  1406. c.Color = C3(1,0,0)
  1407. if c.ClassName == "MeshPart" then
  1408. c.TextureID = ""
  1409. end
  1410. if c:FindFirstChildOfClass("SpecialMesh") then
  1411. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1412. end
  1413. if c:FindFirstChildOfClass("Decal") then
  1414. c:FindFirstChildOfClass("Decal"):remove()
  1415. end
  1416. c.Name = "Banished"
  1417. c.CanCollide = false
  1418. else
  1419. c:remove()
  1420. end
  1421. end
  1422. local A = false
  1423. for i = 1, 35 do
  1424. if A == false then
  1425. A = true
  1426. elseif A == true then
  1427. A = false
  1428. end
  1429. for _, c in pairs(CLONE:GetDescendants()) do
  1430. if c:IsA("BasePart") then
  1431. c.Anchored = true
  1432. c.Material = MATERIALS[MRANDOM(1,2)]
  1433. c.Transparency = c.Transparency + 0.8/35
  1434. if A == false then
  1435. c.CFrame = c.CFrame*CF(0,0,0)
  1436. elseif A == true then
  1437. c.CFrame = c.CFrame*CF(0,0,0)
  1438. end
  1439. end
  1440. end
  1441. wait()
  1442. end
  1443. CLONE:remove()
  1444. end))
  1445. end
  1446. end
  1447.  
  1448. function Kill2(Foe)
  1449. local TARGET = Mouse.Target
  1450. if Foe then
  1451. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1452. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1453. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1454. local FOE = Mouse.Target.Parent
  1455. ATTACK = true
  1456. Rooted = true
  1457. WACKYEFFECT({Time = 100, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame*CF(-2,0,0), MoveToPos = ROOT.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Plastic", Color=Color3.fromRGB(MRANDOM(1,255),MRANDOM(1,255),MRANDOM(1,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1458.  
  1459. WACKYEFFECT({Time = 100, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame*CF(2,0,0), MoveToPos = ROOT.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Plastic", Color=Color3.fromRGB(MRANDOM(1,255),MRANDOM(1,255),MRANDOM(1,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1460.  
  1461. WACKYEFFECT({Time = 100, EffectType = "Arm", Size = VT(2.05,1.05,1.05), Size2 = VT(2.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame*CF(0,0,0), MoveToPos = ROOT.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Plastic", Color=Color3.fromRGB(MRANDOM(1,255),MRANDOM(1,255),MRANDOM(1,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1462.  
  1463. WACKYEFFECT({Time = 100, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame*CF(0,-2,0), MoveToPos = ROOT.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Plastic", Color=Color3.fromRGB(MRANDOM(1,255),MRANDOM(1,255),MRANDOM(1,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1464.  
  1465. WACKYEFFECT({Time = 100, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame*CF(0,-2,0), MoveToPos = ROOT.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Plastic", Color=Color3.fromRGB(MRANDOM(1,255),MRANDOM(1,255),MRANDOM(1,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1466.  
  1467. WACKYEFFECT({Time = 100, EffectType = "Head", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame*CF(0,1,0), MoveToPos = ROOT.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Plastic", Color= Color3.fromRGB(MRANDOM(1,255),MRANDOM(1,255),MRANDOM(1,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1468. FOE.Parent = nil
  1469. end
  1470. end
  1471. end
  1472.  
  1473.  
  1474. function Kill3(Foe)
  1475. local TARGET = Mouse.Target
  1476. if Foe then
  1477. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1478. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1479. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1480. local FOE = Mouse.Target.Parent
  1481. ATTACK = true
  1482. Rooted = true
  1483. WACKYEFFECT({Time = 35, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame*CF(-2,0,0), MoveToPos = ROOT.CFrame*CF(MRANDOM(-9,9),MRANDOM(-9,9),MRANDOM(-9,9)).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color=Color3.fromRGB(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1484.  
  1485. WACKYEFFECT({Time = 35, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame*CF(2,0,0), MoveToPos = ROOT.CFrame*CF(MRANDOM(-9,9),MRANDOM(-9,9),MRANDOM(-9,9)).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color=Color3.fromRGB(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1486.  
  1487. WACKYEFFECT({Time = 35, EffectType = "Arm", Size = VT(2.05,1.05,1.05), Size2 = VT(2.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame*CF(0,0,0), MoveToPos = ROOT.CFrame*CF(MRANDOM(-9,9),MRANDOM(-9,9),MRANDOM(-9,9)).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color=Color3.fromRGB(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1488.  
  1489. WACKYEFFECT({Time = 35, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame*CF(0,-2,0), MoveToPos = ROOT.CFrame*CF(MRANDOM(-9,9),MRANDOM(-9,9),MRANDOM(-9,9)).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color=Color3.fromRGB(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1490.  
  1491. WACKYEFFECT({Time = 35, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame*CF(0,-2,0), MoveToPos = ROOT.CFrame*CF(MRANDOM(-9,9),MRANDOM(-9,9),MRANDOM(-9,9)).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color=Color3.fromRGB(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1492.  
  1493. WACKYEFFECT({Time = 35, EffectType = "Head", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame*CF(0,1,0), MoveToPos = ROOT.CFrame*CF(MRANDOM(-9,9),MRANDOM(-9,9),MRANDOM(-9,9)).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color= Color3.fromRGB(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1494. FOE.Parent = nil
  1495. end
  1496. end
  1497. end
  1498.  
  1499.  
  1500. workspace.ChildAdded:connect(function(instance)
  1501. for BANISH = 1, #TOBANISH do
  1502. if TOBANISH[BANISH] ~= nil then
  1503. if instance.Name == TOBANISH[BANISH] then
  1504. coroutine.resume(coroutine.create(function()
  1505. instance:ClearAllChildren()
  1506.  
  1507. end))
  1508. end
  1509. end
  1510. end
  1511. end)
  1512. function StatLabel(CFRAME, TEXT, COLOR)
  1513. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1514. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1515. local BODYGYRO = IT("BodyGyro", STATPART)
  1516. game:GetService("Debris"):AddItem(STATPART ,5)
  1517. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1518. BILLBOARDGUI.Adornee = STATPART
  1519. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1520. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1521. BILLBOARDGUI.AlwaysOnTop = false
  1522. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1523. TEXTLABEL.BackgroundTransparency = 1
  1524. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1525. TEXTLABEL.Text = TEXT
  1526. TEXTLABEL.Font = SKILLFONT
  1527. TEXTLABEL.FontSize="Size42"
  1528. TEXTLABEL.TextColor3 = COLOR
  1529. TEXTLABEL.TextStrokeTransparency = 0
  1530. TEXTLABEL.TextScaled = true
  1531. TEXTLABEL.TextWrapped = true
  1532. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1533. for i = 1, 10 do
  1534. wait()
  1535. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1536. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/10)
  1537. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1538. end
  1539. THEPART.Parent = nil
  1540. end),STATPART, TEXTLABEL)
  1541. end
  1542. function ApplyDamage2(Humanoid,Damage,TorsoPart)
  1543. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1544. defence.Name = ("HitBy"..Player.Name)
  1545. game:GetService("Debris"):AddItem(defence, 0.001)
  1546. Damage = Damage * DAMAGEMULTIPLIER
  1547. if Humanoid.Health ~= 0 then
  1548. local CritChance = MRANDOM(1,100)
  1549. if Damage > Humanoid.Health then
  1550. Damage = math.ceil(Humanoid.Health)
  1551. if Damage == 0 then
  1552. Damage = 0.1
  1553. end
  1554. end
  1555. Humanoid.Health = Humanoid.Health - Damage
  1556. end
  1557. end
  1558.  
  1559. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1560. local CHILDREN = workspace:GetDescendants()
  1561. for index, CHILD in pairs(CHILDREN) do
  1562. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1563. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1564. if HUM then
  1565. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1566. if TORSO then
  1567. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1568. if INSTAKILL == true then
  1569. CHILD:BreakJoints()
  1570. else
  1571. local DMG = MRANDOM(MINDMG,MAXDMG)
  1572. ApplyDamage2(HUM,DMG,TORSO)
  1573. end
  1574. if FLING > 0 then
  1575. for _, c in pairs(CHILD:GetChildren()) do
  1576. if c:IsA("BasePart") then
  1577. local bv = Instance.new("BodyVelocity")
  1578. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1579. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1580. bv.Parent = c
  1581. Debris:AddItem(bv,0.05)
  1582. end
  1583. end
  1584. end
  1585. end
  1586. end
  1587. end
  1588. end
  1589. end
  1590. end
  1591.  
  1592. function ApplyAoE4(POSITION,RANGE,MINDMG,MAXDMG,FLING,PARTICLE)
  1593. local CHILDREN = workspace:GetDescendants()
  1594. for index, CHILD in pairs(CHILDREN) do
  1595. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1596. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1597. if HUM then
  1598. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1599. if TORSO then
  1600. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1601. if PARTICLE == true then
  1602. if HUM.Health < 10 then
  1603. KillChildren3(TORSO.Parent)
  1604. end
  1605. local DMG = MRANDOM(MINDMG,MAXDMG)
  1606. ApplyDamage2(HUM,DMG,TORSO)
  1607. end
  1608. if FLING > 0 then
  1609. for _, c in pairs(CHILD:GetChildren()) do
  1610. if c:IsA("BasePart") then
  1611. local bv = Instance.new("BodyVelocity")
  1612. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1613. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1614. bv.Parent = c
  1615. Debris:AddItem(bv,0.05)
  1616. end
  1617. end
  1618. end
  1619. end
  1620. end
  1621. end
  1622. end
  1623. end
  1624. end
  1625.  
  1626.  
  1627.  
  1628. function ApplyAoE5(POSITION,RANGE,MINDMG,MAXDMG,FLING,RAGDOLL)
  1629. local CHILDREN = workspace:GetDescendants()
  1630. for index, CHILD in pairs(CHILDREN) do
  1631. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1632. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1633. if HUM then
  1634. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1635. if TORSO then
  1636. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1637. if RAGDOLL == true then
  1638. if HUM.Health < 30 then
  1639. Ragdoll(TORSO.Parent,false,false)
  1640. end
  1641. local DMG = MRANDOM(MINDMG,MAXDMG)
  1642. ApplyDamage2(HUM,DMG,TORSO)
  1643. end
  1644. if FLING > 0 then
  1645. for _, c in pairs(CHILD:GetChildren()) do
  1646. if c:IsA("BasePart") then
  1647. local bv = Instance.new("BodyVelocity")
  1648. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1649. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1650. bv.Parent = c
  1651. Debris:AddItem(bv,0.05)
  1652. end
  1653. end
  1654. end
  1655. end
  1656. end
  1657. end
  1658. end
  1659. end
  1660. end
  1661.  
  1662.  
  1663.  
  1664. function ApplyAoE6(POSITION,RANGE,MINDMG,MAXDMG,FLING,DKILL)
  1665. local CHILDREN = workspace:GetDescendants()
  1666. for index, CHILD in pairs(CHILDREN) do
  1667. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1668. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1669. if HUM then
  1670. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1671. if TORSO then
  1672. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1673. if DKILL == true then
  1674. if HUM.Health < 30 then
  1675. HUM.Health = 50
  1676. end
  1677. local DMG = MRANDOM(MINDMG,MAXDMG)
  1678. ApplyDamage2(HUM,DMG,TORSO)
  1679. end
  1680. if FLING > 0 then
  1681. for _, c in pairs(CHILD:GetChildren()) do
  1682. if c:IsA("BasePart") then
  1683. local bv = Instance.new("BodyVelocity")
  1684. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1685. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1686. bv.Parent = c
  1687. Debris:AddItem(bv,0.05)
  1688. end
  1689. end
  1690. end
  1691. end
  1692. end
  1693. end
  1694. end
  1695. end
  1696. end
  1697.  
  1698. function ApplyAoE7(POSITION,RANGE,MINDMG,MAXDMG,FLING,RAGDOLL)
  1699. local CHILDREN = workspace:GetDescendants()
  1700. for index, CHILD in pairs(CHILDREN) do
  1701. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1702. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1703. if HUM then
  1704. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1705. if TORSO then
  1706. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1707.  
  1708. if RAGDOLL == true then
  1709. if HUM.Health > 0 then
  1710. CreateSound(4988625180,TORSO,sick.Volume + 1,1,false)
  1711. Ragdoll(TORSO.Parent,false,false)
  1712. end
  1713. local DMG = MRANDOM(MINDMG,MAXDMG)
  1714. ApplyDamage2(HUM,DMG,TORSO)
  1715. end
  1716. if FLING > 0 then
  1717. for _, c in pairs(CHILD:GetChildren()) do
  1718. if c:IsA("BasePart") then
  1719. local bv = Instance.new("BodyVelocity")
  1720. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1721. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1722. bv.Parent = c
  1723. Debris:AddItem(bv,0.05)
  1724. end
  1725. end
  1726. end
  1727. end
  1728. end
  1729. end
  1730. end
  1731. end
  1732. end
  1733.  
  1734.  
  1735. function ApplyAoE8(POSITION,RANGE,MINDMG,MAXDMG,FLING,RAGDOLL)
  1736. local CHILDREN = workspace:GetDescendants()
  1737. for index, CHILD in pairs(CHILDREN) do
  1738. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1739. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1740. if HUM then
  1741. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1742. if TORSO then
  1743. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1744.  
  1745. if RAGDOLL == true then
  1746. if HUM.Health > 0 then
  1747. WACKYEFFECT2({Time = 10, EffectType = "Sphere", Size = VT(20,20,20), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0, CFrame = TORSO.CFrame*CF(0,0,0)*CFrame.Angles(math.rad(0),math.rad(math.random(-360,360)),math.rad(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(150,0,150), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1748. HUM.Parent:Destroy()
  1749. end
  1750. local DMG = MRANDOM(MINDMG,MAXDMG)
  1751. ApplyDamage2(HUM,DMG,TORSO)
  1752. end
  1753. if FLING > 0 then
  1754. for _, c in pairs(CHILD:GetChildren()) do
  1755. if c:IsA("BasePart") then
  1756. local bv = Instance.new("BodyVelocity")
  1757. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1758. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1759. bv.Parent = c
  1760. Debris:AddItem(bv,0.05)
  1761. end
  1762. end
  1763. end
  1764. end
  1765. end
  1766. end
  1767. end
  1768. end
  1769. end
  1770. local souls = 0
  1771.  
  1772. function SoulSteal(dude)
  1773. if dude.Name ~= Character then
  1774. local val = IT("BoolValue", dude)
  1775. val.Name = "IsHit"
  1776. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1777. local soulst = coroutine.wrap(function()
  1778. local soul = Instance.new("Part",dude)
  1779. soul.Size = Vector3.new(1,1,1)
  1780. soul.CanCollide = false
  1781. soul.Anchored = false
  1782. soul.Position = torso.Position
  1783. soul.Transparency = 1
  1784. local PartEmmit1 = IT("ParticleEmitter", soul)
  1785. PartEmmit1.LightEmission = 1
  1786. PartEmmit1.Texture = "rbxassetid://569507414"
  1787. PartEmmit1.Color = ColorSequence.new(Head.Color)
  1788. PartEmmit1.Rate = 250
  1789. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1790. PartEmmit1.Size = NumberSequence.new({
  1791. NumberSequenceKeypoint.new(0, 1, 0),
  1792. NumberSequenceKeypoint.new(1, 0, 0)
  1793. })
  1794. PartEmmit1.Transparency = NumberSequence.new({
  1795. NumberSequenceKeypoint.new(0, 0, 0),
  1796. NumberSequenceKeypoint.new(1, 1, 0)
  1797. })
  1798. PartEmmit1.Speed = NumberRange.new(0, 0)
  1799. PartEmmit1.VelocitySpread = 30000
  1800. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1801. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1802. local BodPoss = IT("BodyPosition", soul)
  1803. BodPoss.P = 3000
  1804. BodPoss.D = 1000
  1805. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1806. BodPoss.position = torso.Position + Vector3.new(MRANDOM(-15, 15), MRANDOM(-15, 15), MRANDOM(-15, 15))
  1807. wait(1.6)
  1808. soul.Touched:connect(function(hit)
  1809. if hit.Parent == Character then
  1810. soul:Destroy()
  1811. end
  1812. end)
  1813. wait(1.2)
  1814. while soul do
  1815. wait()
  1816. PartEmmit1.Color = ColorSequence.new(Head.Color)
  1817. BodPoss.Position = Torso.Position
  1818. end
  1819. end)
  1820. soulst()
  1821. end
  1822. end
  1823. local NP = false
  1824. function ApplyAoE9(POSITION,RANGE,MINDMG,MAXDMG,FLING,RAGDOLL)
  1825. local CHILDREN = workspace:GetDescendants()
  1826. for index, CHILD in pairs(CHILDREN) do
  1827. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1828. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1829. if HUM then
  1830. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1831. if TORSO then
  1832. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1833. if RAGDOLL == true then
  1834. if HUM.Health > 0 and NP == false then
  1835. CreateSound(4988625180,TORSO,sick.Volume + 1,1,false)
  1836. end
  1837. if HUM.Health < 30 then
  1838. if HUM.Health > 0 then
  1839. Ragdoll(TORSO.Parent,false,false)
  1840. souls = souls + 1
  1841. end
  1842. elseif HUM.Health > 500 then
  1843. souls = souls + 1
  1844. Ragdoll(TORSO.Parent,false,false)
  1845. end
  1846. local DMG = MRANDOM(MINDMG,MAXDMG)
  1847. ApplyDamage2(HUM,DMG,TORSO)
  1848. end
  1849. if FLING > 0 then
  1850. for _, c in pairs(CHILD:GetChildren()) do
  1851. if c:IsA("BasePart") then
  1852. local bv = Instance.new("BodyVelocity")
  1853. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1854. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1855. bv.Parent = c
  1856. Debris:AddItem(bv,0.05)
  1857. end
  1858. end
  1859. end
  1860. end
  1861. end
  1862. end
  1863. end
  1864. end
  1865. end
  1866. local Cooldown = false
  1867. local asd = Instance.new("ParticleEmitter")
  1868. local Z = math.random(0,255)
  1869.  
  1870.  
  1871.  
  1872. asd.LightEmission = 0
  1873. asd.Texture = "http://www.roblox.com/asset/?id=132155326"
  1874. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 1)})
  1875. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1876. asd.Transparency = bbb
  1877. asd.Size = aaa
  1878. asd.ZOffset = 0
  1879. asd.Acceleration = Vector3.new(0, -51, 0)
  1880. asd.LockedToPart = false
  1881. asd.EmissionDirection = "Top"
  1882. asd.Lifetime = NumberRange.new(1, 2)
  1883. asd.Rotation = NumberRange.new(-180,180)
  1884. asd.RotSpeed = NumberRange.new(-9000, 9000)
  1885. asd.Speed = NumberRange.new(20)
  1886. asd.Enabled = false
  1887. asd.VelocitySpread = 999
  1888.  
  1889. function getbloody(victim,amount)
  1890. local PART = IT("Part",Effects)
  1891. PART.Transparency = 1
  1892. PART.Size = victim.Size
  1893. PART.Anchored = true
  1894. PART.CanCollide = false
  1895. PART.CFrame = CF(victim.Position)
  1896. local HITPLAYERSOUNDS = {"2544621925","2544621925"}
  1897. Debris:AddItem(PART,5)
  1898. local prtcl = asd:Clone()
  1899. prtcl.Parent = PART
  1900. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, sick.Volume + 1, (math.random(8,12)/10))
  1901. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, sick.Volume + 1, (math.random(8,12)/10))
  1902. prtcl:Emit(amount*5)
  1903. end
  1904.  
  1905. function getbloody2(victim,amount)
  1906. local PART = IT("Part",Effects)
  1907. PART.Transparency = 1
  1908. PART.Size = victim.Size
  1909. PART.Anchored = true
  1910. PART.CanCollide = false
  1911. PART.CFrame = CF(victim.Position)
  1912. local HITPLAYERSOUNDS = {"2544621925","2544621925"}
  1913. Debris:AddItem(PART,5)
  1914. local prtcl = asd:Clone()
  1915. prtcl.Parent = PART
  1916. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, sick.Volume + 1, (math.random(8,12)/10))
  1917. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, sick.Volume + 1, (math.random(8,12)/10))
  1918. prtcl:Emit(amount*30)
  1919. end
  1920.  
  1921. function JointKiller(Model)
  1922. for index, CHILD in pairs(Model:GetDescendants()) do
  1923. if CHILD:IsA("JointInstance") then
  1924. CHILD.Part0 = nil
  1925. CHILD.Part1 = nil
  1926. CHILD:remove()
  1927. end
  1928. end
  1929. end
  1930.  
  1931. function Kill(Humanoid)
  1932. if Humanoid:FindFirstChild("Killed") == nil then
  1933. local Mark = IT("Folder",Humanoid)
  1934. Mark.Name = "Killed"
  1935. local TORSO = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  1936. Lightning(TORSO.Position,TORSO.Position+VT(math.random(-10,10),55,math.random(-10,10)),5,3.5,Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),math.random(25,35),0.1,0.5,0,true,55)
  1937. Lightning(TORSO.Position,TORSO.Position+VT(math.random(-10,10),55,math.random(-10,10)),5,3.5,Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),math.random(25,35),0.1,0.5,0,true,55)
  1938. Lightning(TORSO.Position,TORSO.Position+VT(math.random(-10,10),55,math.random(-10,10)),5,3.5,Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),math.random(25,35),0.1,0.5,0,true,55)
  1939.  
  1940. coroutine.resume(coroutine.create(function()
  1941. wait()
  1942. local Z = math.random(0,255)
  1943. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1944. if CHILD:IsA("BasePart") then
  1945. if CHILD.Name == "Head" then
  1946. CHILD:BreakJoints()
  1947. getbloody(CHILD,2)
  1948. WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)*MRANDOM(8,16)/12, Size2 = (VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z))*MRANDOM(7,14)/10, Transparency = CHILD.Transparency, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(MRANDOM(-5,5)*1.5,MRANDOM(5,8)/1.5,MRANDOM(-5,5)*1.5), RotationX = MRANDOM(-55,55)/35, RotationY = MRANDOM(-55,55)/35, RotationZ = MRANDOM(-55,55)/35, Material = "Neon", Color = Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 75, SizeBoomerang = 50})
  1949. WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Skull", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)*3.75, Size2 = (VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z))*MRANDOM(7,14)/5, Transparency = CHILD.Transparency, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(0,MRANDOM(17,23)/1.5,0), RotationX = MRANDOM(-90,90)/35, RotationY = MRANDOM(-90,90)/35, RotationZ = MRANDOM(-90,90)/35, Material = "Neon", Color = Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 75, SizeBoomerang = 50})
  1950. elseif CHILD.Name ~= "HumanoidRootPart" then
  1951. CHILD:BreakJoints()
  1952. getbloody(CHILD,2)
  1953. WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = CHILD.Size*MRANDOM(8,16)/12, Size2 = CHILD.Size*MRANDOM(8,16)/12, Transparency = CHILD.Transparency, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(MRANDOM(-5,5)*1.5,MRANDOM(5,8)/1.5,MRANDOM(-5,5)*1.5), MRANDOM(-55,55)/35, RotationY = MRANDOM(-55,55)/35, RotationZ = MRANDOM(-55,55)/35, Material = "Neon", Color = Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 75, SizeBoomerang = 50})
  1954. end
  1955. CHILD:Destroy()
  1956. end
  1957. end
  1958. Humanoid.MaxHealth = 0
  1959. Humanoid.Health = 0
  1960. Humanoid:Destroy()
  1961. end))
  1962. end
  1963. end
  1964.  
  1965. function Kill4(Foe)
  1966. if Foe and Foe.Name ~= "Baseplate" and Foe.Name ~= "Base" and Foe.Name ~= "BasePlate" then
  1967. Lightning(Foe.Position,Foe.Position+VT(math.random(-10,10),55,math.random(-10,10)),5,3.5,Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),math.random(25,35),0.1,0.5,0,true,55)
  1968. Lightning(Foe.Position,Foe.Position+VT(math.random(-10,10),55,math.random(-10,10)),5,3.5,Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),math.random(25,35),0.1,0.5,0,true,55)
  1969. Lightning(Foe.Position,Foe.Position+VT(math.random(-10,10),55,math.random(-10,10)),5,3.5,Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),math.random(25,35),0.1,0.5,0,true,55)
  1970.  
  1971. coroutine.resume(coroutine.create(function()
  1972. --if game.Players:FindFirstChild(Foe.Name) then
  1973. --table.insert(TOBANISH,Foe.Name)
  1974. --end
  1975. if Foe.Name == "Head" then
  1976. getbloody(Foe,2)
  1977. WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Head", Size = VT(1,1,1)*MRANDOM(8,16)/12, Size2 = VT(1,1,1)*MRANDOM(8,16)/12, Transparency = Foe.Transparency, Transparency2 = 1, CFrame = Foe.CFrame, MoveToPos = Foe.Position+VT(MRANDOM(-5,5)*1.5,MRANDOM(5,8)/1.5,MRANDOM(-5,5)*1.5), MRANDOM(-55,55)/35, RotationY = MRANDOM(-55,55)/35, RotationZ = MRANDOM(-55,55)/35, Material = "Neon", Color = Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 75, SizeBoomerang = 50})
  1978. Ragdoll(Foe.Parent,false,false)
  1979. Foe:Destroy()
  1980. else
  1981. getbloody(Foe,2)
  1982. WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = Foe.Size*MRANDOM(8,16)/12, Size2 = Foe.Size*MRANDOM(8,16)/12, Transparency = Foe.Transparency, Transparency2 = 1, CFrame = Foe.CFrame, MoveToPos = Foe.Position+VT(MRANDOM(-5,5)*1.5,MRANDOM(5,8)/1.5,MRANDOM(-5,5)*1.5), MRANDOM(-55,55)/35, RotationY = MRANDOM(-55,55)/35, RotationZ = MRANDOM(-55,55)/35, Material = "Neon", Color = Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 75, SizeBoomerang = 50})
  1983. Foe:Destroy()
  1984.  
  1985. end
  1986. end))
  1987. end
  1988. end
  1989. sick.SoundId = (har[MRANDOM(1,#har)])
  1990. --[[ function FakeDeath()
  1991.  
  1992. getbloody(Torso,2)
  1993. WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = Torso.Size*MRANDOM(8,16)/12, Size2 = Torso.Size*MRANDOM(8,16)/12, Transparency = Torso.Transparency, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = Torso.Position+VT(MRANDOM(-5,5)*1.5,MRANDOM(5,8)/1.5,MRANDOM(-5,5)*1.5), MRANDOM(-55,55)/35, RotationY = MRANDOM(-55,55)/35, RotationZ = MRANDOM(-55,55)/35, Material = "Neon", Color = Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 75, SizeBoomerang = 50})
  1994.  
  1995. getbloody(RightArm,2)
  1996. WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = RightArm.Size*MRANDOM(8,16)/12, Size2 = RightArm.Size*MRANDOM(8,16)/12, Transparency = RightArm.Transparency, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = RightArm.Position+VT(MRANDOM(-5,5)*1.5,MRANDOM(5,8)/1.5,MRANDOM(-5,5)*1.5), MRANDOM(-55,55)/35, RotationY = MRANDOM(-55,55)/35, RotationZ = MRANDOM(-55,55)/35, Material = "Neon", Color = Color3.fromRGB(128 + 1278*COS(SINE/15), 78 + 78*COS(SINE/15)), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 75, SizeBoomerang = 50})
  1997.  
  1998. getbloody(LeftArm,2)
  1999. WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = LeftArm.Size*MRANDOM(8,16)/12, Size2 = LeftArm.Size*MRANDOM(8,16)/12, Transparency = LeftArm.Transparency, Transparency2 = 1, CFrame = LeftArm.CFrame, MoveToPos = LeftArm.Position+VT(MRANDOM(-5,5)*1.5,MRANDOM(5,8)/1.5,MRANDOM(-5,5)*1.5), MRANDOM(-55,55)/35, RotationY = MRANDOM(-55,55)/35, RotationZ = MRANDOM(-55,55)/35, Material = "Neon", Color = Color3.fromRGB(128 + 1278*COS(SINE/15), 78 + 78*COS(SINE/15)), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 75, SizeBoomerang = 50})
  2000.  
  2001. getbloody(Head,2)
  2002. WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Head", Size = VT(1,1,1)*MRANDOM(8,16)/12, Size2 = VT(1,1,1)*MRANDOM(8,16)/12, Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame, MoveToPos = Head.Position+VT(MRANDOM(-5,5)*1.5,MRANDOM(5,8)/1.5,MRANDOM(-5,5)*1.5), MRANDOM(-55,55)/35, RotationY = MRANDOM(-55,55)/35, RotationZ = MRANDOM(-55,55)/35, Material = "Neon", Color = Color3.fromRGB(128 + 1278*COS(SINE/15), 78 + 78*COS(SINE/15)), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 75, SizeBoomerang = 50})
  2003.  
  2004. getbloody(LeftLeg,2)
  2005. WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = LeftLeg.Size*MRANDOM(8,16)/12, Size2 = LeftLeg.Size*MRANDOM(8,16)/12, Transparency = LeftLeg.Transparency, Transparency2 = 1, CFrame = LeftLeg.CFrame, MoveToPos = LeftLeg.Position+VT(MRANDOM(-5,5)*1.5,MRANDOM(5,8)/1.5,MRANDOM(-5,5)*1.5), MRANDOM(-55,55)/35, RotationY = MRANDOM(-55,55)/35, RotationZ = MRANDOM(-55,55)/35, Material = "Neon", Color = Color3.fromRGB(128 + 1278*COS(SINE/15), 78 + 78*COS(SINE/15)), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 75, SizeBoomerang = 50})
  2006.  
  2007. getbloody(RightLeg,2)
  2008. WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = RightLeg.Size*MRANDOM(8,16)/12, Size2 = RightLeg.Size*MRANDOM(8,16)/12, Transparency = RightLeg.Transparency, Transparency2 = 1, CFrame = RightLeg.CFrame, MoveToPos = RightLeg.Position+VT(MRANDOM(-5,5)*1.5,MRANDOM(5,8)/1.5,MRANDOM(-5,5)*1.5), MRANDOM(-55,55)/35, RotationY = MRANDOM(-55,55)/35, RotationZ = MRANDOM(-55,55)/35, Material = "Neon", Color = Color3.fromRGB(128 + 1278*COS(SINE/15), 78 + 78*COS(SINE/15)), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 75, SizeBoomerang = 50})
  2009.  
  2010. Fdead = true
  2011. INTRO2 = false
  2012. sick.Volume = 0
  2013. Cooldown = true
  2014. if Cooldown == true then
  2015. coroutine.resume(coroutine.create(function()
  2016. wait(1)
  2017. Cooldown = false
  2018. end))
  2019. end
  2020. end--]]
  2021.  
  2022. local AMMO = 200
  2023. function ApplyAoE10(POSITION,RANGE,MINDMG,MAXDMG,FLING,RAGDOLL)
  2024. local CHILDREN = workspace:GetDescendants()
  2025. for index, CHILD in pairs(CHILDREN) do
  2026. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2027. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2028. if HUM then
  2029. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2030. if TORSO then
  2031. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2032. if RAGDOLL == true then
  2033. if HUM.Health > 0 then
  2034. Kill(HUM)
  2035. elseif HUM.Health > 1000 then
  2036. Kill(HUM)
  2037. end
  2038. local DMG = MRANDOM(MINDMG,MAXDMG)
  2039. ApplyDamage2(HUM,DMG,TORSO)
  2040. end
  2041. if FLING > 0 then
  2042. for _, c in pairs(CHILD:GetChildren()) do
  2043. if c:IsA("BasePart") then
  2044. local bv = Instance.new("BodyVelocity")
  2045. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2046. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2047. bv.Parent = c
  2048. Debris:AddItem(bv,0.05)
  2049. end
  2050. end
  2051. end
  2052. end
  2053. end
  2054. end
  2055. end
  2056. end
  2057. end
  2058. local Stunb2 = {}
  2059. function ApplyAoE12(POSITION,RANGE,MINDMG,MAXDMG,FLING,RAGDOLL)
  2060. local CHILDREN = workspace:GetDescendants()
  2061. for index, CHILD in pairs(CHILDREN) do
  2062. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2063. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2064. if HUM then
  2065. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2066. if TORSO then
  2067. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2068. if RAGDOLL == true then
  2069. if HUM.Health < 30 then
  2070. if HUM.Health > 0 then
  2071. Ragdoll(TORSO.Parent,false,false)
  2072. end
  2073. elseif HUM.Health > 0 then
  2074. HUM.PlatformStand = true
  2075. elseif HUM.Health > 1000 then
  2076. Kill(HUM)
  2077. end
  2078. TORSO.CFrame = TORSO.CFrame* ANGLES(RAD(-40), RAD(0), RAD(0))
  2079. local DMG = MRANDOM(MINDMG,MAXDMG)
  2080. ApplyDamage2(HUM,DMG,TORSO)
  2081. end
  2082. if FLING > 0 then
  2083. for _, c in pairs(CHILD:GetChildren()) do
  2084. if c:IsA("BasePart") then
  2085. local bv = Instance.new("BodyVelocity")
  2086. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2087. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2088. bv.Parent = c
  2089. Debris:AddItem(bv,0.05)
  2090. end
  2091. if HUM.PlatformStand == true then
  2092. coroutine.resume(coroutine.create(function()
  2093. wait(6)
  2094. HUM.PlatformStand = false
  2095. end))
  2096. end
  2097. end
  2098. end
  2099. end
  2100. end
  2101. end
  2102. end
  2103. end
  2104. end
  2105.  
  2106. function ApplyAoE13(POSITION,RANGE,MINDMG,MAXDMG,FLING,RAGDOLL)
  2107. local CHILDREN = workspace:GetDescendants()
  2108. for index, CHILD in pairs(CHILDREN) do
  2109. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2110. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2111. if HUM then
  2112. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2113. local HEAD = CHILD:FindFirstChild("Head")
  2114. if TORSO then
  2115. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2116. if RAGDOLL == true then
  2117. if HUM.PlatformStand == true then
  2118. if HUM.Health > 0 then
  2119. getbloody2(HEAD,10)
  2120. Ragdoll2(HUM.Parent,false,true)
  2121. end
  2122. end
  2123. local DMG = MRANDOM(MINDMG,MAXDMG)
  2124. ApplyDamage2(HUM,DMG,TORSO)
  2125. end
  2126. if FLING > 0 then
  2127. for _, c in pairs(CHILD:GetChildren()) do
  2128. if c:IsA("BasePart") then
  2129. local bv = Instance.new("BodyVelocity")
  2130. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2131. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2132. bv.Parent = c
  2133. Debris:AddItem(bv,0.05)
  2134. end
  2135. end
  2136. end
  2137. end
  2138. end
  2139. end
  2140. end
  2141. end
  2142. end
  2143.  
  2144. function ApplyAoE14(POSITION,RANGE,MINDMG,MAXDMG,FLING,RAGDOLL)
  2145. local CHILDREN = workspace:GetDescendants()
  2146. for index, CHILD in pairs(CHILDREN) do
  2147. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2148. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2149. if HUM then
  2150. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2151. local HEAD = CHILD:FindFirstChild("Head")
  2152. if TORSO then
  2153. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2154. if RAGDOLL == true then
  2155. if HUM.Health > 0 then
  2156. getbloody2(HEAD,10)
  2157. Ragdoll2(HUM.Parent,false,true)
  2158. end
  2159. local DMG = MRANDOM(MINDMG,MAXDMG)
  2160. ApplyDamage2(HUM,DMG,TORSO)
  2161. end
  2162. if FLING > 0 then
  2163. for _, c in pairs(CHILD:GetChildren()) do
  2164. if c:IsA("BasePart") then
  2165. local bv = Instance.new("BodyVelocity")
  2166. bv.maxForce = Vector3.new(0, 1e9, 0)
  2167. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2168. bv.Parent = c
  2169. Debris:AddItem(bv,0.05)
  2170. end
  2171. end
  2172. end
  2173. end
  2174. end
  2175. end
  2176. end
  2177. end
  2178. end
  2179.  
  2180. function ApplyAoE15(POSITION,RANGE,MINDMG,MAXDMG,FLING,RAGDOLL)
  2181. local CHILDREN = workspace:GetDescendants()
  2182. for index, CHILD in pairs(CHILDREN) do
  2183. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2184. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2185. if HUM then
  2186. local TORSO = CHILD:FindFirstChild("Torso")or CHILD:FindFirstChild("UpperTorso")
  2187. if TORSO then
  2188. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2189. if RAGDOLL == true then
  2190. if HUM.Health > 0 then
  2191. Kill(HUM)
  2192. end
  2193. local DMG = MRANDOM(MINDMG,MAXDMG)
  2194. ApplyDamage2(HUM,DMG,TORSO)
  2195. end
  2196. if FLING > 0 then
  2197. for _, c in pairs(CHILD:GetChildren()) do
  2198. if c:IsA("BasePart") then
  2199. local bv = Instance.new("BodyVelocity")
  2200. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2201. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2202. bv.Parent = c
  2203. Debris:AddItem(bv,0.05)
  2204. end
  2205. end
  2206. end
  2207. end
  2208. end
  2209. end
  2210. end
  2211. end
  2212. end
  2213.  
  2214. function ApplyAoE11(POSITION,RANGE,MINDMG,MAXDMG,FLING,RAGDOLL)
  2215. local CHILDREN = workspace:GetDescendants()
  2216. for index, CHILD in pairs(CHILDREN) do
  2217. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2218. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2219. if HUM then
  2220. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2221. if TORSO then
  2222. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2223. if RAGDOLL == true then
  2224. if HUM.Health < 30 then
  2225. if HUM.Health > 0 then
  2226. AMMO = AMMO + 50
  2227. Ragdoll(TORSO.Parent,false,false)
  2228. souls = souls + 1
  2229. end
  2230. elseif HUM.Health > 1000 then
  2231. AMMO = AMMO + 200
  2232. Ragdoll(TORSO.Parent,false,false)
  2233. end
  2234. local DMG = MRANDOM(MINDMG,MAXDMG)
  2235. ApplyDamage2(HUM,DMG,TORSO)
  2236. end
  2237. if FLING > 0 then
  2238. for _, c in pairs(CHILD:GetChildren()) do
  2239. if c:IsA("BasePart") then
  2240. local bv = Instance.new("BodyVelocity")
  2241. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2242. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2243. bv.Parent = c
  2244. Debris:AddItem(bv,0.05)
  2245. end
  2246. end
  2247. end
  2248. end
  2249. end
  2250. end
  2251. end
  2252. end
  2253. end
  2254.  
  2255.  
  2256.  
  2257.  
  2258. function ApplyDamage(Humanoid,Damage,TorsoPart)
  2259. local defence = Instance.new("BoolValue",Humanoid.Parent)
  2260. defence.Name = ("HitBy"..Player.Name)
  2261. game:GetService("Debris"):AddItem(defence, 0.001)
  2262. Damage = Damage * DAMAGEMULTIPLIER
  2263. if Humanoid.Health ~= 0 then
  2264. local CritChance = MRANDOM(1,100)
  2265. if Damage > Humanoid.Health then
  2266. Damage = math.ceil(Humanoid.Health)
  2267. if Damage == 0 then
  2268. Damage = 0.1
  2269. end
  2270. end
  2271. Humanoid.Health = Humanoid.Health - Damage
  2272. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  2273. end
  2274. end
  2275.  
  2276. --[[
  2277. top=it("Shirt",Character)
  2278. top.Name = "Shirt"
  2279. bottom=it("Pants",Character)
  2280. bottom.Name = "Pants"
  2281.  
  2282. if Player.Name ~= "HeavyWeaponsGuy" then
  2283. for i,x in pairs(Character:GetDescendants()) do if x:IsA("Shirt") or x:IsA("Pants") then x:Destroy() end end
  2284.  
  2285. top=it("Shirt",Character)
  2286. top.Name = "Shirt"
  2287. bottom=it("Pants",Character)
  2288. bottom.Name = "Pants"
  2289. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=4086984456"
  2290. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=4482384709"
  2291. end
  2292. ]]
  2293.  
  2294.  
  2295. --[[coroutine.resume(coroutine.create(function()
  2296. while wait() do
  2297. end
  2298. end))--]]
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304. --[[
  2305. local hd = script.Headz
  2306. hd.Parent = Character
  2307. hd.CFrame = Head.CFrame
  2308. weldBetween(Head,hd)
  2309. local BUCKETWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, hd, CF(0, 0, 0), CF(0, 0, 0))
  2310. BUCKETWELD.C0 = BUCKETWELD.C0 * ANGLES(RAD(-0), RAD(0), RAD(0))
  2311.  
  2312.  
  2313. ]]
  2314.  
  2315.  
  2316.  
  2317.  
  2318. local AA = {"!","@","#","$","%","^","&","*","(",")","-","_","=","+","[","]","}","{","'","|",",","<",".",">","/","?"," "}
  2319.  
  2320. name= Player.Name
  2321.  
  2322. coroutine.resume(coroutine.create(function()
  2323. while wait() do
  2324. for _,c in pairs(Character:GetDescendants()) do
  2325. if c.ClassName == "CharacterMesh" then
  2326. c:Remove()
  2327. end
  2328. end
  2329. end
  2330. end))
  2331. -- glitchbaby
  2332. local BB = {"DIE","PERISH","ROT","PAIN","BURN","DEATH","MURDER","PANIC"}
  2333. coroutine.resume(coroutine.create(function()
  2334. while wait() do
  2335. if VALUE1 == false and math.random(1,55) == 1 then
  2336.  
  2337. coroutine.resume(coroutine.create(function()
  2338. VALUE1 = true
  2339. Static:Play()
  2340. for i=1,math.random(8,25) do
  2341. wait()
  2342. Humanoid.DisplayName = (AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..[[
  2343. ]]..BB[MRANDOM(1,#BB)]..[[
  2344. ]]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)]..AA[MRANDOM(1,#AA)])
  2345. FT.Parent = Torso
  2346. FRA.Parent = RightArm
  2347. FLA.Parent = LeftArm
  2348. FRL.Parent = RightLeg
  2349. FLL.Parent = LeftLeg
  2350. for _,v in next, Character:GetDescendants() do
  2351. if(v:IsA'DataModelMesh')then
  2352. v.Offset = VT(math.random(-80,80)/100,math.random(-80,80)/100,math.random(-80,80)/100)
  2353. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(math.random(-30,30)), RAD(math.random(-30,30)), RAD(math.random(-30,30))), 3 / Animation_Speed)
  2354. end
  2355. end
  2356. end
  2357. VALUE1 = false
  2358. FT.Parent = nil
  2359. Humanoid.DisplayName = name
  2360. Static:Pause()
  2361. FRA.Parent = nil
  2362. FLA.Parent = nil
  2363. FRL.Parent = nil
  2364. FLL.Parent = nil
  2365. for _,v in next, Character:GetDescendants() do
  2366. if(v:IsA'DataModelMesh')then
  2367. v.Offset = VT(0,0,0)
  2368. end
  2369. end
  2370. end))
  2371. end
  2372. end
  2373. end))
  2374.  
  2375. local INTRODONE = false
  2376. local INTRO = false
  2377.  
  2378.  
  2379.  
  2380.  
  2381. Health = Character["Health"]
  2382. Health:Destroy()
  2383. --[[
  2384. coroutine.resume(coroutine.create(function()
  2385. while wait() do
  2386.  
  2387. end
  2388. end))
  2389.  
  2390. ]]
  2391.  
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407. local ATTACK2 = false
  2408.  
  2409.  
  2410. local INTRO3 = false
  2411. coroutine.resume(coroutine.create(function()
  2412. while wait() do
  2413. local Z = math.random(150,255)
  2414. asd.Color = ColorSequence.new(Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  2415. Static.Volume = sick.Volume + 0.6
  2416. end
  2417. end))
  2418. --glitch
  2419. local coolvalue = false
  2420. Static = Instance.new("Sound",Torso)
  2421. Static.Looped = true
  2422. Static.Volume = sick.Volume
  2423. Static.SoundId = "rbxassetid://223103466"
  2424. Static.Name = "Gaming"
  2425. Static:Pause()
  2426. Static.MaxDistance = 80
  2427. BypassGS(Static)
  2428. --[[coroutine.resume(coroutine.create(function()
  2429. while wait() do
  2430. local Z =math.random(0,255)
  2431.  
  2432. if VALUE1 == false and math.random(1,25) == 1 and INTRO3 == true then
  2433. coroutine.resume(coroutine.create(function()
  2434. VALUE1 = true
  2435. WACKYEFFECT({Time = 30, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(Z,Z,Z), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2436. WACKYEFFECT({Time = 30, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(Z,Z,Z), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2437. WACKYEFFECT({Time = 30, EffectType = "Arm", Size = VT(2.05,1.05,1.05), Size2 = VT(2.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(Z,Z,Z), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2438. WACKYEFFECT({Time = 30, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(Z,Z,Z), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2439. WACKYEFFECT({Time = 30, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(Z,Z,Z), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2440. WACKYEFFECT({Time = 30, EffectType = "Head", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(Z,Z,Z), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2441.  
  2442. for i=1,5 do
  2443. glitch = true
  2444. Static:Resume()
  2445. wait()
  2446. for _,v in next, Character:GetDescendants() do
  2447. if(v:IsA'DataModelMesh')then
  2448. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(math.random(-50,50)), RAD(math.random(-50,50)), RAD(math.random(-50,50))), 2 / Animation_Speed)
  2449. end
  2450. end
  2451. end
  2452. VALUE1 = false
  2453. Static:Pause()
  2454. glitch = false
  2455. for _,v in next, Character:GetDescendants() do
  2456. if(v:IsA'DataModelMesh')then
  2457. v.Offset = VT(0,0,0)
  2458. end
  2459. end
  2460.  
  2461. end))
  2462. end
  2463.  
  2464. end
  2465. end))--]]
  2466.  
  2467. function Warp()
  2468.  
  2469. local HITPLAYERSOUNDS = {"2544621925","2544621925"}
  2470. local Z = math.random(0,255)
  2471. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = MRANDOM(-90,90), RotationY = MRANDOM(-90,90), RotationZ = MRANDOM(-90,90), Material = "Neon", Color=Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2472. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
  2473. if HITFLOOR then
  2474. HITPOS = HITPOS + VT(0,1,0)
  2475. local POS = RootPart.Position
  2476. Lightning(RootPart.Position,HITPOS+VT(0,25,0),5,3.5,Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),math.random(25,35),0.1,0.5,0,true,55)
  2477.  
  2478. Lightning(HITPOS,HITPOS+VT(0,25,0),5,3.5,Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),math.random(25,35),0.1,0.5,0,true,55)
  2479. RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
  2480. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = MRANDOM(-90,90), RotationY = MRANDOM(-90,90), RotationZ = MRANDOM(-90,90), Material = "Neon", Color=Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2481. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], RootPart, sick.Volume + 1, (math.random(8,12)/10))
  2482. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], RootPart, sick.Volume + 1, (math.random(8,12)/10))
  2483.  
  2484. end
  2485. end
  2486.  
  2487.  
  2488.  
  2489. local BEANED = {"PhoenixRessusection"}
  2490.  
  2491.  
  2492.  
  2493. local BEANED = {"PhoenixRessusection"}
  2494.  
  2495. function BEAN(skid)
  2496. if skid then
  2497. g = game.Players:GetPlayers()
  2498. local kickfolder = IT("Folder",Effects)
  2499. local naeeym2 = Instance.new("BillboardGui",kickfolder)
  2500. naeeym2.AlwaysOnTop = false
  2501. naeeym2.Size = UDim2.new(5,35,2,35)
  2502. naeeym2.StudsOffset = Vector3.new(0,1,0)
  2503. naeeym2.Name = "Mark"
  2504. local tecks2 = Instance.new("TextLabel",naeeym2)
  2505. tecks2.BackgroundTransparency = 1
  2506. tecks2.TextScaled = true
  2507. tecks2.BorderSizePixel = 0
  2508. tecks2.Text = ""
  2509. tecks2.Font = "Arcade"
  2510. tecks2.TextSize = 30
  2511. tecks2.TextStrokeTransparency = 0
  2512. tecks2.TextColor3 = Color3.fromRGB(0,0,0)
  2513. tecks2.TextStrokeColor3 = Color3.fromRGB(0,0,0)
  2514. tecks2.Size = UDim2.new(1,0,0.5,0)
  2515. tecks2.Parent = naeeym2
  2516. --CreateSound("395664538", skid, 5, 1, false)
  2517. local Players = game:GetService("Players")
  2518. local die = Players:FindFirstChild(skid.Name)
  2519. --die:Kick()
  2520. if Players:FindFirstChild(skid.Name) then
  2521. die:Kick("Corrupt Lightning has eradicated your existance.")
  2522. end
  2523. if Players:FindFirstChild(skid.Name) then
  2524. die:Kick("Corrupt Lightning has eradicated your existance.")
  2525. end
  2526. if Players:FindFirstChild(skid.Name) then
  2527. die:Kick("Corrupt Lightning has eradicated your existance.")
  2528. end
  2529. if Players:FindFirstChild(skid.Name) then
  2530. die:Kick("Corrupt Lightning has eradicated your existance.")
  2531. end
  2532. if Players:FindFirstChild(skid.Name) then
  2533. die:Kick("Corrupt Lightning has eradicated your existance.")
  2534. end
  2535. if Players:FindFirstChild(skid.Name) then
  2536. die:Kick("Corrupt Lightning has eradicated your existance.")
  2537. end
  2538. table.insert(BEANED,skid.name)
  2539. --]]
  2540. --CreateSound("527749592", game.Workspace, 700, 1, false)
  2541. --CHARACTER:Remove()
  2542. --[[
  2543. for i,v in pairs(g) do
  2544. --v:remove()
  2545. end ]]--
  2546. --[[
  2547. if CHARACTER.Name ~= "Default Dummy" or CHARACTER.Name ~= "NPC" then
  2548. for i,v in pairs(g) do
  2549. if string.find(string.upper(v.Name),CHARACTER) == 1 then
  2550. v:remove()
  2551. end
  2552. end
  2553. end]]--
  2554. --[[
  2555. for _, p in pairs(game.Players:GetChildren()) do
  2556. if p:FindFirstChild("CHARACTER") then
  2557.  
  2558. end
  2559. end]]--
  2560. coroutine.resume(coroutine.create(function()
  2561. for i = 1, 50 do
  2562. wait()
  2563. for i,v in ipairs(kickfolder:GetChildren()) do
  2564. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2565. v.Transparency = 1
  2566. end
  2567. naeeym2.Enabled = false
  2568. end
  2569. wait()
  2570. for i,v in ipairs(kickfolder:GetChildren()) do
  2571. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2572. v.Transparency = 0
  2573. end
  2574. naeeym2.Enabled = true
  2575. end
  2576. end
  2577. kickfolder:remove()
  2578. end))
  2579. --wait(6)
  2580. --skid:Remove()
  2581. end
  2582. end
  2583.  
  2584.  
  2585. local function CheckForBan(player)
  2586. for i = 1, #BEANED do
  2587. if player.Name == BEANED[i] then
  2588. player:Kick() --Ban Reason Change between the '' to change the reason!
  2589. end
  2590. end
  2591. end
  2592.  
  2593. game.Players.PlayerAdded:connect(function()
  2594. for i,v in pairs(game.Players:GetPlayers())do
  2595. CheckForBan(v)
  2596. end
  2597. end)
  2598. local defend = true
  2599. function Defense()
  2600. if defend == true then
  2601. defend = false
  2602. elseif defend == false then
  2603. defend = true
  2604. end
  2605. end
  2606.  
  2607.  
  2608. coroutine.resume(coroutine.create(function()
  2609. while wait() do
  2610. if defend == true then
  2611. ApplyAoE15(RootPart.Position,19,0,0,0,true)
  2612. wait(0.05)
  2613. end
  2614. if defend == true then
  2615. if math.random(1,10) == 1 then
  2616. local aim = math.random(-15,15)
  2617. local aim2 = math.random(-15,15)
  2618. Lightning(RootPart.Position+VT(aim,-3,aim2),RootPart.Position+VT(aim,55,aim2),5,3.5,Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),math.random(25,35),0.1,0.5,0,true,55)
  2619. Lightning(RootPart.Position+VT(aim,-3,aim2),RootPart.Position+VT(aim,55,aim2),5,3.5,Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),math.random(25,35),0.1,0.5,0,true,55)
  2620. Lightning(RootPart.Position+VT(aim,-3,aim2),RootPart.Position+VT(aim,55,aim2),5,3.5,Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),math.random(25,35),0.1,0.5,0,true,55)
  2621. CreateSound(2544621925, RootPart, sick.Volume + 1, (math.random(8,12)/10))
  2622. wait(1)
  2623. end
  2624. end
  2625.  
  2626. end
  2627. end))
  2628.  
  2629. coroutine.resume(coroutine.create(function()
  2630. while wait() do
  2631. if defend == true then
  2632.  
  2633. WACKYEFFECT2({Time = 10, EffectType = "Wave", Size = VT(2,1,2), Size2 = VT(15,1,15), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0), MoveToPos = nil, RotationX = 0, RotationY = math.random(-50,50), RotationZ = 0, Material = "Neon", Color = Color3.FromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2634. wait(0.1)
  2635. end
  2636. end
  2637. end))
  2638.  
  2639. function template()
  2640. ATTACK = true
  2641. Rooted = true
  2642. for i=0, 0.1, 0.01 / Animation_Speed do
  2643. wait()
  2644. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  2645. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  2646. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  2647. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2648. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.35 / Animation_Speed)
  2649. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 , 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.35 / Animation_Speed)
  2650. end
  2651. ATTACK = false
  2652. Rooted = false
  2653. end
  2654.  
  2655.  
  2656.  
  2657.  
  2658.  
  2659.  
  2660. local combo = 1
  2661.  
  2662.  
  2663.  
  2664.  
  2665. local LOOP = false
  2666.  
  2667.  
  2668.  
  2669.  
  2670.  
  2671.  
  2672.  
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679. local EyeSizes={
  2680. NumberSequenceKeypoint.new(0,1,0),
  2681. NumberSequenceKeypoint.new(1,0,0)
  2682. }
  2683. local EyeTrans={
  2684. NumberSequenceKeypoint.new(0,0.8,0),
  2685. NumberSequenceKeypoint.new(1,1,0)
  2686. }
  2687.  
  2688.  
  2689.  
  2690. local PE=Instance.new("ParticleEmitter",nil)
  2691. PE.LightEmission=.8
  2692. PE.Color = ColorSequence.new(BrickColor.Random().Color)
  2693. PE.Size=NumberSequence.new(EyeSizes)
  2694. PE.Transparency=NumberSequence.new(EyeTrans)
  2695. PE.Lifetime=NumberRange.new(0.35,1.5)
  2696. PE.Rotation=NumberRange.new(0,360)
  2697. PE.Rate=999
  2698. PE.VelocitySpread = 10000
  2699. PE.Acceleration = Vector3.new(0,0,0)
  2700. PE.Drag = 5
  2701. PE.Speed = NumberRange.new(0,0,0)
  2702. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  2703. PE.ZOffset = -0
  2704. PE.Name = "PE"
  2705. PE.Enabled = false
  2706.  
  2707. coroutine.resume(coroutine.create(function()
  2708. while wait() do
  2709. end
  2710. end))
  2711.  
  2712. function particles(art)
  2713. local PARTICLES = PE:Clone()
  2714. PARTICLES.Parent = art
  2715. end
  2716. function KillChildren2(v)
  2717. v:BreakJoints()
  2718. for _, c in pairs(v:GetChildren()) do
  2719. if c:IsA("BasePart") then
  2720. if c.Transparency < 1 then
  2721. if c:FindFirstChildOfClass("Decal") then
  2722. c:FindFirstChildOfClass("Decal"):remove()
  2723. end
  2724. particles(c)
  2725. c.PE.Enabled = false
  2726. c.Parent = workspace
  2727. c.CanCollide = false
  2728.  
  2729. c.Color = c.Color
  2730. c.Transparency = 0
  2731. local grav = Instance.new("BodyPosition",c)
  2732. grav.P = 20000
  2733. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2734. grav.position = c.Position + VT(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1))
  2735. grav.Name = "GravityForce"
  2736. coroutine.resume(coroutine.create(function()
  2737. for i = 1, 100 do
  2738. wait()
  2739. grav.position = c.Position + VT(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1))
  2740. c.Color = Color3.fromRGB(MRANDOM(0,255),MRANDOM(0,255),MRANDOM(0,255))
  2741. c.Transparency = c.Transparency + 0.01
  2742. c.Material = (MATTER[MRANDOM(1,#MATTER)])
  2743. end
  2744. c.Color = Color3.fromRGB(MRANDOM(0,255),MRANDOM(0,255),MRANDOM(0,255))
  2745. c.PE.Enabled = false
  2746. Debris:AddItem(c,2)
  2747. end))
  2748. end
  2749. end
  2750. end
  2751. end
  2752. function KillChildren(v)
  2753. v:BreakJoints()
  2754. for _, c in pairs(v:GetChildren()) do
  2755. if c:IsA("BasePart") then
  2756. if c.Transparency < 1 then
  2757. if c:FindFirstChildOfClass("Decal") then
  2758. c:FindFirstChildOfClass("Decal"):remove()
  2759. end
  2760. particles(c)
  2761. c.PE.Enabled = true
  2762. c.Parent = Effects
  2763. c.CanCollide = false
  2764. c.Material = "Neon"
  2765. c.Color = C3(1,0,0)
  2766. c.Transparency = 1
  2767. local grav = Instance.new("BodyPosition",c)
  2768. grav.P = 20000
  2769. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2770. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  2771. grav.Name = "GravityForce"
  2772. coroutine.resume(coroutine.create(function()
  2773. for i = 1, 20 do
  2774. wait()
  2775. c.Transparency = c.Transparency + 1/20
  2776. end
  2777. c.PE.Enabled = false
  2778. Debris:AddItem(c,2)
  2779. end))
  2780. end
  2781. end
  2782. end
  2783. end
  2784.  
  2785. function KillChildren3(v)
  2786. v:BreakJoints()
  2787. for _, c in pairs(v:GetChildren()) do
  2788. if c:IsA("BasePart") then
  2789. if c.Transparency < 1 then
  2790. if c:FindFirstChildOfClass("Decal") then
  2791. c:FindFirstChildOfClass("Decal"):remove()
  2792. end
  2793. particles(c)
  2794. c.PE.Enabled = true
  2795. c.Parent = Effects
  2796. c.CanCollide = false
  2797. c.Material = "Neon"
  2798. c.Color = C3(1,0,0)
  2799. c.Transparency = 1
  2800. local grav = Instance.new("BodyPosition",c)
  2801. grav.P = 20000
  2802. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2803. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  2804. grav.Name = "GravityForce"
  2805. coroutine.resume(coroutine.create(function()
  2806. for i = 1, 20 do
  2807. wait()
  2808. c.Transparency = c.Transparency + 1/20
  2809. end
  2810. c.PE.Enabled = false
  2811. Debris:AddItem(c,2)
  2812. end))
  2813. end
  2814. end
  2815. end
  2816. end
  2817.  
  2818. local WHITELIST = {"Jack_Hase","Godcat567","Powertommm"}
  2819. function SmiteAoE(POSITION,RANGE)
  2820. local CHILDREN = workspace:GetDescendants()
  2821. for index, CHILD in pairs(CHILDREN) do
  2822. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2823. local LISTED = false
  2824. for LIST = 1, #WHITELIST do
  2825. if WHITELIST[LIST] ~= nil then
  2826. if CHILD.Name == WHITELIST[LIST] then
  2827. LISTED = true
  2828. end
  2829. end
  2830. end
  2831. if LISTED == false then
  2832. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2833. if HUM then
  2834. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2835. if TORSO then
  2836. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  2837. KillChildren(CHILD)
  2838. end
  2839. end
  2840. end
  2841. end
  2842. end
  2843. end
  2844. end
  2845.  
  2846.  
  2847.  
  2848.  
  2849. function ragdollJoint(character, part0, part1, attachmentName, className, properties) -- thanks mustardfat im too lazy
  2850. if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then
  2851. for i,v in pairs(character:GetChildren()) do
  2852. if v:IsA("MeshPart") and (v.MeshId == 'http://www.roblox.com/asset/?id=553602991' or v.MeshId == 'http://www.roblox.com/asset/?id=553602977' or v.MeshId == 'http://www.roblox.com/asset/?id=553602987') then
  2853. v.Size = Vector3.new(1,1,1)
  2854. end
  2855. end
  2856. if part1:FindFirstChildOfClass('Motor6D') then
  2857. part1:FindFirstChildOfClass('Motor6D'):Remove()
  2858. end
  2859. if attachmentName ~= "NeckAttachment" then
  2860. attachmentName = attachmentName.."RigAttachment"
  2861. end
  2862. local constraint = Instance.new(className.."Constraint")
  2863. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2864. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2865. constraint.Name = "RagdollConstraint"..part1.Name
  2866. if character:FindFirstChildOfClass('Humanoid').Health > 0 then
  2867. local collidepart = Instance.new('Part',part1)
  2868. collidepart.Size = part1.Size/2
  2869. if string.find(string.lower(part1.Name),"upper") then
  2870. if string.find(string.lower(part1.Name),"leg") then
  2871. collidepart.Size = part1.Size/3
  2872. else
  2873. collidepart.Size = part1.Size/2.5
  2874. end
  2875. end
  2876. collidepart.CanCollide = true
  2877. collidepart.Name = "RagdollJoint"
  2878. collidepart.Anchored = false
  2879. collidepart.Transparency = 1
  2880. collidepart.CFrame = part1.CFrame
  2881. collidepart:BreakJoints()
  2882. local attachment0 = Instance.new('Attachment',part1)
  2883. local attachment1 = Instance.new('Attachment',collidepart)
  2884. if attachment0 and attachment1 then
  2885. local constraint = Instance.new("HingeConstraint")
  2886. constraint.Attachment0 = attachment0
  2887. constraint.Attachment1 = attachment1
  2888. constraint.LimitsEnabled = true
  2889. constraint.UpperAngle = 0
  2890. constraint.LowerAngle = 0
  2891. constraint.Parent = character
  2892. end
  2893. if string.find(string.lower(part1.Name),"upper") then
  2894. if string.find(string.lower(part1.Name),"leg") then
  2895. attachment0.Position = Vector3.new(0,0.01,0)
  2896. else
  2897. attachment0.Position = Vector3.new(0,0.25,0)
  2898. end
  2899. else
  2900. attachment0.Position = Vector3.new(0,-0.1,0)
  2901. end
  2902. end
  2903. for _,propertyData in next,properties or {} do
  2904. constraint[propertyData[1]] = propertyData[2]
  2905. end
  2906. constraint.Parent = character
  2907. return constraint
  2908. end
  2909. end
  2910.  
  2911. local V3 = {N=Vector3.new,FNI=Vector3.FromnormalId,A=Vector3.FromAxis}
  2912.  
  2913. function getAttachment0(character,attachmentName)
  2914. for _,child in next,character:children() do
  2915. local attachment = child:FindFirstChild(attachmentName)
  2916. if attachment then
  2917. return attachment
  2918. end
  2919. end
  2920. end
  2921.  
  2922. function recurse(root,callback,i)
  2923. i= i or 0
  2924. for _,v in pairs(root:GetChildren()) do
  2925. i = i + 1
  2926. callback(i,v)
  2927.  
  2928. if #v:GetChildren() > 0 then
  2929. i = recurse(v,callback,i)
  2930. end
  2931. end
  2932.  
  2933. return i
  2934. end
  2935.  
  2936. local Stunned = {}
  2937.  
  2938. function GetTorso(Character)
  2939. return Character:FindFirstChild'Torso' or Character:FindFirstChild'UpperTorso'
  2940. end
  2941.  
  2942. function FakeWeld(p0,p1)
  2943. local attachment0 = Instance.new('Attachment',p0)
  2944. local attachment1 = Instance.new('Attachment',p1)
  2945. return NewInstance("HingeConstraint",p0,{Attachment0=attachment0,Attachment1=attachment1,LimitsEnabled=true,UpperAngle=0,LowerAngle=0})
  2946. end
  2947.  
  2948. function Ragdoll(who,half,snapped)
  2949. pcall(function()
  2950. who:breakJoints()
  2951. local who = who
  2952. local hhh = who:FindFirstChildOfClass'Humanoid'
  2953. local t = GetTorso(who)
  2954. pcall(function()
  2955. who.HumanoidRootPart:destroy()
  2956. end)
  2957. hhh.Health = 0
  2958. Stunned[who] = true
  2959. if(hhh.RigType == Enum.HumanoidRigType.R6)then
  2960. local RA,LA,RL,LL,HD = who:FindFirstChild'Right Arm',who:FindFirstChild'Left Arm',who:FindFirstChild'Right Leg',who:FindFirstChild'Left Leg',who:FindFirstChild'Head'
  2961. pcall(function()
  2962. if(hhh.Health > 0)then local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  2963. FakeWeld(RA,CollideRA) end
  2964. local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
  2965. local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  2966. local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
  2967. end)
  2968. pcall(function()
  2969. local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
  2970. local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  2971.  
  2972. local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
  2973.  
  2974. if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  2975. FakeWeld(LA,CollideLA) end
  2976. end)
  2977. pcall(function()
  2978. if(HD)then
  2979. local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
  2980. local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
  2981. local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  2982. local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2})
  2983.  
  2984. if(snapped)then
  2985. NJ.Orientation = V3.N(0,90,0)
  2986. end
  2987. if(hhh.Health > 0)then
  2988. local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  2989. FakeWeld(HD,CollideHD)
  2990. end
  2991. end
  2992. end)
  2993. if(not half)then
  2994. local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
  2995. local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  2996. local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
  2997. local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  2998. local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
  2999. local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
  3000. if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  3001. local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  3002.  
  3003. FakeWeld(RL,CollideRL)
  3004. FakeWeld(LL,CollideLL) end
  3005. end
  3006. for _,v in next, who:children() do
  3007. if(v:IsA'BasePart')then
  3008. v.CanCollide = true
  3009. end
  3010. end
  3011. else
  3012. local character = who
  3013.  
  3014. if(half)then
  3015. pcall(function()
  3016. character.UpperTorso.WaistRigAttachment:Destroy()
  3017. end)
  3018. end
  3019.  
  3020. local handProperties = {
  3021. {"LimitsEnabled", true};
  3022. {"UpperAngle",0};
  3023. {"LowerAngle",0};
  3024. }
  3025. local footProperties = {
  3026. {"LimitsEnabled", true};
  3027. {"UpperAngle", 15};
  3028. {"LowerAngle", -45};
  3029. }
  3030. local shinProperties = {
  3031. {"LimitsEnabled", true};
  3032. {"UpperAngle", 0};
  3033. {"LowerAngle", -75};
  3034. }
  3035. if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
  3036. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  3037. end
  3038. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
  3039. ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket")
  3040. end
  3041. if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
  3042. ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  3043. end
  3044. if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
  3045. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  3046. end
  3047. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
  3048. ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket")
  3049. end
  3050. if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then
  3051. ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  3052. end
  3053. if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
  3054. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  3055. end
  3056. if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
  3057. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  3058. end
  3059. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
  3060. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  3061. end
  3062. if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
  3063. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  3064. end
  3065. if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
  3066. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  3067. end
  3068. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
  3069. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  3070. end
  3071. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then
  3072. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  3073. {"LimitsEnabled",true};
  3074. {"UpperAngle",5};
  3075. {"Radius",5};
  3076. })
  3077. end
  3078. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then
  3079. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  3080. {"LimitsEnabled",true};
  3081. {"UpperAngle",50};
  3082. {"LowerAngle",-50};
  3083. })
  3084. end
  3085. local NeckA = ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  3086. {"LimitsEnabled",true};
  3087. {"UpperAngle",50};
  3088. {"LowerAngle",-50};
  3089. })
  3090.  
  3091. recurse(character, function(_,v)
  3092. if v:IsA("Attachment") then
  3093. v.Axis = Vector3.new(0, 1, 0)
  3094. v.SecondaryAxis = Vector3.new(0, 0, 1)
  3095. v.Rotation = Vector3.new(0, 0, 0)
  3096. if(v.Parent == character.Head and snapped)then
  3097. v.Orientation = V3.N(0,-90,0)
  3098. end
  3099. end
  3100. end)
  3101. end
  3102. end)
  3103. end
  3104.  
  3105. function Ragdoll3(who,half,snapped)
  3106. pcall(function()
  3107. script:Destroy()
  3108. local who = who
  3109. local hhh = who:FindFirstChildOfClass'Humanoid'
  3110. local t = GetTorso(who)
  3111. pcall(function()
  3112. who.HumanoidRootPart:destroy()
  3113. end)
  3114. hhh.Health = 0
  3115. Stunned[who] = true
  3116. if(hhh.RigType == Enum.HumanoidRigType.R6)then
  3117. local RA,LA,RL,LL,HD = who:FindFirstChild'Right Arm',who:FindFirstChild'Left Arm',who:FindFirstChild'Right Leg',who:FindFirstChild'Left Leg',who:FindFirstChild'Head'
  3118. pcall(function()
  3119. if(hhh.Health > 0)then local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  3120. FakeWeld(RA,CollideRA) end
  3121. local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
  3122. local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  3123. local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
  3124. end)
  3125. pcall(function()
  3126. local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
  3127. local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  3128.  
  3129. local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
  3130.  
  3131. if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  3132. FakeWeld(LA,CollideLA) end
  3133. end)
  3134. pcall(function()
  3135. if(HD)then
  3136. local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
  3137. local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
  3138. local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  3139. local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2})
  3140.  
  3141. if(snapped)then
  3142. NJ.Orientation = V3.N(0,90,0)
  3143. end
  3144. if(hhh.Health > 0)then
  3145. local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  3146. FakeWeld(HD,CollideHD)
  3147. end
  3148. end
  3149. end)
  3150. if(not half)then
  3151. local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
  3152. local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  3153. local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
  3154. local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  3155. local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
  3156. local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
  3157. if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  3158. local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  3159.  
  3160. FakeWeld(RL,CollideRL)
  3161. FakeWeld(LL,CollideLL) end
  3162. end
  3163. for _,v in next, who:children() do
  3164. if(v:IsA'BasePart')then
  3165. v.CanCollide = true
  3166. end
  3167. end
  3168. else
  3169. local character = who
  3170.  
  3171. if(half)then
  3172. pcall(function()
  3173. character.UpperTorso.WaistRigAttachment:Destroy()
  3174. end)
  3175. end
  3176.  
  3177. local handProperties = {
  3178. {"LimitsEnabled", true};
  3179. {"UpperAngle",0};
  3180. {"LowerAngle",0};
  3181. }
  3182. local footProperties = {
  3183. {"LimitsEnabled", true};
  3184. {"UpperAngle", 15};
  3185. {"LowerAngle", -45};
  3186. }
  3187. local shinProperties = {
  3188. {"LimitsEnabled", true};
  3189. {"UpperAngle", 0};
  3190. {"LowerAngle", -75};
  3191. }
  3192. if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
  3193. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  3194. end
  3195. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
  3196. ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket")
  3197. end
  3198. if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
  3199. ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  3200. end
  3201. if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
  3202. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  3203. end
  3204. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
  3205. ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket")
  3206. end
  3207. if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then
  3208. ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  3209. end
  3210. if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
  3211. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  3212. end
  3213. if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
  3214. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  3215. end
  3216. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
  3217. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  3218. end
  3219. if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
  3220. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  3221. end
  3222. if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
  3223. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  3224. end
  3225. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
  3226. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  3227. end
  3228. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then
  3229. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  3230. {"LimitsEnabled",true};
  3231. {"UpperAngle",5};
  3232. {"Radius",5};
  3233. })
  3234. end
  3235. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then
  3236. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  3237. {"LimitsEnabled",true};
  3238. {"UpperAngle",50};
  3239. {"LowerAngle",-50};
  3240. })
  3241. end
  3242. local NeckA = ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  3243. {"LimitsEnabled",true};
  3244. {"UpperAngle",50};
  3245. {"LowerAngle",-50};
  3246. })
  3247.  
  3248. recurse(character, function(_,v)
  3249. if v:IsA("Attachment") then
  3250. v.Axis = Vector3.new(0, 1, 0)
  3251. v.SecondaryAxis = Vector3.new(0, 0, 1)
  3252. v.Rotation = Vector3.new(0, 0, 0)
  3253. if(v.Parent == character.Head and snapped)then
  3254. v.Orientation = V3.N(0,-90,0)
  3255. end
  3256. end
  3257. end)
  3258. end
  3259. end)
  3260. end
  3261.  
  3262. function Ragdoll2(who,half,snapped)
  3263. pcall(function()
  3264. who:breakJoints()
  3265. local who = who
  3266. local hhh = who:FindFirstChildOfClass'Humanoid'
  3267. local t = GetTorso(who)
  3268. pcall(function()
  3269. who.HumanoidRootPart:destroy()
  3270. end)
  3271. hhh.Health = 0
  3272. Stunned[who] = true
  3273. if(hhh.RigType == Enum.HumanoidRigType.R6)then
  3274. local RA,LA,RL,LL,HD = who:FindFirstChild'Right Arm',who:FindFirstChild'Left Arm',who:FindFirstChild'Right Leg',who:FindFirstChild'Left Leg',who:FindFirstChild'Head'
  3275. pcall(function()
  3276. if(hhh.Health > 0)then local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  3277. FakeWeld(RA,CollideRA) end
  3278. local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
  3279. local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  3280. local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
  3281. end)
  3282. pcall(function()
  3283. local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
  3284. local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  3285.  
  3286. local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
  3287.  
  3288. if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  3289. FakeWeld(LA,CollideLA) end
  3290. end)
  3291. pcall(function()
  3292. if(HD)then
  3293. local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
  3294. local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
  3295. local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  3296. local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2})
  3297.  
  3298. if(snapped)then
  3299. NJ:Destroy()
  3300. end
  3301. if(hhh.Health > 0)then
  3302. local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  3303. FakeWeld(HD,CollideHD)
  3304. end
  3305. end
  3306. end)
  3307. if(not half)then
  3308. local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
  3309. local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  3310. local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
  3311. local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  3312. local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
  3313. local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
  3314. if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  3315. local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  3316.  
  3317. FakeWeld(RL,CollideRL)
  3318. FakeWeld(LL,CollideLL) end
  3319. end
  3320. for _,v in next, who:children() do
  3321. if(v:IsA'BasePart')then
  3322. v.CanCollide = true
  3323. end
  3324. end
  3325. else
  3326. local character = who
  3327.  
  3328. if(half)then
  3329. pcall(function()
  3330. character.UpperTorso.WaistRigAttachment:Destroy()
  3331. end)
  3332. end
  3333.  
  3334. local handProperties = {
  3335. {"LimitsEnabled", true};
  3336. {"UpperAngle",0};
  3337. {"LowerAngle",0};
  3338. }
  3339. local footProperties = {
  3340. {"LimitsEnabled", true};
  3341. {"UpperAngle", 15};
  3342. {"LowerAngle", -45};
  3343. }
  3344. local shinProperties = {
  3345. {"LimitsEnabled", true};
  3346. {"UpperAngle", 0};
  3347. {"LowerAngle", -75};
  3348. }
  3349. if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
  3350. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  3351. end
  3352. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
  3353. ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket")
  3354. end
  3355. if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
  3356. ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  3357. end
  3358. if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
  3359. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  3360. end
  3361. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
  3362. ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket")
  3363. end
  3364. if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then
  3365. ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  3366. end
  3367. if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
  3368. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  3369. end
  3370. if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
  3371. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  3372. end
  3373. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
  3374. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  3375. end
  3376. if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
  3377. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  3378. end
  3379. if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
  3380. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  3381. end
  3382. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
  3383. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  3384. end
  3385. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then
  3386. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  3387. {"LimitsEnabled",true};
  3388. {"UpperAngle",5};
  3389. {"Radius",5};
  3390. })
  3391. end
  3392. if snapped == false then
  3393. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then
  3394. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  3395. {"LimitsEnabled",true};
  3396. {"UpperAngle",50};
  3397. {"LowerAngle",-50};
  3398. })
  3399. end
  3400. end
  3401. local NeckA = ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  3402. {"LimitsEnabled",true};
  3403. {"UpperAngle",50};
  3404. {"LowerAngle",-50};
  3405. })
  3406.  
  3407. recurse(character, function(_,v)
  3408. if v:IsA("Attachment") then
  3409. v.Axis = Vector3.new(0, 1, 0)
  3410. v.SecondaryAxis = Vector3.new(0, 0, 1)
  3411. v.Rotation = Vector3.new(0, 0, 0)
  3412. if(v.Parent == character.Head and snapped)then
  3413. NeckA:Destroy()
  3414. end
  3415. end
  3416. end)
  3417. end
  3418. end)
  3419. end
  3420.  
  3421.  
  3422. function KillB()
  3423. local TARGET = Mouse.Target
  3424. if TARGET ~= nil then
  3425. local HITFLOOR, HITPOS = Raycast(RightLeg.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 2 , Character)
  3426. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  3427. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  3428. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  3429. local TORSO = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  3430.  
  3431. local FOE = Mouse.Target.Parent
  3432. Kill(HUM)
  3433. end
  3434. end
  3435. end
  3436.  
  3437. function DestroyA()
  3438. local TARGET = Mouse.Target
  3439. if TARGET.Name ~= "Baseplate" and TARGET.Name ~= "Base" and TARGET ~= nil and TARGET.Name ~= "BasePlate" then
  3440. Kill4(TARGET)
  3441. end
  3442. end
  3443.  
  3444.  
  3445.  
  3446.  
  3447.  
  3448.  
  3449.  
  3450. function Effect(Table)
  3451. local TYPE = (Table.EffectType or "Sphere")
  3452. local SIZE = (Table.Size or Vector3.new(1,1,1))
  3453. local ENDSIZE = (Table.Size2 or Vector3.new(0,0,0))
  3454. local TRANSPARENCY = (Table.Transparency or 0)
  3455. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  3456. local CFRAME = (Table.CFrame or Torso.CFrame)
  3457. local MOVEDIRECTION = (Table.MoveToPos or nil)
  3458. local ROTATION1 = (Table.RotationX or 0)
  3459. local ROTATION2 = (Table.RotationY or 0)
  3460. local ROTATION3 = (Table.RotationZ or 0)
  3461. local MATERIAL = (Table.Material or "Neon")
  3462. local COLOR = (Table.Color or Color3.new(1,1,1))
  3463. local TIME = (Table.Time or 45)
  3464. local SOUNDID = (Table.SoundID or nil)
  3465. local SOUNDPITCH = (Table.SoundPitch or nil)
  3466. local SOUNDVOLUME = (Table.SoundVolume or nil)
  3467. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  3468. local BOOMERANG = (Table.Boomerang or 0)
  3469. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  3470. coroutine.resume(coroutine.create(function()
  3471. local PLAYSSOUND = false
  3472. local SOUND = nil
  3473. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BrickColor.new("Pearl"), "Effect", Vector3.new(1,1,1), true)
  3474. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  3475. PLAYSSOUND = true
  3476. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  3477. end
  3478. EFFECT.Color = COLOR
  3479. local MSH = nil
  3480. if TYPE == "Sphere" then
  3481. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, Vector3.new(0,0,0))
  3482. elseif TYPE == "Block" or TYPE == "Box" then
  3483. MSH = Instance.new("BlockMesh",EFFECT)
  3484. MSH.Scale = SIZE
  3485. elseif TYPE == "Wave" then
  3486. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, Vector3.new(0,0,-SIZE.X/8))
  3487. elseif TYPE == "Ring" then
  3488. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", Vector3.new(SIZE.X,SIZE.X,0.1), Vector3.new(0,0,0))
  3489. elseif TYPE == "Slash" then
  3490. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
  3491. elseif TYPE == "Round Slash" then
  3492. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
  3493. elseif TYPE == "Swirl" then
  3494. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, Vector3.new(0,0,0))
  3495. elseif TYPE == "Skull" then
  3496. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, Vector3.new(0,0,0))
  3497. elseif TYPE == "Crystal" then
  3498. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, Vector3.new(0,0,0))
  3499. end
  3500. if MSH ~= nil then
  3501. local BOOMR1 = 1+BOOMERANG/50
  3502. local BOOMR2 = 1+SIZEBOOMERANG/50
  3503. local MOVESPEED = nil
  3504. if MOVEDIRECTION ~= nil then
  3505. if USEBOOMERANGMATH == true then
  3506. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  3507. else
  3508. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  3509. end
  3510. end
  3511. local GROWTH = nil
  3512. if USEBOOMERANGMATH == true then
  3513. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  3514. else
  3515. GROWTH = (SIZE - ENDSIZE)
  3516. end
  3517. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  3518. if TYPE == "Block" then
  3519. EFFECT.CFrame = CFRAME*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  3520. else
  3521. EFFECT.CFrame = CFRAME
  3522. end
  3523. if USEBOOMERANGMATH == true then
  3524. for LOOP = 1, TIME+1 do
  3525. wait()
  3526. MSH.Scale = MSH.Scale - (Vector3.new((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  3527. if TYPE == "Wave" then
  3528. MSH.Offset = Vector3.new(0,0,-MSH.Scale.Z/8)
  3529. end
  3530. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  3531. if TYPE == "Block" then
  3532. EFFECT.CFrame = CFRAME*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  3533. else
  3534. EFFECT.CFrame = EFFECT.CFrame*CFrame.Angles(math.rad(ROTATION1),math.rad(ROTATION2),math.rad(ROTATION3))
  3535. end
  3536. if MOVEDIRECTION ~= nil then
  3537. local ORI = EFFECT.Orientation
  3538. EFFECT.CFrame = CFrame.new(EFFECT.Position,MOVEDIRECTION)*CFrame.new(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  3539. EFFECT.Orientation = ORI
  3540. end
  3541. end
  3542. else
  3543. for LOOP = 1, TIME+1 do
  3544. wait()
  3545. MSH.Scale = MSH.Scale - GROWTH/TIME
  3546. if TYPE == "Wave" then
  3547. MSH.Offset = Vector3.new(0,0,-MSH.Scale.Z/8)
  3548. end
  3549. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  3550. if TYPE == "Block" then
  3551. EFFECT.CFrame = CFRAME*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  3552. else
  3553. EFFECT.CFrame = EFFECT.CFrame*CFrame.Angles(math.rad(ROTATION1),math.rad(ROTATION2),math.rad(ROTATION3))
  3554. end
  3555. if MOVEDIRECTION ~= nil then
  3556. local ORI = EFFECT.Orientation
  3557. EFFECT.CFrame = CFrame.new(EFFECT.Position,MOVEDIRECTION)*CFrame.new(0,0,-MOVESPEED)
  3558. EFFECT.Orientation = ORI
  3559. end
  3560. end
  3561. end
  3562. EFFECT.Transparency = 1
  3563. if PLAYSSOUND == false then
  3564. EFFECT:remove()
  3565. else
  3566. repeat wait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  3567. EFFECT:remove()
  3568. end
  3569. else
  3570. if PLAYSSOUND == false then
  3571. EFFECT:remove()
  3572. else
  3573. repeat wait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  3574. EFFECT:remove()
  3575. end
  3576. end
  3577. end))
  3578. end
  3579.  
  3580.  
  3581.  
  3582. function Lightning(Part0, Part1, Times, Offset, Color, Timer, sSize, eSize, Trans, Boomer, sBoomer, slow, stime)
  3583. local magz = (Part0 - Part1).magnitude
  3584. local curpos = Part0
  3585. local trz = {
  3586. -Offset,
  3587. Offset
  3588. }
  3589. for i = 1, Times do
  3590. local li = Instance.new("Part", Effects)
  3591. li.Name = "Lightning"
  3592. li.TopSurface = 0
  3593. li.Material = "Neon"
  3594. li.BottomSurface = 0
  3595. li.Anchored = true
  3596. li.Locked = true
  3597. li.Transparency = 0
  3598. li.Color = Color
  3599. li.formFactor = "Custom"
  3600. li.CanCollide = false
  3601. li.Size = Vector3.new(0.1, 0.1, magz / Times)
  3602. local Offzet = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  3603. local trolpos = CFrame.new(curpos, Part1) * CFrame.new(0, 0, magz / Times).p + Offzet
  3604. if Times == i then
  3605. local magz2 = (curpos - Part1).magnitude
  3606. li.Size = Vector3.new(0.1, 0.1, magz2)
  3607. li.CFrame = CFrame.new(curpos, Part1) * CFrame.new(0, 0, -magz2 / 2)
  3608. else
  3609. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / Times / 2)
  3610. end
  3611. curpos = li.CFrame * CFrame.new(0, 0, magz / Times / 2).p
  3612. li:Destroy()
  3613. Effect({Time = Timer, EffectType = "Box", Size = Vector3.new(sSize,sSize,li.Size.Z), Size2 = Vector3.new(eSize,eSize,li.Size.Z), Transparency = Trans, Transparency2 = 1, CFrame = li.CFrame, MoveToPos = nil, RotationX = nil, RotationY = nil, RotationZ = nil, Material = "Neon", Color = li.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = Boomer, Boomerang = 0, SizeBoomerang = sBoomer})
  3614. if slow == true then
  3615. wait(stime)
  3616. end
  3617. end
  3618. end
  3619.  
  3620.  
  3621.  
  3622. --[[
  3623. --refit by NopeUsername
  3624. local Regen = {}
  3625. delay(1,function()
  3626. local Descendants = Character:GetDescendants()
  3627.  
  3628. for i = 1,#Descendants do
  3629. local E = Descendants[i]
  3630. if E:IsA("BasePart") and not E:IsDescendantOf(Effects) then
  3631. E.CustomPhysicalProperties = PhysicalProperties.new(Enum.Material.Wood)
  3632. table.insert(Regen,{E,E.Parent,E.Color,E.Size,E.Material})
  3633. end
  3634. if E:IsA("JointInstance") then
  3635. table.insert(Regen,{E,E.Parent,nil,nil,nil})
  3636. end
  3637. end
  3638. end)
  3639.  
  3640. for e = 1, #Regen do
  3641. if Regen[e] ~= nil then
  3642. local STUFF = Regen[e]
  3643. local PART = STUFF[1]
  3644. local PARENT = STUFF[2]
  3645. local MATERIAL = STUFF[3]
  3646. local COLOR = STUFF[4]
  3647. local TRANSPARENCY = STUFF[5]
  3648. if PART.ClassName == "Part" and PART ~= Body.RootPart then
  3649. PART.Material = MATERIAL
  3650. PART.Color = COLOR
  3651. PART.Transparency = TRANSPARENCY
  3652. end
  3653. PART.AncestryChanged:Connect(function()
  3654. PART.Parent = PARENT
  3655. end)
  3656. end
  3657. end
  3658.  
  3659. function Refit()
  3660. for i = 1,#Regen do
  3661. local E = Regen[i]
  3662. local PART = E[1]
  3663. local PARENT = E[2]
  3664. local COLOR = E[3]
  3665. local SIZE = E[4]
  3666. local MATERIAL = E[5]
  3667.  
  3668. if PART:IsA("BasePart") and PART.Parent ~= PARENT then
  3669. PART.Color = COLOR
  3670. PART.Size = SIZE
  3671. PART.Material = MATERIAL
  3672. end
  3673. if PART.Parent ~= PARENT then
  3674. Humanoid.Parent = nil
  3675. PART.Parent = PARENT
  3676. Humanoid.Parent = Character
  3677. end
  3678. end
  3679. Humanoid.Parent = Character
  3680. end
  3681.  
  3682. local BODY = {}
  3683.  
  3684. for e = 1, #BODY do
  3685. if BODY[e] ~= nil then
  3686. local STUFF = BODY[e]
  3687. local PART = STUFF[1]
  3688. local PARENT = STUFF[2]
  3689. local MATERIAL = STUFF[3]
  3690. local COLOR = STUFF[4]
  3691. local TRANSPARENCY = STUFF[5]
  3692. if PART.ClassName == "Part" and PART ~= RootPart then
  3693. PART.Material = MATERIAL
  3694. PART.Color = COLOR
  3695. PART.Transparency = TRANSPARENCY
  3696. end
  3697. PART.AncestryChanged:Connect(function()
  3698. PART.Parent = PARENT
  3699. end)
  3700. end
  3701. end
  3702.  
  3703. function Refit2()
  3704. Character.Parent = workspace
  3705. Effects.Parent = Character
  3706. for e = 1, #BODY do
  3707. if BODY[e] ~= nil then
  3708. local STUFF = BODY[e]
  3709. local PART = STUFF[1]
  3710. local PARENT = STUFF[2]
  3711. local MATERIAL = STUFF[3]
  3712. local COLOR = STUFF[4]
  3713. local TRANSPARENCY = STUFF[5]
  3714. --local SIZE = STUFF[6]
  3715. local NAME = STUFF[7]
  3716. if PART.ClassName == "Part" and PART ~= RootPart then
  3717. PART.Material = MATERIAL
  3718. PART.Transparency = TRANSPARENCY
  3719. PART.Name = NAME
  3720. end
  3721. if PART.Parent ~= PARENT then
  3722. if PART.Name == "Head" or PART.Name == "Neck" or PART.Name == "Torso" then
  3723. Humanoid:remove()
  3724. end
  3725. PART.Parent = PARENT
  3726. if PART.Name == "Head" or PART.Name == "Neck" or PART.Name == "Torso" then
  3727. Humanoid = IT("Humanoid",Character)
  3728. end
  3729. end
  3730. end
  3731. end
  3732. end
  3733.  
  3734.  
  3735. Humanoid.Died:Connect(Refit)
  3736. Humanoid.HealthChanged:Connect(function()
  3737. if Humanoid.Health <= 1 then
  3738. Humanoid.Health = math.huge
  3739. Refit()
  3740. end
  3741. end)--]]
  3742. value1 = 4
  3743. value2 = 8
  3744. value3 = 30
  3745. value4 = 30
  3746. value5 = 10
  3747.  
  3748. local value1 = 4
  3749. local value2 = 8
  3750. local value3 = 30
  3751. local value4 = 30
  3752. local value5 = 10
  3753.  
  3754.  
  3755.  
  3756. function MouseDown(Mouse)
  3757. if ATTACK == false then
  3758. HOLD = true
  3759. end
  3760. end
  3761. function MouseUp(Mouse)
  3762. HOLD = false
  3763. end
  3764. function KeyDown(Key)
  3765. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" and Key ~= " " then
  3766. KEYHOLD = true
  3767. if Key == "z" then
  3768. if Delete == false then
  3769. KillB()
  3770. elseif Delete == true then
  3771. DestroyA()
  3772. end
  3773. end
  3774. if Key == "r" then
  3775. if Delete == false then
  3776. Delete = true
  3777. elseif Delete == true then
  3778. Delete = false
  3779. end
  3780. end
  3781. if Key == "q" then
  3782. Warp()
  3783. end
  3784. if Key == "f" then
  3785. Defense()
  3786. end
  3787. if Key == "t" and ATTACK == false then
  3788. vanguard()
  3789. end
  3790. end
  3791. end
  3792.  
  3793. function KeyUp(Key)
  3794. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" and Key ~= " " then
  3795. KEYHOLD = false
  3796. end
  3797. end
  3798.  
  3799. Mouse.Button1Down:connect(function(NEWKEY)
  3800. MouseDown(NEWKEY)
  3801. end)
  3802. Mouse.Button1Up:connect(function(NEWKEY)
  3803. MouseUp(NEWKEY)
  3804. end)
  3805. Mouse.KeyDown:connect(function(NEWKEY)
  3806. KeyDown(NEWKEY)
  3807. end)
  3808. Mouse.KeyUp:connect(function(NEWKEY)
  3809. KeyUp(NEWKEY)
  3810. end)
  3811.  
  3812. if Character:FindFirstChildOfClass("Humanoid") == nil then
  3813. Humanoid = Instance.new("Humanoid",Character)
  3814. end
  3815.  
  3816. while true do
  3817. wait()
  3818. ANIMATE.Parent = nil
  3819. if Character:FindFirstChildOfClass("Humanoid") == nil then
  3820. Humanoid = IT("Humanoid",Character)
  3821. end
  3822.  
  3823. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3824. v:Stop();
  3825. end
  3826. SINE = SINE + CHANGE
  3827. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3828. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3829. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3830. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3831. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3832.  
  3833. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3834. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3835. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3836. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3837. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3838. end
  3839. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3840. ANIM = "Jump"
  3841. if ATTACK == false then
  3842. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3843. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3844. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3845. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5+0.08*SIN(SINE/10), 0.5) * ANGLES(RAD(-40), RAD(20), RAD(30)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3846. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3847. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3848.  
  3849. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3850. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3851. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(2.05,1.05,1.05), Size2 = VT(2.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3852. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3853. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3854. WACKYEFFECT({Time = 10, EffectType = "Head", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3855.  
  3856. end
  3857. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3858. ANIM = "Fall"
  3859. if ATTACK == false then
  3860. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3861. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3862. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(10), RAD(0), RAD(20))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3863. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5+0.08*SIN(SINE/10), 0.5) * ANGLES(RAD(-40), RAD(20), RAD(30)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3864. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3865. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3866.  
  3867. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3868. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3869. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(2.05,1.05,1.05), Size2 = VT(2.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3870. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3871. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3872. WACKYEFFECT({Time = 10, EffectType = "Head", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3873.  
  3874. end
  3875. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3876. ANIM = "Idle"
  3877. if ATTACK == false then
  3878. if mde == "LORD" then
  3879. Speed = 25
  3880. Humanoid.JumpPower = 50
  3881.  
  3882. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , 0+0.08*COS(SINE/10)) * ANGLES(RAD(0+5*SIN(SINE/10)), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  3883. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0-5*SIN(SINE/10)), RAD(0), RAD(0+5*COS(SINE/10))), 0.35 / Animation_Speed)
  3884. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+0.08*SIN(SINE/10), 0) * ANGLES(RAD(0+5*COS(SINE/10)), RAD(0), RAD(5-5*SIN(SINE/10)))* RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  3885. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5+0.08*SIN(SINE/10), 0.5) * ANGLES(RAD(-40), RAD(20), RAD(30)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3886. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-0.08*COS(SINE/10), 0) * ANGLES(RAD(0+7*SIN(SINE/10)), RAD(-3), RAD(3)) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.35 / Animation_Speed)
  3887. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-0.08*COS(SINE/10) , 0) * ANGLES(RAD(0+7*SIN(SINE/10)), RAD(3), RAD(-3)) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.35 / Animation_Speed)
  3888. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3889. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3890. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(2.05,1.05,1.05), Size2 = VT(2.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3891. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3892. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3893. WACKYEFFECT({Time = 10, EffectType = "Head", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3894.  
  3895. end
  3896. end
  3897. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3898. ANIM = "Walk"
  3899. if ATTACK == false then
  3900. local Testwalk1 = Humanoid.MoveDirection*Torso.CFrame.LookVector
  3901. local Testwalk2 = Humanoid.MoveDirection*Torso.CFrame.RightVector
  3902. LOOKVEC = Testwalk1.X+Testwalk1.Z
  3903. RIGHTVEC = Testwalk2.X+Testwalk2.Z
  3904. VALUE3 = false
  3905. if mde == "LORD" then
  3906.  
  3907.  
  3908. local Testwalk1 = Humanoid.MoveDirection*Torso.CFrame.LookVector
  3909. local Testwalk2 = Humanoid.MoveDirection*Torso.CFrame.RightVector
  3910. LOOKVEC = Testwalk1.X+Testwalk1.Z
  3911. RIGHTVEC = Testwalk2.X+Testwalk2.Z
  3912. VALUE3 = false
  3913. Speed = 25
  3914. value1 = 2
  3915. value2 = 4
  3916. value3 = 120
  3917. value4 = 50
  3918. value5 = 20
  3919. Humanoid.JumpPower = 50
  3920.  
  3921.  
  3922. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 , -0.085 + 0.055 * COS(SINE / value1) + -SIN(SINE / value1) / 8) * ANGLES(RAD((LOOKVEC - LOOKVEC/5 * COS(SINE / value1))*value5), RAD((-RIGHTVEC - -RIGHTVEC/5 * COS(SINE / value1))*value5) , RAD(0)), 0.35 / Animation_Speed)
  3923. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD((LOOKVEC - LOOKVEC/5 * COS(SINE / value1))*-value5), RAD(0), RAD((RIGHTVEC - -RIGHTVEC/5 * COS(SINE /value1))*-value5)), 0.35 / Animation_Speed)
  3924. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD((LOOKVEC - LOOKVEC/5 * COS(SINE / value1))*value3* COS(SINE /value2)), RAD(0), RAD((RIGHTVEC - RIGHTVEC/5 * COS(SINE /value2))*value5))* RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  3925. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5+0.2*COS(SINE/value1), 0.5) * ANGLES(RAD(-40), RAD(20), RAD(30)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3926. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1+ 0.4 * SIN(SINE / value2), 0)* ANGLES(RAD((-LOOKVEC + LOOKVEC/5 * COS(SINE / value1))*value3* COS(SINE / value2)),RAD(0),RAD((-RIGHTVEC + RIGHTVEC/5 * COS(SINE / value2))*value4*COS(SINE/value2)))*ANGLES(RAD(0),RAD(90),RAD(0)), 0.35 / Animation_Speed)
  3927. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1- 0.4 * SIN(SINE / value2), 0)* ANGLES(RAD((LOOKVEC - LOOKVEC/5 * COS(SINE / value1))*value3* COS(SINE / value2)),RAD(0),RAD((RIGHTVEC - RIGHTVEC/5 * COS(SINE / value2))*value4*COS(SINE/value2)))*ANGLES(RAD(0),RAD(-90),RAD(0)), 0.35 / Animation_Speed)
  3928.  
  3929. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3930. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3931. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(2.05,1.05,1.05), Size2 = VT(2.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3932. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3933. WACKYEFFECT({Time = 10, EffectType = "Arm", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3934. WACKYEFFECT({Time = 10, EffectType = "Head", Size = VT(1.05,1.05,1.05), Size2 = VT(1.05,1.05,1.05), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Plastic", Color=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3935.  
  3936. end
  3937. end
  3938. end
  3939. Player.Chatted:connect(function(message)
  3940. if message:sub(1,5) == "play/" and ATTACK2 == false then
  3941. sick.SoundId = "rbxassetid://"..message:sub(6)
  3942. elseif message:sub(1,6) == "pitch/" then
  3943. sick.PlaybackSpeed = message:sub(7)
  3944.  
  3945. elseif message:sub(1,4) == "vol/" and Fdead == false then
  3946. sick.Volume = message:sub(5)
  3947. zee = message:sub(5)
  3948. elseif message:sub(1,5) == "skip/" then
  3949. sick.TimePosition = message:sub(6)
  3950. elseif message:sub(1,4) == "t/on" then
  3951. coolvalue = true
  3952. elseif message:sub(1,7) == "t/off" then
  3953. coolvalue = false
  3954. end
  3955. end)
  3956.  
  3957.  
  3958. Humanoid.MaxHealth = 1/0
  3959. Humanoid.Health = 1/0
  3960. if Rooted == false then
  3961. Disable_Jump = false
  3962. Humanoid.WalkSpeed = Speed
  3963. elseif Rooted == true then
  3964. Disable_Jump = true
  3965. Humanoid.WalkSpeed = 0
  3966. end
  3967. if Head:FindFirstChild("face") then
  3968. Head.face.Texture = "rbxassetid://"..face
  3969. end
  3970. Humanoid.PlatformStand = false
  3971. if Humanoid.Health == 0 and ragdolled == false then
  3972.  
  3973. ragdolled = true
  3974. Ragdoll(Character)
  3975.  
  3976. end
  3977. end
  3978.  
  3979. -------------------------------------------------
  3980.  
  3981.  
  3982.  
  3983.  
Add Comment
Please, Sign In to add comment