The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Fe Squat Man script pastebin roblox
By Fe Squat Man on 2024-11-11 08:00 am | Syntax: LUA | Views: 13



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. HumanDied = false
  2. local CountSCIFIMOVIELOL = 1
  3. function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
  4.  local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
  5.  AlignPos.ApplyAtCenterOfMass = true;
  6.  AlignPos.MaxForce = 5772000--67752;
  7.  AlignPos.MaxVelocity = math.huge/9e110;
  8.  AlignPos.ReactionForceEnabled = false;
  9.  AlignPos.Responsiveness = 200;
  10.  AlignPos.RigidityEnabled = false;
  11.  local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
  12.  AlignOri.MaxAngularVelocity = math.huge/9e110;
  13.  AlignOri.MaxTorque = 5772000
  14.  AlignOri.PrimaryAxisOnly = false;
  15.  AlignOri.ReactionTorqueEnabled = false;
  16.  AlignOri.Responsiveness = 200;
  17.  AlignOri.RigidityEnabled = false;
  18.  local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "Ath_"..CountSCIFIMOVIELOL
  19.  local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "Ath_"..CountSCIFIMOVIELOL
  20.  AttachmentA.Orientation = Angle or Vector3.new(0,0,0)
  21.  AttachmentA.Position = Position or Vector3.new(0,0,0)
  22.  AlignPos.Attachment1 = AttachmentA;
  23.  AlignPos.Attachment0 = AttachmentB;
  24.  AlignOri.Attachment1 = AttachmentA;
  25.  AlignOri.Attachment0 = AttachmentB;
  26.  CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
  27.  return {AlignPos,AlignOri,AttachmentA,AttachmentB}
  28. end
  29.  
  30. game:FindFirstChildOfClass("Players").LocalPlayer["Character"].Archivable = true
  31. local hatnameclone = {}
  32. for _,v in next, game:FindFirstChildOfClass("Players").LocalPlayer["Character"]:GetChildren() do
  33.  if v:IsA("Accessory") then
  34.   if hatnameclone[v.Name] then
  35.    if hatnameclone[v.Name] == "s" then
  36.     hatnameclone[v.Name] = {}
  37.    end
  38.    table.insert(hatnameclone[v.Name],v)
  39.   else
  40.    hatnameclone[v.Name] = "s"
  41.   end
  42.  end
  43. end
  44. for _,v in pairs(hatnameclone) do
  45.  if type(v) == "table" then
  46.   local num = 1
  47.   for _,w in pairs(v) do
  48.    w.Name = w.Name..num
  49.    num = num + 1
  50.   end
  51.  end
  52. end
  53. hatnameclone = nil
  54.  
  55. local DeadChar = game:FindFirstChildOfClass("Players").LocalPlayer.Character
  56.  
  57. local fldr = Instance.new("Folder",game:FindFirstChildOfClass("Players").LocalPlayer["Character"])
  58. fldr.Name = "DMYF"
  59. local CloneChar = DeadChar:Clone()
  60. local ANIMATIONHERE
  61. if CloneChar:FindFirstChild("Animate") then
  62.  ANIMATIONHERE = CloneChar:FindFirstChild("Animate"):Clone()
  63.  CloneChar:FindFirstChild("Animate"):Destroy()
  64. end
  65. if CloneChar:FindFirstChildOfClass("Folder") then CloneChar:FindFirstChildOfClass("Folder"):Destroy() end
  66. if CloneChar.Torso:FindFirstChild("Neck") then
  67.  local Clonessss = CloneChar.Torso:FindFirstChild("Neck"):Clone()
  68.  Clonessss.Part0 = nil
  69.  Clonessss.Part1 = DeadChar.Head
  70.  Clonessss.Parent = DeadChar.Torso
  71. end
  72. CloneChar.Parent = fldr
  73. CloneChar.HumanoidRootPart.CFrame = DeadChar.HumanoidRootPart.CFrame
  74. CloneChar.Humanoid.BreakJointsOnDeath = false
  75. CloneChar.Name = "non"
  76. CloneChar.Humanoid.DisplayDistanceType = "None"
  77.  
  78. for _,v in next, DeadChar:GetChildren() do
  79.  if v:IsA("Accessory") then
  80.   local topacc = false
  81.   if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
  82.   v.Handle.Massless = true
  83.   v.Handle.CanCollide = false
  84.   if v.Handle:FindFirstChildOfClass("Attachment") then
  85.    local ath__ = v.Handle:FindFirstChildOfClass("Attachment")
  86.    if ath__.Name == "HatAttachment" or ath__.Name == "HairAttachment" or ath__.Name == "FaceFrontAttachment" or ath__.Name == "FaceCenterAttachment" then
  87.     topacc = ath__.Name
  88.    end
  89.   end
  90.   local bv = Instance.new("BodyVelocity",v.Handle)
  91.   bv.Velocity = Vector3.new(0,0,0)
  92.   coroutine.wrap(function()
  93.    if topacc then
  94.     local allthings = SCIFIMOVIELOL(v.Handle,DeadChar.Torso,Vector3.new(0,1.5,0)+ (DeadChar.Head[topacc].Position + (v.Handle[topacc].Position*-1)),Vector3.new(0,0,0))
  95.     local normaltop = allthings[1].Attachment1
  96.     local alipos = allthings[1]
  97.     local alirot = allthings[2]
  98.     local p0 = v.Handle
  99.     local p1 = DeadChar.Head
  100.     alipos.Parent = CloneChar:FindFirstChild(v.Name).Handle
  101.     alirot.Parent = CloneChar:FindFirstChild(v.Name).Handle
  102.     while true do
  103.      game:GetService("RunService").RenderStepped:wait()
  104.      if HumanDied then break end
  105.      coroutine.wrap(function()
  106.       if alipos.Attachment1 == normaltop then
  107.        p0.CFrame = p0.CFrame:lerp((((DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)) * p1[topacc].CFrame) * p0[topacc].CFrame:inverse()),1)
  108.       else
  109.        v.Handle.CFrame = v.Handle.CFrame:lerp(alipos.Attachment1.Parent.CFrame * CFrame.new(alipos.Attachment1.Position) * CFrame.Angles(math.rad(alipos.Attachment1.Rotation.X),math.rad(alipos.Attachment1.Rotation.Y),math.rad(alipos.Attachment1.Rotation.Z)),1)
  110.       end
  111.      end)()
  112.     end
  113.    else
  114.     SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  115.    end
  116.   end)()
  117.  end
  118. end
  119.  
  120. local a = DeadChar.Torso
  121. local b = DeadChar.HumanoidRootPart
  122. local c = DeadChar.Humanoid
  123. a.Parent = game:FindFirstChildOfClass("Workspace")
  124. c.Parent = game:FindFirstChildOfClass("Workspace")
  125. local told = a:Clone()
  126. local told1 = c:Clone()
  127. b["RootJoint"].Part0 = told
  128. b["RootJoint"].Part1 = DeadChar.Head
  129. a.Name = "torso"
  130. a.Neck:Destroy()
  131. c.Name = "Mizt Hub Best"
  132. told.Parent = DeadChar
  133. told1.Parent = DeadChar
  134. DeadChar.PrimaryPart = told
  135. told1.Health = 0
  136. b:Destroy()
  137. a.Parent = DeadChar
  138. c.Parent = DeadChar
  139. told:Destroy()
  140. told1:Destroy()
  141. a.Name = "Torso"
  142.  
  143. if CloneChar.Head:FindFirstChildOfClass("Decal") then CloneChar.Head:FindFirstChildOfClass("Decal").Transparency = 1 end
  144. if DeadChar:FindFirstChild("Animate") then DeadChar:FindFirstChild("Animate"):Destroy() end
  145.  
  146. local Collider
  147. function UnCollide()
  148.  if HumanDied then Collider:Disconnect(); return end
  149.  for _,Parts in next, CloneChar:GetChildren() do
  150.   if Parts:IsA("BasePart") then
  151.    Parts.CanCollide = false
  152.   end
  153.  end
  154.  for _,Parts in next, DeadChar:GetChildren() do
  155.   if Parts:IsA("BasePart") then
  156.    Parts.CanCollide = false
  157.   end
  158.  end
  159. end
  160. Collider = game:GetService("RunService").Stepped:Connect(UnCollide)
  161.  
  162. local resetBindable = Instance.new("BindableEvent")
  163. resetBindable.Event:connect(function()
  164.  game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  165.  resetBindable:Destroy()
  166.  HumanDied = true
  167.  pcall(function()
  168.   game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  169.   DeadChar.Head:Destroy()
  170.   DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  171.   game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  172.   if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  173.  end)
  174. end)
  175. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  176.  
  177. coroutine.wrap(function()
  178.  while true do
  179.   game:GetService("RunService").RenderStepped:wait()
  180.   if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChildOfClass("Humanoid") or CloneChar:FindFirstChildOfClass("Humanoid").Health <= 0 and not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChildOfClass("Humanoid") or DeadChar:FindFirstChildOfClass("Humanoid").Health <= 0 then
  181.    HumanDied = true
  182.    pcall(function()
  183.     game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  184.     DeadChar.Head:Destroy()
  185.     DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  186.     game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  187.     if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  188.    end)
  189.    if resetBindable then
  190.     game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  191.     resetBindable:Destroy()
  192.    end
  193.    break
  194.   end  
  195.  end
  196. end)()
  197.  
  198.  
  199. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"])
  200. SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"])
  201. SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"])
  202. SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"])
  203. SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"])
  204. SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"])
  205.  
  206. for _,v in pairs(DeadChar:GetChildren()) do
  207.  if v:IsA("BasePart") and v.Name ~= "Head" then
  208.   --[[local bv = Instance.new("BodyVelocity",v)
  209.   bv.Velocity = Vector3.new(0,0,0)
  210.   coroutine.wrap(function()
  211.    while true do
  212.     game:GetService("RunService").RenderStepped:wait()
  213.     if HumanDied then break end
  214.     v.CFrame = CloneChar[v.Name].CFrame
  215.    end
  216.   end)()]]
  217.  elseif v:IsA("BasePart") and v.Name == "Head" then
  218.   local bv = Instance.new("BodyVelocity",v)
  219.   bv.Velocity = Vector3.new(0,0,0)
  220.   coroutine.wrap(function()
  221.    while true do
  222.     game:GetService("RunService").RenderStepped:wait()
  223.     if HumanDied then break end
  224.     v.CFrame = DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)
  225.    end
  226.   end)()
  227.  end
  228. end
  229.  
  230. for _,BodyParts in next, CloneChar:GetDescendants() do
  231.  if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  232.   BodyParts.Transparency = 1 end end
  233. game:GetService("RunService").RenderStepped:wait()
  234. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  235. game:FindFirstChildOfClass("Workspace"):FindFirstChildOfClass("Camera").CameraSubject = CloneChar.Humanoid
  236.  
  237. for _,v in next, DeadChar:GetChildren() do
  238.  if v:IsA("Accessory") then
  239.   if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
  240.  end
  241. end
  242.  
  243. if ANIMATIONHERE then ANIMATIONHERE.Parent = CloneChar end
  244. Player = game.Players.LocalPlayer
  245. PlayerGui = Player.PlayerGui
  246. Mouse = Player:GetMouse()
  247. Cam = workspace.CurrentCamera
  248. Backpack = Player.Backpack
  249. Character = Player.Character
  250. Humanoid = Character.Humanoid
  251. RootPart = Character["HumanoidRootPart"]
  252. Torso = Character["Torso"]
  253. Head = Character["Head"]
  254. RightArm = Character["Right Arm"]
  255. LeftArm = Character["Left Arm"]
  256. RightLeg = Character["Right Leg"]
  257. LeftLeg = Character["Left Leg"]
  258. RootJoint = RootPart["RootJoint"]
  259. Neck = Torso["Neck"]
  260. RightShoulder = Torso["Right Shoulder"]
  261. LeftShoulder = Torso["Left Shoulder"]
  262. RightHip = Torso["Right Hip"]
  263. LeftHip = Torso["Left Hip"]
  264. local sick = Instance.new("Sound",Character)
  265. sick.Parent = Torso
  266. sick.Name = "comander_cool"
  267. sick:resume()
  268. sick.Looped = true
  269. sick.Volume = 1
  270. sick.SoundId = "rbxassetid://935994277"
  271. sick.Pitch = 1
  272. IT = Instance.new
  273. CF = CFrame.new
  274. VT = Vector3.new
  275. RAD = math.rad
  276. C3 = Color3.new
  277. UD2 = UDim2.new
  278. BRICKC = BrickColor.new
  279. ANGLES = CFrame.Angles
  280. EULER = CFrame.fromEulerAnglesXYZ
  281. COS = math.cos
  282. ACOS = math.acos
  283. SIN = math.sin
  284. ASIN = math.asin
  285. ABS = math.abs
  286. MRANDOM = math.random
  287. FLOOR = math.floor
  288. it = Instance.new
  289. MODE = "1"
  290. Animation_Speed = 3
  291. local FORCERESET = false
  292. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  293. local Speed = 16
  294. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  295. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  296. local HOODC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  297. local SHOTGUNC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  298. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  299. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  300. local DAMAGEMULTIPLIER = 1
  301. local ANIM = "Idle"
  302. local ATTACK = false
  303. local EQUIPPED = false
  304. local HOLD = false
  305. local COMBO = 1
  306. local Rooted = false
  307. local SINE = 0
  308. local s = 0
  309. local c = 1
  310. local anchrd = false
  311. local RUN = game:service'RunService'
  312. local KEYHOLD = false
  313. local CHANGE = 2 / Animation_Speed
  314. local WALKINGANIM = false
  315. local VALUE1 = false
  316. local AntiBanish = true
  317. local AMODE = "box"
  318. local ROBLOXIDLEANIMATION = IT("Animation")
  319. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  320. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  321. local NICE = 2.8
  322. local VALUE3 = false
  323. --ROBLOXIDLEANIMATION.Parent = Humanoid
  324.  
  325. local Effects = IT("Folder", Character)
  326. Effects.Name = "Effects"
  327.  
  328. local ANIMATOR = Humanoid.Animator
  329. local ANIMATE = Character:FindFirstChild("Animate")
  330. local UNANCHOR = true
  331. local TOBANISH = {}
  332. local SKILLFONT = "Arcade"
  333. --//=================================\\
  334. --\\=================================//
  335.  
  336. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  337. local Plrs = S.Players
  338. NewInstance = function(instance,parent,properties)
  339.  local inst = Instance.new(instance)
  340.  inst.Parent = parent
  341.  if(properties)then
  342.   for i,v in next, properties do
  343.    pcall(function() inst[i] = v end)
  344.   end
  345.  end
  346.  return inst;
  347. end
  348.  
  349. function shakes(power,length)
  350.  for i,v in pairs(game:GetService("Players"):GetChildren()) do
  351.  local var = script.Shaker:Clone()
  352.  var.Parent = v.Character
  353.  local pw = var.Shakeval
  354.  local lgth = var.MultLength
  355.  pw.Value = power
  356.  lgth.Value = length
  357.  var.Disabled = false
  358.  game:GetService("Debris"):AddItem(var, length+4)
  359.  end
  360. end
  361.  
  362. ff = Instance.new("ForceField",Character)
  363. ff.Visible = false
  364.  
  365. function localshakes(power,length)
  366. local var = script.Shaker:Clone()
  367. var.Parent = Player.Character
  368. local pw = var.Shakeval
  369. local lgth = var.MultLength
  370. pw.Value = power
  371. lgth.Value = length
  372. var.Disabled = false
  373. game:GetService("Debris"):AddItem(var, length+4)
  374. end
  375.  
  376.  
  377.  
  378. 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"}
  379.  
  380. local PlayerSize = 1
  381. local FT,FRA,FLA,FRL,FLL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
  382. FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  383. FRA.MeshId,FRA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  384. FLA.MeshId,FLA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  385. FRL.MeshId,FRL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  386. FLL.MeshId,FLL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  387.  
  388. local AUDIOS = {"rbxassetid://844654533","rbxassetid://1439600000","rbxassetid://2256088590","rbxassetid://3154204326"}
  389.  
  390. if Player.Character:FindFirstChild("Animate") then
  391.  local an = Humanoid:GetPlayingAnimationTracks()
  392.  for i = 1, #an do
  393.   an[i]:Stop()
  394.  end
  395.  Humanoid.Animator:Destroy()
  396.  Player.Character:FindFirstChild("Animate"):Destroy()
  397.  ANIMATOR:Destroy()
  398.  ANIMATE:Destroy()
  399. end
  400. local fakerot = 0
  401.  
  402. local mde = "normal"
  403.  
  404.  
  405. function BypassGS(sound)
  406.  Instance.new("StringValue",sound).Name = "PleaseDontDestroyMeImAGoodBoiSoundSoPleaseDontDestroyMe"
  407. end
  408.  
  409. --//=================================\\
  410. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  411. --\\=================================//
  412. --DO NOT TOUCH THIS
  413. 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
  414.  
  415. ArtificialHB = Instance.new("BindableEvent", script)
  416. ArtificialHB.Name = "ArtificialHB"
  417.  
  418. script:WaitForChild("ArtificialHB")
  419.  
  420. frame = Frame_Speed
  421. tf = 0
  422. allowframeloss = false
  423. tossremainder = false
  424. lastframe = tick()
  425. script.ArtificialHB:Fire()
  426.  
  427. game:GetService("RunService").Heartbeat:connect(function(s, p)
  428.  tf = tf + s
  429.  if tf >= frame then
  430.   if allowframeloss then
  431.    script.ArtificialHB:Fire()
  432.    lastframe = tick()
  433.   else
  434.    for i = 1, math.floor(tf / frame) do
  435.     script.ArtificialHB:Fire()
  436.    end
  437.   lastframe = tick()
  438.   end
  439.   if tossremainder then
  440.    tf = 0
  441.   else
  442.    tf = tf - frame * math.floor(tf / frame)
  443.   end
  444.  end
  445. end)
  446. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  447.  return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  448. end
  449.  
  450. function PositiveAngle(NUMBER)
  451.  if NUMBER >= 0 then
  452.   NUMBER = 0
  453.  end
  454.  return NUMBER
  455. end
  456.  
  457. function NegativeAngle(NUMBER)
  458.  if NUMBER <= 0 then
  459.   NUMBER = 0
  460.  end
  461.  return NUMBER
  462. end
  463. function Rwait(num)
  464. if num == 0 or num == nil then
  465. RUN.Stepped:wait()
  466. else
  467. for i=0,num do
  468. RUN.Stepped:wait()
  469. end
  470. end
  471. end
  472.  
  473. function Swait(NUMBER)
  474.  if NUMBER == 0 or NUMBER == nil then
  475.   ArtificialHB.Event:wait()
  476.  else
  477.   for i = 1, NUMBER do
  478.    ArtificialHB.Event:wait()
  479.   end
  480.  end
  481. end
  482. BypassGS(sick)
  483. local S = IT("Sound",script)
  484. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  485.  local NEWSOUND = nil
  486.  coroutine.resume(coroutine.create(function()
  487.   NEWSOUND = S:Clone()
  488.   BypassGS(NEWSOUND)
  489.   NEWSOUND.Parent = PARENT
  490.   NEWSOUND.Volume = VOLUME
  491.   NEWSOUND.Pitch = PITCH
  492.   NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  493.   NEWSOUND:play()
  494.   if DOESLOOP == true then
  495.    NEWSOUND.Looped = true
  496.   else
  497.    repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  498.    NEWSOUND:remove()
  499.   end
  500.  end))
  501.  return NEWSOUND
  502. end
  503.  
  504. function CreateSound2(ID, PARENT, VOLUME, PITCH, TIMEPOS, DOESLOOP)
  505.  local NEWSOUND = nil
  506.  coroutine.resume(coroutine.create(function()
  507.   NEWSOUND = S:Clone()
  508.   BypassGS(NEWSOUND)
  509.   NEWSOUND.Parent = PARENT
  510.   NEWSOUND.Volume = VOLUME
  511.   NEWSOUND.Pitch = PITCH
  512.   NEWSOUND.TimePosition = TIMEPOS
  513.   NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  514.   NEWSOUND:play()
  515.   if DOESLOOP == true then
  516.    NEWSOUND.Looped = true
  517.   else
  518.    repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  519.    NEWSOUND:remove()
  520.   end
  521.  end))
  522.  return NEWSOUND
  523. end
  524.  
  525. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  526.  local NEWMESH = IT(MESH)
  527.  if MESH == "SpecialMesh" then
  528.   NEWMESH.MeshType = MESHTYPE
  529.   if MESHID ~= "nil" and MESHID ~= "" then
  530.    NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  531.   end
  532.   if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  533.    NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  534.   end
  535.  end
  536.  NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  537.  NEWMESH.Scale = SCALE
  538.  NEWMESH.Parent = PARENT
  539.  return NEWMESH
  540. end
  541.  
  542. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  543.  local NEWPART = IT("Part")
  544.  NEWPART.formFactor = FORMFACTOR
  545.  NEWPART.Reflectance = REFLECTANCE
  546.  NEWPART.Transparency = TRANSPARENCY
  547.  NEWPART.CanCollide = false
  548.  NEWPART.Locked = true
  549.  NEWPART.Anchored = true
  550.  if ANCHOR == false then
  551.   NEWPART.Anchored = false
  552.  end
  553.  NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  554.  NEWPART.Name = NAME
  555.  NEWPART.Size = SIZE
  556.  NEWPART.Position = Torso.Position
  557.  NEWPART.Material = MATERIAL
  558.  NEWPART:BreakJoints()
  559.  NEWPART.Parent = PARENT
  560.  return NEWPART
  561. end
  562.  
  563.  local function weldBetween(a, b)
  564.      local weldd = Instance.new("ManualWeld")
  565.      weldd.Part0 = a
  566.      weldd.Part1 = b
  567.      weldd.C0 = CFrame.new()
  568.      weldd.C1 = b.CFrame:inverse() * a.CFrame
  569.      weldd.Parent = a
  570.      return weldd
  571.  end
  572.  
  573.  
  574. function QuaternionFromCFrame(cf)
  575.  local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  576.  local trace = m00 + m11 + m22
  577.  if trace > 0 then
  578.   local s = math.sqrt(1 + trace)
  579.   local recip = 0.5 / s
  580.   return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  581.  else
  582.   local i = 0
  583.   if m11 > m00 then
  584.    i = 1
  585.   end
  586.   if m22 > (i == 0 and m00 or m11) then
  587.    i = 2
  588.   end
  589.   if i == 0 then
  590.    local s = math.sqrt(m00 - m11 - m22 + 1)
  591.    local recip = 0.5 / s
  592.    return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  593.   elseif i == 1 then
  594.    local s = math.sqrt(m11 - m22 - m00 + 1)
  595.    local recip = 0.5 / s
  596.    return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  597.   elseif i == 2 then
  598.    local s = math.sqrt(m22 - m00 - m11 + 1)
  599.    local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  600.   end
  601.  end
  602. end
  603.  
  604. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  605.  local xs, ys, zs = x + x, y + y, z + z
  606.  local wx, wy, wz = w * xs, w * ys, w * zs
  607.  local xx = x * xs
  608.  local xy = x * ys
  609.  local xz = x * zs
  610.  local yy = y * ys
  611.  local yz = y * zs
  612.  local zz = z * zs
  613.  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))
  614. end
  615.  
  616. function QuaternionSlerp(a, b, t)
  617.  local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  618.  local startInterp, finishInterp;
  619.  if cosTheta >= 0.0001 then
  620.   if (1 - cosTheta) > 0.0001 then
  621.    local theta = ACOS(cosTheta)
  622.    local invSinTheta = 1 / SIN(theta)
  623.    startInterp = SIN((1 - t) * theta) * invSinTheta
  624.    finishInterp = SIN(t * theta) * invSinTheta
  625.   else
  626.    startInterp = 1 - t
  627.    finishInterp = t
  628.   end
  629.  else
  630.   if (1 + cosTheta) > 0.0001 then
  631.    local theta = ACOS(-cosTheta)
  632.    local invSinTheta = 1 / SIN(theta)
  633.    startInterp = SIN((t - 1) * theta) * invSinTheta
  634.    finishInterp = SIN(t * theta) * invSinTheta
  635.   else
  636.    startInterp = t - 1
  637.    finishInterp = t
  638.   end
  639.  end
  640.  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
  641. end
  642.  
  643. function Clerp(a, b, t)
  644.  local qa = {QuaternionFromCFrame(a)}
  645.  local qb = {QuaternionFromCFrame(b)}
  646.  local ax, ay, az = a.x, a.y, a.z
  647.  local bx, by, bz = b.x, b.y, b.z
  648.  local _t = 1 - t
  649.  return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  650. end
  651. function NoOutlines(PART)
  652.  PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  653. end
  654.  
  655. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  656.  local NEWWELD = IT(TYPE)
  657.  NEWWELD.Part0 = PART0
  658.  NEWWELD.Part1 = PART1
  659.  NEWWELD.C0 = C0
  660.  NEWWELD.C1 = C1
  661.  NEWWELD.Parent = PARENT
  662.  return NEWWELD
  663. end
  664. function MakeForm(PART,TYPE)
  665.  if TYPE == "Cyl" then
  666.   local MSH = IT("CylinderMesh",PART)
  667.  elseif TYPE == "Ball" then
  668.   local MSH = IT("SpecialMesh",PART)
  669.   MSH.MeshType = "Sphere"
  670.  elseif TYPE == "Wedge" then
  671.   local MSH = IT("SpecialMesh",PART)
  672.   MSH.MeshType = "Wedge"
  673.  end
  674. end
  675.  
  676. Debris = game:GetService("Debris")
  677.  
  678. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  679.  local DIRECTION = CF(StartPos,EndPos).lookVector
  680.  return Raycast(StartPos, DIRECTION, Distance, Ignore)
  681. end
  682.  
  683. function turnto(position)
  684.  RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  685. end
  686. function ApplyDamage(Humanoid,Damage)
  687.  Damage = Damage * DAMAGEMULTIPLIER
  688.  if Humanoid.Health < 2000> 0 then
  689.    Humanoid.Health = Humanoid.Health - Damage
  690.   else
  691.    Humanoid.Parent:BreakJoints()
  692.   end
  693.  else
  694.   Humanoid.Parent:BreakJoints()
  695.  end
  696. end
  697.  
  698. function Fancy_spawntrail(LOC,AIMTO,OUCH)
  699.  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})
  700.  for i = 1, 1 do
  701.   local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  702.   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
  703.   local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  704.   local DISTANCE = (POS - LOC).Magnitude
  705.   if HIT then
  706.    local HUM = nil
  707.    if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  708.     HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  709.    elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  710.     HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  711.    end
  712.    if HUM then
  713.    Kill3(HIT.Parent)
  714.    end
  715.   end
  716.  
  717.   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})
  718.   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})
  719.  end
  720. end
  721.  
  722.  
  723. function Fancy_spawntrail3(LOC,AIMTO,OUCH)
  724.  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})
  725.  for i = 1, 1 do
  726.   local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  727.   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
  728.   local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  729.   local DISTANCE = (POS - LOC).Magnitude
  730.   if HIT then
  731.    local HUM = nil
  732.    if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  733.     HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  734.    elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  735.     HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  736.    end
  737.    if HUM then
  738.   Kill2(HUM)
  739.    BEAN(HUM)
  740.    end
  741.   end
  742.   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})
  743.   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})
  744.  end
  745. end
  746.  
  747.  
  748. function Fancy_spawntrail2(LOC,AIMTO,OUCH)
  749.  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})
  750.  for i = 1, 1 do
  751.   local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  752.   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
  753.   local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  754.   local DISTANCE = (POS - LOC).Magnitude
  755.   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})
  756.   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})
  757.  end
  758. end
  759.  
  760. function SpawnTrail(FROM,TO,BIG)
  761.  local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  762.  MakeForm(TRAIL,"Cyl")
  763.  local DIST = (FROM - TO).Magnitude
  764.  if BIG == true then
  765.   TRAIL.Size = VT(0.5,DIST,0.5)
  766.  else
  767.   TRAIL.Size = VT(0.25,DIST,0.25)
  768.  end
  769.  TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  770.  coroutine.resume(coroutine.create(function()
  771.   for i = 1, 5 do
  772.    Swait()
  773.    TRAIL.Transparency = TRAIL.Transparency + 0.1
  774.   end
  775.   TRAIL:remove()
  776.  end))
  777. end
  778.  
  779. function WACKYEFFECT2(Table)
  780.  local TYPE = (Table.EffectType or "Sphere")
  781.  local SIZE = (Table.Size or VT(1,1,1))
  782.  local ENDSIZE = (Table.Size2 or VT(0,0,0))
  783.  local TRANSPARENCY = (Table.Transparency or 0)
  784.  local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  785.  local CFRAME = (Table.CFrame or Torso.CFrame)
  786.  local MOVEDIRECTION = (Table.MoveToPos or nil)
  787.  local ROTATION1 = (Table.RotationX or 0)
  788.  local ROTATION2 = (Table.RotationY or 0)
  789.  local ROTATION3 = (Table.RotationZ or 0)
  790.  local MATERIAL = (Table.Material or "Neon")
  791.  local COLOR = (Table.Color or C3(1,1,1))
  792.  local TIME = (Table.Time or 45)
  793.  local SOUNDID = (Table.SoundID or nil)
  794.  local SOUNDPITCH = (Table.SoundPitch or nil)
  795.  local SOUNDVOLUME = (Table.SoundVolume or nil)
  796.  local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  797.  local BOOMERANG = (Table.Boomerang or 0)
  798.  local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  799.  coroutine.resume(coroutine.create(function()
  800.   local PLAYSSOUND = false
  801.   local SOUND = nil
  802.   local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  803.   if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  804.    PLAYSSOUND = true
  805.    SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  806.   end
  807.   EFFECT.Color = COLOR
  808.   local MSH = nil
  809.   if TYPE == "Sphere" then
  810.    MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  811.   elseif TYPE == "Block" or TYPE == "Box" then
  812.    MSH = IT("BlockMesh",EFFECT)
  813.    MSH.Scale = SIZE
  814.   elseif TYPE == "Wave" then
  815.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  816.   elseif TYPE == "Ring" then
  817.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  818.   elseif TYPE == "Slash" then
  819.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  820.   elseif TYPE == "Round Slash" then
  821.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  822.   elseif TYPE == "Swirl" then
  823.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  824.   elseif TYPE == "Skull" then
  825.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  826.   elseif TYPE == "Crystal" then
  827.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  828.   end
  829.   if MSH ~= nil then
  830.    local BOOMR1 = 1+BOOMERANG/50
  831.    local BOOMR2 = 1+SIZEBOOMERANG/50
  832.    local MOVESPEED = nil
  833.    if MOVEDIRECTION ~= nil then
  834.     if USEBOOMERANGMATH == true then
  835.      MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  836.     else
  837.      MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  838.     end
  839.    end
  840.    local GROWTH = nil
  841.    if USEBOOMERANGMATH == true then
  842.     GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  843.    else
  844.     GROWTH = (SIZE - ENDSIZE)
  845.    end
  846.    local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  847.    if TYPE == "Block" then
  848.     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  849.    else
  850.     EFFECT.CFrame = CFRAME
  851.    end
  852.    if USEBOOMERANGMATH == true then
  853.     for LOOP = 1, TIME+1 do
  854.      Swait()
  855.      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
  856.      if TYPE == "Wave" then
  857.       MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  858.      end
  859.      EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  860.      if TYPE == "Block" then
  861.       EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  862.      else
  863.       EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  864.      end
  865.      if MOVEDIRECTION ~= nil then
  866.       local ORI = EFFECT.Orientation
  867.       EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  868.       EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  869.      end
  870.     end
  871.    else
  872.     for LOOP = 1, TIME+1 do
  873.      Swait()
  874.      MSH.Scale = MSH.Scale - GROWTH/TIME
  875.      if TYPE == "Wave" then
  876.       MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  877.      end
  878.      EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  879.      if TYPE == "Block" then
  880.       EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  881.      else
  882.       EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  883.      end
  884.      if MOVEDIRECTION ~= nil then
  885.       local ORI = EFFECT.Orientation
  886.       EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  887.       EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  888.      end
  889.     end
  890.    end
  891.    EFFECT.Transparency = 1
  892.    if PLAYSSOUND == false then
  893.     EFFECT:remove()
  894.    else
  895.     repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  896.     EFFECT:remove()
  897.    end
  898.   else
  899.    if PLAYSSOUND == false then
  900.     EFFECT:remove()
  901.    else
  902.     repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  903.     EFFECT:remove()
  904.    end
  905.   end
  906.  end))
  907. end
  908.  
  909. function WACKYEFFECT3(Table)
  910.  local TYPE = (Table.EffectType or "Sphere")
  911.  local SIZE = (Table.Size or VT(1,1,1))
  912.  local ENDSIZE = (Table.Size2 or VT(0,0,0))
  913.  local TRANSPARENCY = (Table.Transparency or 0)
  914.  local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  915.  local CFRAME = (Table.CFrame or Torso.CFrame)
  916.  local MOVEDIRECTION = (Table.MoveToPos or nil)
  917.  local ROTATION1 = (Table.RotationX or 0)
  918.  local ROTATION2 = (Table.RotationY or 0)
  919.  local ROTATION3 = (Table.RotationZ or 0)
  920.  local MATERIAL = (Table.Material or "Neon")
  921.  local COLOR = (Table.Color or C3(1,1,1))
  922.  local TIME = (Table.Time or 45)
  923.  local SOUNDID = (Table.SoundID or nil)
  924.  local SOUNDPITCH = (Table.SoundPitch or nil)
  925.  local SOUNDVOLUME = (Table.SoundVolume or nil)
  926.  local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  927.  local BOOMERANG = (Table.Boomerang or 0)
  928.  local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  929.  coroutine.resume(coroutine.create(function()
  930.   local PLAYSSOUND = false
  931.   local SOUND = nil
  932.   local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  933.   if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  934.    PLAYSSOUND = true
  935.    SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  936.   end
  937.   EFFECT.Color = COLOR
  938.   local MSH = nil
  939.   if TYPE == "Sphere" then
  940.    MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  941.   elseif TYPE == "Block" or TYPE == "Box" then
  942.    MSH = IT("BlockMesh",EFFECT)
  943.    MSH.Scale = SIZE
  944.   elseif TYPE == "Wave" then
  945.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  946.   elseif TYPE == "Ring" then
  947.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  948.   elseif TYPE == "Slash" then
  949.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  950.   elseif TYPE == "Round Slash" then
  951.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  952.   elseif TYPE == "Swirl" then
  953.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  954.   elseif TYPE == "Skull" then
  955.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  956.   elseif TYPE == "Crystal" then
  957.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  958.   end
  959.   if MSH ~= nil then
  960.    local BOOMR1 = 1+BOOMERANG/50
  961.    local BOOMR2 = 1+SIZEBOOMERANG/50
  962.    local MOVESPEED = nil
  963.    if MOVEDIRECTION ~= nil then
  964.     if USEBOOMERANGMATH == true then
  965.      MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  966.     else
  967.      MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  968.     end
  969.    end
  970.    local GROWTH = nil
  971.    if USEBOOMERANGMATH == true then
  972.     GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  973.    else
  974.     GROWTH = (SIZE - ENDSIZE)
  975.    end
  976.    local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  977.    if TYPE == "Block" then
  978.     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)))
  979.    else
  980.     EFFECT.CFrame = CFRAME
  981.    end
  982.    if USEBOOMERANGMATH == true then
  983.     for LOOP = 1, TIME+1 do
  984.      Swait()
  985.      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
  986.      if TYPE == "Wave" then
  987.       MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  988.      end
  989.      EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  990.      if TYPE == "Block" then
  991.       EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)))
  992.      else
  993.       EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  994.      end
  995.      if MOVEDIRECTION ~= nil then
  996.       local ORI = EFFECT.Orientation
  997.       EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  998.       EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  999.      end
  1000.     end
  1001.    else
  1002.     for LOOP = 1, TIME+1 do
  1003.      Swait()
  1004.      MSH.Scale = MSH.Scale - GROWTH/TIME
  1005.      if TYPE == "Wave" then
  1006.       MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  1007.      end
  1008.      EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1009.      if TYPE == "Block" then
  1010.       EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)))
  1011.      else
  1012.       EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1013.      end
  1014.      if MOVEDIRECTION ~= nil then
  1015.       local ORI = EFFECT.Orientation
  1016.       EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1017.       EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  1018.      end
  1019.     end
  1020.    end
  1021.    EFFECT.Transparency = 1
  1022.    if PLAYSSOUND == false then
  1023.     EFFECT:remove()
  1024.    else
  1025.     repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1026.     EFFECT:remove()
  1027.    end
  1028.   else
  1029.    if PLAYSSOUND == false then
  1030.     EFFECT:remove()
  1031.    else
  1032.     repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1033.     EFFECT:remove()
  1034.    end
  1035.   end
  1036.  end))
  1037. end
  1038.  
  1039. --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})
  1040. function WACKYEFFECT(Table)
  1041.  local TYPE = (Table.EffectType or "Sphere")
  1042.  local SIZE = (Table.Size or VT(1,1,1))
  1043.  local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1044.  local TRANSPARENCY = (Table.Transparency or 0)
  1045.  local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1046.  local CFRAME = (Table.CFrame or Torso.CFrame)
  1047.  local MOVEDIRECTION = (Table.MoveToPos or nil)
  1048.  local ROTATION1 = (Table.RotationX or 0)
  1049.  local ROTATION2 = (Table.RotationY or 0)
  1050.  local ROTATION3 = (Table.RotationZ or 0)
  1051.  local MATERIAL = (Table.Material or "Neon")
  1052.  local COLOR = (Table.Color or C3(1,1,1))
  1053.  local TIME = (Table.Time or 45)
  1054.  local SOUNDID = (Table.SoundID or nil)
  1055.  local SOUNDPITCH = (Table.SoundPitch or nil)
  1056.  local SOUNDVOLUME = (Table.SoundVolume or nil)
  1057.  coroutine.resume(coroutine.create(function()
  1058.   local PLAYSSOUND = false
  1059.   local SOUND = nil
  1060.   local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1061.   if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1062.    PLAYSSOUND = true
  1063.    SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1064.   end
  1065.   EFFECT.Color = COLOR
  1066.   local MSH = nil
  1067.   if TYPE == "Sphere" then
  1068.    MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1069.   elseif TYPE == "Block" then
  1070.    MSH = IT("BlockMesh",EFFECT)
  1071.    MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1072.   elseif TYPE == "Wave" then
  1073.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1074.   elseif TYPE == "Ring" then
  1075.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1076.   elseif TYPE == "Slash" then
  1077.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1078.   elseif TYPE == "Round Slash" then
  1079.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1080.   elseif TYPE == "Swirl" then
  1081.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1082.   elseif TYPE == "Skull" then
  1083.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1084.   elseif TYPE == "Crystal" then
  1085.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1086.   elseif TYPE == "Hat" then
  1087.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "173774068", "", SIZE, VT(0,0,0))
  1088.   elseif TYPE == "Arm" then
  1089.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2828256740", "", SIZE, VT(0,0,0))
  1090.   elseif TYPE == "torso" then
  1091.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "48112070", "", SIZE, VT(0,0,0))
  1092.   elseif TYPE == "Head" then
  1093.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "539723444", "", SIZE, VT(0,0,0))
  1094.   elseif TYPE == "Mask" then
  1095.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4548197626", "", SIZE, VT(0,0,0))
  1096.   elseif TYPE == "Spike" then
  1097.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2720161649", "", SIZE, VT(0,0,0))
  1098.   end
  1099.   if MSH ~= nil then
  1100.    local MOVESPEED = nil
  1101.    if MOVEDIRECTION ~= nil then
  1102.     MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1103.    end
  1104.    local GROWTH = SIZE - ENDSIZE
  1105.    local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1106.    if TYPE == "Block" then
  1107.     EFFECT.CFrame = CFRAME
  1108.    else
  1109.     EFFECT.CFrame = CFRAME
  1110.    end
  1111.    for LOOP = 1, TIME+1 do
  1112.     Swait()
  1113.     MSH.Scale = MSH.Scale - GROWTH/TIME
  1114.     if TYPE == "Wave" then
  1115.      MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1116.     end
  1117.     EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1118.     if TYPE == "Block" then
  1119.      EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1120.     else
  1121.      EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1122.     end
  1123.     if MOVEDIRECTION ~= nil then
  1124.      local ORI = EFFECT.Orientation
  1125.      EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1126.      EFFECT.Orientation = ORI
  1127.     end
  1128.    end
  1129.    if PLAYSSOUND == false then
  1130.     EFFECT:remove()
  1131.    else
  1132.     SOUND.Stopped:Connect(function()
  1133.      EFFECT:remove()
  1134.     end)
  1135.    end
  1136.   else
  1137.    if PLAYSSOUND == false then
  1138.     EFFECT:remove()
  1139.    else
  1140.     repeat Swait() until SOUND.Playing == false
  1141.     EFFECT:remove()
  1142.    end
  1143.   end
  1144.  end))
  1145. end
  1146.  
  1147.  
  1148. --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})
  1149. function WACKYEFFECT4(Table)
  1150.  local TYPE = (Table.EffectType or "Sphere")
  1151.  local SIZE = (Table.Size or VT(1,1,1))
  1152.  local MIDDLESIZE = (Table.Size2 or VT(0.5,0.5,0.5))
  1153.  local ENDSIZE = (Table.Size3 or VT(0,0,0))
  1154.  local TRANSPARENCY = (Table.Transparency or 0)
  1155.  local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1156.  local CFRAME = (Table.CFrame or Torso.CFrame)
  1157.  local MOVEDIRECTION = (Table.MoveToPos or nil)
  1158.  local ROTATION1 = (Table.RotationX or 0)
  1159.  local ROTATION2 = (Table.RotationY or 0)
  1160.  local ROTATION3 = (Table.RotationZ or 0)
  1161.  local MATERIAL = (Table.Material or "Neon")
  1162.  local COLOR = (Table.Color or C3(1,1,1))
  1163.  local TIME = (Table.Time or 45)
  1164.  local SOUNDID = (Table.SoundID or nil)
  1165.  local SOUNDPITCH = (Table.SoundPitch or nil)
  1166.  local SOUNDVOLUME = (Table.SoundVolume or nil)
  1167.  coroutine.resume(coroutine.create(function()
  1168.   local PLAYSSOUND = false
  1169.   local SOUND = nil
  1170.   local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1171.   if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1172.    PLAYSSOUND = true
  1173.    SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1174.   end
  1175.   EFFECT.Color = COLOR
  1176.   local MSH = nil
  1177.   if TYPE == "Sphere" then
  1178.    MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1179.   elseif TYPE == "Block" then
  1180.    MSH = IT("BlockMesh",EFFECT)
  1181.    MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1182.   elseif TYPE == "Wave" then
  1183.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1184.   elseif TYPE == "Ring" then
  1185.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1186.   elseif TYPE == "Slash" then
  1187.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1188.   elseif TYPE == "Round Slash" then
  1189.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1190.   elseif TYPE == "Swirl" then
  1191.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1192.   elseif TYPE == "Skull" then
  1193.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1194.   elseif TYPE == "Crystal" then
  1195.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1196.   elseif TYPE == "Hat" then
  1197.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "173774068", "", SIZE, VT(0,0,0))
  1198.   elseif TYPE == "Arm" then
  1199.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2828256740", "", SIZE, VT(0,0,0))
  1200.   elseif TYPE == "torso" then
  1201.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "48112070", "", SIZE, VT(0,0,0))
  1202.   elseif TYPE == "Head" then
  1203.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "539723444", "", SIZE, VT(0,0,0))
  1204.   elseif TYPE == "Mask" then
  1205.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4548197626", "", SIZE, VT(0,0,0))
  1206.   elseif TYPE == "Spike" then
  1207.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2720161649", "", SIZE, VT(0,0,0))
  1208.   end
  1209.   if MSH ~= nil then
  1210.    local MOVESPEED = nil
  1211.    if MOVEDIRECTION ~= nil then
  1212.     MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1213.    end
  1214.    local GROWTH = SIZE + MIDDLESIZE - ENDSIZE
  1215.    local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1216.    if TYPE == "Block" then
  1217.     EFFECT.CFrame = CFRAME
  1218.    else
  1219.     EFFECT.CFrame = CFRAME
  1220.    end
  1221.    for LOOP = 1, TIME+1 do
  1222.     Swait()
  1223.     MSH.Scale = MSH.Scale - GROWTH/TIME
  1224.     if TYPE == "Wave" then
  1225.      MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1226.     end
  1227.     EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1228.     if TYPE == "Block" then
  1229.      EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1230.     else
  1231.      EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1232.     end
  1233.     if MOVEDIRECTION ~= nil then
  1234.      local ORI = EFFECT.Orientation
  1235.      EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1236.      EFFECT.Orientation = ORI
  1237.     end
  1238.    end
  1239.    if PLAYSSOUND == false then
  1240.     EFFECT:remove()
  1241.    else
  1242.     SOUND.Stopped:Connect(function()
  1243.      EFFECT:remove()
  1244.     end)
  1245.    end
  1246.   else
  1247.    if PLAYSSOUND == false then
  1248.     EFFECT:remove()
  1249.    else
  1250.     repeat Swait() until SOUND.Playing == false
  1251.     EFFECT:remove()
  1252.    end
  1253.   end
  1254.  end))
  1255. end
  1256. print("FE By Ice & Fire3021")
  1257. function chatfunc(text)
  1258.  local chat = coroutine.wrap(function()
  1259.  if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1260.   Character:FindFirstChild("TalkingBillBoard"):destroy()
  1261.  end
  1262.  local Bill = Instance.new("BillboardGui",Character)
  1263.  Bill.Size = UDim2.new(0,20,0,10)
  1264.  Bill.StudsOffset = Vector3.new(0,3,0)
  1265.  Bill.Adornee = Character.Head
  1266.  Bill.Name = "TalkingBillBoard"
  1267.  local Hehe = Instance.new("TextLabel",Bill)
  1268.  Hehe.BackgroundTransparency = 1
  1269.  Hehe.BorderSizePixel = 0
  1270.  Hehe.Text = ""
  1271.  Hehe.Font = "Highway"
  1272.  Hehe.TextSize = 30
  1273.  Hehe.TextStrokeTransparency = 0
  1274.  Hehe.Size = UDim2.new(1,0,0.5,0)
  1275.  coroutine.resume(coroutine.create(function()
  1276.   while Hehe ~= nil do
  1277.    wait()
  1278.    Hehe.TextColor3 = C3(250,250,250)
  1279.    Hehe.TextStrokeColor3 = C3(0,0,0)
  1280.    Hehe.Position = UDim2.new(0,0,.1,0)
  1281.    Hehe.Rotation = 0
  1282.   end
  1283.  end))
  1284.  for i = 1,string.len(text),1 do
  1285.   wait()
  1286.   Hehe.Text = string.sub(text,1,i)
  1287.  end
  1288.  wait(3)--Re[math.random(1, 93)]
  1289.  for i = 0, 5, .035 do
  1290.   wait()
  1291.   Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1292.   Hehe.TextStrokeTransparency = i
  1293.   Hehe.TextTransparency = i
  1294.  end
  1295.  Bill:Destroy()
  1296.  end)
  1297. chat()
  1298. end
  1299.  
  1300.  
  1301. --chatfunc(Player.Name..":".."Sup!")
  1302. --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)})
  1303. function Banish(Foe)
  1304.  if Foe then
  1305.   coroutine.resume(coroutine.create(function()
  1306.    --if game.Players:FindFirstChild(Foe.Name) then
  1307.     table.insert(TOBANISH,Foe.Name)
  1308.    --end
  1309.    Foe.Archivable = true
  1310.    local CLONE = Foe:Clone()
  1311.    Foe:Destroy()
  1312.    CLONE.Parent = Effects
  1313.    CLONE:BreakJoints()
  1314.    local MATERIALS = {"Glass","Neon"}
  1315.    for _, c in pairs(CLONE:GetDescendants()) do
  1316.     if c:IsA("BasePart") then
  1317.      c.Anchored = true
  1318.      c.Transparency = c.Transparency + 1
  1319.      c.Material = MATERIALS[MRANDOM(1,2)]
  1320.      c.Color = C3(1,0,0)
  1321.      if c.ClassName == "MeshPart" then
  1322.       c.TextureID = ""
  1323.      end
  1324.      if c:FindFirstChildOfClass("SpecialMesh") then
  1325.       c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1326.      end
  1327.      if c:FindFirstChildOfClass("Decal") then
  1328.       c:FindFirstChildOfClass("Decal"):remove()
  1329.      end
  1330.      c.Name = "Banished"
  1331.      c.CanCollide = false
  1332.     else
  1333.      c:remove()
  1334.     end
  1335.    end
  1336.    local A = false
  1337.    for i = 1, 35 do
  1338.     if A == false then
  1339.      A = true
  1340.     elseif A == true then
  1341.      A = false
  1342.     end
  1343.     for _, c in pairs(CLONE:GetDescendants()) do
  1344.      if c:IsA("BasePart") then
  1345.       c.Anchored = true
  1346.       c.Material = MATERIALS[MRANDOM(1,2)]
  1347.       c.Transparency = c.Transparency + 0.8/35
  1348.       if A == false then
  1349.        c.CFrame = c.CFrame*CF(0,0,0)
  1350.       elseif A == true then
  1351.        c.CFrame = c.CFrame*CF(0,0,0)      
  1352.       end
  1353.      end
  1354.     end
  1355.     Swait()
  1356.    end
  1357.    CLONE:remove()
  1358.   end))
  1359.  end
  1360. end
  1361.  
  1362.  
  1363. function Kill2(Foe)
  1364.  local TARGET = Mouse.Target
  1365.  if Foe then
  1366.   if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1367.    local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1368.    local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1369.     local FOE = Mouse.Target.Parent
  1370.     ATTACK = true
  1371.     Rooted = true
  1372.         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})
  1373.  
  1374.         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})
  1375.  
  1376.         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})
  1377.  
  1378.         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})
  1379.  
  1380.         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})
  1381.  
  1382.         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})
  1383.     FOE.Parent = nil
  1384.    end
  1385.  end
  1386. end
  1387.  
  1388. function Kill3(Foe)
  1389.  local TARGET = Mouse.Target
  1390.  if Foe then
  1391.   if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1392.    local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1393.    local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1394.     local FOE = Mouse.Target.Parent
  1395.     ATTACK = true
  1396.     Rooted = true
  1397.         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})
  1398.  
  1399.         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})
  1400.  
  1401.         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})
  1402.  
  1403.         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})
  1404.  
  1405.         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})
  1406.  
  1407.         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})
  1408.     FOE.Parent = nil
  1409.    end
  1410.  end
  1411. end
  1412.  
  1413.  
  1414. workspace.ChildAdded:connect(function(instance)
  1415.     for BANISH = 1, #TOBANISH do
  1416.   if TOBANISH[BANISH] ~= nil then
  1417.    if instance.Name == TOBANISH[BANISH] then
  1418.     coroutine.resume(coroutine.create(function()
  1419.      instance:ClearAllChildren()
  1420.  
  1421.     end))
  1422.    end
  1423.   end
  1424.  end
  1425. end)
  1426. function StatLabel(CFRAME, TEXT, COLOR)
  1427.  local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1428.  STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1429.  local BODYGYRO = IT("BodyGyro", STATPART)
  1430.  game:GetService("Debris"):AddItem(STATPART ,5)
  1431.  local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1432.  BILLBOARDGUI.Adornee = STATPART
  1433.  BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1434.  BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1435.  BILLBOARDGUI.AlwaysOnTop = false
  1436.  local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1437.  TEXTLABEL.BackgroundTransparency = 1
  1438.  TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1439.  TEXTLABEL.Text = TEXT
  1440.  TEXTLABEL.Font = SKILLFONT
  1441.  TEXTLABEL.FontSize="Size42"
  1442.  TEXTLABEL.TextColor3 = COLOR
  1443.  TEXTLABEL.TextStrokeTransparency = 0
  1444.  TEXTLABEL.TextScaled = true
  1445.  TEXTLABEL.TextWrapped = true
  1446.  coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1447.   for i = 1, 10 do
  1448.    Swait()
  1449.    STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1450.    TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/10)
  1451.    TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1452.   end
  1453.   THEPART.Parent = nil
  1454.  end),STATPART, TEXTLABEL)
  1455. end
  1456. function ApplyDamage2(Humanoid,Damage,TorsoPart)
  1457.  local defence = Instance.new("BoolValue",Humanoid.Parent)
  1458.  defence.Name = ("HitBy"..Player.Name)
  1459.  game:GetService("Debris"):AddItem(defence, 0.001)
  1460.  Damage = Damage * DAMAGEMULTIPLIER
  1461.  if Humanoid.Health ~= 0 then
  1462.   local CritChance = MRANDOM(1,100)
  1463.   if Damage > Humanoid.Health then
  1464.    Damage = math.ceil(Humanoid.Health)
  1465.    if Damage == 0 then
  1466.     Damage = 0.1
  1467.    end
  1468.   end
  1469.   Humanoid.Health = Humanoid.Health - Damage
  1470.  end
  1471. end
  1472.  
  1473. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1474.  local CHILDREN = workspace:GetDescendants()
  1475.  for index, CHILD in pairs(CHILDREN) do
  1476.   if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1477.    local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1478.    if HUM then
  1479.     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1480.     if TORSO then
  1481.      if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1482.       if INSTAKILL == true then
  1483.        CHILD:BreakJoints()
  1484.       else
  1485.        local DMG = MRANDOM(MINDMG,MAXDMG)
  1486.        ApplyDamage2(HUM,DMG,TORSO)
  1487.       end
  1488.       if FLING > 0 then
  1489.        for _, c in pairs(CHILD:GetChildren()) do
  1490.         if c:IsA("BasePart") then
  1491.          local bv = Instance.new("BodyVelocity")
  1492.          bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1493.          bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1494.          bv.Parent = c
  1495.          Debris:AddItem(bv,0.05)
  1496.         end
  1497.        end
  1498.       end
  1499.      end
  1500.     end
  1501.    end
  1502.   end
  1503.  end
  1504. end
  1505.  
  1506. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1507.  local defence = Instance.new("BoolValue",Humanoid.Parent)
  1508.  defence.Name = ("HitBy"..Player.Name)
  1509.  game:GetService("Debris"):AddItem(defence, 0.001)
  1510.  Damage = Damage * DAMAGEMULTIPLIER
  1511.  if Humanoid.Health ~= 0 then
  1512.   local CritChance = MRANDOM(1,100)
  1513.   if Damage > Humanoid.Health then
  1514.    Damage = math.ceil(Humanoid.Health)
  1515.    if Damage == 0 then
  1516.     Damage = 0.1
  1517.    end
  1518.   end
  1519.   Humanoid.Health = Humanoid.Health - Damage
  1520.   StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1521.  end
  1522. end
  1523. local Blk = CreatePart(0,LeftArm,"Neon",1,1,BrickColor.Random(),"aa",VT(0.005,0.005,0.005),false)
  1524. local BW = CreateWeldOrSnapOrMotor("Weld",LeftArm,LeftArm,Blk,CF(0,-2,0),CF(0,0,0))
  1525.  
  1526.  
  1527.  
  1528. --[[
  1529. top=it("Shirt",Character)
  1530. top.Name = "Shirt"
  1531. bottom=it("Pants",Character)
  1532. bottom.Name = "Pants"
  1533.  
  1534. if Player.Name ~= "Commandcodes1234" then
  1535. for i,x in pairs(Character:GetDescendants()) do if x:IsA("Shirt") or x:IsA("Pants") then x:Destroy() end end
  1536.  
  1537. top=it("Shirt",Character)
  1538. top.Name = "Shirt"
  1539. bottom=it("Pants",Character)
  1540. bottom.Name = "Pants"
  1541. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0"
  1542. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=0"
  1543. end
  1544. ]]
  1545.  
  1546.  
  1547. --[[coroutine.resume(coroutine.create(function()
  1548.  while wait() do
  1549.   end
  1550. end))--]]
  1551.  
  1552. --[[
  1553. local hd = script.Headz
  1554. hd.Parent = Character
  1555. hd.CFrame = Head.CFrame
  1556. weldBetween(Head,hd)
  1557. local BUCKETWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, hd, CF(0, 0, 0), CF(0, 0, 0))
  1558. BUCKETWELD.C0 = BUCKETWELD.C0 * ANGLES(RAD(-0), RAD(0), RAD(0))
  1559.  
  1560.  
  1561. ]]
  1562. --[[
  1563. coroutine.resume(coroutine.create(function()
  1564.  while wait() do
  1565.  
  1566.  end
  1567. end))
  1568.  
  1569. ]]
  1570. coroutine.resume(coroutine.create(function()
  1571.  while wait() do
  1572. for _,c in pairs(Character:GetDescendants()) do
  1573. if c.ClassName == "CharacterMesh" then
  1574. c:Remove()
  1575. end
  1576.  end
  1577.  end
  1578. end))
  1579.  
  1580.  
  1581.  
  1582.  
  1583. function Warp()
  1584.  
  1585.     local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
  1586.     if HITFLOOR then
  1587.         HITPOS = HITPOS + VT(0,0,0)
  1588.         local POS = RootPart.Position
  1589.         RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
  1590.         CreateSound(164320294,Torso,3,1.5,false)
  1591.   localshakes(0.1,5)
  1592.  end
  1593. end
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600. local BEANED = {}
  1601.  
  1602.  
  1603.  
  1604. local BEANED = {}
  1605.  
  1606. function BEAN(skid)
  1607. if skid then
  1608. g = game.Players:GetPlayers()
  1609.  local kickfolder = IT("Folder",Effects)
  1610.  local naeeym2 = Instance.new("BillboardGui",kickfolder)
  1611.  naeeym2.AlwaysOnTop = false
  1612.  naeeym2.Size = UDim2.new(5,35,2,35)
  1613.  naeeym2.StudsOffset = Vector3.new(0,1,0)
  1614.  naeeym2.Name = "Mark"
  1615.  local tecks2 = Instance.new("TextLabel",naeeym2)
  1616.  tecks2.BackgroundTransparency = 1
  1617.  tecks2.TextScaled = true
  1618.  tecks2.BorderSizePixel = 0
  1619.  tecks2.Text = ""
  1620.  tecks2.Font = "Arcade"
  1621.  tecks2.TextSize = 30
  1622.  tecks2.TextStrokeTransparency = 0
  1623.  tecks2.TextColor3 = Color3.fromRGB(0,0,0)
  1624.  tecks2.TextStrokeColor3 = Color3.fromRGB(0,0,0)
  1625.  tecks2.Size = UDim2.new(1,0,0.5,0)
  1626.  tecks2.Parent = naeeym2
  1627. --CreateSound("395664538", skid, 5, 1, false)
  1628. local Players = game:GetService("Players")
  1629. local die = Players:FindFirstChild(skid.Name)
  1630. --die:Kick()
  1631.  if Players:FindFirstChild(skid.Name) then
  1632.  die:Kick("You were never allowed here in the first place.")
  1633.  end
  1634.   if Players:FindFirstChild(skid.Name) then
  1635.  die:Kick("You were never allowed here in the first place.")
  1636.   end
  1637.    if Players:FindFirstChild(skid.Name) then
  1638.  die:Kick("You were never allowed here in the first place.")
  1639.    end
  1640.     if Players:FindFirstChild(skid.Name) then
  1641.  die:Kick("You were never allowed here in the first place.")
  1642.     end
  1643.      if Players:FindFirstChild(skid.Name) then
  1644.  die:Kick("You were never allowed here in the first place.")
  1645.      end
  1646.       if Players:FindFirstChild(skid.Name) then
  1647.  die:Kick("You were never allowed here in the first place.")
  1648.       end
  1649.       table.insert(BEANED,skid.name)
  1650.  --]]
  1651.    --CreateSound("527749592", game.Workspace, 700, 1, false)
  1652.  --CHARACTER:Remove()
  1653.  --[[
  1654.  for i,v in pairs(g) do
  1655.  --v:remove()
  1656.  end ]]--
  1657.  --[[
  1658.  if CHARACTER.Name ~= "Default Dummy" or CHARACTER.Name ~= "NPC" then
  1659. for i,v in pairs(g) do
  1660.  if string.find(string.upper(v.Name),CHARACTER) == 1 then
  1661. v:remove()
  1662. end
  1663. end
  1664.  end]]--
  1665.  --[[
  1666.   for _, p in pairs(game.Players:GetChildren()) do
  1667.   if p:FindFirstChild("CHARACTER") then
  1668.  
  1669.   end
  1670.  end]]--
  1671.  coroutine.resume(coroutine.create(function()
  1672.   for i = 1, 50 do
  1673.    Swait()
  1674.    for i,v in ipairs(kickfolder:GetChildren()) do
  1675.     if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1676.      v.Transparency = 1
  1677.     end
  1678.     naeeym2.Enabled = false
  1679.    end
  1680.    Swait()
  1681.    for i,v in ipairs(kickfolder:GetChildren()) do
  1682.     if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1683.      v.Transparency = 0
  1684.     end
  1685.     naeeym2.Enabled = true
  1686.    end
  1687.   end
  1688.   kickfolder:remove()
  1689.  end))
  1690.  --wait(6)
  1691.  --skid:Remove()
  1692. end
  1693. end
  1694.  
  1695.  
  1696. local function CheckForBan(player)
  1697.  for i = 1, #BEANED do
  1698.   if player.Name == BEANED[i] then
  1699.    player:Kick() --Ban Reason Change between the '' to change the reason!
  1700.   end
  1701.  end
  1702. end
  1703.  
  1704. game.Players.PlayerAdded:connect(function()
  1705.  for i,v in pairs(game.Players:GetPlayers())do
  1706.   CheckForBan(v)
  1707.  end  
  1708. end)
  1709.  
  1710.  
  1711.  
  1712. function template()
  1713.  ATTACK = true
  1714.  Rooted = true
  1715.  for i=0, 0.1, 0.01 / Animation_Speed do
  1716.   Swait()
  1717.    RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1718.    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1719.    RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  1720.       LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1721.    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)
  1722.    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)
  1723.   end
  1724.  ATTACK = false
  1725.  Rooted = false
  1726. end
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738. local EyeSizes={
  1739.  NumberSequenceKeypoint.new(0,1,0),
  1740.  NumberSequenceKeypoint.new(1,0,0)
  1741. }
  1742. local EyeTrans={
  1743.  NumberSequenceKeypoint.new(0,0.8,0),
  1744.  NumberSequenceKeypoint.new(1,1,0)
  1745. }
  1746. local PE=Instance.new("ParticleEmitter",nil)
  1747. PE.LightEmission=.8
  1748. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  1749. PE.Size=NumberSequence.new(EyeSizes)
  1750. PE.Transparency=NumberSequence.new(EyeTrans)
  1751. PE.Lifetime=NumberRange.new(0.35,1.5)
  1752. PE.Rotation=NumberRange.new(0,360)
  1753. PE.Rate=999
  1754. PE.VelocitySpread = 10000
  1755. PE.Acceleration = Vector3.new(0,0,0)
  1756. PE.Drag = 5
  1757. PE.Speed = NumberRange.new(0,0,0)
  1758. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  1759. PE.ZOffset = -0
  1760. PE.Name = "PE"
  1761. PE.Enabled = false
  1762.  
  1763.  
  1764.  
  1765. function particles(art)
  1766.  local PARTICLES = PE:Clone()
  1767.  PARTICLES.Parent = art
  1768. end
  1769.  
  1770. function KillChildren(v)
  1771.  v:BreakJoints()
  1772.  for _, c in pairs(v:GetChildren()) do
  1773.   if c:IsA("BasePart") then
  1774.    if c.Transparency < 1 xss=removed xss=removed xss=removed c.Material = "Neon" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed grav.Name = "GravityForce" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed id=553602991 xss=removed id=553602977 xss=removed id=553602987 xss=removed xss=removed xss=removed xss=removed xss=removed constraint.Name = "RagdollConstraint"> 0 then
  1775.  local collidepart = Instance.new('Part',part1)
  1776.  collidepart.Size = part1.Size/2
  1777.  if string.find(string.lower(part1.Name),"upper") then
  1778.   if string.find(string.lower(part1.Name),"leg") then
  1779.    collidepart.Size = part1.Size/3
  1780.   else
  1781.    collidepart.Size = part1.Size/2.5
  1782.   end
  1783.  end
  1784.  collidepart.CanCollide = true
  1785.  collidepart.Name = "RagdollJoint"
  1786.  collidepart.Anchored = false
  1787.  collidepart.Transparency = 1
  1788.  collidepart.CFrame = part1.CFrame
  1789.  collidepart:BreakJoints()
  1790.  local attachment0 = Instance.new('Attachment',part1)
  1791.  local attachment1 = Instance.new('Attachment',collidepart)
  1792.  if attachment0 and attachment1 then
  1793.   local constraint = Instance.new("HingeConstraint")
  1794.   constraint.Attachment0 = attachment0
  1795.   constraint.Attachment1 = attachment1
  1796.   constraint.LimitsEnabled = true
  1797.   constraint.UpperAngle = 0
  1798.   constraint.LowerAngle = 0
  1799.   constraint.Parent = character
  1800.  end
  1801.  if string.find(string.lower(part1.Name),"upper") then
  1802.   if string.find(string.lower(part1.Name),"leg") then
  1803.    attachment0.Position = Vector3.new(0,0.01,0)
  1804.   else
  1805.    attachment0.Position = Vector3.new(0,0.25,0)
  1806.   end
  1807.  else
  1808.   attachment0.Position = Vector3.new(0,-0.1,0)
  1809.  end
  1810.  end
  1811.  for _,propertyData in next,properties or {} do
  1812.   constraint[propertyData[1]] = propertyData[2]
  1813.  end
  1814.  constraint.Parent = character
  1815.  return constraint
  1816.  end
  1817. end
  1818.  
  1819. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  1820.  
  1821. function getAttachment0(character,attachmentName)
  1822.  for _,child in next,character:children() do
  1823.   local attachment = child:FindFirstChild(attachmentName)
  1824.   if attachment then
  1825.    return attachment
  1826.   end
  1827.  end
  1828. end
  1829.  
  1830. function recurse(root,callback,i)
  1831.  i= i or 0
  1832.  for _,v in pairs(root:GetChildren()) do
  1833.   i = i + 1
  1834.   callback(i,v)
  1835.  
  1836.   if #v:GetChildren() > 0 then
  1837.    i = recurse(v,callback,i)
  1838.   end
  1839.  end
  1840.  
  1841.  return i
  1842. end
  1843.  
  1844. local Stunned = {}
  1845.  
  1846. function GetTorso(char)
  1847.  return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso'
  1848. end
  1849.  
  1850. function FakeWeld(p0,p1)
  1851.  local attachment0 = Instance.new('Attachment',p0)
  1852.  local attachment1 = Instance.new('Attachment',p1)
  1853.  return NewInstance("HingeConstraint",p0,{Attachment0=attachment0,Attachment1=attachment1,LimitsEnabled=true,UpperAngle=0,LowerAngle=0})
  1854. end
  1855.  
  1856. function Ragdoll(who,half,snapped)
  1857.  pcall(function()
  1858.   who:breakJoints()
  1859.   local who = who
  1860.   local hhh = who:FindFirstChildOfClass'Humanoid'
  1861.   local t = GetTorso(who)
  1862.   pcall(function()
  1863.    who.HumanoidRootPart:destroy()
  1864.   end)
  1865.   hhh.Health = 0
  1866.   Stunned[who] = true
  1867.   if(hhh.RigType == Enum.HumanoidRigType.R6)then
  1868.    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'  
  1869.    pcall(function()
  1870.     if(hhh.Health > 0)then  local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1871.     FakeWeld(RA,CollideRA) end
  1872.     local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
  1873.     local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  1874.     local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
  1875.    end)
  1876.    pcall(function()
  1877.     local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
  1878.     local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  1879.  
  1880.     local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
  1881.  
  1882.     if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1883.     FakeWeld(LA,CollideLA) end
  1884.    end)
  1885.    pcall(function()
  1886.     if(HD)then
  1887.      local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
  1888.      local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
  1889.      local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  1890.      local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2})
  1891.  
  1892.      if(snapped)then
  1893.       NJ.Orientation = V3.N(0,90,0)
  1894.      end
  1895.      if(hhh.Health > 0)then
  1896.       local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1897.       FakeWeld(HD,CollideHD)
  1898.      end
  1899.     end
  1900.    end)
  1901.    if(not half)then
  1902.     local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
  1903.     local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  1904.     local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
  1905.     local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  1906.     local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
  1907.     local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
  1908.     if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1909.     local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1910.  
  1911.     FakeWeld(RL,CollideRL)
  1912.     FakeWeld(LL,CollideLL) end
  1913.    end
  1914.    for _,v in next, who:children() do
  1915.     if(v:IsA'BasePart')then
  1916.      v.CanCollide = true
  1917.     end
  1918.    end
  1919.   else
  1920.    local character = who
  1921.    
  1922.    if(half)then
  1923.     pcall(function()
  1924.      character.UpperTorso.WaistRigAttachment:Destroy()
  1925.     end)
  1926.    end
  1927.  
  1928.    local handProperties = {
  1929.     {"LimitsEnabled", true};
  1930.     {"UpperAngle",0};
  1931.     {"LowerAngle",0};
  1932.    }
  1933.    local footProperties = {
  1934.     {"LimitsEnabled", true};
  1935.     {"UpperAngle", 15};
  1936.     {"LowerAngle", -45};
  1937.    }
  1938.    local shinProperties = {
  1939.     {"LimitsEnabled", true};
  1940.     {"UpperAngle", 0};
  1941.     {"LowerAngle", -75};
  1942.    }
  1943.    if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
  1944.     ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  1945.    end
  1946.    if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
  1947.     ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket")
  1948.    end
  1949.    if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
  1950.     ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  1951.    end
  1952.    if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
  1953.     ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  1954.    end
  1955.    if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
  1956.     ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket")
  1957.    end
  1958.    if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then
  1959.     ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  1960.    end
  1961.    if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
  1962.     ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  1963.    end
  1964.    if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
  1965.     ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  1966.    end
  1967.    if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
  1968.     ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  1969.    end
  1970.    if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
  1971.     ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  1972.    end
  1973.    if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
  1974.     ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  1975.    end
  1976.    if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
  1977.     ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  1978.    end
  1979.    if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then
  1980.     ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  1981.      {"LimitsEnabled",true};
  1982.      {"UpperAngle",5};
  1983.      {"Radius",5};
  1984.     })
  1985.    end
  1986.    if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then
  1987.     ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  1988.      {"LimitsEnabled",true};
  1989.      {"UpperAngle",50};
  1990.      {"LowerAngle",-50};
  1991.     })
  1992.    end
  1993.    local NeckA = ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  1994.     {"LimitsEnabled",true};
  1995.     {"UpperAngle",50};
  1996.     {"LowerAngle",-50};
  1997.    })
  1998.  
  1999.    recurse(character, function(_,v)
  2000.     if v:IsA("Attachment") then
  2001.      v.Axis = Vector3.new(0, 1, 0)
  2002.      v.SecondaryAxis = Vector3.new(0, 0, 1)
  2003.      v.Rotation = Vector3.new(0, 0, 0)
  2004.      if(v.Parent == character.Head and snapped)then
  2005.       v.Orientation = V3.N(0,-90,0)
  2006.      end
  2007.     end
  2008.    end)
  2009.   end
  2010.  end)
  2011. end
  2012.  
  2013.  
  2014. local YTES = {true,false}
  2015.  
  2016. function KickA()
  2017.  local TARGET = Mouse.Target
  2018.  if TARGET ~= nil then
  2019.  local HITFLOOR, HITPOS = Raycast(RightLeg.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 2 , Character)
  2020.   if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  2021.    local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  2022.    local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  2023.     local FOE = Mouse.Target.Parent
  2024.     ATTACK = true
  2025.     Rooted = true
  2026.    Ragdoll(FOE,(YTES[MRANDOM(1,#YTES)]),(YTES[MRANDOM(1,#YTES)]))
  2027.     BEAN(FOE)
  2028.     ATTACK = false
  2029.     Rooted = false
  2030.    end
  2031.   end
  2032.  end
  2033. function KillB()
  2034.  local TARGET = Mouse.Target
  2035.  if TARGET ~= nil then
  2036.  local HITFLOOR, HITPOS = Raycast(RightLeg.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 2 , Character)
  2037.   if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  2038.    local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  2039.    local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  2040.     local FOE = Mouse.Target.Parent
  2041.     ATTACK = true
  2042.    Rooted = false
  2043.    
  2044.    Ragdoll(FOE,(YTES[MRANDOM(1,#YTES)]),(YTES[MRANDOM(1,#YTES)]))
  2045.     ATTACK = false
  2046.     Rooted = false
  2047.    end
  2048.   end
  2049. end
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055. function Effect(Table)
  2056.  local TYPE = (Table.EffectType or "Sphere")
  2057.  local SIZE = (Table.Size or Vector3.new(1,1,1))
  2058.  local ENDSIZE = (Table.Size2 or Vector3.new(0,0,0))
  2059.  local TRANSPARENCY = (Table.Transparency or 0)
  2060.  local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2061.  local CFRAME = (Table.CFrame or Torso.CFrame)
  2062.  local MOVEDIRECTION = (Table.MoveToPos or nil)
  2063.  local ROTATION1 = (Table.RotationX or 0)
  2064.  local ROTATION2 = (Table.RotationY or 0)
  2065.  local ROTATION3 = (Table.RotationZ or 0)
  2066.  local MATERIAL = (Table.Material or "Neon")
  2067.  local COLOR = (Table.Color or Color3.new(1,1,1))
  2068.  local TIME = (Table.Time or 45)
  2069.  local SOUNDID = (Table.SoundID or nil)
  2070.  local SOUNDPITCH = (Table.SoundPitch or nil)
  2071.  local SOUNDVOLUME = (Table.SoundVolume or nil)
  2072.  local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  2073.  local BOOMERANG = (Table.Boomerang or 0)
  2074.  local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  2075.  coroutine.resume(coroutine.create(function()
  2076.   local PLAYSSOUND = false
  2077.   local SOUND = nil
  2078.   local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BrickColor.new("Pearl"), "Effect", Vector3.new(1,1,1), true)
  2079.   if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2080.    PLAYSSOUND = true
  2081.    SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2082.   end
  2083.   EFFECT.Color = COLOR
  2084.   local MSH = nil
  2085.   if TYPE == "Sphere" then
  2086.    MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, Vector3.new(0,0,0))
  2087.   elseif TYPE == "Block" or TYPE == "Box" then
  2088.    MSH = Instance.new("BlockMesh",EFFECT)
  2089.    MSH.Scale = SIZE
  2090.   elseif TYPE == "Wave" then
  2091.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, Vector3.new(0,0,-SIZE.X/8))
  2092.   elseif TYPE == "Ring" then
  2093.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", Vector3.new(SIZE.X,SIZE.X,0.1), Vector3.new(0,0,0))
  2094.   elseif TYPE == "Slash" then
  2095.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
  2096.   elseif TYPE == "Round Slash" then
  2097.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
  2098.   elseif TYPE == "Swirl" then
  2099.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, Vector3.new(0,0,0))
  2100.   elseif TYPE == "Skull" then
  2101.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, Vector3.new(0,0,0))
  2102.   elseif TYPE == "Crystal" then
  2103.    MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, Vector3.new(0,0,0))
  2104.   end
  2105.   if MSH ~= nil then
  2106.    local BOOMR1 = 1+BOOMERANG/50
  2107.    local BOOMR2 = 1+SIZEBOOMERANG/50
  2108.    local MOVESPEED = nil
  2109.    if MOVEDIRECTION ~= nil then
  2110.     if USEBOOMERANGMATH == true then
  2111.      MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  2112.     else
  2113.      MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  2114.     end
  2115.    end
  2116.    local GROWTH = nil
  2117.    if USEBOOMERANGMATH == true then
  2118.     GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  2119.    else
  2120.     GROWTH = (SIZE - ENDSIZE)
  2121.    end
  2122.    local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2123.    if TYPE == "Block" then
  2124.     EFFECT.CFrame = CFRAME*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  2125.    else
  2126.     EFFECT.CFrame = CFRAME
  2127.    end
  2128.    if USEBOOMERANGMATH == true then
  2129.     for LOOP = 1, TIME+1 do
  2130.      swait()
  2131.      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
  2132.      if TYPE == "Wave" then
  2133.       MSH.Offset = Vector3.new(0,0,-MSH.Scale.Z/8)
  2134.      end
  2135.      EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2136.      if TYPE == "Block" then
  2137.       EFFECT.CFrame = CFRAME*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  2138.      else
  2139.       EFFECT.CFrame = EFFECT.CFrame*CFrame.Angles(math.rad(ROTATION1),math.rad(ROTATION2),math.rad(ROTATION3))
  2140.      end
  2141.      if MOVEDIRECTION ~= nil then
  2142.       local ORI = EFFECT.Orientation
  2143.       EFFECT.CFrame = CFrame.new(EFFECT.Position,MOVEDIRECTION)*CFrame.new(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  2144.       EFFECT.Orientation = ORI
  2145.      end
  2146.     end
  2147.    else
  2148.     for LOOP = 1, TIME+1 do
  2149.      swait()
  2150.      MSH.Scale = MSH.Scale - GROWTH/TIME
  2151.      if TYPE == "Wave" then
  2152.       MSH.Offset = Vector3.new(0,0,-MSH.Scale.Z/8)
  2153.      end
  2154.      EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2155.      if TYPE == "Block" then
  2156.       EFFECT.CFrame = CFRAME*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  2157.      else
  2158.       EFFECT.CFrame = EFFECT.CFrame*CFrame.Angles(math.rad(ROTATION1),math.rad(ROTATION2),math.rad(ROTATION3))
  2159.      end
  2160.      if MOVEDIRECTION ~= nil then
  2161.       local ORI = EFFECT.Orientation
  2162.       EFFECT.CFrame = CFrame.new(EFFECT.Position,MOVEDIRECTION)*CFrame.new(0,0,-MOVESPEED)
  2163.       EFFECT.Orientation = ORI
  2164.      end
  2165.     end
  2166.    end
  2167.    EFFECT.Transparency = 1
  2168.    if PLAYSSOUND == false then
  2169.     EFFECT:remove()
  2170.    else
  2171.     repeat swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  2172.     EFFECT:remove()
  2173.    end
  2174.   else
  2175.    if PLAYSSOUND == false then
  2176.     EFFECT:remove()
  2177.    else
  2178.     repeat swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  2179.     EFFECT:remove()
  2180.    end
  2181.   end
  2182.  end))
  2183. end
  2184.  
  2185.  
  2186.  
  2187. function Lightning(Part0, Part1, Times, Offset, Color, Timer, sSize, eSize, Trans, Boomer, sBoomer, slow, stime)
  2188.   local magz = (Part0 - Part1).magnitude
  2189.   local curpos = Part0
  2190.   local trz = {
  2191.     -Offset,
  2192.     Offset
  2193.   }
  2194.   for i = 1, Times do
  2195.     local li = Instance.new("Part", Effects)
  2196.     li.Name = "Lightning"
  2197.     li.TopSurface = 0
  2198.     li.Material = "Neon"
  2199.     li.BottomSurface = 0
  2200.     li.Anchored = true
  2201.     li.Locked = true
  2202.     li.Transparency = 0
  2203.     li.BrickColor = Color
  2204.     li.formFactor = "Custom"
  2205.     li.CanCollide = false
  2206.     li.Size = Vector3.new(0.1, 0.1, magz / Times)
  2207.     local Offzet = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  2208.     local trolpos = CFrame.new(curpos, Part1) * CFrame.new(0, 0, magz / Times).p + Offzet
  2209.     if Times == i then
  2210.       local magz2 = (curpos - Part1).magnitude
  2211.       li.Size = Vector3.new(0.1, 0.1, magz2)
  2212.       li.CFrame = CFrame.new(curpos, Part1) * CFrame.new(0, 0, -magz2 / 2)
  2213.     else
  2214.       li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / Times / 2)
  2215.     end
  2216.     curpos = li.CFrame * CFrame.new(0, 0, magz / Times / 2).p
  2217.     li:Destroy()
  2218.  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})
  2219.    if slow == true then
  2220.  swait(stime)
  2221.  end
  2222.   end
  2223. end
  2224.  
  2225. --[[
  2226. --refit by godcat
  2227. local Regen = {}
  2228. delay(1,function()
  2229.  local Descendants = Character:GetDescendants()
  2230.  
  2231.  for i = 1,#Descendants do
  2232.   local E = Descendants[i]
  2233.   if E:IsA("BasePart") and not E:IsDescendantOf(Effects) then
  2234.    E.CustomPhysicalProperties = PhysicalProperties.new(Enum.Material.Wood)
  2235.    table.insert(Regen,{E,E.Parent,E.Color,E.Size,E.Material})
  2236.   end
  2237.   if E:IsA("JointInstance") then
  2238.    table.insert(Regen,{E,E.Parent,nil,nil,nil})
  2239.   end
  2240.  end
  2241. end)
  2242.  
  2243. for e = 1, #Regen do
  2244.  if Regen[e] ~= nil then
  2245.   local STUFF = Regen[e]
  2246.   local PART = STUFF[1]
  2247.   local PARENT = STUFF[2]
  2248.   local MATERIAL = STUFF[3]
  2249.   local COLOR = STUFF[4]
  2250.   local TRANSPARENCY = STUFF[5]
  2251.   if PART.ClassName == "Part" and PART ~= Body.RootPart then
  2252.    PART.Material = MATERIAL
  2253.    PART.Color = COLOR
  2254.    PART.Transparency = TRANSPARENCY
  2255.   end
  2256.   PART.AncestryChanged:Connect(function()
  2257.    PART.Parent = PARENT
  2258.   end)
  2259.  end
  2260. end
  2261.  
  2262. function Refit()
  2263.  for i = 1,#Regen do
  2264.   local E = Regen[i]
  2265.   local PART = E[1]
  2266.   local PARENT = E[2]
  2267.   local COLOR = E[3]
  2268.   local SIZE = E[4]
  2269.   local MATERIAL = E[5]
  2270.  
  2271.   if PART:IsA("BasePart") and PART.Parent ~= PARENT then
  2272.    PART.Color = COLOR
  2273.    PART.Size = SIZE
  2274.    PART.Material = MATERIAL
  2275.   end
  2276.   if PART.Parent ~= PARENT then
  2277.    Humanoid.Parent = nil
  2278.    PART.Parent = PARENT
  2279.    Humanoid.Parent = Character
  2280.   end
  2281.  end
  2282.  Humanoid.Parent = Character
  2283. end
  2284.  
  2285. local BODY = {}
  2286.  
  2287. for e = 1, #BODY do
  2288.  if BODY[e] ~= nil then
  2289.   local STUFF = BODY[e]
  2290.   local PART = STUFF[1]
  2291.   local PARENT = STUFF[2]
  2292.   local MATERIAL = STUFF[3]
  2293.   local COLOR = STUFF[4]
  2294.   local TRANSPARENCY = STUFF[5]
  2295.   if PART.ClassName == "Part" and PART ~= RootPart then
  2296.    PART.Material = MATERIAL
  2297.    PART.Color = COLOR
  2298.    PART.Transparency = TRANSPARENCY
  2299.   end
  2300.   PART.AncestryChanged:Connect(function()
  2301.    PART.Parent = PARENT
  2302.   end)
  2303.  end
  2304. end
  2305.  
  2306. function Refit2()
  2307.  Character.Parent = workspace
  2308.  Effects.Parent = Character
  2309.  for e = 1, #BODY do
  2310.   if BODY[e] ~= nil then
  2311.    local STUFF = BODY[e]
  2312.    local PART = STUFF[1]
  2313.    local PARENT = STUFF[2]
  2314.    local MATERIAL = STUFF[3]
  2315.    local COLOR = STUFF[4]
  2316.    local TRANSPARENCY = STUFF[5]
  2317.    --local SIZE = STUFF[6]
  2318.    local NAME = STUFF[7]
  2319.    if PART.ClassName == "Part" and PART ~= RootPart then
  2320.     PART.Material = MATERIAL
  2321.     PART.Transparency = TRANSPARENCY
  2322.     PART.Name = NAME
  2323.    end
  2324.    if PART.Parent ~= PARENT then
  2325.     if PART.Name == "Head" or PART.Name == "Neck" or PART.Name == "Torso" then
  2326.      Humanoid:remove()
  2327.     end
  2328.     PART.Parent = PARENT
  2329.     if PART.Name == "Head" or PART.Name == "Neck" or PART.Name == "Torso" then
  2330.      Humanoid = IT("Humanoid",Character)
  2331.     end
  2332.    end
  2333.   end
  2334.  end
  2335. end
  2336.  
  2337.  
  2338. Humanoid.Died:Connect(Refit)
  2339. Humanoid.HealthChanged:Connect(function()
  2340.  if Humanoid.Health <= 1 then
  2341.   Humanoid.Health = math.huge
  2342.   Refit()
  2343.  end
  2344. end)--]]
  2345.  
  2346. function MouseDown(Mouse)
  2347.  if ATTACK == false then
  2348.  Bonk()
  2349.  end
  2350. end
  2351.  
  2352. function MouseUp(Mouse)
  2353. HOLD = false
  2354. end
  2355. function KeyDown(Key)
  2356.  KEYHOLD = true
  2357.  if Key == "q" and ATTACK == false then
  2358.  Warp()
  2359.  end
  2360.  if Key == "z" and ATTACK == false then
  2361.  KillB()
  2362.  end
  2363.  if Key == "x" and ATTACK == false then
  2364.  KickA()
  2365. end
  2366. end
  2367.  
  2368. function KeyUp(Key)
  2369.  KEYHOLD = false
  2370. end
  2371.  
  2372.  Mouse.Button1Down:connect(function(NEWKEY)
  2373.   MouseDown(NEWKEY)
  2374.  end)
  2375.  Mouse.Button1Up:connect(function(NEWKEY)
  2376.   MouseUp(NEWKEY)
  2377.  end)
  2378.  Mouse.KeyDown:connect(function(NEWKEY)
  2379.   KeyDown(NEWKEY)
  2380.  end)
  2381.  Mouse.KeyUp:connect(function(NEWKEY)
  2382.   KeyUp(NEWKEY)
  2383.  end)
  2384.  
  2385. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2386.  Humanoid = Instance.new("Humanoid",Character)
  2387. end
  2388.  
  2389. while true do
  2390.  Swait()
  2391.  ANIMATE.Parent = nil
  2392.  if Character:FindFirstChildOfClass("Humanoid") == nil then
  2393.   Humanoid = IT("Humanoid",Character)
  2394.  end
  2395.  
  2396.  for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2397.      v:Stop();
  2398.  end
  2399.  SINE = SINE + CHANGE
  2400.  local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2401.  local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2402.  local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2403.  local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2404.  if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2405.  elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1 xss=removed xss=removed xss=removed xss=removed> 1 and HITFLOOR == nil then
  2406.   ANIM = "Jump"
  2407.   if ATTACK == false then
  2408.    RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , -0.5-0.5*COS(SINE/NICE)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  2409.    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2410.    RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50+40*COS(SINE/NICE)), RAD(0), RAD(0))* RIGHTSHOULDERC0, 1 / Animation_Speed)
  2411.       LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50+40*COS(SINE/NICE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2412.    RightHip.C0 = Clerp(RightHip.C0, CF(1.5+0.5*COS(SINE/NICE), -0.5+0.5*COS(SINE/NICE), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(90), RAD(0)), 1 / Animation_Speed)
  2413.    LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5-0.5*COS(SINE/NICE), -0.5+0.5*COS(SINE/NICE) , 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-90), RAD(0)), 1 / Animation_Speed)
  2414.      end
  2415.  elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2416.   ANIM = "Fall"
  2417.   if ATTACK == false then
  2418.    RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , -0.5-0.5*COS(SINE/NICE)) * ANGLES(RAD(180), RAD(0), RAD(0)), 1 / Animation_Speed)
  2419.    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2420.    RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50+40*COS(SINE/NICE)), RAD(0), RAD(0))* RIGHTSHOULDERC0, 1 / Animation_Speed)
  2421.       LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50+40*COS(SINE/NICE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2422.    RightHip.C0 = Clerp(RightHip.C0, CF(1.5+0.5*COS(SINE/NICE), -0.5+0.5*COS(SINE/NICE), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(90), RAD(0)), 1 / Animation_Speed)
  2423.    LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5-0.5*COS(SINE/NICE), -0.5+0.5*COS(SINE/NICE) , 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-90), RAD(0)), 1 / Animation_Speed)
  2424.   end
  2425.  elseif TORSOVELOCITY < 1 xss=removed ANIM = "Idle" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed> 1 and HITFLOOR ~= nil then
  2426.   ANIM = "Walk"
  2427.   if ATTACK == false then
  2428.    Speed = 60
  2429.  
  2430.     local Testwalk1 = Humanoid.MoveDirection*Torso.CFrame.LookVector
  2431.              local Testwalk2 = Humanoid.MoveDirection*Torso.CFrame.RightVector
  2432.              LOOKVEC = Testwalk1.X+Testwalk1.Z
  2433.        RIGHTVEC = Testwalk2.X+Testwalk2.Z
  2434.    if mde == "normal" then
  2435.    if MRANDOM(1+5*COS(SINE/0.5),1+5*COS(SINE/0.5)) == 5 then
  2436.     CreateSound(4724428597, Torso, 10, MRANDOM(9,15)/12,false)
  2437. end
  2438.    RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , -0.5-0.5*COS(SINE/NICE)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  2439.    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  2440.    RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50+40*COS(SINE/NICE)), RAD(0), RAD(0))* RIGHTSHOULDERC0, 3 / Animation_Speed)
  2441.       LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50+40*COS(SINE/NICE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2442.     RightHip.C0 = Clerp(RightHip.C0, CF(1.5+0.5*COS(SINE/NICE), -0.5+0.5*COS(SINE/NICE)+ 0.3 * SIN(SINE / 2), 0)* ANGLES(RAD((-LOOKVEC  + LOOKVEC/5  * COS(SINE / 1))*90* COS(SINE / 2)),RAD(0),RAD((-RIGHTVEC + RIGHTVEC/5  * COS(SINE / 1))*40*COS(SINE/2)))*ANGLES(RAD(0),RAD(90),RAD(0)), 3 / Animation_Speed)
  2443.     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5-0.5*COS(SINE/NICE), -0.5+0.5*COS(SINE/NICE)- 0.3 * SIN(SINE / 2), 0)* ANGLES(RAD((LOOKVEC  - LOOKVEC/5  * COS(SINE / 1))*90* COS(SINE / 2)),RAD(0),RAD((RIGHTVEC - RIGHTVEC/5  * COS(SINE / 1))*40*COS(SINE/2)))*ANGLES(RAD(0),RAD(-90),RAD(0)), 3 / Animation_Speed)
  2444.    end
  2445.   end
  2446.  end
  2447. Player.Chatted:connect(function(message)
  2448. if message:sub(1,5) == "play/"  then
  2449. sick.SoundId = "rbxassetid://"..message:sub(6)
  2450. elseif message:sub(1,6) == "pitch/"  then
  2451. sick.PlaybackSpeed = message:sub(7)
  2452. elseif message:sub(1,6) == "speed/"  then
  2453. NICE = message:sub(7)
  2454. elseif message:sub(1,4) == "vol/"  then
  2455. sick.Volume = message:sub(5)
  2456. elseif message:sub(1,5) == "skip/"  then
  2457. sick.TimePosition = message:sub(6)
  2458.  
  2459. end
  2460. end)
  2461.  
  2462.  Humanoid.MaxHealth = math.huge
  2463.  Humanoid.Health = math.huge
  2464.  if Rooted == false then
  2465.   Disable_Jump = false
  2466.   Humanoid.WalkSpeed = Speed
  2467.  elseif Rooted == true then
  2468.   Disable_Jump = true
  2469.   Humanoid.WalkSpeed = 0
  2470.  end
  2471.  if mde == "Mask" then
  2472.   if Head:FindFirstChild("face") then
  2473.    Head.face.Transparency = 1
  2474.   end
  2475.  else
  2476.   if Head:FindFirstChild("face") then
  2477.    Head.face.Transparency = 0
  2478.   end
  2479.   end
  2480. end