Advertisement
Dark_EccentricYT

Untitled

Feb 16th, 2021 (edited)
3,032
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 96.80 KB | None | 0 0
  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 then
  689. if Humanoid.Health - Damage > 0 then
  690. Humanoid.Health = Humanoid.Health - Damage
  691. else
  692. Humanoid.Parent:BreakJoints()
  693. end
  694. else
  695. Humanoid.Parent:BreakJoints()
  696. end
  697. end
  698.  
  699. function Fancy_spawntrail(LOC,AIMTO,OUCH)
  700. 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})
  701. for i = 1, 1 do
  702. local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  703. 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
  704. local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  705. local DISTANCE = (POS - LOC).Magnitude
  706. if HIT then
  707. local HUM = nil
  708. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  709. HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  710. elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  711. HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  712. end
  713. if HUM then
  714. Kill3(HIT.Parent)
  715. end
  716. end
  717.  
  718. 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})
  719. 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})
  720. end
  721. end
  722.  
  723.  
  724. function Fancy_spawntrail3(LOC,AIMTO,OUCH)
  725. 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})
  726. for i = 1, 1 do
  727. local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  728. 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
  729. local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  730. local DISTANCE = (POS - LOC).Magnitude
  731. if HIT then
  732. local HUM = nil
  733. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  734. HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  735. elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  736. HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  737. end
  738. if HUM then
  739. Kill2(HUM)
  740. BEAN(HUM)
  741. end
  742. end
  743. 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})
  744. 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})
  745. end
  746. end
  747.  
  748.  
  749. function Fancy_spawntrail2(LOC,AIMTO,OUCH)
  750. 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})
  751. for i = 1, 1 do
  752. local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  753. 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
  754. local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  755. local DISTANCE = (POS - LOC).Magnitude
  756. 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})
  757. 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})
  758. end
  759. end
  760.  
  761. function SpawnTrail(FROM,TO,BIG)
  762. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  763. MakeForm(TRAIL,"Cyl")
  764. local DIST = (FROM - TO).Magnitude
  765. if BIG == true then
  766. TRAIL.Size = VT(0.5,DIST,0.5)
  767. else
  768. TRAIL.Size = VT(0.25,DIST,0.25)
  769. end
  770. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  771. coroutine.resume(coroutine.create(function()
  772. for i = 1, 5 do
  773. Swait()
  774. TRAIL.Transparency = TRAIL.Transparency + 0.1
  775. end
  776. TRAIL:remove()
  777. end))
  778. end
  779.  
  780. function WACKYEFFECT2(Table)
  781. local TYPE = (Table.EffectType or "Sphere")
  782. local SIZE = (Table.Size or VT(1,1,1))
  783. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  784. local TRANSPARENCY = (Table.Transparency or 0)
  785. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  786. local CFRAME = (Table.CFrame or Torso.CFrame)
  787. local MOVEDIRECTION = (Table.MoveToPos or nil)
  788. local ROTATION1 = (Table.RotationX or 0)
  789. local ROTATION2 = (Table.RotationY or 0)
  790. local ROTATION3 = (Table.RotationZ or 0)
  791. local MATERIAL = (Table.Material or "Neon")
  792. local COLOR = (Table.Color or C3(1,1,1))
  793. local TIME = (Table.Time or 45)
  794. local SOUNDID = (Table.SoundID or nil)
  795. local SOUNDPITCH = (Table.SoundPitch or nil)
  796. local SOUNDVOLUME = (Table.SoundVolume or nil)
  797. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  798. local BOOMERANG = (Table.Boomerang or 0)
  799. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  800. coroutine.resume(coroutine.create(function()
  801. local PLAYSSOUND = false
  802. local SOUND = nil
  803. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  804. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  805. PLAYSSOUND = true
  806. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  807. end
  808. EFFECT.Color = COLOR
  809. local MSH = nil
  810. if TYPE == "Sphere" then
  811. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  812. elseif TYPE == "Block" or TYPE == "Box" then
  813. MSH = IT("BlockMesh",EFFECT)
  814. MSH.Scale = SIZE
  815. elseif TYPE == "Wave" then
  816. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  817. elseif TYPE == "Ring" then
  818. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  819. elseif TYPE == "Slash" then
  820. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  821. elseif TYPE == "Round Slash" then
  822. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  823. elseif TYPE == "Swirl" then
  824. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  825. elseif TYPE == "Skull" then
  826. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  827. elseif TYPE == "Crystal" then
  828. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  829. end
  830. if MSH ~= nil then
  831. local BOOMR1 = 1+BOOMERANG/50
  832. local BOOMR2 = 1+SIZEBOOMERANG/50
  833. local MOVESPEED = nil
  834. if MOVEDIRECTION ~= nil then
  835. if USEBOOMERANGMATH == true then
  836. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  837. else
  838. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  839. end
  840. end
  841. local GROWTH = nil
  842. if USEBOOMERANGMATH == true then
  843. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  844. else
  845. GROWTH = (SIZE - ENDSIZE)
  846. end
  847. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  848. if TYPE == "Block" then
  849. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  850. else
  851. EFFECT.CFrame = CFRAME
  852. end
  853. if USEBOOMERANGMATH == true then
  854. for LOOP = 1, TIME+1 do
  855. Swait()
  856. 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
  857. if TYPE == "Wave" then
  858. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  859. end
  860. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  861. if TYPE == "Block" then
  862. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  863. else
  864. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  865. end
  866. if MOVEDIRECTION ~= nil then
  867. local ORI = EFFECT.Orientation
  868. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  869. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  870. end
  871. end
  872. else
  873. for LOOP = 1, TIME+1 do
  874. Swait()
  875. MSH.Scale = MSH.Scale - GROWTH/TIME
  876. if TYPE == "Wave" then
  877. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  878. end
  879. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  880. if TYPE == "Block" then
  881. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  882. else
  883. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  884. end
  885. if MOVEDIRECTION ~= nil then
  886. local ORI = EFFECT.Orientation
  887. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  888. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  889. end
  890. end
  891. end
  892. EFFECT.Transparency = 1
  893. if PLAYSSOUND == false then
  894. EFFECT:remove()
  895. else
  896. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  897. EFFECT:remove()
  898. end
  899. else
  900. if PLAYSSOUND == false then
  901. EFFECT:remove()
  902. else
  903. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  904. EFFECT:remove()
  905. end
  906. end
  907. end))
  908. end
  909.  
  910. function WACKYEFFECT3(Table)
  911. local TYPE = (Table.EffectType or "Sphere")
  912. local SIZE = (Table.Size or VT(1,1,1))
  913. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  914. local TRANSPARENCY = (Table.Transparency or 0)
  915. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  916. local CFRAME = (Table.CFrame or Torso.CFrame)
  917. local MOVEDIRECTION = (Table.MoveToPos or nil)
  918. local ROTATION1 = (Table.RotationX or 0)
  919. local ROTATION2 = (Table.RotationY or 0)
  920. local ROTATION3 = (Table.RotationZ or 0)
  921. local MATERIAL = (Table.Material or "Neon")
  922. local COLOR = (Table.Color or C3(1,1,1))
  923. local TIME = (Table.Time or 45)
  924. local SOUNDID = (Table.SoundID or nil)
  925. local SOUNDPITCH = (Table.SoundPitch or nil)
  926. local SOUNDVOLUME = (Table.SoundVolume or nil)
  927. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  928. local BOOMERANG = (Table.Boomerang or 0)
  929. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  930. coroutine.resume(coroutine.create(function()
  931. local PLAYSSOUND = false
  932. local SOUND = nil
  933. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  934. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  935. PLAYSSOUND = true
  936. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  937. end
  938. EFFECT.Color = COLOR
  939. local MSH = nil
  940. if TYPE == "Sphere" then
  941. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  942. elseif TYPE == "Block" or TYPE == "Box" then
  943. MSH = IT("BlockMesh",EFFECT)
  944. MSH.Scale = SIZE
  945. elseif TYPE == "Wave" then
  946. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  947. elseif TYPE == "Ring" then
  948. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  949. elseif TYPE == "Slash" then
  950. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  951. elseif TYPE == "Round Slash" then
  952. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  953. elseif TYPE == "Swirl" then
  954. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  955. elseif TYPE == "Skull" then
  956. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  957. elseif TYPE == "Crystal" then
  958. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  959. end
  960. if MSH ~= nil then
  961. local BOOMR1 = 1+BOOMERANG/50
  962. local BOOMR2 = 1+SIZEBOOMERANG/50
  963. local MOVESPEED = nil
  964. if MOVEDIRECTION ~= nil then
  965. if USEBOOMERANGMATH == true then
  966. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  967. else
  968. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  969. end
  970. end
  971. local GROWTH = nil
  972. if USEBOOMERANGMATH == true then
  973. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  974. else
  975. GROWTH = (SIZE - ENDSIZE)
  976. end
  977. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  978. if TYPE == "Block" then
  979. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)))
  980. else
  981. EFFECT.CFrame = CFRAME
  982. end
  983. if USEBOOMERANGMATH == true then
  984. for LOOP = 1, TIME+1 do
  985. Swait()
  986. 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
  987. if TYPE == "Wave" then
  988. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  989. end
  990. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  991. if TYPE == "Block" then
  992. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)))
  993. else
  994. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  995. end
  996. if MOVEDIRECTION ~= nil then
  997. local ORI = EFFECT.Orientation
  998. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  999. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  1000. end
  1001. end
  1002. else
  1003. for LOOP = 1, TIME+1 do
  1004. Swait()
  1005. MSH.Scale = MSH.Scale - GROWTH/TIME
  1006. if TYPE == "Wave" then
  1007. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  1008. end
  1009. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1010. if TYPE == "Block" then
  1011. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)),RAD(MRANDOM(0,0)))
  1012. else
  1013. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1014. end
  1015. if MOVEDIRECTION ~= nil then
  1016. local ORI = EFFECT.Orientation
  1017. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1018. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  1019. end
  1020. end
  1021. end
  1022. EFFECT.Transparency = 1
  1023. if PLAYSSOUND == false then
  1024. EFFECT:remove()
  1025. else
  1026. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1027. EFFECT:remove()
  1028. end
  1029. else
  1030. if PLAYSSOUND == false then
  1031. EFFECT:remove()
  1032. else
  1033. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1034. EFFECT:remove()
  1035. end
  1036. end
  1037. end))
  1038. end
  1039.  
  1040. --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})
  1041. function WACKYEFFECT(Table)
  1042. local TYPE = (Table.EffectType or "Sphere")
  1043. local SIZE = (Table.Size or VT(1,1,1))
  1044. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1045. local TRANSPARENCY = (Table.Transparency or 0)
  1046. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1047. local CFRAME = (Table.CFrame or Torso.CFrame)
  1048. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1049. local ROTATION1 = (Table.RotationX or 0)
  1050. local ROTATION2 = (Table.RotationY or 0)
  1051. local ROTATION3 = (Table.RotationZ or 0)
  1052. local MATERIAL = (Table.Material or "Neon")
  1053. local COLOR = (Table.Color or C3(1,1,1))
  1054. local TIME = (Table.Time or 45)
  1055. local SOUNDID = (Table.SoundID or nil)
  1056. local SOUNDPITCH = (Table.SoundPitch or nil)
  1057. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1058. coroutine.resume(coroutine.create(function()
  1059. local PLAYSSOUND = false
  1060. local SOUND = nil
  1061. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1062. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1063. PLAYSSOUND = true
  1064. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1065. end
  1066. EFFECT.Color = COLOR
  1067. local MSH = nil
  1068. if TYPE == "Sphere" then
  1069. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1070. elseif TYPE == "Block" then
  1071. MSH = IT("BlockMesh",EFFECT)
  1072. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1073. elseif TYPE == "Wave" then
  1074. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1075. elseif TYPE == "Ring" then
  1076. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1077. elseif TYPE == "Slash" then
  1078. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1079. elseif TYPE == "Round Slash" then
  1080. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1081. elseif TYPE == "Swirl" then
  1082. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1083. elseif TYPE == "Skull" then
  1084. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1085. elseif TYPE == "Crystal" then
  1086. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1087. elseif TYPE == "Hat" then
  1088. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "173774068", "", SIZE, VT(0,0,0))
  1089. elseif TYPE == "Arm" then
  1090. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2828256740", "", SIZE, VT(0,0,0))
  1091. elseif TYPE == "torso" then
  1092. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "48112070", "", SIZE, VT(0,0,0))
  1093. elseif TYPE == "Head" then
  1094. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "539723444", "", SIZE, VT(0,0,0))
  1095. elseif TYPE == "Mask" then
  1096. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4548197626", "", SIZE, VT(0,0,0))
  1097. elseif TYPE == "Spike" then
  1098. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2720161649", "", SIZE, VT(0,0,0))
  1099. end
  1100. if MSH ~= nil then
  1101. local MOVESPEED = nil
  1102. if MOVEDIRECTION ~= nil then
  1103. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1104. end
  1105. local GROWTH = SIZE - ENDSIZE
  1106. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1107. if TYPE == "Block" then
  1108. EFFECT.CFrame = CFRAME
  1109. else
  1110. EFFECT.CFrame = CFRAME
  1111. end
  1112. for LOOP = 1, TIME+1 do
  1113. Swait()
  1114. MSH.Scale = MSH.Scale - GROWTH/TIME
  1115. if TYPE == "Wave" then
  1116. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1117. end
  1118. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1119. if TYPE == "Block" then
  1120. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1121. else
  1122. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1123. end
  1124. if MOVEDIRECTION ~= nil then
  1125. local ORI = EFFECT.Orientation
  1126. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1127. EFFECT.Orientation = ORI
  1128. end
  1129. end
  1130. if PLAYSSOUND == false then
  1131. EFFECT:remove()
  1132. else
  1133. SOUND.Stopped:Connect(function()
  1134. EFFECT:remove()
  1135. end)
  1136. end
  1137. else
  1138. if PLAYSSOUND == false then
  1139. EFFECT:remove()
  1140. else
  1141. repeat Swait() until SOUND.Playing == false
  1142. EFFECT:remove()
  1143. end
  1144. end
  1145. end))
  1146. end
  1147.  
  1148.  
  1149. --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})
  1150. function WACKYEFFECT4(Table)
  1151. local TYPE = (Table.EffectType or "Sphere")
  1152. local SIZE = (Table.Size or VT(1,1,1))
  1153. local MIDDLESIZE = (Table.Size2 or VT(0.5,0.5,0.5))
  1154. local ENDSIZE = (Table.Size3 or VT(0,0,0))
  1155. local TRANSPARENCY = (Table.Transparency or 0)
  1156. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1157. local CFRAME = (Table.CFrame or Torso.CFrame)
  1158. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1159. local ROTATION1 = (Table.RotationX or 0)
  1160. local ROTATION2 = (Table.RotationY or 0)
  1161. local ROTATION3 = (Table.RotationZ or 0)
  1162. local MATERIAL = (Table.Material or "Neon")
  1163. local COLOR = (Table.Color or C3(1,1,1))
  1164. local TIME = (Table.Time or 45)
  1165. local SOUNDID = (Table.SoundID or nil)
  1166. local SOUNDPITCH = (Table.SoundPitch or nil)
  1167. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1168. coroutine.resume(coroutine.create(function()
  1169. local PLAYSSOUND = false
  1170. local SOUND = nil
  1171. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1172. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1173. PLAYSSOUND = true
  1174. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1175. end
  1176. EFFECT.Color = COLOR
  1177. local MSH = nil
  1178. if TYPE == "Sphere" then
  1179. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1180. elseif TYPE == "Block" then
  1181. MSH = IT("BlockMesh",EFFECT)
  1182. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1183. elseif TYPE == "Wave" then
  1184. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1185. elseif TYPE == "Ring" then
  1186. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1187. elseif TYPE == "Slash" then
  1188. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1189. elseif TYPE == "Round Slash" then
  1190. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1191. elseif TYPE == "Swirl" then
  1192. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1193. elseif TYPE == "Skull" then
  1194. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1195. elseif TYPE == "Crystal" then
  1196. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1197. elseif TYPE == "Hat" then
  1198. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "173774068", "", SIZE, VT(0,0,0))
  1199. elseif TYPE == "Arm" then
  1200. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2828256740", "", SIZE, VT(0,0,0))
  1201. elseif TYPE == "torso" then
  1202. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "48112070", "", SIZE, VT(0,0,0))
  1203. elseif TYPE == "Head" then
  1204. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "539723444", "", SIZE, VT(0,0,0))
  1205. elseif TYPE == "Mask" then
  1206. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4548197626", "", SIZE, VT(0,0,0))
  1207. elseif TYPE == "Spike" then
  1208. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2720161649", "", SIZE, VT(0,0,0))
  1209. end
  1210. if MSH ~= nil then
  1211. local MOVESPEED = nil
  1212. if MOVEDIRECTION ~= nil then
  1213. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1214. end
  1215. local GROWTH = SIZE + MIDDLESIZE - ENDSIZE
  1216. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1217. if TYPE == "Block" then
  1218. EFFECT.CFrame = CFRAME
  1219. else
  1220. EFFECT.CFrame = CFRAME
  1221. end
  1222. for LOOP = 1, TIME+1 do
  1223. Swait()
  1224. MSH.Scale = MSH.Scale - GROWTH/TIME
  1225. if TYPE == "Wave" then
  1226. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1227. end
  1228. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1229. if TYPE == "Block" then
  1230. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1231. else
  1232. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1233. end
  1234. if MOVEDIRECTION ~= nil then
  1235. local ORI = EFFECT.Orientation
  1236. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1237. EFFECT.Orientation = ORI
  1238. end
  1239. end
  1240. if PLAYSSOUND == false then
  1241. EFFECT:remove()
  1242. else
  1243. SOUND.Stopped:Connect(function()
  1244. EFFECT:remove()
  1245. end)
  1246. end
  1247. else
  1248. if PLAYSSOUND == false then
  1249. EFFECT:remove()
  1250. else
  1251. repeat Swait() until SOUND.Playing == false
  1252. EFFECT:remove()
  1253. end
  1254. end
  1255. end))
  1256. end
  1257. print("FE By Ice & Fire3021")
  1258. function chatfunc(text)
  1259. local chat = coroutine.wrap(function()
  1260. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1261. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1262. end
  1263. local Bill = Instance.new("BillboardGui",Character)
  1264. Bill.Size = UDim2.new(0,20,0,10)
  1265. Bill.StudsOffset = Vector3.new(0,3,0)
  1266. Bill.Adornee = Character.Head
  1267. Bill.Name = "TalkingBillBoard"
  1268. local Hehe = Instance.new("TextLabel",Bill)
  1269. Hehe.BackgroundTransparency = 1
  1270. Hehe.BorderSizePixel = 0
  1271. Hehe.Text = ""
  1272. Hehe.Font = "Highway"
  1273. Hehe.TextSize = 30
  1274. Hehe.TextStrokeTransparency = 0
  1275. Hehe.Size = UDim2.new(1,0,0.5,0)
  1276. coroutine.resume(coroutine.create(function()
  1277. while Hehe ~= nil do
  1278. wait()
  1279. Hehe.TextColor3 = C3(250,250,250)
  1280. Hehe.TextStrokeColor3 = C3(0,0,0)
  1281. Hehe.Position = UDim2.new(0,0,.1,0)
  1282. Hehe.Rotation = 0
  1283. end
  1284. end))
  1285. for i = 1,string.len(text),1 do
  1286. wait()
  1287. Hehe.Text = string.sub(text,1,i)
  1288. end
  1289. wait(3)--Re[math.random(1, 93)]
  1290. for i = 0, 5, .035 do
  1291. wait()
  1292. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1293. Hehe.TextStrokeTransparency = i
  1294. Hehe.TextTransparency = i
  1295. end
  1296. Bill:Destroy()
  1297. end)
  1298. chat()
  1299. end
  1300.  
  1301.  
  1302. --chatfunc(Player.Name..":".."Sup!")
  1303. --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)})
  1304. function Banish(Foe)
  1305. if Foe then
  1306. coroutine.resume(coroutine.create(function()
  1307. --if game.Players:FindFirstChild(Foe.Name) then
  1308. table.insert(TOBANISH,Foe.Name)
  1309. --end
  1310. Foe.Archivable = true
  1311. local CLONE = Foe:Clone()
  1312. Foe:Destroy()
  1313. CLONE.Parent = Effects
  1314. CLONE:BreakJoints()
  1315. local MATERIALS = {"Glass","Neon"}
  1316. for _, c in pairs(CLONE:GetDescendants()) do
  1317. if c:IsA("BasePart") then
  1318. c.Anchored = true
  1319. c.Transparency = c.Transparency + 1
  1320. c.Material = MATERIALS[MRANDOM(1,2)]
  1321. c.Color = C3(1,0,0)
  1322. if c.ClassName == "MeshPart" then
  1323. c.TextureID = ""
  1324. end
  1325. if c:FindFirstChildOfClass("SpecialMesh") then
  1326. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1327. end
  1328. if c:FindFirstChildOfClass("Decal") then
  1329. c:FindFirstChildOfClass("Decal"):remove()
  1330. end
  1331. c.Name = "Banished"
  1332. c.CanCollide = false
  1333. else
  1334. c:remove()
  1335. end
  1336. end
  1337. local A = false
  1338. for i = 1, 35 do
  1339. if A == false then
  1340. A = true
  1341. elseif A == true then
  1342. A = false
  1343. end
  1344. for _, c in pairs(CLONE:GetDescendants()) do
  1345. if c:IsA("BasePart") then
  1346. c.Anchored = true
  1347. c.Material = MATERIALS[MRANDOM(1,2)]
  1348. c.Transparency = c.Transparency + 0.8/35
  1349. if A == false then
  1350. c.CFrame = c.CFrame*CF(0,0,0)
  1351. elseif A == true then
  1352. c.CFrame = c.CFrame*CF(0,0,0)
  1353. end
  1354. end
  1355. end
  1356. Swait()
  1357. end
  1358. CLONE:remove()
  1359. end))
  1360. end
  1361. end
  1362.  
  1363.  
  1364. function Kill2(Foe)
  1365. local TARGET = Mouse.Target
  1366. if Foe then
  1367. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1368. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1369. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1370. local FOE = Mouse.Target.Parent
  1371. ATTACK = true
  1372. Rooted = true
  1373. 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})
  1374.  
  1375. 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})
  1376.  
  1377. 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})
  1378.  
  1379. 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})
  1380.  
  1381. 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})
  1382.  
  1383. 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})
  1384. FOE.Parent = nil
  1385. end
  1386. end
  1387. end
  1388.  
  1389. function Kill3(Foe)
  1390. local TARGET = Mouse.Target
  1391. if Foe then
  1392. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1393. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1394. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1395. local FOE = Mouse.Target.Parent
  1396. ATTACK = true
  1397. Rooted = true
  1398. 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})
  1399.  
  1400. 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})
  1401.  
  1402. 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})
  1403.  
  1404. 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})
  1405.  
  1406. 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})
  1407.  
  1408. 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})
  1409. FOE.Parent = nil
  1410. end
  1411. end
  1412. end
  1413.  
  1414.  
  1415. workspace.ChildAdded:connect(function(instance)
  1416. for BANISH = 1, #TOBANISH do
  1417. if TOBANISH[BANISH] ~= nil then
  1418. if instance.Name == TOBANISH[BANISH] then
  1419. coroutine.resume(coroutine.create(function()
  1420. instance:ClearAllChildren()
  1421.  
  1422. end))
  1423. end
  1424. end
  1425. end
  1426. end)
  1427. function StatLabel(CFRAME, TEXT, COLOR)
  1428. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1429. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1430. local BODYGYRO = IT("BodyGyro", STATPART)
  1431. game:GetService("Debris"):AddItem(STATPART ,5)
  1432. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1433. BILLBOARDGUI.Adornee = STATPART
  1434. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1435. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1436. BILLBOARDGUI.AlwaysOnTop = false
  1437. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1438. TEXTLABEL.BackgroundTransparency = 1
  1439. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1440. TEXTLABEL.Text = TEXT
  1441. TEXTLABEL.Font = SKILLFONT
  1442. TEXTLABEL.FontSize="Size42"
  1443. TEXTLABEL.TextColor3 = COLOR
  1444. TEXTLABEL.TextStrokeTransparency = 0
  1445. TEXTLABEL.TextScaled = true
  1446. TEXTLABEL.TextWrapped = true
  1447. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1448. for i = 1, 10 do
  1449. Swait()
  1450. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1451. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/10)
  1452. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1453. end
  1454. THEPART.Parent = nil
  1455. end),STATPART, TEXTLABEL)
  1456. end
  1457. function ApplyDamage2(Humanoid,Damage,TorsoPart)
  1458. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1459. defence.Name = ("HitBy"..Player.Name)
  1460. game:GetService("Debris"):AddItem(defence, 0.001)
  1461. Damage = Damage * DAMAGEMULTIPLIER
  1462. if Humanoid.Health ~= 0 then
  1463. local CritChance = MRANDOM(1,100)
  1464. if Damage > Humanoid.Health then
  1465. Damage = math.ceil(Humanoid.Health)
  1466. if Damage == 0 then
  1467. Damage = 0.1
  1468. end
  1469. end
  1470. Humanoid.Health = Humanoid.Health - Damage
  1471. end
  1472. end
  1473.  
  1474. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1475. local CHILDREN = workspace:GetDescendants()
  1476. for index, CHILD in pairs(CHILDREN) do
  1477. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1478. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1479. if HUM then
  1480. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1481. if TORSO then
  1482. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1483. if INSTAKILL == true then
  1484. CHILD:BreakJoints()
  1485. else
  1486. local DMG = MRANDOM(MINDMG,MAXDMG)
  1487. ApplyDamage2(HUM,DMG,TORSO)
  1488. end
  1489. if FLING > 0 then
  1490. for _, c in pairs(CHILD:GetChildren()) do
  1491. if c:IsA("BasePart") then
  1492. local bv = Instance.new("BodyVelocity")
  1493. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1494. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1495. bv.Parent = c
  1496. Debris:AddItem(bv,0.05)
  1497. end
  1498. end
  1499. end
  1500. end
  1501. end
  1502. end
  1503. end
  1504. end
  1505. end
  1506.  
  1507. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1508. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1509. defence.Name = ("HitBy"..Player.Name)
  1510. game:GetService("Debris"):AddItem(defence, 0.001)
  1511. Damage = Damage * DAMAGEMULTIPLIER
  1512. if Humanoid.Health ~= 0 then
  1513. local CritChance = MRANDOM(1,100)
  1514. if Damage > Humanoid.Health then
  1515. Damage = math.ceil(Humanoid.Health)
  1516. if Damage == 0 then
  1517. Damage = 0.1
  1518. end
  1519. end
  1520. Humanoid.Health = Humanoid.Health - Damage
  1521. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1522. end
  1523. end
  1524. local Blk = CreatePart(0,LeftArm,"Neon",1,1,BrickColor.Random(),"aa",VT(0.005,0.005,0.005),false)
  1525. local BW = CreateWeldOrSnapOrMotor("Weld",LeftArm,LeftArm,Blk,CF(0,-2,0),CF(0,0,0))
  1526.  
  1527.  
  1528.  
  1529. --[[
  1530. top=it("Shirt",Character)
  1531. top.Name = "Shirt"
  1532. bottom=it("Pants",Character)
  1533. bottom.Name = "Pants"
  1534.  
  1535. if Player.Name ~= "Commandcodes1234" then
  1536. for i,x in pairs(Character:GetDescendants()) do if x:IsA("Shirt") or x:IsA("Pants") then x:Destroy() end end
  1537.  
  1538. top=it("Shirt",Character)
  1539. top.Name = "Shirt"
  1540. bottom=it("Pants",Character)
  1541. bottom.Name = "Pants"
  1542. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0"
  1543. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=0"
  1544. end
  1545. ]]
  1546.  
  1547.  
  1548. --[[coroutine.resume(coroutine.create(function()
  1549. while wait() do
  1550. end
  1551. end))--]]
  1552.  
  1553. --[[
  1554. local hd = script.Headz
  1555. hd.Parent = Character
  1556. hd.CFrame = Head.CFrame
  1557. weldBetween(Head,hd)
  1558. local BUCKETWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, hd, CF(0, 0, 0), CF(0, 0, 0))
  1559. BUCKETWELD.C0 = BUCKETWELD.C0 * ANGLES(RAD(-0), RAD(0), RAD(0))
  1560.  
  1561.  
  1562. ]]
  1563. --[[
  1564. coroutine.resume(coroutine.create(function()
  1565. while wait() do
  1566.  
  1567. end
  1568. end))
  1569.  
  1570. ]]
  1571. coroutine.resume(coroutine.create(function()
  1572. while wait() do
  1573. for _,c in pairs(Character:GetDescendants()) do
  1574. if c.ClassName == "CharacterMesh" then
  1575. c:Remove()
  1576. end
  1577. end
  1578. end
  1579. end))
  1580.  
  1581.  
  1582.  
  1583.  
  1584. function Warp()
  1585.  
  1586. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
  1587. if HITFLOOR then
  1588. HITPOS = HITPOS + VT(0,0,0)
  1589. local POS = RootPart.Position
  1590. RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
  1591. CreateSound(164320294,Torso,3,1.5,false)
  1592. localshakes(0.1,5)
  1593. end
  1594. end
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601. local BEANED = {}
  1602.  
  1603.  
  1604.  
  1605. local BEANED = {}
  1606.  
  1607. function BEAN(skid)
  1608. if skid then
  1609. g = game.Players:GetPlayers()
  1610. local kickfolder = IT("Folder",Effects)
  1611. local naeeym2 = Instance.new("BillboardGui",kickfolder)
  1612. naeeym2.AlwaysOnTop = false
  1613. naeeym2.Size = UDim2.new(5,35,2,35)
  1614. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1615. naeeym2.Name = "Mark"
  1616. local tecks2 = Instance.new("TextLabel",naeeym2)
  1617. tecks2.BackgroundTransparency = 1
  1618. tecks2.TextScaled = true
  1619. tecks2.BorderSizePixel = 0
  1620. tecks2.Text = ""
  1621. tecks2.Font = "Arcade"
  1622. tecks2.TextSize = 30
  1623. tecks2.TextStrokeTransparency = 0
  1624. tecks2.TextColor3 = Color3.fromRGB(0,0,0)
  1625. tecks2.TextStrokeColor3 = Color3.fromRGB(0,0,0)
  1626. tecks2.Size = UDim2.new(1,0,0.5,0)
  1627. tecks2.Parent = naeeym2
  1628. --CreateSound("395664538", skid, 5, 1, false)
  1629. local Players = game:GetService("Players")
  1630. local die = Players:FindFirstChild(skid.Name)
  1631. --die:Kick()
  1632. if Players:FindFirstChild(skid.Name) then
  1633. die:Kick("You were never allowed here in the first place.")
  1634. end
  1635. if Players:FindFirstChild(skid.Name) then
  1636. die:Kick("You were never allowed here in the first place.")
  1637. end
  1638. if Players:FindFirstChild(skid.Name) then
  1639. die:Kick("You were never allowed here in the first place.")
  1640. end
  1641. if Players:FindFirstChild(skid.Name) then
  1642. die:Kick("You were never allowed here in the first place.")
  1643. end
  1644. if Players:FindFirstChild(skid.Name) then
  1645. die:Kick("You were never allowed here in the first place.")
  1646. end
  1647. if Players:FindFirstChild(skid.Name) then
  1648. die:Kick("You were never allowed here in the first place.")
  1649. end
  1650. table.insert(BEANED,skid.name)
  1651. --]]
  1652. --CreateSound("527749592", game.Workspace, 700, 1, false)
  1653. --CHARACTER:Remove()
  1654. --[[
  1655. for i,v in pairs(g) do
  1656. --v:remove()
  1657. end ]]--
  1658. --[[
  1659. if CHARACTER.Name ~= "Default Dummy" or CHARACTER.Name ~= "NPC" then
  1660. for i,v in pairs(g) do
  1661. if string.find(string.upper(v.Name),CHARACTER) == 1 then
  1662. v:remove()
  1663. end
  1664. end
  1665. end]]--
  1666. --[[
  1667. for _, p in pairs(game.Players:GetChildren()) do
  1668. if p:FindFirstChild("CHARACTER") then
  1669.  
  1670. end
  1671. end]]--
  1672. coroutine.resume(coroutine.create(function()
  1673. for i = 1, 50 do
  1674. Swait()
  1675. for i,v in ipairs(kickfolder:GetChildren()) do
  1676. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1677. v.Transparency = 1
  1678. end
  1679. naeeym2.Enabled = false
  1680. end
  1681. Swait()
  1682. for i,v in ipairs(kickfolder:GetChildren()) do
  1683. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1684. v.Transparency = 0
  1685. end
  1686. naeeym2.Enabled = true
  1687. end
  1688. end
  1689. kickfolder:remove()
  1690. end))
  1691. --wait(6)
  1692. --skid:Remove()
  1693. end
  1694. end
  1695.  
  1696.  
  1697. local function CheckForBan(player)
  1698. for i = 1, #BEANED do
  1699. if player.Name == BEANED[i] then
  1700. player:Kick() --Ban Reason Change between the '' to change the reason!
  1701. end
  1702. end
  1703. end
  1704.  
  1705. game.Players.PlayerAdded:connect(function()
  1706. for i,v in pairs(game.Players:GetPlayers())do
  1707. CheckForBan(v)
  1708. end
  1709. end)
  1710.  
  1711.  
  1712.  
  1713. function template()
  1714. ATTACK = true
  1715. Rooted = true
  1716. for i=0, 0.1, 0.01 / Animation_Speed do
  1717. Swait()
  1718. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1719. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.35 / Animation_Speed)
  1720. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  1721. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1722. 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)
  1723. 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)
  1724. end
  1725. ATTACK = false
  1726. Rooted = false
  1727. end
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739. local EyeSizes={
  1740. NumberSequenceKeypoint.new(0,1,0),
  1741. NumberSequenceKeypoint.new(1,0,0)
  1742. }
  1743. local EyeTrans={
  1744. NumberSequenceKeypoint.new(0,0.8,0),
  1745. NumberSequenceKeypoint.new(1,1,0)
  1746. }
  1747. local PE=Instance.new("ParticleEmitter",nil)
  1748. PE.LightEmission=.8
  1749. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  1750. PE.Size=NumberSequence.new(EyeSizes)
  1751. PE.Transparency=NumberSequence.new(EyeTrans)
  1752. PE.Lifetime=NumberRange.new(0.35,1.5)
  1753. PE.Rotation=NumberRange.new(0,360)
  1754. PE.Rate=999
  1755. PE.VelocitySpread = 10000
  1756. PE.Acceleration = Vector3.new(0,0,0)
  1757. PE.Drag = 5
  1758. PE.Speed = NumberRange.new(0,0,0)
  1759. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  1760. PE.ZOffset = -0
  1761. PE.Name = "PE"
  1762. PE.Enabled = false
  1763.  
  1764.  
  1765.  
  1766. function particles(art)
  1767. local PARTICLES = PE:Clone()
  1768. PARTICLES.Parent = art
  1769. end
  1770.  
  1771. function KillChildren(v)
  1772. v:BreakJoints()
  1773. for _, c in pairs(v:GetChildren()) do
  1774. if c:IsA("BasePart") then
  1775. if c.Transparency < 1 then
  1776. if c:FindFirstChildOfClass("Decal") then
  1777. c:FindFirstChildOfClass("Decal"):remove()
  1778. end
  1779. particles(c)
  1780. c.PE.Enabled = true
  1781. c.Parent = Effects
  1782. c.CanCollide = false
  1783. c.Material = "Neon"
  1784. c.Color = C3(1,0,0)
  1785. c.Transparency = 1
  1786. local grav = Instance.new("BodyPosition",c)
  1787. grav.P = 20000
  1788. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1789. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1790. grav.Name = "GravityForce"
  1791. coroutine.resume(coroutine.create(function()
  1792. for i = 1, 20 do
  1793. Swait()
  1794. c.Transparency = c.Transparency + 1/20
  1795. end
  1796. c.PE.Enabled = false
  1797. Debris:AddItem(c,2)
  1798. end))
  1799. end
  1800. end
  1801. end
  1802. end
  1803.  
  1804. local WHITELIST = {"Jack_Hase","Godcat567","Powertommm"}
  1805. function SmiteAoE(POSITION,RANGE)
  1806. local CHILDREN = workspace:GetDescendants()
  1807. for index, CHILD in pairs(CHILDREN) do
  1808. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1809. local LISTED = false
  1810. for LIST = 1, #WHITELIST do
  1811. if WHITELIST[LIST] ~= nil then
  1812. if CHILD.Name == WHITELIST[LIST] then
  1813. LISTED = true
  1814. end
  1815. end
  1816. end
  1817. if LISTED == false then
  1818. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1819. if HUM then
  1820. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1821. if TORSO then
  1822. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1823. KillChildren(CHILD)
  1824. end
  1825. end
  1826. end
  1827. end
  1828. end
  1829. end
  1830. end
  1831.  
  1832.  
  1833.  
  1834.  
  1835. function ragdollJoint(character, part0, part1, attachmentName, className, properties) -- thanks mustardfat im too lazy
  1836. if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then
  1837. for i,v in pairs(character:GetChildren()) do
  1838. if v:IsA("MeshPart") and (v.MeshId == 'http://www.roblox.com/asset/?id=553602991' or v.MeshId == 'http://www.roblox.com/asset/?id=553602977' or v.MeshId == 'http://www.roblox.com/asset/?id=553602987') then
  1839. v.Size = Vector3.new(1,1,1)
  1840. end
  1841. end
  1842. if part1:FindFirstChildOfClass('Motor6D') then
  1843. part1:FindFirstChildOfClass('Motor6D'):Remove()
  1844. end
  1845. if attachmentName ~= "NeckAttachment" then
  1846. attachmentName = attachmentName.."RigAttachment"
  1847. end
  1848. local constraint = Instance.new(className.."Constraint")
  1849. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  1850. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  1851. constraint.Name = "RagdollConstraint"..part1.Name
  1852. if character:FindFirstChildOfClass('Humanoid').Health > 0 then
  1853. local collidepart = Instance.new('Part',part1)
  1854. collidepart.Size = part1.Size/2
  1855. if string.find(string.lower(part1.Name),"upper") then
  1856. if string.find(string.lower(part1.Name),"leg") then
  1857. collidepart.Size = part1.Size/3
  1858. else
  1859. collidepart.Size = part1.Size/2.5
  1860. end
  1861. end
  1862. collidepart.CanCollide = true
  1863. collidepart.Name = "RagdollJoint"
  1864. collidepart.Anchored = false
  1865. collidepart.Transparency = 1
  1866. collidepart.CFrame = part1.CFrame
  1867. collidepart:BreakJoints()
  1868. local attachment0 = Instance.new('Attachment',part1)
  1869. local attachment1 = Instance.new('Attachment',collidepart)
  1870. if attachment0 and attachment1 then
  1871. local constraint = Instance.new("HingeConstraint")
  1872. constraint.Attachment0 = attachment0
  1873. constraint.Attachment1 = attachment1
  1874. constraint.LimitsEnabled = true
  1875. constraint.UpperAngle = 0
  1876. constraint.LowerAngle = 0
  1877. constraint.Parent = character
  1878. end
  1879. if string.find(string.lower(part1.Name),"upper") then
  1880. if string.find(string.lower(part1.Name),"leg") then
  1881. attachment0.Position = Vector3.new(0,0.01,0)
  1882. else
  1883. attachment0.Position = Vector3.new(0,0.25,0)
  1884. end
  1885. else
  1886. attachment0.Position = Vector3.new(0,-0.1,0)
  1887. end
  1888. end
  1889. for _,propertyData in next,properties or {} do
  1890. constraint[propertyData[1]] = propertyData[2]
  1891. end
  1892. constraint.Parent = character
  1893. return constraint
  1894. end
  1895. end
  1896.  
  1897. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  1898.  
  1899. function getAttachment0(character,attachmentName)
  1900. for _,child in next,character:children() do
  1901. local attachment = child:FindFirstChild(attachmentName)
  1902. if attachment then
  1903. return attachment
  1904. end
  1905. end
  1906. end
  1907.  
  1908. function recurse(root,callback,i)
  1909. i= i or 0
  1910. for _,v in pairs(root:GetChildren()) do
  1911. i = i + 1
  1912. callback(i,v)
  1913.  
  1914. if #v:GetChildren() > 0 then
  1915. i = recurse(v,callback,i)
  1916. end
  1917. end
  1918.  
  1919. return i
  1920. end
  1921.  
  1922. local Stunned = {}
  1923.  
  1924. function GetTorso(char)
  1925. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso'
  1926. end
  1927.  
  1928. function FakeWeld(p0,p1)
  1929. local attachment0 = Instance.new('Attachment',p0)
  1930. local attachment1 = Instance.new('Attachment',p1)
  1931. return NewInstance("HingeConstraint",p0,{Attachment0=attachment0,Attachment1=attachment1,LimitsEnabled=true,UpperAngle=0,LowerAngle=0})
  1932. end
  1933.  
  1934. function Ragdoll(who,half,snapped)
  1935. pcall(function()
  1936. who:breakJoints()
  1937. local who = who
  1938. local hhh = who:FindFirstChildOfClass'Humanoid'
  1939. local t = GetTorso(who)
  1940. pcall(function()
  1941. who.HumanoidRootPart:destroy()
  1942. end)
  1943. hhh.Health = 0
  1944. Stunned[who] = true
  1945. if(hhh.RigType == Enum.HumanoidRigType.R6)then
  1946. 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'
  1947. pcall(function()
  1948. if(hhh.Health > 0)then local CollideRA = NewInstance('Part',who,{Size=RA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1949. FakeWeld(RA,CollideRA) end
  1950. local RAJ = NewInstance("Attachment",t,{Position=V3.N(1.5,.5,0),Orientation=V3.N()})
  1951. local RAJ2 = NewInstance("Attachment",RA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  1952. local RAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RAJ,Attachment1=RAJ2})
  1953. end)
  1954. pcall(function()
  1955. local LAJ = NewInstance("Attachment",t,{Position=V3.N(-1.5,.5,0),Orientation=V3.N()})
  1956. local LAJ2 = NewInstance("Attachment",LA,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  1957.  
  1958. local LAC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LAJ,Attachment1=LAJ2})
  1959.  
  1960. if(hhh.Health > 0)then local CollideLA = NewInstance('Part',who,{Size=LA.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1961. FakeWeld(LA,CollideLA) end
  1962. end)
  1963. pcall(function()
  1964. if(HD)then
  1965. local NJ = NewInstance('Attachment',t,{Position=V3.N(0,1,0),Orientation=V3.N()})
  1966. local NJ2 = NewInstance('Attachment',HD,{Position=V3.N(0,-.5,0),Orientation=V3.N()})
  1967. local NJ3 = NewInstance('Attachment',HD,{Position=V3.N(0,.5,0),Orientation=V3.N()})
  1968. local HC = NewInstance('HingeConstraint',t,{LimitsEnabled=true,UpperAngle=50,LowerAngle=-50,Attachment0=NJ,Attachment1=NJ2})
  1969.  
  1970. if(snapped)then
  1971. NJ.Orientation = V3.N(0,90,0)
  1972. end
  1973. if(hhh.Health > 0)then
  1974. local CollideHD = NewInstance('Part',who,{Size=HD.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1975. FakeWeld(HD,CollideHD)
  1976. end
  1977. end
  1978. end)
  1979. if(not half)then
  1980. local RLJ = NewInstance("Attachment",t,{Position=V3.N(.5,-1,0),Orientation=V3.N()})
  1981. local RLJ2 = NewInstance("Attachment",RL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  1982. local LLJ = NewInstance("Attachment",t,{Position=V3.N(-.5,-1,0),Orientation=V3.N()})
  1983. local LLJ2 = NewInstance("Attachment",LL,{Position=V3.N(0,1,0),Orientation=V3.N()})
  1984. local RLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=RLJ,Attachment1=RLJ2})
  1985. local LLC = NewInstance('BallSocketConstraint',t,{Radius=.15,LimitsEnabled=true,Enabled=true,Restitution=0,UpperAngle=90,Attachment0=LLJ,Attachment1=LLJ2})
  1986. if(hhh.Health > 0)then local CollideRL = NewInstance('Part',who,{Size=RL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1987. local CollideLL = NewInstance('Part',who,{Size=LL.Size/1.5,Anchored=false,Transparency=1,Name='Collision'})
  1988.  
  1989. FakeWeld(RL,CollideRL)
  1990. FakeWeld(LL,CollideLL) end
  1991. end
  1992. for _,v in next, who:children() do
  1993. if(v:IsA'BasePart')then
  1994. v.CanCollide = true
  1995. end
  1996. end
  1997. else
  1998. local character = who
  1999.  
  2000. if(half)then
  2001. pcall(function()
  2002. character.UpperTorso.WaistRigAttachment:Destroy()
  2003. end)
  2004. end
  2005.  
  2006. local handProperties = {
  2007. {"LimitsEnabled", true};
  2008. {"UpperAngle",0};
  2009. {"LowerAngle",0};
  2010. }
  2011. local footProperties = {
  2012. {"LimitsEnabled", true};
  2013. {"UpperAngle", 15};
  2014. {"LowerAngle", -45};
  2015. }
  2016. local shinProperties = {
  2017. {"LimitsEnabled", true};
  2018. {"UpperAngle", 0};
  2019. {"LowerAngle", -75};
  2020. }
  2021. if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
  2022. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  2023. end
  2024. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
  2025. ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket")
  2026. end
  2027. if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
  2028. ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  2029. end
  2030. if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
  2031. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  2032. end
  2033. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
  2034. ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket")
  2035. end
  2036. if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then
  2037. ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  2038. end
  2039. if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
  2040. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  2041. end
  2042. if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
  2043. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  2044. end
  2045. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
  2046. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  2047. end
  2048. if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
  2049. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  2050. end
  2051. if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
  2052. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  2053. end
  2054. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
  2055. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  2056. end
  2057. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then
  2058. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  2059. {"LimitsEnabled",true};
  2060. {"UpperAngle",5};
  2061. {"Radius",5};
  2062. })
  2063. end
  2064. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then
  2065. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  2066. {"LimitsEnabled",true};
  2067. {"UpperAngle",50};
  2068. {"LowerAngle",-50};
  2069. })
  2070. end
  2071. local NeckA = ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  2072. {"LimitsEnabled",true};
  2073. {"UpperAngle",50};
  2074. {"LowerAngle",-50};
  2075. })
  2076.  
  2077. recurse(character, function(_,v)
  2078. if v:IsA("Attachment") then
  2079. v.Axis = Vector3.new(0, 1, 0)
  2080. v.SecondaryAxis = Vector3.new(0, 0, 1)
  2081. v.Rotation = Vector3.new(0, 0, 0)
  2082. if(v.Parent == character.Head and snapped)then
  2083. v.Orientation = V3.N(0,-90,0)
  2084. end
  2085. end
  2086. end)
  2087. end
  2088. end)
  2089. end
  2090.  
  2091.  
  2092. local YTES = {true,false}
  2093.  
  2094. function KickA()
  2095. local TARGET = Mouse.Target
  2096. if TARGET ~= nil then
  2097. local HITFLOOR, HITPOS = Raycast(RightLeg.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 2 , Character)
  2098. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  2099. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  2100. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  2101. local FOE = Mouse.Target.Parent
  2102. ATTACK = true
  2103. Rooted = true
  2104. Ragdoll(FOE,(YTES[MRANDOM(1,#YTES)]),(YTES[MRANDOM(1,#YTES)]))
  2105. BEAN(FOE)
  2106. ATTACK = false
  2107. Rooted = false
  2108. end
  2109. end
  2110. end
  2111. function KillB()
  2112. local TARGET = Mouse.Target
  2113. if TARGET ~= nil then
  2114. local HITFLOOR, HITPOS = Raycast(RightLeg.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 2 , Character)
  2115. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  2116. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  2117. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  2118. local FOE = Mouse.Target.Parent
  2119. ATTACK = true
  2120. Rooted = false
  2121.  
  2122. Ragdoll(FOE,(YTES[MRANDOM(1,#YTES)]),(YTES[MRANDOM(1,#YTES)]))
  2123. ATTACK = false
  2124. Rooted = false
  2125. end
  2126. end
  2127. end
  2128.  
  2129.  
  2130.  
  2131.  
  2132.  
  2133. function Effect(Table)
  2134. local TYPE = (Table.EffectType or "Sphere")
  2135. local SIZE = (Table.Size or Vector3.new(1,1,1))
  2136. local ENDSIZE = (Table.Size2 or Vector3.new(0,0,0))
  2137. local TRANSPARENCY = (Table.Transparency or 0)
  2138. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2139. local CFRAME = (Table.CFrame or Torso.CFrame)
  2140. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2141. local ROTATION1 = (Table.RotationX or 0)
  2142. local ROTATION2 = (Table.RotationY or 0)
  2143. local ROTATION3 = (Table.RotationZ or 0)
  2144. local MATERIAL = (Table.Material or "Neon")
  2145. local COLOR = (Table.Color or Color3.new(1,1,1))
  2146. local TIME = (Table.Time or 45)
  2147. local SOUNDID = (Table.SoundID or nil)
  2148. local SOUNDPITCH = (Table.SoundPitch or nil)
  2149. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2150. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  2151. local BOOMERANG = (Table.Boomerang or 0)
  2152. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  2153. coroutine.resume(coroutine.create(function()
  2154. local PLAYSSOUND = false
  2155. local SOUND = nil
  2156. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BrickColor.new("Pearl"), "Effect", Vector3.new(1,1,1), true)
  2157. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2158. PLAYSSOUND = true
  2159. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2160. end
  2161. EFFECT.Color = COLOR
  2162. local MSH = nil
  2163. if TYPE == "Sphere" then
  2164. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, Vector3.new(0,0,0))
  2165. elseif TYPE == "Block" or TYPE == "Box" then
  2166. MSH = Instance.new("BlockMesh",EFFECT)
  2167. MSH.Scale = SIZE
  2168. elseif TYPE == "Wave" then
  2169. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, Vector3.new(0,0,-SIZE.X/8))
  2170. elseif TYPE == "Ring" then
  2171. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", Vector3.new(SIZE.X,SIZE.X,0.1), Vector3.new(0,0,0))
  2172. elseif TYPE == "Slash" then
  2173. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
  2174. elseif TYPE == "Round Slash" then
  2175. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
  2176. elseif TYPE == "Swirl" then
  2177. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, Vector3.new(0,0,0))
  2178. elseif TYPE == "Skull" then
  2179. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, Vector3.new(0,0,0))
  2180. elseif TYPE == "Crystal" then
  2181. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, Vector3.new(0,0,0))
  2182. end
  2183. if MSH ~= nil then
  2184. local BOOMR1 = 1+BOOMERANG/50
  2185. local BOOMR2 = 1+SIZEBOOMERANG/50
  2186. local MOVESPEED = nil
  2187. if MOVEDIRECTION ~= nil then
  2188. if USEBOOMERANGMATH == true then
  2189. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  2190. else
  2191. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  2192. end
  2193. end
  2194. local GROWTH = nil
  2195. if USEBOOMERANGMATH == true then
  2196. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  2197. else
  2198. GROWTH = (SIZE - ENDSIZE)
  2199. end
  2200. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2201. if TYPE == "Block" then
  2202. EFFECT.CFrame = CFRAME*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  2203. else
  2204. EFFECT.CFrame = CFRAME
  2205. end
  2206. if USEBOOMERANGMATH == true then
  2207. for LOOP = 1, TIME+1 do
  2208. swait()
  2209. 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
  2210. if TYPE == "Wave" then
  2211. MSH.Offset = Vector3.new(0,0,-MSH.Scale.Z/8)
  2212. end
  2213. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2214. if TYPE == "Block" then
  2215. EFFECT.CFrame = CFRAME*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  2216. else
  2217. EFFECT.CFrame = EFFECT.CFrame*CFrame.Angles(math.rad(ROTATION1),math.rad(ROTATION2),math.rad(ROTATION3))
  2218. end
  2219. if MOVEDIRECTION ~= nil then
  2220. local ORI = EFFECT.Orientation
  2221. EFFECT.CFrame = CFrame.new(EFFECT.Position,MOVEDIRECTION)*CFrame.new(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  2222. EFFECT.Orientation = ORI
  2223. end
  2224. end
  2225. else
  2226. for LOOP = 1, TIME+1 do
  2227. swait()
  2228. MSH.Scale = MSH.Scale - GROWTH/TIME
  2229. if TYPE == "Wave" then
  2230. MSH.Offset = Vector3.new(0,0,-MSH.Scale.Z/8)
  2231. end
  2232. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2233. if TYPE == "Block" then
  2234. EFFECT.CFrame = CFRAME*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  2235. else
  2236. EFFECT.CFrame = EFFECT.CFrame*CFrame.Angles(math.rad(ROTATION1),math.rad(ROTATION2),math.rad(ROTATION3))
  2237. end
  2238. if MOVEDIRECTION ~= nil then
  2239. local ORI = EFFECT.Orientation
  2240. EFFECT.CFrame = CFrame.new(EFFECT.Position,MOVEDIRECTION)*CFrame.new(0,0,-MOVESPEED)
  2241. EFFECT.Orientation = ORI
  2242. end
  2243. end
  2244. end
  2245. EFFECT.Transparency = 1
  2246. if PLAYSSOUND == false then
  2247. EFFECT:remove()
  2248. else
  2249. repeat swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  2250. EFFECT:remove()
  2251. end
  2252. else
  2253. if PLAYSSOUND == false then
  2254. EFFECT:remove()
  2255. else
  2256. repeat swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  2257. EFFECT:remove()
  2258. end
  2259. end
  2260. end))
  2261. end
  2262.  
  2263.  
  2264.  
  2265. function Lightning(Part0, Part1, Times, Offset, Color, Timer, sSize, eSize, Trans, Boomer, sBoomer, slow, stime)
  2266. local magz = (Part0 - Part1).magnitude
  2267. local curpos = Part0
  2268. local trz = {
  2269. -Offset,
  2270. Offset
  2271. }
  2272. for i = 1, Times do
  2273. local li = Instance.new("Part", Effects)
  2274. li.Name = "Lightning"
  2275. li.TopSurface = 0
  2276. li.Material = "Neon"
  2277. li.BottomSurface = 0
  2278. li.Anchored = true
  2279. li.Locked = true
  2280. li.Transparency = 0
  2281. li.BrickColor = Color
  2282. li.formFactor = "Custom"
  2283. li.CanCollide = false
  2284. li.Size = Vector3.new(0.1, 0.1, magz / Times)
  2285. local Offzet = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  2286. local trolpos = CFrame.new(curpos, Part1) * CFrame.new(0, 0, magz / Times).p + Offzet
  2287. if Times == i then
  2288. local magz2 = (curpos - Part1).magnitude
  2289. li.Size = Vector3.new(0.1, 0.1, magz2)
  2290. li.CFrame = CFrame.new(curpos, Part1) * CFrame.new(0, 0, -magz2 / 2)
  2291. else
  2292. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / Times / 2)
  2293. end
  2294. curpos = li.CFrame * CFrame.new(0, 0, magz / Times / 2).p
  2295. li:Destroy()
  2296. 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})
  2297. if slow == true then
  2298. swait(stime)
  2299. end
  2300. end
  2301. end
  2302.  
  2303. --[[
  2304. --refit by godcat
  2305. local Regen = {}
  2306. delay(1,function()
  2307. local Descendants = Character:GetDescendants()
  2308.  
  2309. for i = 1,#Descendants do
  2310. local E = Descendants[i]
  2311. if E:IsA("BasePart") and not E:IsDescendantOf(Effects) then
  2312. E.CustomPhysicalProperties = PhysicalProperties.new(Enum.Material.Wood)
  2313. table.insert(Regen,{E,E.Parent,E.Color,E.Size,E.Material})
  2314. end
  2315. if E:IsA("JointInstance") then
  2316. table.insert(Regen,{E,E.Parent,nil,nil,nil})
  2317. end
  2318. end
  2319. end)
  2320.  
  2321. for e = 1, #Regen do
  2322. if Regen[e] ~= nil then
  2323. local STUFF = Regen[e]
  2324. local PART = STUFF[1]
  2325. local PARENT = STUFF[2]
  2326. local MATERIAL = STUFF[3]
  2327. local COLOR = STUFF[4]
  2328. local TRANSPARENCY = STUFF[5]
  2329. if PART.ClassName == "Part" and PART ~= Body.RootPart then
  2330. PART.Material = MATERIAL
  2331. PART.Color = COLOR
  2332. PART.Transparency = TRANSPARENCY
  2333. end
  2334. PART.AncestryChanged:Connect(function()
  2335. PART.Parent = PARENT
  2336. end)
  2337. end
  2338. end
  2339.  
  2340. function Refit()
  2341. for i = 1,#Regen do
  2342. local E = Regen[i]
  2343. local PART = E[1]
  2344. local PARENT = E[2]
  2345. local COLOR = E[3]
  2346. local SIZE = E[4]
  2347. local MATERIAL = E[5]
  2348.  
  2349. if PART:IsA("BasePart") and PART.Parent ~= PARENT then
  2350. PART.Color = COLOR
  2351. PART.Size = SIZE
  2352. PART.Material = MATERIAL
  2353. end
  2354. if PART.Parent ~= PARENT then
  2355. Humanoid.Parent = nil
  2356. PART.Parent = PARENT
  2357. Humanoid.Parent = Character
  2358. end
  2359. end
  2360. Humanoid.Parent = Character
  2361. end
  2362.  
  2363. local BODY = {}
  2364.  
  2365. for e = 1, #BODY do
  2366. if BODY[e] ~= nil then
  2367. local STUFF = BODY[e]
  2368. local PART = STUFF[1]
  2369. local PARENT = STUFF[2]
  2370. local MATERIAL = STUFF[3]
  2371. local COLOR = STUFF[4]
  2372. local TRANSPARENCY = STUFF[5]
  2373. if PART.ClassName == "Part" and PART ~= RootPart then
  2374. PART.Material = MATERIAL
  2375. PART.Color = COLOR
  2376. PART.Transparency = TRANSPARENCY
  2377. end
  2378. PART.AncestryChanged:Connect(function()
  2379. PART.Parent = PARENT
  2380. end)
  2381. end
  2382. end
  2383.  
  2384. function Refit2()
  2385. Character.Parent = workspace
  2386. Effects.Parent = Character
  2387. for e = 1, #BODY do
  2388. if BODY[e] ~= nil then
  2389. local STUFF = BODY[e]
  2390. local PART = STUFF[1]
  2391. local PARENT = STUFF[2]
  2392. local MATERIAL = STUFF[3]
  2393. local COLOR = STUFF[4]
  2394. local TRANSPARENCY = STUFF[5]
  2395. --local SIZE = STUFF[6]
  2396. local NAME = STUFF[7]
  2397. if PART.ClassName == "Part" and PART ~= RootPart then
  2398. PART.Material = MATERIAL
  2399. PART.Transparency = TRANSPARENCY
  2400. PART.Name = NAME
  2401. end
  2402. if PART.Parent ~= PARENT then
  2403. if PART.Name == "Head" or PART.Name == "Neck" or PART.Name == "Torso" then
  2404. Humanoid:remove()
  2405. end
  2406. PART.Parent = PARENT
  2407. if PART.Name == "Head" or PART.Name == "Neck" or PART.Name == "Torso" then
  2408. Humanoid = IT("Humanoid",Character)
  2409. end
  2410. end
  2411. end
  2412. end
  2413. end
  2414.  
  2415.  
  2416. Humanoid.Died:Connect(Refit)
  2417. Humanoid.HealthChanged:Connect(function()
  2418. if Humanoid.Health <= 1 then
  2419. Humanoid.Health = math.huge
  2420. Refit()
  2421. end
  2422. end)--]]
  2423.  
  2424. function MouseDown(Mouse)
  2425. if ATTACK == false then
  2426. Bonk()
  2427. end
  2428. end
  2429.  
  2430. function MouseUp(Mouse)
  2431. HOLD = false
  2432. end
  2433. function KeyDown(Key)
  2434. KEYHOLD = true
  2435. if Key == "q" and ATTACK == false then
  2436. Warp()
  2437. end
  2438. if Key == "z" and ATTACK == false then
  2439. KillB()
  2440. end
  2441. if Key == "x" and ATTACK == false then
  2442. KickA()
  2443. end
  2444. end
  2445.  
  2446. function KeyUp(Key)
  2447. KEYHOLD = false
  2448. end
  2449.  
  2450. Mouse.Button1Down:connect(function(NEWKEY)
  2451. MouseDown(NEWKEY)
  2452. end)
  2453. Mouse.Button1Up:connect(function(NEWKEY)
  2454. MouseUp(NEWKEY)
  2455. end)
  2456. Mouse.KeyDown:connect(function(NEWKEY)
  2457. KeyDown(NEWKEY)
  2458. end)
  2459. Mouse.KeyUp:connect(function(NEWKEY)
  2460. KeyUp(NEWKEY)
  2461. end)
  2462.  
  2463. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2464. Humanoid = Instance.new("Humanoid",Character)
  2465. end
  2466.  
  2467. while true do
  2468. Swait()
  2469. ANIMATE.Parent = nil
  2470. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2471. Humanoid = IT("Humanoid",Character)
  2472. end
  2473.  
  2474. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2475. v:Stop();
  2476. end
  2477. SINE = SINE + CHANGE
  2478. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2479. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2480. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2481. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2482. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2483. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2484. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2485. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2486. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2487. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2488. end
  2489. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2490. ANIM = "Jump"
  2491. if ATTACK == false then
  2492. 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)
  2493. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2494. 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)
  2495. 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)
  2496. 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)
  2497. 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)
  2498. end
  2499. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2500. ANIM = "Fall"
  2501. if ATTACK == false then
  2502. 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)
  2503. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2504. 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)
  2505. 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)
  2506. 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)
  2507. 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)
  2508. end
  2509. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2510. ANIM = "Idle"
  2511. if ATTACK == false then
  2512. if mde == "normal" then
  2513. Speed = 60
  2514. 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)
  2515. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  2516. 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)
  2517. 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)
  2518. 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)), 3 / Animation_Speed)
  2519. 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)), 3 / Animation_Speed)
  2520. end
  2521. end
  2522. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2523. ANIM = "Walk"
  2524. if ATTACK == false then
  2525. Speed = 60
  2526.  
  2527. local Testwalk1 = Humanoid.MoveDirection*Torso.CFrame.LookVector
  2528. local Testwalk2 = Humanoid.MoveDirection*Torso.CFrame.RightVector
  2529. LOOKVEC = Testwalk1.X+Testwalk1.Z
  2530. RIGHTVEC = Testwalk2.X+Testwalk2.Z
  2531. if mde == "normal" then
  2532. if MRANDOM(1+5*COS(SINE/0.5),1+5*COS(SINE/0.5)) == 5 then
  2533. CreateSound(4724428597, Torso, 10, MRANDOM(9,15)/12,false)
  2534. end
  2535. 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)
  2536. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  2537. 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)
  2538. 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)
  2539. 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)
  2540. 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)
  2541. end
  2542. end
  2543. end
  2544. Player.Chatted:connect(function(message)
  2545. if message:sub(1,5) == "play/" then
  2546. sick.SoundId = "rbxassetid://"..message:sub(6)
  2547. elseif message:sub(1,6) == "pitch/" then
  2548. sick.PlaybackSpeed = message:sub(7)
  2549. elseif message:sub(1,6) == "speed/" then
  2550. NICE = message:sub(7)
  2551. elseif message:sub(1,4) == "vol/" then
  2552. sick.Volume = message:sub(5)
  2553. elseif message:sub(1,5) == "skip/" then
  2554. sick.TimePosition = message:sub(6)
  2555.  
  2556. end
  2557. end)
  2558.  
  2559. Humanoid.MaxHealth = math.huge
  2560. Humanoid.Health = math.huge
  2561. if Rooted == false then
  2562. Disable_Jump = false
  2563. Humanoid.WalkSpeed = Speed
  2564. elseif Rooted == true then
  2565. Disable_Jump = true
  2566. Humanoid.WalkSpeed = 0
  2567. end
  2568. if mde == "Mask" then
  2569. if Head:FindFirstChild("face") then
  2570. Head.face.Transparency = 1
  2571. end
  2572. else
  2573. if Head:FindFirstChild("face") then
  2574. Head.face.Transparency = 0
  2575. end
  2576. end
  2577. end
  2578.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement