Advertisement
memberhero

Rainbow Infinite Fix

Dec 27th, 2020 (edited)
974
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 144.42 KB | None | 0 0
  1. -- This script has convert to FE by who i don't know?
  2.  
  3. -----------------------------------------------------
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local Mouse = Player:GetMouse()
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then return s[k] end
  97. end,
  98. __newindex = function(self,k,v)
  99. local s = rawget(self,"_RealService")
  100. if s then s[k]=v end
  101. end,
  102. __call = function(self,...)
  103. local s = rawget(self,"_RealService")
  104. if s then return s(...) end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129.  
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,{
  137. __index=function(self,s)
  138. return _rg:GetService(s) or typeof(_rg[s])=="function"
  139. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140. end,
  141. __newindex = fsmt.__newindex,
  142. __call = fsmt.__call
  143. })
  144. --Changing owner to fake player object to support owner:GetMouse()
  145. game,owner = g,g.Players.LocalPlayer
  146. end
  147.  
  148.  
  149. print([[Converted this purely out of spite for VSB, please go play MauSB or any other script builder.
  150. You're supporting developers who can't take criticism, make up lies about other players.
  151. harass them, and overall damage the scripting community.
  152.  
  153. If you somehow feel comfortable supporting this, then guess i can't stop you.]])
  154.  
  155. local lplr = game:GetService("Players").LocalPlayer
  156. local Player = owner
  157. local Mouse = lplr:GetMouse()
  158. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  159. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  160. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  161. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  162. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  163. local R3 = {N=Region3.new}
  164. local De = S.Debris
  165. local WS = workspace
  166. local Lght = S.Lighting
  167. local RepS = S.ReplicatedStorage
  168. local IN = Instance.new
  169. local Plrs = S.Players
  170. Character = Player.Character
  171. PlayerGui = Player.PlayerGui
  172. Backpack = Player.Backpack
  173. Humanoid = Character.Humanoid
  174. RootPart = Character["HumanoidRootPart"]
  175. Torso = Character["Torso"]
  176. Head = Character["Head"]
  177. RightArm = Character["Right Arm"]
  178. LeftArm = Character["Left Arm"]
  179. RightLeg = Character["Right Leg"]
  180. LeftLeg = Character["Left Leg"]
  181. RootJoint = RootPart["RootJoint"]
  182. Neck = Torso["Neck"]
  183. RightShoulder = Torso["Right Shoulder"]
  184. LeftShoulder = Torso["Left Shoulder"]
  185. RightHip = Torso["Right Hip"]
  186. LeftHip = Torso["Left Hip"]
  187.  
  188. IT = Instance.new
  189. it = Instance.new
  190. CF = CFrame.new
  191. VT = Vector3.new
  192. RAD = math.rad
  193. C3 = Color3.new
  194. UD2 = UDim2.new
  195. BRICKC = BrickColor.new
  196. ANGLES = CFrame.Angles
  197. EULER = CFrame.fromEulerAnglesXYZ
  198. COS = math.cos
  199. ACOS = math.acos
  200. SIN = math.sin
  201. ASIN = math.asin
  202. ABS = math.abs
  203. MRANDOM = math.random
  204. FLOOR = math.floor
  205. vt = Vector3.new
  206. cf = CFrame.new
  207.  
  208.  
  209. --//=================================\\
  210. --|| USEFUL VALUES
  211. --\\=================================//
  212. local SONG1 = 2371543268
  213. local SONG2 = 2371543268
  214. local BanishMode = 1
  215. local KeepPlayersOutfit = false
  216. local SIZE = 1
  217. local Player_Size = 1
  218. local Jump = 50
  219. local Animation_Speed = 3
  220. local lastbeat = 0
  221. local lastloud = 0
  222. local AntiBullet = true
  223. local PlaybackSound = 0
  224. local Speed = 16
  225. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  226. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  227. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  228. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  229. local faceShadingFolder = IT("Model", Character)
  230. faceShadingFolder.Name = "Face Shading Folder"
  231. local Weapon = IT("Model")
  232. Weapon.Name = "Finding Lost"
  233. local Karma = IT("Model")
  234. Weapon.Name = "Finding Lost"
  235. local KarmaWeapon = IT("Model")
  236. Weapon.Name = "Finding Lost"
  237. local KarmaWeapon2 = IT("Model")
  238. Weapon.Name = "Finding Lost"
  239. --[[local HornFolder = IT("Model", Character)
  240. HornFolder.Name = "Horns"]]--
  241. local BannedSkids = {}
  242. local TOBANISH = {}
  243. local qui = Enum.EasingStyle.Quint
  244. local io = Enum.EasingDirection.InOut
  245. local char = Player.Character
  246. local t = char:FindFirstChild("Torso")
  247. local ls = t:FindFirstChild("Left Shoulder")
  248. local rh = t:FindFirstChild("Right Hip")
  249. local lh = t:FindFirstChild("Left Hip")
  250. local hum = char:FindFirstChildOfClass("Humanoid")
  251. local tweens = game:GetService("TweenService")
  252. local rs = t:FindFirstChild("Right Shoulder")
  253. local rut = char.HumanoidRootPart
  254. local rutj = rut.RootJoint
  255. local t = char:FindFirstChild("Torso")
  256. local nec = t.Neck
  257. local MAINRUINCOLOR = BrickColor.Black()
  258. local DAMAGEMULTIPLIER = 1
  259. local ANIM = "Idle"
  260. local ATTACK = false
  261. local targetted = nil
  262. local EQUIPPED = false
  263. local HOLD = false
  264. local furmode = false
  265. local sitting = false
  266. local COMBO = 1
  267. local Rooted = false
  268. local SINE = 0
  269. local rad = math.rad
  270. local KEYHOLD = false
  271. local CHANGE = 2 / Animation_Speed
  272. local WALKINGANIM = false
  273. local VALUE1 = false
  274. local VALUE2 = false
  275. local RunService = game:GetService("RunService")
  276. local ROBLOXIDLEANIMATION = IT("Animation")
  277. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  278. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  279. --ROBLOXIDLEANIMATION.Parent = Humanoid
  280. local Effects = IT("Folder", Character)
  281. Effects.Name = "Effects"
  282. pcall(function()
  283. Character.Animate.Parent = nil
  284. end)
  285. local UNANCHOR = true
  286.  
  287. function Rainbowify(name)
  288. while RunService.Stepped:Wait() do
  289. for hue = 0, 1, 0.06 do
  290. name.Color = Color3.fromHSV(hue,1,1)
  291. wait(0.001)
  292. end
  293. end
  294. end
  295.  
  296. function RainbowifyText(name)
  297. while RunService.Stepped:Wait() do
  298. for hue = 0, 1, 0.06 do
  299. name.TextColor3 = Color3.fromHSV(hue, 1, 1)
  300. name.TextStrokeColor3 = Color3.fromHSV(hue, 1, 1)
  301. wait(0.0005)
  302. end
  303. end
  304. end
  305.  
  306. local FONTS = {
  307. Enum.Font.Antique,
  308. Enum.Font.Arcade,
  309. Enum.Font.Arial,
  310. Enum.Font.ArialBold,
  311. Enum.Font.Bodoni,
  312. Enum.Font.Cartoon,
  313. Enum.Font.Code,
  314. Enum.Font.Fantasy,
  315. Enum.Font.Garamond,
  316. Enum.Font.Highway,
  317. Enum.Font.Legacy,
  318. Enum.Font.SciFi,
  319. Enum.Font.SourceSans,
  320. Enum.Font.SourceSansBold,
  321. Enum.Font.SourceSansItalic,
  322. Enum.Font.SourceSansLight,
  323. Enum.Font.SourceSansSemibold
  324. }
  325.  
  326. local naeeym2 = Instance.new("BillboardGui",Character)
  327. naeeym2.AlwaysOnTop = true
  328. naeeym2.Size = UDim2.new(7,35,3,15)
  329. naeeym2.StudsOffset = Vector3.new(0,2,0)
  330. naeeym2.MaxDistance = 10000
  331. naeeym2.Adornee = Head
  332. naeeym2.Name = "Name2"
  333. local tecks2 = Instance.new("TextLabel",naeeym2)
  334. tecks2.BackgroundTransparency = 1
  335. tecks2.TextScaled = true
  336. tecks2.BorderSizePixel = 0
  337. tecks2.Text = "Rainbow Infinite"
  338. tecks2.Font = "Arcade"
  339. tecks2.TextSize = 35
  340. tecks2.TextStrokeTransparency = 0
  341. tecks2.Size = UDim2.new(1,0,0.5,0)
  342. tecks2.Parent = naeeym2
  343. tecks2.TextColor3 = Color3.fromRGB()
  344. coroutine.resume(coroutine.create(function()
  345. while true do
  346. Swait()
  347. tecks2.Font = FONTS[MRANDOM(1, #FONTS)]
  348. tecks2.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  349. end
  350. end))
  351. spawn(function() RainbowifyText(tecks2) end)
  352.  
  353. --//=================================\\
  354. --\\=================================//
  355.  
  356. --//=================================\\
  357. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  358. --\\=================================//
  359. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  360.  
  361. ArtificialHB = Instance.new("BindableEvent", script)
  362. ArtificialHB.Name = "ArtificialHB"
  363.  
  364. script:WaitForChild("ArtificialHB")
  365.  
  366. frame = Frame_Speed
  367. tf = 0
  368. allowframeloss = false
  369. tossremainder = false
  370. lastframe = tick()
  371. ArtificialHB:Fire()
  372.  
  373. game:GetService("RunService").Heartbeat:connect(function(s, p)
  374. tf = tf + s
  375. if tf >= frame then
  376. if allowframeloss then
  377. ArtificialHB:Fire()
  378. lastframe = tick()
  379. else
  380. for i = 1, math.floor(tf / frame) do
  381. ArtificialHB:Fire()
  382. end
  383. lastframe = tick()
  384. end
  385. if tossremainder then
  386. tf = 0
  387. else
  388. tf = tf - frame * math.floor(tf / frame)
  389. end
  390. end
  391. end)
  392.  
  393. --//=================================\\
  394. --\\=================================//
  395.  
  396.  
  397. --//=================================\\
  398. --|| SOME FUNCTIONS
  399. --\\=================================//
  400. NewInstance = function(instance,parent,properties)
  401. local inst = Instance.new(instance,parent)
  402. if(properties)then
  403. for i,v in next, properties do
  404. pcall(function() inst[i] = v end)
  405. end
  406. end
  407. return inst;
  408. end
  409.  
  410. local tlerp = function(part,tablee,leinght,easingstyle,easingdirec)
  411. pcall(function()
  412. local info = TweenInfo.new(
  413. leinght,
  414. easingstyle,
  415. easingdirec,
  416. 0,
  417. false,
  418. 0
  419. )
  420. local lerp = tweens:Create(part,info,tablee)
  421. lerp:Play()
  422. end)
  423. end
  424.  
  425. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  426. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  427. end
  428.  
  429. function PositiveAngle(NUMBER)
  430. if NUMBER >= 0 then
  431. NUMBER = 0
  432. end
  433. return NUMBER
  434. end
  435.  
  436. function NegativeAngle(NUMBER)
  437. if NUMBER <= 0 then
  438. NUMBER = 0
  439. end
  440. return NUMBER
  441. end
  442.  
  443. function Swait(NUMBER)
  444. if NUMBER == 0 or NUMBER == nil then
  445. ArtificialHB.Event:wait()
  446. else
  447. for i = 1, NUMBER do
  448. ArtificialHB.Event:wait()
  449. end
  450. end
  451. end
  452.  
  453. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  454. local NEWMESH = IT(MESH)
  455. if MESH == "SpecialMesh" then
  456. NEWMESH.MeshType = MESHTYPE
  457. if MESHID ~= "nil" and MESHID ~= "" then
  458. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  459. end
  460. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  461. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  462. end
  463. end
  464. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  465. NEWMESH.Scale = SCALE
  466. NEWMESH.Parent = PARENT
  467. return NEWMESH
  468. end
  469.  
  470. function hasarrived(whom)
  471. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  472. coroutine.resume(coroutine.create(function()
  473. if v.PlayerGui:FindFirstChild("ARRIVAL")~= nil then
  474. v.PlayerGui:FindFirstChild("ARRIVAL"):destroy()
  475. end
  476. local droppingFrame = false
  477. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  478. scrg.Name = "ARRIVAL"
  479. local mainFrame = Instance.new("Frame", scrg)
  480. mainFrame.Name = "MainFrame"
  481. mainFrame.BackgroundTransparency = 0
  482. mainFrame.BorderSizePixel = 5
  483. mainFrame.Size = UDim2.new(1, 0, -0.013, 100)
  484. mainFrame.Position = UDim2.new(0, 0, 0.365, 0)
  485. local TextFrame = Instance.new("TextLabel",mainFrame)
  486. TextFrame.Name = "TextFrame"
  487. TextFrame.Font = "Arcade"
  488. TextFrame.Text = ""
  489. TextFrame.TextScaled = true
  490. TextFrame.TextSize = 14
  491. TextFrame.TextStrokeTransparency = 0
  492. TextFrame.BackgroundTransparency = 1
  493. TextFrame.Size = UDim2.new(1, 0, 0, 92)
  494. TextFrame.Position = UDim2.new(0, 0, 0, 0)
  495. local fvalen = 0.55
  496. local fval = -0.49
  497. coroutine.resume(coroutine.create(function()
  498. while true do
  499. Swait()
  500. mainFrame.BackgroundColor3 = C3(0,0,0)
  501. mainFrame.BorderColor3 = C3(1, 1, 1)
  502. if(not droppingFrame)then
  503. mainFrame.Rotation = 0 - 2 * COS(SINE / 24)
  504. end
  505. TextFrame.TextColor3 = C3(0,0,0)
  506. TextFrame.Font = FONTS[MRANDOM(1, #FONTS)]
  507. TextFrame.TextStrokeColor3 = C3(1, 1, 1)
  508. TextFrame.TextStrokeTransparency = 0
  509. end
  510. end))
  511. for i = 1,string.len(whom),1 do
  512. TextFrame.Text = string.sub(whom,1,i)
  513. wait(0.2)
  514. end
  515. wait(2)
  516. droppingFrame = true
  517. mainFrame.Rotation = 0
  518. local vinc2 = 1
  519. for i = 0, 99 do
  520. Swait()
  521. vinc2 = vinc2 + 0.25
  522. mainFrame.Position = mainFrame.Position + UDim2.new(0,0,0.0005*vinc2,0)
  523. end
  524. scrg:Destroy()
  525. end))
  526. end
  527. end
  528.  
  529. function hasarrivedB(whom)
  530. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  531. coroutine.resume(coroutine.create(function()
  532. if v.PlayerGui:FindFirstChild("ARRIVAL")~= nil then
  533. v.PlayerGui:FindFirstChild("ARRIVAL"):destroy()
  534. end
  535. local droppingFrame = false
  536. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  537. scrg.Name = "ARRIVAL"
  538. local mainFrame = Instance.new("Frame", scrg)
  539. mainFrame.Name = "MainFrame"
  540. mainFrame.BackgroundTransparency = 1
  541. mainFrame.BorderSizePixel = 0
  542. mainFrame.Size = UDim2.new(1, 0, -0.013, 100)
  543. mainFrame.Position = UDim2.new(0, 0, 0.365, 0)
  544. local TextFrame = Instance.new("TextLabel",mainFrame)
  545. TextFrame.Name = "TextFrame"
  546. TextFrame.Font = "Arcade"
  547. TextFrame.Text = ""
  548. TextFrame.TextScaled = true
  549. TextFrame.TextSize = 9
  550. TextFrame.TextStrokeTransparency = 1
  551. TextFrame.BackgroundTransparency = 1
  552. TextFrame.TextColor3 = C3(1,1,1)
  553. TextFrame.TextStrokeColor3 = C3(0, 0, 0)
  554. TextFrame.Size = UDim2.new(1, 0, 0, 92)
  555. TextFrame.Position = UDim2.new(0, 0, 0, 0)
  556. spawn(function() RainbowifyText(TextFrame) end)
  557. local fvalen = 0.55
  558. local fval = -0.49
  559. coroutine.resume(coroutine.create(function()
  560. while true do
  561. Swait()
  562. mainFrame.BackgroundColor3 = C3(0,0,0)
  563. mainFrame.BorderColor3 = C3(0, 0, 0)
  564. if(not droppingFrame)then
  565. mainFrame.Rotation = 0 - 2 * COS(SINE / 24)
  566. end
  567. TextFrame.TextStrokeTransparency = 0
  568. end
  569. end))
  570. for i = 1,string.len(whom),1 do
  571. TextFrame.Text = string.sub(whom,1,i)
  572. wait(0.2)
  573. end
  574. wait(2)
  575. droppingFrame = true
  576. mainFrame.Rotation = 0
  577. local vinc2 = 1
  578. for i = 0, 99 do
  579. Swait()
  580. vinc2 = vinc2 + 0.25
  581. mainFrame.Position = mainFrame.Position + UDim2.new(0,0,0.0005*vinc2,0)
  582. end
  583. scrg:Destroy()
  584. end))
  585. end
  586. end
  587.  
  588. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  589. local NEWPART = IT("Part")
  590. NEWPART.formFactor = FORMFACTOR
  591. NEWPART.Reflectance = REFLECTANCE
  592. NEWPART.Transparency = TRANSPARENCY
  593. NEWPART.CanCollide = false
  594. NEWPART.Locked = true
  595. NEWPART.Anchored = true
  596. if ANCHOR == false then
  597. NEWPART.Anchored = false
  598. end
  599. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  600. NEWPART.Name = NAME
  601. NEWPART.Size = SIZE
  602. NEWPART.Position = Torso.Position
  603. NEWPART.Material = MATERIAL
  604. NEWPART:BreakJoints()
  605. NEWPART.Parent = PARENT
  606. return NEWPART
  607. end
  608.  
  609. local function weldBetween(a, b)
  610. local weldd = Instance.new("ManualWeld")
  611. weldd.Part0 = a
  612. weldd.Part1 = b
  613. weldd.C0 = CFrame.new()
  614. weldd.C1 = b.CFrame:inverse() * a.CFrame
  615. weldd.Parent = a
  616. return weldd
  617. end
  618.  
  619.  
  620. function QuaternionFromCFrame(cf)
  621. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  622. local trace = m00 + m11 + m22
  623. if trace > 0 then
  624. local s = math.sqrt(1 + trace)
  625. local recip = 0.5 / s
  626. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  627. else
  628. local i = 0
  629. if m11 > m00 then
  630. i = 1
  631. end
  632. if m22 > (i == 0 and m00 or m11) then
  633. i = 2
  634. end
  635. if i == 0 then
  636. local s = math.sqrt(m00 - m11 - m22 + 1)
  637. local recip = 0.5 / s
  638. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  639. elseif i == 1 then
  640. local s = math.sqrt(m11 - m22 - m00 + 1)
  641. local recip = 0.5 / s
  642. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  643. elseif i == 2 then
  644. local s = math.sqrt(m22 - m00 - m11 + 1)
  645. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  646. end
  647. end
  648. end
  649.  
  650. function turnto(position)
  651. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  652. end
  653.  
  654. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  655. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
  656. local mesh = IT("SpecialMesh",wave)
  657. mesh.MeshType = "FileMesh"
  658. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  659. mesh.Scale = SIZE
  660. mesh.Offset = VT(0,0,-SIZE.X/8)
  661. wave.CFrame = CFRAME
  662. coroutine.resume(coroutine.create(function(PART)
  663. for i = 1, WAIT do
  664. Swait()
  665. mesh.Scale = mesh.Scale + GROW
  666. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  667. wave.Color = C3(0,0,0)
  668. if DOESROT == true then
  669. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  670. end
  671. wave.Transparency = wave.Transparency + (0.5/WAIT)
  672. if wave.Transparency > 0.99 then
  673. wave:remove()
  674. end
  675. end
  676. end))
  677. end
  678.  
  679. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  680. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
  681. local mesh = IT("SpecialMesh",wave)
  682. mesh.MeshType = "FileMesh"
  683. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  684. mesh.Scale = SIZE
  685. wave.CFrame = CFRAME
  686. coroutine.resume(coroutine.create(function(PART)
  687. for i = 1, WAIT do
  688. Swait()
  689. mesh.Scale = mesh.Scale + GROW
  690. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  691. wave.Color = C3(0,0,0)
  692. if DOESROT == true then
  693. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  694. end
  695. wave.Transparency = wave.Transparency + (0.5/WAIT)
  696. if wave.Transparency > 0.99 then
  697. wave:remove()
  698. end
  699. end
  700. end))
  701. end
  702.  
  703. function killnearest(position,range,maxstrength,direction)
  704. for i,v in ipairs(workspace:GetChildren()) do
  705. local body = v:GetChildren()
  706. for part = 1, #body do
  707. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  708. if(body[part].Position - position).Magnitude < range then
  709. if v.ClassName == "Model" then
  710. --v:BreakJoints()
  711. end
  712. local POS = position
  713. coroutine.resume(coroutine.create(function()
  714. body[part].Anchored = true
  715. body[part].Parent = Effects
  716. body[part].CanCollide = true
  717. local SIZE = body[part].Size
  718. body[part].Material = "Neon"
  719. CFuncs["Sound"].Create("rbxassetid://62339698", workspace, 10, 0.3)
  720. for i = 1, 75 do
  721. Swait()
  722. body[part].Color = C3(255/255, 255/255, 255/255)
  723. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  724. end
  725. coroutine.resume(coroutine.create(function()
  726. while true do
  727. Swait()
  728. body[part].Color = C3(255/255, 255/255, 255/255)
  729. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  730. end
  731. end))
  732. body[part].Anchored = false
  733. body[part].Velocity = direction.lookVector*maxstrength
  734. end))
  735. end
  736. end
  737. end
  738. if v.ClassName == "Part" then
  739. if v.Anchored == false and (v.Position - position).Magnitude < range then
  740. local POS = position
  741. coroutine.resume(coroutine.create(function()
  742. v.Anchored = true
  743. v.Parent = Effects
  744. local SIZE = v.Size
  745. v.Material = "Neon"
  746. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  747. for i = 1, 75 do
  748. Swait()
  749. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  750. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  751. end
  752. coroutine.resume(coroutine.create(function()
  753. while true do
  754. Swait()
  755. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  756. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  757. end
  758. end))
  759. v.Anchored = false
  760. v.Velocity = direction.lookVector*maxstrength
  761. end))
  762. end
  763. end
  764. end
  765. end
  766.  
  767.  
  768. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  769. local wave = CreatePart(3, Effects, "Neon", 0, 0, COLOR, "Effect", VT(1,1,1), true)
  770. local mesh = IT("SpecialMesh",wave)
  771. mesh.MeshType = "Sphere"
  772. mesh.Scale = SIZE
  773. mesh.Offset = VT(0,0,0)
  774. wave.CFrame = CFRAME
  775. coroutine.resume(coroutine.create(function(PART)
  776. for i = 1, WAIT do
  777. Swait()
  778. mesh.Scale = mesh.Scale + GROW
  779. wave.Color = C3(0,0,0)
  780. wave.Transparency = wave.Transparency + (1/WAIT)
  781. if wave.Transparency > 0.99 then
  782. wave:remove()
  783. end
  784. end
  785. end))
  786. end
  787.  
  788. function SpliceSlice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  789. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  790. local mesh
  791. if KIND == "Base" then
  792. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  793. elseif KIND == "Thin" then
  794. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  795. elseif KIND == "Round" then
  796. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  797. end
  798. wave.CFrame = CFRAME
  799. coroutine.resume(coroutine.create(function(PART)
  800. for i = 1, WAIT do
  801. Swait()
  802. mesh.Scale = mesh.Scale + GROW / 10
  803. wave.Color = C3(0,0,0)
  804. wave.Transparency = wave.Transparency + 0.5 / WAIT
  805. if wave.Transparency > 0.99 then
  806. wave:remove()
  807. end
  808. end
  809. end))
  810. end
  811.  
  812. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  813. for _, c in pairs(PARENT:GetChildren()) do
  814. if c.ClassName == "Model" then
  815. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  816. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  817. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  818. if DIST > (TORSO.Position - FROM).Magnitude then
  819. table.insert(TABLE, c)
  820. end
  821. AddChildrenToTable(FROM, c, DIST, TABLE)
  822. elseif c.ClassName == "Folder" then
  823. AddChildrenToTable(FROM, c, DIST, TABLE)
  824. end
  825. end
  826. end
  827. end
  828.  
  829. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  830. local xs, ys, zs = x + x, y + y, z + z
  831. local wx, wy, wz = w * xs, w * ys, w * zs
  832. local xx = x * xs
  833. local xy = x * ys
  834. local xz = x * zs
  835. local yy = y * ys
  836. local yz = y * zs
  837. local zz = z * zs
  838. 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))
  839. end
  840.  
  841. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  842. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(1,1,1), true)
  843. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  844. wave.CFrame = CFRAME
  845. coroutine.resume(coroutine.create(function(PART)
  846. for i = 1, WAIT do
  847. Swait()
  848. mesh.Scale = mesh.Scale * GROW
  849. wave.Color = C3(0,0,0)
  850. wave.Transparency = wave.Transparency + (0.5/WAIT)
  851. if wave.Transparency > 0.99 then
  852. wave:remove()
  853. end
  854. end
  855. end))
  856. end
  857.  
  858. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  859. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
  860. local mesh = IT("SpecialMesh",wave)
  861. mesh.MeshType = "FileMesh"
  862. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  863. mesh.Scale = SIZE
  864. wave.CFrame = CFRAME
  865. coroutine.resume(coroutine.create(function(PART)
  866. for i = 1, WAIT do
  867. Swait()
  868. mesh.Scale = mesh.Scale + GROW
  869. wave.Color = C3(0,0,0)
  870. if DOESROT == true then
  871. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  872. end
  873. wave.Transparency = wave.Transparency + (0.5/WAIT)
  874. if wave.Transparency > 0.99 then
  875. wave:remove()
  876. end
  877. end
  878. end))
  879. end
  880.  
  881. function QuaternionSlerp(a, b, t)
  882. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  883. local startInterp, finishInterp;
  884. if cosTheta >= 0.0001 then
  885. if (1 - cosTheta) > 0.0001 then
  886. local theta = ACOS(cosTheta)
  887. local invSinTheta = 1 / SIN(theta)
  888. startInterp = SIN((1 - t) * theta) * invSinTheta
  889. finishInterp = SIN(t * theta) * invSinTheta
  890. else
  891. startInterp = 1 - t
  892. finishInterp = t
  893. end
  894. else
  895. if (1 + cosTheta) > 0.0001 then
  896. local theta = ACOS(-cosTheta)
  897. local invSinTheta = 1 / SIN(theta)
  898. startInterp = SIN((t - 1) * theta) * invSinTheta
  899. finishInterp = SIN(t * theta) * invSinTheta
  900. else
  901. startInterp = t - 1
  902. finishInterp = t
  903. end
  904. end
  905. 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
  906. end
  907.  
  908. function Clerp(a, b, t)
  909. local qa = {QuaternionFromCFrame(a)}
  910. local qb = {QuaternionFromCFrame(b)}
  911. local ax, ay, az = a.x, a.y, a.z
  912. local bx, by, bz = b.x, b.y, b.z
  913. local _t = 1 - t
  914. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  915. end
  916.  
  917. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  918. local frame = IT("Frame")
  919. frame.BackgroundTransparency = TRANSPARENCY
  920. frame.BorderSizePixel = BORDERSIZEPIXEL
  921. frame.Position = POSITION
  922. frame.Size = SIZE
  923. frame.BackgroundColor3 = COLOR
  924. frame.BorderColor3 = BORDERCOLOR
  925. frame.Name = NAME
  926. frame.Parent = PARENT
  927. return frame
  928. end
  929.  
  930. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  931. local label = IT("TextLabel")
  932. label.BackgroundTransparency = 1
  933. label.Size = UD2(1, 0, 1, 0)
  934. label.Position = UD2(0, 0, 0, 0)
  935. label.TextColor3 = TEXTCOLOR
  936. label.TextStrokeTransparency = STROKETRANSPARENCY
  937. label.TextTransparency = TRANSPARENCY
  938. label.FontSize = TEXTFONTSIZE
  939. label.Font = TEXTFONT
  940. label.BorderSizePixel = BORDERSIZEPIXEL
  941. label.TextScaled = false
  942. label.Text = TEXT
  943. label.Name = NAME
  944. label.Parent = PARENT
  945. return label
  946. end
  947.  
  948. function NoOutlines(PART)
  949. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  950. end
  951.  
  952. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  953. local NEWWELD = IT(TYPE)
  954. NEWWELD.Part0 = PART0
  955. NEWWELD.Part1 = PART1
  956. NEWWELD.C0 = C0
  957. NEWWELD.C1 = C1
  958. NEWWELD.Parent = PARENT
  959. return NEWWELD
  960. end
  961.  
  962. local S = IT("Sound")
  963. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  964. local NEWSOUND = nil
  965. coroutine.resume(coroutine.create(function()
  966. NEWSOUND = S:Clone()
  967. NEWSOUND.Parent = PARENT
  968. NEWSOUND.Volume = VOLUME
  969. NEWSOUND.Pitch = PITCH
  970. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  971. NEWSOUND:play()
  972. if DOESLOOP == true then
  973. NEWSOUND.Looped = true
  974. else
  975. repeat wait(1) until NEWSOUND.Playing == false
  976. NEWSOUND:remove()
  977. end
  978. end))
  979. return NEWSOUND
  980. end
  981.  
  982. function CFrameFromTopBack(at, top, back)
  983. local right = top:Cross(back)
  984. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  985. end
  986.  
  987. --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})
  988. function WACKYEFFECT(Table)
  989. local TYPE = (Table.EffectType or "Sphere")
  990. local SIZE = (Table.Size or VT(1,1,1))
  991. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  992. local TRANSPARENCY = (Table.Transparency or 0)
  993. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  994. local CFRAME = (Table.CFrame or Torso.CFrame)
  995. local MOVEDIRECTION = (Table.MoveToPos or nil)
  996. local ROTATION1 = (Table.RotationX or 0)
  997. local ROTATION2 = (Table.RotationY or 0)
  998. local ROTATION3 = (Table.RotationZ or 0)
  999. local MATERIAL = (Table.Material or "Neon")
  1000. local COLOR = (Table.Color or C3(1,1,1))
  1001. local TIME = (Table.Time or 45)
  1002. local SOUNDID = (Table.SoundID or nil)
  1003. local SOUNDPITCH = (Table.SoundPitch or nil)
  1004. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1005. coroutine.resume(coroutine.create(function()
  1006. local PLAYSSOUND = false
  1007. local SOUND = nil
  1008. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1009. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1010. PLAYSSOUND = true
  1011. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1012. end
  1013. EFFECT.Color = COLOR
  1014. local MSH = nil
  1015. if TYPE == "Sphere" then
  1016. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1017. elseif TYPE == "Block" or TYPE == "Box" then
  1018. MSH = IT("BlockMesh",EFFECT)
  1019. MSH.Scale = SIZE
  1020. elseif TYPE == "Wave" then
  1021. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1022. elseif TYPE == "Ring" then
  1023. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1024. elseif TYPE == "Slash" then
  1025. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1026. elseif TYPE == "Round Slash" then
  1027. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1028. elseif TYPE == "Swirl" then
  1029. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1030. elseif TYPE == "Skull" then
  1031. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1032. elseif TYPE == "Crystal" then
  1033. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1034. end
  1035. if MSH ~= nil then
  1036. local MOVESPEED = nil
  1037. if MOVEDIRECTION ~= nil then
  1038. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1039. end
  1040. local GROWTH = SIZE - ENDSIZE
  1041. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1042. if TYPE == "Block" then
  1043. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1044. else
  1045. EFFECT.CFrame = CFRAME
  1046. end
  1047. for LOOP = 1, TIME+1 do
  1048. Swait()
  1049. MSH.Scale = MSH.Scale - GROWTH/TIME
  1050. if TYPE == "Wave" then
  1051. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1052. end
  1053. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1054. if TYPE == "Block" then
  1055. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1056. else
  1057. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1058. end
  1059. if MOVEDIRECTION ~= nil then
  1060. local ORI = EFFECT.Orientation
  1061. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1062. EFFECT.Orientation = ORI
  1063. end
  1064. end
  1065. if PLAYSSOUND == false then
  1066. EFFECT:remove()
  1067. else
  1068. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1069. EFFECT:remove()
  1070. end
  1071. else
  1072. if PLAYSSOUND == false then
  1073. EFFECT:remove()
  1074. else
  1075. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1076. EFFECT:remove()
  1077. end
  1078. end
  1079. end))
  1080. end
  1081.  
  1082. Debris = game:GetService("Debris")
  1083.  
  1084. function CharacterFade(COLOR,TIMER)
  1085. coroutine.resume(coroutine.create(function()
  1086. local FADE = IT("Model",Effects)
  1087. FADE.Name = "FadingEffect"
  1088. for _, c in pairs(Character:GetChildren()) do
  1089. if c.ClassName == "Part" and c ~= RootPart then
  1090. local FADER = c:Clone()
  1091. FADER.Color = COLOR
  1092. FADER.CFrame = c.CFrame
  1093. FADER.Parent = FADE
  1094. FADER.Anchored = true
  1095. FADER.Transparency = 0.25+c.Transparency
  1096. FADER:BreakJoints()
  1097. FADER.Material = "Neon"
  1098. if FADER.Name == "Head" then
  1099. FADER:ClearAllChildren()
  1100. FADER.Size = VT(1,1,1)
  1101. end
  1102. FADER.CanCollide = false
  1103. end
  1104. end
  1105. local TRANS = 0.75/TIMER
  1106. for i = 1, TIMER do
  1107. Swait()
  1108. for _, c in pairs(FADE:GetChildren()) do
  1109. if c.ClassName == "Part" then
  1110. c.Transparency = c.Transparency + TRANS
  1111. end
  1112. end
  1113. end
  1114. FADE:remove()
  1115. end))
  1116. end
  1117.  
  1118. function Chunks(PART)
  1119. for i = 1, MRANDOM(3,5) do
  1120. coroutine.resume(coroutine.create(function()
  1121. local CHUNK = CreatePart(3, workspace, PART.Material, 0, PART.Transparency, PART.BrickColor, "Chunk", VT(0.3,0.3,0.3)*MRANDOM(7,13)/10, false)
  1122. CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1123. local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6)
  1124. CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65)
  1125. wait(0.1)
  1126. CHUNK.CanCollide = true
  1127. wait(MRANDOM(15,25)/5)
  1128. for i = 1, 25 do
  1129. Swait()
  1130. CHUNK.Transparency = CHUNK.Transparency + 1/25
  1131. end
  1132. CHUNK:remove()
  1133. end))
  1134. end
  1135. end
  1136.  
  1137. New = function(Object, Parent, Name, Data)
  1138. local Object = Instance.new(Object)
  1139. for Index, Value in pairs(Data or {}) do
  1140. Object[Index] = Value
  1141. end
  1142. Object.Parent = Parent
  1143. Object.Name = Name
  1144. return Object
  1145. end
  1146.  
  1147. NewInstance = function(instance,parent,properties)
  1148. local inst = Instance.new(instance,parent)
  1149. if(properties)then
  1150. for i,v in next, properties do
  1151. pcall(function() inst[i] = v end)
  1152. end
  1153. end
  1154. return inst;
  1155. end
  1156.  
  1157. local function ToMesh(Part)
  1158. local Mesh=Instance.new("SpecialMesh",Part)
  1159. if Part.Shape==Enum.PartType.Block then Mesh.MeshType="Brick"elseif Part.Shape==Enum.PartType.Ball then Mesh.MeshType="Sphere"elseif Part.Shape==Enum.PartType.Cylinder then Mesh.MeshType="Cylinder"end
  1160. Mesh.Scale=Part.Size*20 Part.Size=Vector3.new()
  1161. return Mesh
  1162. end
  1163. local function GHK(char)
  1164. local Players=game:service("Players")
  1165. local soidk=Players:FindFirstChild(tostring(char))
  1166. if soidk~=nil then if soidk.Character and soidk~=Player and tostring(soidk)~="CKBackup"then-- print("hit : "..tostring(soidk))
  1167. soidk.Character.Parent=workspace soidk.Character:BreakJoints()--soidk.Character:Destroy()
  1168. if soidk.Character:FindFirstChild("HumanoidRootPart")then
  1169. local p=Instance.new("Part")p.Size=Vector3.new(8,8,8)p.Material="Neon"p.Color=Color3.new(1)local m=ToMesh(p)p.Anchored=true p.CanCollide=false p.CFrame=soidk.Character.HumanoidRootPart.CFrame p.Parent=workspace m.MeshType="Sphere"
  1170. p.CFrame=p.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),0)spawn(function()for i=0,1,.05 do if p.Parent then m.Scale=m.Scale+Vector3.new(25,25,25)p.Transparency=i swait()end end p:Destroy()end)
  1171. for i=1,3 do local p=Instance.new("Part")p.Size=Vector3.new(8,8,8)p.Material="Neon"p.Color=Color3.new(1)local m=ToMesh(p)p.Anchored=true p.CanCollide=false p.CFrame=soidk.Character.HumanoidRootPart.CFrame p.Parent=workspace m.MeshType="Sphere"
  1172. p.CFrame=p.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),0)spawn(function()for i=0,1,.01 do if p.Parent then m.Scale=m.Scale+Vector3.new(25,-1,-1)p.Transparency=i swait()end end p:Destroy()end)
  1173. end
  1174. end spawn(function()swait(20)soidk.Character:Destroy()end)
  1175. end
  1176. end return soidk end
  1177.  
  1178. function dmg(dude,bloods,isfal)--(Position, Direction, Range, Ignore)
  1179. if dude.Name ~= Character then
  1180. dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1181. if dude:FindFirstChild("Head")then local bgf = Instance.new("BodyGyro",dude.Head)
  1182. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)end
  1183. local val = Instance.new("BoolValue",dude)
  1184. val.Name = "IsHit"local spd=20 local spr=math.random(20,30)if not isfal then GHK(dude)end
  1185. if dude:FindFirstChild("Head")then
  1186. if bloods~=nil then spr=bloods end
  1187. for i = 1, spr do
  1188. --[[local blo = Instance.new("Part",workspace) --classic
  1189. blo.Size = Vector3.new(.6,.2,.6)
  1190. blo.Material = "SmoothPlastic"
  1191. blo.BrickColor = BrickColor.new("Crimson")
  1192. --blo.Position = dude.Head.Position
  1193. blo.CFrame = dude.Head.CFrame
  1194. game:GetService("Debris"):AddItem(blo,30)]]
  1195. local bs=Instance.new("Part")bs.CFrame=dude.Head.CFrame bs.Size=Vector3.new()bs.CanCollide=false bs.Shape="Ball"bs.BrickColor=BrickColor.new("Crimson")
  1196. local m=Instance.new("SpecialMesh",bs)m.MeshType="Sphere"m.Scale=Vector3.new(.5,.5,.5)*20
  1197. bs.Velocity=Vector3.new(math.random(-spd,spd),math.random(30,50),math.random(-spd,spd))bs.Parent=workspace
  1198. spawn(function()swait(3)local hit=nil bs.Name="Blood"
  1199. for i=1,100 do
  1200. if hit==nil then
  1201. swait()local h,p =workspace:FindPartOnRayWithIgnoreList(Ray.new(bs.CFrame.p,(bs.CFrame.p-bs.CFrame*CFrame.new(0,0,1).p).unit*2),{Character,dude,bs},false,true) --rayCast(bs.CFrame.p,bs.CFrame.lookVector,3,bs)
  1202. if h~=nil then hit=p end
  1203. end
  1204. end
  1205. if hit==nil then hit=bs.Position end
  1206. bs:Destroy()local bl=Instance.new("Part",workspace)bl.Anchored=true bl.CanCollide=false bl.CFrame=CFrame.new(hit)bl.Color=bs.Color bl.Material="Neon"
  1207. bl.Size=Vector3.new(1,.1,1)local sm=Instance.new("SpecialMesh",bl)sm.MeshType="Sphere"swait(250)for i=0,1,.05 do if bl.Parent then bl.Transparency=i swait()end end bl:Destroy()
  1208. end)
  1209. end
  1210. end
  1211. local ds = coroutine.wrap(function()
  1212. wait(.2)
  1213. if dude:FindFirstChild("Torso")then dude.Torso:BreakJoints()end dude:BreakJoints()
  1214. end)
  1215. ds()
  1216. end
  1217. end
  1218.  
  1219. function mdmg(Part, Magnitude,Spread)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1220. --local buddy
  1221. for _, c in pairs(workspace:children()) do
  1222. local hum = c:FindFirstChildOfClass("Humanoid")
  1223. if hum ~= nil then
  1224. local head = c:findFirstChild("HumanoidRootPart")
  1225. if head ~= nil then
  1226. local targ = head.Position - Part.Position
  1227. local mag = targ.magnitude
  1228. if mag <= Magnitude and c.Name ~= Player.Name then
  1229. if c.Name ~= Character then
  1230. if c.Name ~= "tomonaoboys" then
  1231. local asd = Instance.new("ParticleEmitter",c.HumanoidRootPart)
  1232. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1233. asd.LightEmission = .1
  1234. asd.Size = NumberSequence.new(0.2)
  1235. asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1236. asd.ZOffset = .9
  1237. asd.Acceleration = Vector3.new(0, -5, 0)
  1238. asd.LockedToPart = false
  1239. asd.EmissionDirection = "Back"
  1240. asd.Lifetime = NumberRange.new(1, 2)
  1241. asd.Rate = 1000
  1242. asd.Rotation = NumberRange.new(-10000, 10000)
  1243. asd.RotSpeed = NumberRange.new(-100, 100)
  1244. asd.Speed = NumberRange.new(6)
  1245. asd.VelocitySpread = 1000000
  1246. asd.Enabled=true
  1247. --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1248. if Spread==nil then Spread=1 end
  1249. dmg(c,Spread)
  1250. coroutine.wrap(function()
  1251. wait(.2)
  1252. asd.Enabled = false
  1253. wait(2)
  1254. asd:Remove()
  1255. end)()
  1256. else
  1257. Effects.Sphere.Create(BrickColor.new("Bright red"), c.HumanoidRootPart.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  1258.  
  1259. end
  1260. end
  1261. end
  1262. end
  1263. end
  1264. if c:FindFirstChild("Torso")then
  1265. if (Part.Position-c.Torso.Position).magnitude<=Magnitude then
  1266. GHK(c)
  1267. end
  1268. end
  1269. end
  1270. end
  1271.  
  1272. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  1273. local chaosmode = true
  1274. hum = char.Humanoid
  1275. local storehumanoidWS = 16
  1276. local type = type
  1277. local rng = Instance.new("Part", char)
  1278. rng.Anchored = true
  1279. rng.BrickColor = color
  1280. rng.CanCollide = false
  1281. rng.FormFactor = 3
  1282. rng.Name = "Ring"
  1283. rng.Material = "Neon"
  1284. rng.Size = Vector3.new(1, 1, 1)
  1285. rng.Transparency = 0
  1286. rng.TopSurface = 0
  1287. rng.BottomSurface = 0
  1288. rng.CFrame = pos
  1289. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1290. local rngm = Instance.new("SpecialMesh", rng)
  1291. rngm.MeshType = "Sphere"
  1292. rngm.Scale = vt(x1, y1, z1)
  1293. local scaler2 = 1
  1294. local speeder = FastSpeed
  1295. if type == "Add" then
  1296. scaler2 = 1 * value
  1297. elseif type == "Divide" then
  1298. scaler2 = 1 / value
  1299. end
  1300. coroutine.resume(coroutine.create(function()
  1301. for i = 0, 10 / bonuspeed, 0.1 do
  1302. swait()
  1303. if type == "Add" then
  1304. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1305. elseif type == "Divide" then
  1306. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1307. end
  1308. if chaosmode == true then
  1309. rng.BrickColor = BrickColor.Black()
  1310. end
  1311. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1312. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1313. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1314. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1315. end
  1316. rng:Destroy()
  1317. end))
  1318. end
  1319.  
  1320. function sphere(bonuspeed, type, pos, scale, value, color)
  1321. local chaosmode = true
  1322. local type = type
  1323. local rng = Instance.new("Part", char)
  1324. rng.Anchored = true
  1325. rng.BrickColor = color
  1326. rng.CanCollide = false
  1327. rng.FormFactor = 3
  1328. rng.Name = "Ring"
  1329. rng.Material = "Neon"
  1330. rng.Size = Vector3.new(1, 1, 1)
  1331. rng.Transparency = 0
  1332. rng.TopSurface = 0
  1333. rng.BottomSurface = 0
  1334. rng.CFrame = pos
  1335. local rngm = Instance.new("SpecialMesh", rng)
  1336. rngm.MeshType = "Sphere"
  1337. rngm.Scale = scale
  1338. local scaler2 = 1
  1339. if type == "Add" then
  1340. scaler2 = 1 * value
  1341. elseif type == "Divide" then
  1342. scaler2 = 1 / value
  1343. end
  1344. coroutine.resume(coroutine.create(function()
  1345. for i = 0, 10 / bonuspeed, 0.1 do
  1346. swait()
  1347. if type == "Add" then
  1348. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1349. elseif type == "Divide" then
  1350. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1351. end
  1352. if chaosmode == true then
  1353. rng.BrickColor = BrickColor.Black()
  1354. end
  1355. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1356. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1357. end
  1358. rng:Destroy()
  1359. end))
  1360. end
  1361.  
  1362. local Create = LoadLibrary("RbxUtility").Create
  1363.  
  1364. function RemoveOutlines(part)
  1365. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1366. end
  1367.  
  1368. CFuncs = {
  1369. ["Part"] = {
  1370. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1371. local Part = Create("Part"){
  1372. Parent = Parent,
  1373. Reflectance = Reflectance,
  1374. Transparency = Transparency,
  1375. CanCollide = false,
  1376. Locked = true,
  1377. BrickColor = BrickColor.new(tostring(BColor)),
  1378. Name = Name,
  1379. Size = Size,
  1380. Material = Material,
  1381. }
  1382. RemoveOutlines(Part)
  1383. return Part
  1384. end;
  1385. };
  1386.  
  1387. ["Mesh"] = {
  1388. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1389. local Msh = Create(Mesh){
  1390. Parent = Part,
  1391. Offset = OffSet,
  1392. Scale = Scale,
  1393. }
  1394. if Mesh == "SpecialMesh" then
  1395. Msh.MeshType = MeshType
  1396. Msh.MeshId = MeshId
  1397. end
  1398. return Msh
  1399. end;
  1400. };
  1401.  
  1402. ["Mesh"] = {
  1403. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1404. local Msh = Create(Mesh){
  1405. Parent = Part,
  1406. Offset = OffSet,
  1407. Scale = Scale,
  1408. }
  1409. if Mesh == "SpecialMesh" then
  1410. Msh.MeshType = MeshType
  1411. Msh.MeshId = MeshId
  1412. end
  1413. return Msh
  1414. end;
  1415. };
  1416.  
  1417. ["Weld"] = {
  1418. Create = function(Parent, Part0, Part1, C0, C1)
  1419. local Weld = Create("Weld"){
  1420. Parent = Parent,
  1421. Part0 = Part0,
  1422. Part1 = Part1,
  1423. C0 = C0,
  1424. C1 = C1,
  1425. }
  1426. return Weld
  1427. end;
  1428. };
  1429.  
  1430. ["Sound"] = {
  1431. Create = function(id, par, vol, pit)
  1432. coroutine.resume(coroutine.create(function()
  1433. local S = Create("Sound"){
  1434. Volume = vol,
  1435. Name = "EffectSoundo",
  1436. Pitch = pit or 1,
  1437. SoundId = id,
  1438. Parent = par or workspace,
  1439. }
  1440. wait()
  1441. S:play()
  1442. game:GetService("Debris"):AddItem(S, 10)
  1443. end))
  1444. end;
  1445. };
  1446.  
  1447. ["TimeSound"] = {
  1448. Create = function(id, par, vol, pit, timepos)
  1449. coroutine.resume(coroutine.create(function()
  1450. local S = Create("Sound"){
  1451. Volume = vol,
  1452. Name = "EffectSoundo",
  1453. Pitch = pit or 1,
  1454. SoundId = id,
  1455. TimePosition = timepos,
  1456. Parent = par or workspace,
  1457. }
  1458. wait()
  1459. S:play()
  1460. game:GetService("Debris"):AddItem(S, 10)
  1461. end))
  1462. end;
  1463. };
  1464. ["EchoSound"] = {
  1465. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1466. coroutine.resume(coroutine.create(function()
  1467. local Sas = Create("Sound"){
  1468. Volume = vol,
  1469. Name = "EffectSoundo",
  1470. Pitch = pit or 1,
  1471. SoundId = id,
  1472. TimePosition = timepos,
  1473. Parent = par or workspace,
  1474. }
  1475. local E = Create("EchoSoundEffect"){
  1476. Delay = echodelay,
  1477. Name = "Echo",
  1478. Feedback = fedb,
  1479. DryLevel = dryl,
  1480. Parent = Sas,
  1481. }
  1482. wait()
  1483. Sas:play()
  1484. game:GetService("Debris"):AddItem(Sas, delays)
  1485. end))
  1486. end;
  1487. };
  1488.  
  1489. ["LongSound"] = {
  1490. Create = function(id, par, vol, pit)
  1491. coroutine.resume(coroutine.create(function()
  1492. local S = Create("Sound"){
  1493. Volume = vol,
  1494. Pitch = pit or 1,
  1495. SoundId = id,
  1496. Parent = par or workspace,
  1497. }
  1498. wait()
  1499. S:play()
  1500. game:GetService("Debris"):AddItem(S, 60)
  1501. end))
  1502. end;
  1503. };
  1504.  
  1505. ["ParticleEmitter"] = {
  1506. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1507. local fp = Create("ParticleEmitter"){
  1508. Parent = Parent,
  1509. Color = ColorSequence.new(Color1, Color2),
  1510. LightEmission = LightEmission,
  1511. Size = Size,
  1512. Texture = Texture,
  1513. Transparency = Transparency,
  1514. ZOffset = ZOffset,
  1515. Acceleration = Accel,
  1516. Drag = Drag,
  1517. LockedToPart = LockedToPart,
  1518. VelocityInheritance = VelocityInheritance,
  1519. EmissionDirection = EmissionDirection,
  1520. Enabled = Enabled,
  1521. Lifetime = LifeTime,
  1522. Rate = Rate,
  1523. Rotation = Rotation,
  1524. RotSpeed = RotSpeed,
  1525. Speed = Speed,
  1526. VelocitySpread = VelocitySpread,
  1527. }
  1528. return fp
  1529. end;
  1530. };
  1531.  
  1532. CreateTemplate = {
  1533.  
  1534. };
  1535. }
  1536.  
  1537. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  1538. local type = type
  1539. local rotenable = rotatingop
  1540. local rng = Instance.new("Part", Effects)
  1541. rng.Anchored = true
  1542. rng.BrickColor = color
  1543. rng.CanCollide = false
  1544. rng.FormFactor = 3
  1545. rng.Name = "Ring"
  1546. rng.Material = "Neon"
  1547. rng.Size = Vector3.new(1, 1, 1)
  1548. rng.Transparency = 0
  1549. if typeoftrans == "In" then
  1550. rng.Transparency = 1
  1551. end
  1552. rng.TopSurface = 0
  1553. rng.BottomSurface = 0
  1554. rng.CFrame = pos
  1555. local rngm = Instance.new("SpecialMesh", rng)
  1556. rngm.MeshType = "FileMesh"
  1557. if typeofshape == "Normal" then
  1558. rngm.MeshId = "rbxassetid://662586858"
  1559. elseif typeofshape == "Round" then
  1560. rngm.MeshId = "rbxassetid://662585058"
  1561. end
  1562. rngm.Scale = scale
  1563. local scaler2 = 1/10
  1564. if type == "Add" then
  1565. scaler2 = 1*value/10
  1566. elseif type == "Divide" then
  1567. scaler2 = 1/value/10
  1568. end
  1569. local randomrot = MRANDOM(1,2)
  1570. coroutine.resume(coroutine.create(function()
  1571. for i = 0,10/bonuspeed,0.1 do
  1572. Swait()
  1573. if type == "Add" then
  1574. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  1575. elseif type == "Divide" then
  1576. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  1577. end
  1578. if rotenable == true then
  1579. if randomrot == 1 then
  1580. rng.CFrame = rng.CFrame*CFrame.Angles(0,RAD(rotspeed*bonuspeed/2),0)
  1581. elseif randomrot == 2 then
  1582. rng.CFrame = rng.CFrame*CFrame.Angles(0,RAD(-rotspeed*bonuspeed/2),0)
  1583. end
  1584. end
  1585. if typeoftrans == "Out" then
  1586. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1587. elseif typeoftrans == "In" then
  1588. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  1589. end
  1590. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  1591. end
  1592. rng:Destroy()
  1593. end))
  1594. end
  1595.  
  1596. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  1597. local type = type
  1598. local rng = Instance.new("Part", Effects)
  1599. rng.Anchored = true
  1600. rng.BrickColor = color
  1601. rng.Color = color3
  1602. rng.CanCollide = false
  1603. rng.FormFactor = 3
  1604. rng.Name = "Ring"
  1605. rng.Material = "Neon"
  1606. rng.Size = Vector3.new(1, 1, 1)
  1607. rng.Transparency = 0
  1608. rng.TopSurface = 0
  1609. rng.BottomSurface = 0
  1610. rng.CFrame = pos
  1611. local rngm = Instance.new("SpecialMesh", rng)
  1612. rngm.MeshType = "Brick"
  1613. rngm.Scale = scale
  1614. local scaler2 = 1
  1615. local scaler2b = 1
  1616. local scaler2c = 1
  1617. if type == "Add" then
  1618. scaler2 = 1*value
  1619. scaler2b = 1*value2
  1620. scaler2c = 1*value3
  1621. elseif type == "Divide" then
  1622. scaler2 = 1/value
  1623. scaler2b = 1/value2
  1624. scaler2c = 1/value3
  1625. end
  1626. coroutine.resume(coroutine.create(function()
  1627. for i = 0,10/bonuspeed,0.1 do
  1628. Swait()
  1629. if type == "Add" then
  1630. scaler2 = scaler2 - 0.01*value/bonuspeed
  1631. scaler2b = scaler2b - 0.01*value/bonuspeed
  1632. scaler2c = scaler2c - 0.01*value/bonuspeed
  1633. elseif type == "Divide" then
  1634. scaler2 = scaler2 - 0.01/value*bonuspeed
  1635. scaler2b = scaler2b - 0.01/value*bonuspeed
  1636. scaler2c = scaler2c - 0.01/value*bonuspeed
  1637. end
  1638. rng.CFrame = rng.CFrame*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1639. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1640. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1641. end
  1642. rng:Destroy()
  1643. end))
  1644. end
  1645.  
  1646. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  1647. local type = type
  1648. local rng = Instance.new("Part", Effects)
  1649. rng.Anchored = true
  1650. rng.BrickColor = color
  1651. rng.CanCollide = false
  1652. rng.FormFactor = 3
  1653. rng.Name = "Ring"
  1654. rng.Material = "Neon"
  1655. rng.Size = Vector3.new(1, 1, 1)
  1656. rng.Transparency = 0
  1657. rng.TopSurface = 0
  1658. rng.BottomSurface = 0
  1659. rng.CFrame = pos
  1660. local rngm = Instance.new("SpecialMesh", rng)
  1661. rngm.MeshType = "Sphere"
  1662. rngm.Scale = scale
  1663. local scaler2 = 1
  1664. local scaler2b = 1
  1665. local scaler2c = 1
  1666. if type == "Add" then
  1667. scaler2 = 1*value
  1668. scaler2b = 1*value2
  1669. scaler2c = 1*value3
  1670. elseif type == "Divide" then
  1671. scaler2 = 1/value
  1672. scaler2b = 1/value2
  1673. scaler2c = 1/value3
  1674. end
  1675. coroutine.resume(coroutine.create(function()
  1676. for i = 0,10/bonuspeed,0.1 do
  1677. Swait()
  1678. if type == "Add" then
  1679. scaler2 = scaler2 - 0.01*value/bonuspeed
  1680. scaler2b = scaler2b - 0.01*value/bonuspeed
  1681. scaler2c = scaler2c - 0.01*value/bonuspeed
  1682. elseif type == "Divide" then
  1683. scaler2 = scaler2 - 0.01/value*bonuspeed
  1684. scaler2b = scaler2b - 0.01/value*bonuspeed
  1685. scaler2c = scaler2c - 0.01/value*bonuspeed
  1686. end
  1687. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1688. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1689. end
  1690. rng:Destroy()
  1691. end))
  1692. end
  1693.  
  1694. function ManualDamage(Humanoid,Damage,TorsoPart)
  1695. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1696. defence.Name = ("HitBy"..Player.Name)
  1697. game:GetService("Debris"):AddItem(defence, 0.001)
  1698. Damage = Damage * DAMAGEMULTIPLIER
  1699. if Humanoid.Health ~= 0 then
  1700. local CritChance = MRANDOM(1,100)
  1701. if Damage > Humanoid.Health then
  1702. Damage = math.ceil(Humanoid.Health)
  1703. if Damage == 0 then
  1704. Damage = 0.1
  1705. end
  1706. end
  1707. Humanoid.Health = Humanoid.Health - Damage
  1708. end
  1709. end
  1710.  
  1711. function ManualAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1712. local CHILDREN = workspace:GetDescendants()
  1713. for index, CHILD in pairs(CHILDREN) do
  1714. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1715. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1716. if HUM then
  1717. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1718. if TORSO then
  1719. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1720. if INSTAKILL == true then
  1721. CHILD:BreakJoints()
  1722. else
  1723. local DMG = MRANDOM(MINDMG,MAXDMG)
  1724. ManualDamage(HUM,DMG,TORSO)
  1725. end
  1726. if FLING > 0 then
  1727. for _, c in pairs(CHILD:GetChildren()) do
  1728. if c:IsA("BasePart") then
  1729. local bv = Instance.new("BodyVelocity")
  1730. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1731. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1732. bv.Parent = c
  1733. Debris:AddItem(bv,0.05)
  1734. end
  1735. end
  1736. end
  1737. end
  1738. end
  1739. end
  1740. end
  1741. end
  1742. end
  1743.  
  1744. function dmj(dude)
  1745. local targetted
  1746. if dude.Name ~= Character then
  1747. local bgf = Instance.new("BodyGyro",dude.Head)
  1748. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1749. --[[local val = Instance.new("BoolValue",dude)
  1750. val.Name = "IsHit"]]--
  1751. local ds = coroutine.wrap(function()
  1752. dude:WaitForChild("Head"):BreakJoints()
  1753. for i, v in pairs(dude:GetChildren()) do
  1754. if v:IsA("Part") or v:IsA("MeshPart") then
  1755. v.Name = "DEMINISHED"
  1756. CFuncs["Sound"].Create("rbxassetid://763718160", v, 0.75, 0.6)
  1757. CFuncs["Sound"].Create("rbxassetid://782353443", v, 1, 0.5)
  1758. for i = 0, 1 do
  1759. sphere2(1,"Add",v.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,10,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  1760. end
  1761. end
  1762. end
  1763. wait(0.5)
  1764. targetted = nil
  1765. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.25, 0.215)
  1766. coroutine.resume(coroutine.create(function()
  1767. for i, v in pairs(dude:GetChildren()) do
  1768. if v:IsA("Accessory") then
  1769. v:Destroy()
  1770. end
  1771. if v:IsA("Humanoid") then
  1772. v:Destroy()
  1773. end
  1774. if v:IsA("CharacterMesh") then
  1775. v:Destroy()
  1776. end
  1777. if v:IsA("Model") then
  1778. v:Destroy()
  1779. end
  1780. if v:IsA("Part") or v:IsA("MeshPart") then
  1781. for x, o in pairs(v:GetChildren()) do
  1782. if o:IsA("Decal") then
  1783. o:Destroy()
  1784. end
  1785. end
  1786. coroutine.resume(coroutine.create(function()
  1787. v.Material = "Neon"
  1788. v.CanCollide = false
  1789. v.Anchored = false
  1790. local bld = Instance.new("ParticleEmitter",v)
  1791. bld.LightEmission = 1
  1792. bld.Texture = "rbxassetid://363275192" ---284205403
  1793. bld.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  1794. bld.Rate = 500
  1795. bld.Lifetime = NumberRange.new(1)
  1796. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  1797. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  1798. bld.Speed = NumberRange.new(2,5)
  1799. bld.VelocitySpread = 50000
  1800. bld.Rotation = NumberRange.new(-500,500)
  1801. bld.RotSpeed = NumberRange.new(-500,500)
  1802. local sbs = Instance.new("BodyPosition", v)
  1803. sbs.P = 3000
  1804. sbs.D = 1000
  1805. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1806. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  1807. v.Color = BrickColor.new("Really black").Color
  1808. coroutine.resume(coroutine.create(function()
  1809. for i = 0, 49 do
  1810. swait(1)
  1811. v:BreakJoints()
  1812. v.Transparency = v.Transparency + 0.02
  1813. end
  1814. v:BreakJoints()
  1815. for i = 0, 4 do
  1816. slash(math.random(10,50)/10,3,true,"Round","Add","Out",v.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.0025,0.01),math.random(10,100)/2500,BrickColor.new("White"))
  1817. end
  1818. block(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  1819. CFuncs["Sound"].Create("rbxassetid://782353117", v, 0.25, 0.7)
  1820. CFuncs["Sound"].Create("rbxassetid://1192402877", workspace, 3, 0.25)
  1821. bld.Speed = NumberRange.new(10,25)
  1822. bld.Drag = 5
  1823. bld.Acceleration = vt(0,2,0)
  1824. wait(0.5)
  1825. bld.Enabled = false
  1826. wait(4)
  1827. coroutine.resume(coroutine.create(function()
  1828. for i = 0, 99 do
  1829. swait()
  1830. v:Destroy()
  1831. dude:Destroy()
  1832. end
  1833. end))
  1834. end))
  1835. end))
  1836. end
  1837. end
  1838. end))
  1839. end)
  1840. ds()
  1841. end
  1842. end
  1843.  
  1844.  
  1845. local function FindHumanoid(Part)local humanoid=nil if Part.Parent then if Part.Parent~=Player.Character and Part.Parent:FindFirstChildOfClass("Humanoid")~=nil then humanoid=Part.Parent:FindFirstChildOfClass("Humanoid")else if Part.Parent.Parent then if Part.Parent.Parent:FindFirstChildOfClass("Humanoid")and Part.Parent.Parent~=Player.Character then humanoid=Part.Parent.Parent:FindFirstChildOfClass("Humanoid")end end end end if humanoid==Humanoid then humanoid=nil end return humanoid end
  1846. function CreateBeam(Parent,isReversed)local p=Instance.new("Beam",Parent)local a0=Instance.new("Attachment",Parent)local a1=Instance.new("Attachment",Parent)if isReversed then p.Attachment0=a1 p.Attachment1=a0 else p.Attachment0=a0 p.Attachment1=a1 end return a0,a1,p end
  1847. function CTE(Part)Part.Size=Vector3.new()Part.Transparency=1 Part.CanCollide=false Part.Anchored=true local j=Instance.new("BodyVelocity",Part)j.MaxForce=Vector3.new(1/0,1/0,1/0)j.Velocity=Vector3.new(0,0,0)end
  1848. function RingE(pos,siz,tim,dsiz,seg,wid,z,col,w)local IDK=.7
  1849. local p=Instance.new("Part",workspace)if col==nil then col=ColorSequence.new(Color3.new())end if z==nil then z=0 end
  1850. CTE(p)p.CFrame=pos
  1851. local a0,a1,b=CreateBeam(p)a0.Position=Vector3.new(0,0,-dsiz)a1.Position=-a0.Position b.Texture="rbxassetid://1251856844"b.Color=col
  1852. local b2=Instance.new("Beam",b.Parent)b2.Attachment0=a1 b2.Attachment1=a0 b2.Texture="rbxassetid://1251856844"b2.Color=col
  1853. b.CurveSize0=math.abs(a0.Position.Z)*2 *IDK b.CurveSize1=math.abs(a0.Position.Z)*2 *IDK b2.CurveSize0=-math.abs(a0.Position.Z)*2 *IDK b2.CurveSize1=math.abs(a0.Position.Z)*2 *IDK
  1854. b.Segments=seg b2.Segments=seg b.ZOffset=z b2.ZOffset=z b.Width0=wid b.Width1=wid b2.Width0=wid b2.Width1=wid spawn(function()
  1855. for i=1,tim do if p.Parent then
  1856. a0.Position=a0.Position-Vector3.new(0,0,siz)a1.Position=a1.Position+Vector3.new(0,0,siz)b.CurveSize0=(a1.Position.Z*2)*IDK b.CurveSize1=-(a1.Position.Z*2)*IDK
  1857. b2.CurveSize0=-(a1.Position.Z*2)*IDK b2.CurveSize1=(a1.Position.Z*2)*IDK
  1858. if w~=nil then b.Width0=b.Width0+w b.Width1=b.Width0 b2.Width0=b.Width0 b2.Width1=b.Width0 end b.Transparency=NumberSequence.new(i/tim)b2.Transparency=NumberSequence.new(i/tim)swait()
  1859. end end p:Destroy()
  1860. end)
  1861. end
  1862.  
  1863. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1864. if FLOOR ~= nil then
  1865. for i = 1, AMOUNT do
  1866. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  1867. DEBREE.Material = FLOOR.Material
  1868. DEBREE.Color = FLOOR.Color
  1869. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1870. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  1871. coroutine.resume(coroutine.create(function()
  1872. Swait(15)
  1873. DEBREE.Parent = workspace
  1874. DEBREE.CanCollide = true
  1875. Debris:AddItem(DEBREE,SWAIT)
  1876. end))
  1877. end
  1878. end
  1879. end
  1880.  
  1881. --//=================================\\
  1882. --|| GUIS AND MISC
  1883. --\\=================================//
  1884.  
  1885. local SKILLTEXTCOLOR = C3(1,0,0)
  1886. local SKILLFONT = "Antique"
  1887. local SKILLTEXTSIZE = 7
  1888.  
  1889. local ATTACKS = {"Z - Neckless","C - Brave Speed","G - Slashed","V - Dirtface"}
  1890.  
  1891. local GUIS = {}
  1892. local WEAPONGUI = IT("ScreenGui")
  1893. WEAPONGUI.Name = "[M U R D E R]"
  1894. for i = 1, #ATTACKS do
  1895. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.02*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  1896. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Skill text")
  1897. SKILLTEXT.TextXAlignment = "Right"
  1898. table.insert(GUIS,SKILLTEXT)
  1899. end
  1900.  
  1901. local sick = IT("Sound", Torso)
  1902. sick.SoundId = "rbxassetid://"..SONG1
  1903. sick.TimePosition = 0
  1904. sick.Looped = true
  1905. sick.Pitch = 1
  1906. sick.Volume = 10
  1907. sick:Play()
  1908.  
  1909. local BODY = {}
  1910. for _, c in pairs(Character:GetDescendants()) do
  1911. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1912. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1913. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1914. end
  1915. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1916. elseif c:IsA("JointInstance") then
  1917. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1918. end
  1919. end
  1920. for e = 1, #BODY do
  1921. if BODY[e] ~= nil then
  1922. local STUFF = BODY[e]
  1923. local PART = STUFF[1]
  1924. local PARENT = STUFF[2]
  1925. local MATERIAL = STUFF[3]
  1926. local COLOR = STUFF[4]
  1927. local TRANSPARENCY = STUFF[5]
  1928. if PART.ClassName == "Part" and PART ~= RootPart then
  1929. PART.Material = MATERIAL
  1930. PART.Color = COLOR
  1931. PART.Transparency = TRANSPARENCY
  1932. end
  1933. PART.AncestryChanged:Connect(function()
  1934. PART.Parent = PARENT
  1935. end)
  1936. end
  1937. end
  1938.  
  1939. warn("All your friends are dead.")
  1940. warn("You're the only one left...")
  1941. warn("YOU NEED TO AVENGE THEM =)")
  1942.  
  1943. --//=================================\\
  1944. --|| DAMAGING
  1945. --\\=================================//
  1946.  
  1947. function ApplyDamage(Humanoid,Damage,OneShot)
  1948. Damage = Damage * DAMAGEMULTIPLIER
  1949. local DEAD = false
  1950. if Humanoid.Health < 2000 and OneShot == false then
  1951. if Humanoid.Health - Damage > 0 then
  1952. Humanoid.Health = Humanoid.Health - Damage
  1953. else
  1954. if lplr == Player then
  1955. DamageRemote:FireServer("BreakJoints", Humanoid.Parent)
  1956. end
  1957. DEAD = true
  1958. end
  1959. else
  1960. DEAD = true
  1961. if lplr == Player then
  1962. DamageRemote:FireServer("BreakJoints", Humanoid.Parent)
  1963. end
  1964. end
  1965. if DEAD == true then
  1966. local PARTS = {}
  1967. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1968. if CHILD:IsA("BasePart") then
  1969. table.insert(PARTS,CHILD)
  1970. end
  1971. end
  1972. coroutine.resume(coroutine.create(function()
  1973. wait(2)
  1974. repeat
  1975. Swait()
  1976. local PIECE = nil
  1977. if MRANDOM(1,5) == 1 then
  1978. for E = 1, #PARTS do
  1979. if MRANDOM(1,5) == 1 then
  1980. PIECE = PARTS[E]
  1981. table.remove(PARTS,E)
  1982. break
  1983. end
  1984. end
  1985. end
  1986. if PIECE ~= nil then
  1987. if PIECE.Name == "Head" then
  1988. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1989. else
  1990. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1991. end
  1992. if lplr == Player then
  1993. DamageRemote:FireServer("Remove", PIECE)
  1994. end
  1995. PIECE:Remove()
  1996. end
  1997. until #PARTS == 0
  1998. end))
  1999. end
  2000. end
  2001.  
  2002. --//=================================\\
  2003. --|| WEAPON CREATION
  2004. --\\=================================//
  2005.  
  2006. local Shield = IT("MeshPart", workspace)
  2007. Shield.Name = Player.Name.."'s Shield Anti Bullets"
  2008. Shield.CanCollide = false
  2009. Shield.Transparency = 1
  2010. Shield.Material = "Neon"
  2011. Shield.BrickColor = BrickColor.new("fat")
  2012. Shield.Size = Vector3.new(5.3,6.3,5.3)
  2013. Shield.CFrame = Torso.CFrame
  2014. local Wed = Instance.new("Weld", Shield)
  2015. Wed.Part0 = Shield
  2016. Wed.Part1 = Torso
  2017.  
  2018. local outer = Instance.new("Part")
  2019. outer.Locked = true
  2020. outer.CanCollide = false
  2021. outer.Shape = Enum.PartType.Cylinder
  2022. outer.Size = Vector3.new(0.05, 1, 1)
  2023. outer.Material = Enum.Material.Neon
  2024. outer.Color = Color3.new(0, 0, 0)
  2025. outer.Parent = Character
  2026. spawn(function() Rainbowify(outer) end)
  2027.  
  2028. local outerm = Instance.new("SpecialMesh")
  2029. outerm.MeshType = Enum.MeshType.Cylinder
  2030. outerm.Parent = outer
  2031.  
  2032. local weld1 = Instance.new("Weld")
  2033. weld1.Part0 = outer
  2034. weld1.Part1 = Character["HumanoidRootPart"]
  2035. weld1.Parent = outer
  2036. weld1.C0 = CFrame.new(-2.95, 0, 0) * CFrame.Angles(0, 0, 1.571)
  2037. coroutine.resume(coroutine.create(function()
  2038. while true do
  2039. Swait()
  2040. outerm.Scale = Vector3.new(0, sick.PlaybackLoudness / 25, sick.PlaybackLoudness / 25)
  2041. end
  2042. end))
  2043.  
  2044. RightArm.Material = Enum.Material.ForceField
  2045. spawn(function() Rainbowify(RightArm) end)
  2046.  
  2047. function Weld(part0,part1,c0,c1)
  2048. local weld = IT("Weld")
  2049. weld.Parent = part0
  2050. weld.Part0 = part0
  2051. weld.Part1 = part1
  2052. weld.C0 = c0 or CF()
  2053. weld.C1 = c1 or CF()
  2054. return weld
  2055. end
  2056.  
  2057. function MakeForm(PART,TYPE)
  2058. if TYPE == "Cyl" then
  2059. local MSH = IT("CylinderMesh",PART)
  2060. elseif TYPE == "Ball" then
  2061. local MSH = IT("SpecialMesh",PART)
  2062. MSH.MeshType = "Sphere"
  2063. elseif TYPE == "Wedge" then
  2064. local MSH = IT("SpecialMesh",PART)
  2065. MSH.MeshType = "Wedge"
  2066. end
  2067. end
  2068.  
  2069. if Head:FindFirstChildOfClass("Decal") then
  2070. Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://176217464"
  2071. else
  2072. local newFace = Instance.new("Decal", Head)
  2073. newFace.Parent = Head
  2074. newFace.Face = "Front"
  2075. newFace.Texture = "rbxassetid://176217464"
  2076. end
  2077.  
  2078. New = function(Object, Parent, Name, Data)
  2079. local Object = Instance.new(Object)
  2080. for Index, Value in pairs(Data or {}) do
  2081. Object[Index] = Value
  2082. end
  2083. Object.Parent = Parent
  2084. Object.Name = Name
  2085. return Object
  2086. end
  2087.  
  2088. local all, last = {}, nil
  2089. ArmourParts = {}
  2090. NeonParts = {}
  2091. function scan(p)
  2092. for _, v in pairs(p:GetChildren()) do
  2093. if v:IsA("BasePart") then
  2094. if v.BrickColor == BrickColor.new("Black") then
  2095. table.insert(ArmourParts, v)
  2096. end
  2097. if v.BrickColor == BrickColor.new("Institutional white") then
  2098. table.insert(NeonParts, v)
  2099. end
  2100. if last then
  2101. local w = Instance.new("Weld")
  2102. w.Part0, w.Part1 = last, v
  2103. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  2104. w.Parent = last
  2105. end
  2106. table.insert(all, v)
  2107. last = v
  2108. end
  2109. scan(v)
  2110. end
  2111. end
  2112.  
  2113. for i, v in pairs(ArmourParts) do
  2114. v.BrickColor = BrickColor.new("Black")
  2115. v.Material = Enum.Material.Neon
  2116. end
  2117. for i, v in pairs(NeonParts) do
  2118. v.BrickColor = BrickColor.Black()
  2119. end
  2120.  
  2121. local FaceGradient = IT("Folder", Character)
  2122. FaceGradient.Name = "FaceGradient"
  2123. local Eyes = IT("Folder", Character)
  2124. Eyes.Name = "Eyes"
  2125.  
  2126. for i = 1, 10 do
  2127. local FACE = CreatePart(3, faceShadingFolder, "Neon", 0, 0+(i-1)/10.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  2128. FACE.Color = C3(0,0,0)
  2129. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  2130. CreateWeldOrSnapOrMotor("Weld", FACE, Head, FACE, CF(0,0.28-(i-1)/30,0), CF(0, 0, 0))
  2131. end
  2132.  
  2133. local Eye = CreatePart(3, Eyes, "Neon", 0, 0, "Lily white", "Eye", VT(0.1,1,1)/2,false)
  2134. MakeForm(Eye,"Ball")
  2135. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  2136. spawn(function() Rainbowify(Eye) end)
  2137. local Eye = CreatePart(3, Eyes, "Neon", 0, 0, "Lily white", "Eye", VT(0.1,1,1)/2,false)
  2138. MakeForm(Eye,"Ball")
  2139. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  2140. spawn(function() Rainbowify(Eye) end)
  2141.  
  2142. local Particle = IT("ParticleEmitter",nil)
  2143. Particle.Enabled = false
  2144. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2145. Particle.LightEmission = 0.5
  2146. Particle.Rate = 150
  2147. Particle.ZOffset = 0.2
  2148. Particle.Rotation = NumberRange.new(-180, 180)
  2149. Particle.RotSpeed = NumberRange.new(-180, 180)
  2150. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2151. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  2152.  
  2153. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2154. function ParticleEmitter(Table)
  2155. local PRTCL = Particle:Clone()
  2156. local Speed = Table.Speed or 5
  2157. local Drag = Table.Drag or 0
  2158. local Size1 = Table.Size1 or 1
  2159. local Size2 = Table.Size2 or 5
  2160. local Lifetime1 = Table.Lifetime1 or 1
  2161. local Lifetime2 = Table.Lifetime2 or 1.5
  2162. local Parent = Table.Parent or Torso
  2163. local Emit = Table.Emit or 100
  2164. local Offset = Table.Offset or 360
  2165. local Acel = Table.Acel or VT(0,0,0)
  2166. local Enabled = Table.Enabled or false
  2167. PRTCL.Parent = Parent
  2168. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2169. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2170. PRTCL.Speed = NumberRange.new(Speed)
  2171. PRTCL.VelocitySpread = Offset
  2172. PRTCL.Drag = Drag
  2173. PRTCL.Acceleration = Acel
  2174. if Enabled == false then
  2175. PRTCL:Emit(Emit)
  2176. Debris:AddItem(PRTCL,Lifetime2)
  2177. else
  2178. PRTCL.Enabled = true
  2179. end
  2180. return PRTCL
  2181. end
  2182.  
  2183. -- IdleWeapon(Karma) --
  2184.  
  2185. local Handle = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2186. spawn(function() Rainbowify(Handle) end)
  2187. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2188.  
  2189. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2190. MakeForm(Part,"Wedge")
  2191. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2192. spawn(function() Rainbowify(Part) end)
  2193. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2194. MakeForm(Part,"Wedge")
  2195. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2196. spawn(function() Rainbowify(Part) end)
  2197. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2198. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2199. spawn(function() Rainbowify(Part) end)
  2200. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2201. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2202. spawn(function() Rainbowify(Part) end)
  2203. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2204. MakeForm(Part,"Cyl")
  2205. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2206. spawn(function() Rainbowify(Part) end)
  2207. for i = 1, 8 do
  2208. local Piece = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2209. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2210. spawn(function() Rainbowify(Piece) end)
  2211. end
  2212. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2213. MakeForm(Part,"Cyl")
  2214. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2215. spawn(function() Rainbowify(Part) end)
  2216. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2217. MakeForm(Part,"Ball")
  2218. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2219. spawn(function() Rainbowify(Part) end)
  2220. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2221. MakeForm(Part,"Wedge")
  2222. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2223. spawn(function() Rainbowify(Part) end)
  2224. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2225. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2226. spawn(function() Rainbowify(Part) end)
  2227. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2228. MakeForm(Part,"Cyl")
  2229. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2230. spawn(function() Rainbowify(Part) end)
  2231. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2232. MakeForm(Part,"Cyl")
  2233. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2234. spawn(function() Rainbowify(Part) end)
  2235. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2236. MakeForm(Part,"Cyl")
  2237. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2238. spawn(function() Rainbowify(Part) end)
  2239. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2240. MakeForm(Part,"Wedge")
  2241. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2242. spawn(function() Rainbowify(Part) end)
  2243. local LASTPART = Handle
  2244. for i = 1, 10 do
  2245. if LASTPART == Handle then
  2246. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2247. LASTPART = Part
  2248. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2249. spawn(function() Rainbowify(Part) end)
  2250. else
  2251. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  2252. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2253. LASTPART = Part
  2254. spawn(function() Rainbowify(Part) end)
  2255. end
  2256. end
  2257.  
  2258. local Barrel = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.15,4,0.15),false)
  2259. MakeForm(Barrel,"Cyl")
  2260. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.85) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2261. spawn(function() Rainbowify(Barrel) end)
  2262. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.25,2,0.25),false)
  2263. MakeForm(Part,"Cyl")
  2264. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.2, 0), CF(0, 0, 0))
  2265. spawn(function() Rainbowify(Part) end)
  2266. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2267. MakeForm(Part,"Wedge")
  2268. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2269. spawn(function() Rainbowify(Part) end)
  2270. local Hole = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2271. MakeForm(Hole,"Cyl")
  2272. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2, 0), CF(0, 0, 0))
  2273. spawn(function() Rainbowify(Hole) end)
  2274. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2275. spawn(function() Rainbowify(Part) end)
  2276. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2277. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2278.  
  2279. local Part = CreatePart(3, Weapon, "ForceField", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2280. spawn(function() Rainbowify(Part) end)
  2281. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2282. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2283.  
  2284. coroutine.resume(coroutine.create(function()
  2285. while wait() do
  2286. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(sick.PlaybackLoudness/60 + 0.05))
  2287. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-sick.PlaybackLoudness/60 - 0.05))
  2288. end
  2289. end))
  2290.  
  2291. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  2292. --[[local LASTPART = Head
  2293. for i = 1, 20 do
  2294. local MATH = (1-(i/25))
  2295. if LASTPART == Head then
  2296. local Horn = CreatePart(3, Character, "ForceField", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  2297. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  2298. LASTPART = Horn
  2299. Horn.Color = C3((i*3-3)/.5,0,.5)
  2300. spawn(function() Rainbowify(Horn) end)
  2301. else
  2302. local Horn = CreatePart(3, Character, "ForceField", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  2303. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  2304. LASTPART = Horn
  2305. Horn.Color = C3((i*3-3)/.5,0,.5)
  2306. spawn(function() Rainbowify(Horn) end)
  2307. end
  2308. end
  2309. local LASTPART = Head
  2310. for i = 1, 20 do
  2311. local MATH = (1-(i/25))
  2312. if LASTPART == Head then
  2313. local Horn = CreatePart(3, Character, "ForceField", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  2314. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  2315. LASTPART = Horn
  2316. Horn.Color = C3((i*3-3)/.5,0,.5)
  2317. spawn(function() Rainbowify(Horn) end)
  2318. else
  2319. local Horn = CreatePart(3, Character, "ForceField", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  2320. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  2321. LASTPART = Horn
  2322. Horn.Color = C3((i*3-3)/.5,0,.5)
  2323. spawn(function() Rainbowify(Horn) end)
  2324. end
  2325. end]]--
  2326.  
  2327. for _, b in pairs(Karma:GetChildren()) do
  2328. if b.ClassName == "Part" then
  2329. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2330. end
  2331. end
  2332.  
  2333. for _, b in pairs(Weapon:GetChildren()) do
  2334. if b.ClassName == "Part" then
  2335. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2336. end
  2337. end
  2338.  
  2339. Weapon.Parent = Character
  2340.  
  2341.  
  2342. --//=================================\\
  2343. --|| ATTACK FUNCTIONS AND STUFF
  2344. --\\=================================//
  2345.  
  2346. abss = Instance.new("BillboardGui",Character)
  2347. abss.Size = UDim2.new(10,0,10,0)
  2348. abss.Enabled = false
  2349. imgl = Instance.new("ImageLabel",abss)
  2350. imgl.Position = UDim2.new(0,0,0,0)
  2351. imgl.Size = UDim2.new(1,0,1,0)
  2352. imgl.Image = "rbxassetid://342199418"
  2353. imgl.BackgroundTransparency = 1
  2354. imgl.ImageColor3 = Color3.new(.9,0,0)
  2355. img2 = Instance.new("ImageLabel",abss)
  2356. img2.Position = UDim2.new(0,0,0,0)
  2357. img2.Size = UDim2.new(1,0,1,0)
  2358. img2.Image = "rbxassetid://342199418"
  2359. img2.BackgroundTransparency = 1
  2360. img2.ImageColor3 = Color3.new(.9,0,0)
  2361.  
  2362. function CreatePartC(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, COLOR3, NAME, SIZE, ANCHOR)
  2363. local NEWPART = IT("Part")
  2364. NEWPART.formFactor = FORMFACTOR
  2365. NEWPART.Reflectance = REFLECTANCE
  2366. NEWPART.Transparency = TRANSPARENCY
  2367. NEWPART.CanCollide = false
  2368. NEWPART.Locked = true
  2369. NEWPART.Anchored = true
  2370. if ANCHOR == false then
  2371. NEWPART.Anchored = false
  2372. end
  2373. NEWPART.Color = COLOR3
  2374. NEWPART.Name = NAME
  2375. NEWPART.Size = SIZE
  2376. NEWPART.Position = Torso.Position
  2377. NEWPART.Material = MATERIAL
  2378. NEWPART:BreakJoints()
  2379. NEWPART.Parent = PARENT
  2380. return NEWPART
  2381. end
  2382.  
  2383.  
  2384. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2385. local DIRECTION = CF(StartPos,EndPos).lookVector
  2386. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2387. end
  2388.  
  2389. function SpawnTrail(FROM,TO,BIG)
  2390. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  2391. spawn(function() Rainbowify(TRAIL) end)
  2392. MakeForm(TRAIL,"Cyl")
  2393. local DIST = (FROM - TO).Magnitude
  2394. if BIG == true then
  2395. TRAIL.Size = VT(0.5,DIST,0.5)
  2396. else
  2397. TRAIL.Size = VT(0.25,DIST,0.25)
  2398. end
  2399. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2400. coroutine.resume(coroutine.create(function()
  2401. for i = 1, 5 do
  2402. Swait()
  2403. TRAIL.Transparency = TRAIL.Transparency + 0.01
  2404. end
  2405. wait(4.2)
  2406. TRAIL:remove()
  2407. end))
  2408. end
  2409.  
  2410. function chatfunc(text)
  2411. local chat = coroutine.wrap(function()
  2412. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2413. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2414. end
  2415. local Bill = Instance.new("BillboardGui",Character)
  2416. Bill.Size = UDim2.new(0,100,0,40)
  2417. Bill.StudsOffset = VT(0,3,0)
  2418. Bill.Adornee = Character.Head
  2419. Bill.Name = "TalkingBillBoard"
  2420. local Hehe = Instance.new("TextLabel",Bill)
  2421. Hehe.BackgroundTransparency = 1
  2422. Hehe.BorderSizePixel = 0
  2423. Hehe.Text = ""
  2424. Hehe.Font = "Bodoni"
  2425. Hehe.TextSize = 40
  2426. Hehe.TextStrokeTransparency = 0
  2427. Hehe.Size = UDim2.new(1,0,0.5,0)
  2428. coroutine.resume(coroutine.create(function()
  2429. while Hehe ~= nil do
  2430. Swait()
  2431. Hehe.Font = FONTS[MRANDOM(1, #FONTS)]
  2432. Hehe.Position = UDim2.new(0, 0, .05, 0)
  2433. Hehe.TextColor3 = BrickColor.Black().Color
  2434. Hehe.TextStrokeColor3 = BrickColor.Black().Color
  2435. end
  2436. end))
  2437. for i = 1,string.len(text),1 do
  2438. Swait()
  2439. Hehe.Text = string.sub(text,1,i)
  2440. end
  2441. Swait(90)
  2442. for i = 0, 1, .025 do
  2443. Swait()
  2444. Hehe.TextStrokeTransparency = i
  2445. Hehe.TextTransparency = i
  2446. end
  2447. Bill:Destroy()
  2448. end)
  2449. chat()
  2450. end
  2451.  
  2452. function printbye(Name)
  2453. local MESSAGES = {"You re a bad boi, ", "Go away, ", "YO GO AWAY PLS, ", "Chill, ", "BEGONE THOOOOT, ", "STAAAAAAAAAAFFFFFFFFFFF, ", "Try it again, ", "Welcome to my special hell, ", "Dont come back please, ", "You are a bad doggy, ","Don't try that ever again, "}
  2454. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2455. end
  2456.  
  2457. Player.Chatted:connect(function(msg)
  2458. if BanishMode == 324 then
  2459. if msg:sub(1, 5):lower()=='play/' then
  2460. sick:Stop()
  2461. SONG1 = msg:sub(6)
  2462. sick:Play()
  2463. sick.Looped = true
  2464. chatfunc("Now playing "..msg:sub(6))
  2465. elseif msg:sub(1, 6):lower()=='pitch/' then
  2466. local Pitch = msg:sub(7)
  2467. sick.Pitch = Pitch
  2468. chatfunc("Now pitch is "..msg:sub(7))
  2469. elseif msg:sub(1, 4):lower()=='vol/' then
  2470. local Volume = msg:sub(5)
  2471. sick.Volume = Volume
  2472. chatfunc("Now volume is "..msg:sub(5))
  2473. elseif msg:sub(1, 5):lower()=='stop/' then
  2474. sick:Stop()
  2475. chatfunc("Music Stopped")
  2476. elseif msg:sub(1, 7):lower()=='parent/' then
  2477. local Parent = msg:sub(7)
  2478. sick.Parent = Parent
  2479. chatfunc("Music Parent Changed to "..msg:sub(7))
  2480. end
  2481. end
  2482. end)
  2483.  
  2484. function Kick(Foe)
  2485. print("lol")
  2486. end
  2487.  
  2488. function Respawn(Foe)
  2489. if Foe then
  2490. coroutine.resume(coroutine.create(function()
  2491. local plr = game:service'Players':GetPlayerFromCharacter(Foe)
  2492. if plr then
  2493. plr:LoadCharacter()
  2494. end
  2495. end))
  2496. end
  2497. end
  2498.  
  2499. function Banish(Foe)
  2500. if Foe then
  2501. coroutine.resume(coroutine.create(function()
  2502. table.insert(TOBANISH,Foe.Name)
  2503. printbye(Foe.Name)
  2504. Foe.Archivable = true
  2505. local CLONE = Foe:Clone()
  2506. Foe:Destroy()
  2507. CLONE.Parent = Effects
  2508. CLONE:BreakJoints()
  2509. local MATERIALS = {"ForceField","Neon"}
  2510. for _, c in pairs(CLONE:GetDescendants()) do
  2511. if c:IsA("BasePart") then
  2512. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2513. CreateSound(340722848, c, 10, 1, false)
  2514. end
  2515. c.Anchored = true
  2516. c.Transparency = c.Transparency + 0.2
  2517. c.Material = MATERIALS[MRANDOM(1,2)]
  2518. c.Color = C3(1,0,0)
  2519. spawn(function() Rainbowify(c) end)
  2520. if c.ClassName == "MeshPart" then
  2521. c.TextureID = ""
  2522. end
  2523. if c:FindFirstChildOfClass("SpecialMesh") then
  2524. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2525. end
  2526. if c:FindFirstChildOfClass("Decal") then
  2527. c:FindFirstChildOfClass("Decal"):remove()
  2528. end
  2529. c.Name = "Banished"
  2530. c.CanCollide = false
  2531. else
  2532. c:remove()
  2533. end
  2534. end
  2535. local A = false
  2536. for i = 1, 35 do
  2537. if A == false then
  2538. A = true
  2539. elseif A == true then
  2540. A = false
  2541. end
  2542. for _, c in pairs(CLONE:GetDescendants()) do
  2543. if c:IsA("BasePart") then
  2544. c.Anchored = true
  2545. c.Material = MATERIALS[MRANDOM(1,2)]
  2546. c.Transparency = c.Transparency + 0.8/35
  2547. if A == false then
  2548. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2549. elseif A == true then
  2550. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2551. end
  2552. end
  2553. end
  2554. Swait()
  2555. end
  2556. CLONE:remove()
  2557. end))
  2558. end
  2559. end
  2560.  
  2561. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2562. local CHILDREN = workspace:GetDescendants()
  2563. for index, CHILD in pairs(CHILDREN) do
  2564. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2565. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2566. if HUM then
  2567. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2568. if TORSO then
  2569. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2570. if ISBANISH == true then
  2571. Banish(CHILD)
  2572. else
  2573. if ISBANISH == "Gravity" then
  2574. HUM.PlatformStand = true
  2575. if TORSO:FindFirstChild("BanishForceV5"..Player.Name) then
  2576. local grav = Instance.new("BodyPosition",TORSO)
  2577. grav.D = 15
  2578. grav.P = 20000
  2579. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2580. grav.position = TORSO.Position
  2581. grav.Name = "BanishForceV5"..Player.Name
  2582. else
  2583. TORSO:FindFirstChild("BanishForceV5"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2584. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2585. end
  2586. else
  2587. HUM.PlatformStand = false
  2588. end
  2589. end
  2590. elseif ISBANISH == "Gravity" then
  2591. if TORSO:FindFirstChild("BanishForceV5"..Player.Name) then
  2592. TORSO:FindFirstChild("BanishForceV5"..Player.Name):remove()
  2593. HUM.PlatformStand = false
  2594. end
  2595. end
  2596. end
  2597. end
  2598. end
  2599. end
  2600. end
  2601.  
  2602. workspace.ChildAdded:connect(function(instance)
  2603. for BANISH = 1, #TOBANISH do
  2604. if TOBANISH[BANISH] ~= nil then
  2605. if instance.Name == TOBANISH[BANISH] then
  2606. coroutine.resume(coroutine.create(function()
  2607. printbye(instance.Name)
  2608. instance:ClearAllChildren()
  2609. Debris:AddItem(instance,0.0005)
  2610. end))
  2611. end
  2612. end
  2613. end
  2614. end)
  2615.  
  2616. function BanishBullet()
  2617. if Weapon.Parent == Character then
  2618. ATTACK = true
  2619. Rooted = false
  2620. for i=0, 0.01, 0.1 / Animation_Speed do
  2621. Swait()
  2622. turnto(Mouse.Hit.p)
  2623. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2624. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2625. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2626. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2627. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2628. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2629. end
  2630. repeat
  2631. for i=0, 0.01, 0.1 / Animation_Speed do
  2632. Swait()
  2633. turnto(Mouse.Hit.p)
  2634. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2635. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2636. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2637. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2638. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2639. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2640. end
  2641. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2642. SpawnTrail(Hole.Position,POS)
  2643. CreateSound(904440937, Character, 10, 1, false)
  2644. if HIT ~= nil then
  2645. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2646. Banish(HIT.Parent)
  2647. end
  2648. end
  2649. for i=0, 0.01, 0.1 / Animation_Speed do
  2650. Swait()
  2651. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2652. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2653. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2654. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2655. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2656. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2657. end
  2658. until KEYHOLD == false
  2659. ATTACK = false
  2660. Rooted = false
  2661. end
  2662. end
  2663.  
  2664. function BanBullet()
  2665. if Weapon.Parent == Character then
  2666. ATTACK = true
  2667. Rooted = false
  2668. for i=0, 0.01, 0.1 / Animation_Speed do
  2669. Swait()
  2670. turnto(Mouse.Hit.p)
  2671. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2672. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2673. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2674. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2675. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2676. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2677. end
  2678. repeat
  2679. for i=0, 0.01, 0.1 / Animation_Speed do
  2680. Swait()
  2681. turnto(Mouse.Hit.p)
  2682. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2683. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2684. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2685. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2686. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2687. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2688. end
  2689. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2690. SpawnTrail(Hole.Position,POS)
  2691. CreateSound(904440937, Character, 10, 1, false)
  2692. if HIT ~= nil then
  2693. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2694. table.insert(BannedSkids, HIT.Parent.Name)
  2695.  
  2696. end
  2697. end
  2698. for i=0, 0.01, 0.1 / Animation_Speed do
  2699. Swait()
  2700. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2701. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2702. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2703. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2704. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2705. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2706. end
  2707. until KEYHOLD == false
  2708. ATTACK = false
  2709. Rooted = false
  2710. end
  2711. end
  2712.  
  2713. function RespawnBullet()
  2714. if Weapon.Parent == Character then
  2715. ATTACK = true
  2716. Rooted = false
  2717. for i=0, 0.01, 0.1 / Animation_Speed do
  2718. Swait()
  2719. turnto(Mouse.Hit.p)
  2720. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2721. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2722. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2723. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2724. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2725. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2726. end
  2727. repeat
  2728. for i=0, 0.01, 0.1 / Animation_Speed do
  2729. Swait()
  2730. turnto(Mouse.Hit.p)
  2731. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2732. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2733. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2734. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2735. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2736. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2737. end
  2738. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2739. SpawnTrail(Hole.Position,POS)
  2740. CreateSound(664046210, Character, 10, 1, false)
  2741. if HIT ~= nil then
  2742. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2743. Respawn(HIT.Parent)
  2744. end
  2745. end
  2746. for i=0, 0.01, 0.1 / Animation_Speed do
  2747. Swait()
  2748. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2749. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2750. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2751. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2752. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2753. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2754. end
  2755. until KEYHOLD == false
  2756. ATTACK = false
  2757. Rooted = false
  2758. end
  2759. end
  2760.  
  2761.  
  2762. function Rush()
  2763. local ORIGIN = RootPart.Position
  2764. CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
  2765. CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
  2766. spawn(function() Rainbowify(ORIGIN) end)
  2767. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  2768. SOUNDPART.CFrame = RootPart.CFrame
  2769. Debris:AddItem(SOUNDPART,5)
  2770. CreateSound("1295446488", SOUNDPART, 2, 1)
  2771. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  2772. Swait()
  2773. CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
  2774. CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
  2775. spawn(function() Rainbowify(SOUNDPART) end)
  2776. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  2777. SOUNDPART.CFrame = RootPart.CFrame
  2778. Debris:AddItem(SOUNDPART,5)
  2779. CreateSound("1295446488", SOUNDPART, 2, 1)
  2780. if MRANDOM(1,8) == 1 then
  2781. ATTACK = true
  2782. Rooted = true
  2783. local FRUITSTABLE = {
  2784. {MeshId = "16190555", TextureId = "16190577", Color = BrickColor.Black()},
  2785. {MeshId = "119574562", TextureId = "64374853", Color = BrickColor.Black()},
  2786. {MeshId = "24394186", TextureId = "24394178", Color = BrickColor.Black()}
  2787. }
  2788. local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
  2789. local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
  2790. CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
  2791. FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
  2792. weldBetween(RightArm,FRUITMODEL)
  2793. for i=0, 4, 0.1 / Animation_Speed do
  2794. Swait()
  2795. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2796. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2797. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2798. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2799. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2800. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2801. end
  2802. CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
  2803. FRUITMODEL:remove()
  2804. for i = 1, 15 do
  2805. Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
  2806. end
  2807. for i=0, 0.5, 0.1 / Animation_Speed do
  2808. Swait()
  2809. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2810. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2811. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2812. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2813. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2814. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2815. end
  2816. ATTACK = false
  2817. Rooted = false
  2818. end
  2819. end
  2820.  
  2821. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  2822. local p = Instance.new("Part")
  2823. p.TopSurface = 0
  2824. p.BottomSurface = 0
  2825. p.Parent = parent
  2826. p.Size = Vector3.new(0.1,0.1,0.1)
  2827. p.Transparency = transparency
  2828. p.Reflectance = reflectance
  2829. p.CanCollide = false
  2830. p.Locked = true
  2831. p.BrickColor = brickcolor
  2832. p.Material = material
  2833. return p
  2834. end
  2835.  
  2836. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  2837. if DoesCourontine == false then
  2838. local Direction = CF(Part.Position, ToLocation)
  2839. local Distance = (Part.Position - ToLocation).magnitude
  2840. for i = 1, AmountOfTime do
  2841. Swait()
  2842. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  2843. Direction = Part.CFrame
  2844. end
  2845. Part:remove()
  2846. elseif DoesCourontine == true then
  2847. coroutine.resume(coroutine.create(function()
  2848. local Direction = CF(Part.Position, ToLocation)
  2849. local Distance = (Part.Position - ToLocation).magnitude
  2850. for i = 1, AmountOfTime do
  2851. Swait()
  2852. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  2853. Direction = Part.CFrame
  2854. end
  2855. Part:remove()
  2856. end))
  2857. end
  2858. end
  2859.  
  2860. function chatfunc(text)
  2861. local chat = coroutine.wrap(function()
  2862. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2863. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2864. end
  2865. local Bill = Instance.new("BillboardGui",Character)
  2866. Bill.Size = UDim2.new(0,35,0,18)
  2867. Bill.StudsOffset = Vector3.new(0,4.5,0)
  2868. Bill.Adornee = Character.Head
  2869. Bill.Name = "TalkingBillBoard"
  2870. local Hehe = Instance.new("TextLabel",Bill)
  2871. Hehe.BackgroundTransparency = 1
  2872. Hehe.BorderSizePixel = 0
  2873. Hehe.Text = ""
  2874. Hehe.Font = "Arcade"
  2875. Hehe.TextSize = 45
  2876. Hehe.TextStrokeTransparency = 0
  2877. Hehe.Size = UDim2.new(1,0,0.5,0)
  2878. coroutine.resume(coroutine.create(function()
  2879. while Hehe ~= nil do
  2880. wait()
  2881. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  2882. end
  2883. end))
  2884. spawn(function() RainbowifyText(Hehe) end)
  2885. for i = 1,string.len(text),1 do
  2886. wait()
  2887. Hehe.Text = string.sub(text,1,i)
  2888. end
  2889. wait(3)
  2890. for i = 0, 5, .025 do
  2891. wait()
  2892. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2893. Hehe.TextStrokeTransparency = i
  2894. Hehe.TextTransparency = i
  2895. end
  2896. Bill:Destroy()
  2897. end)
  2898. chat()
  2899. end
  2900.  
  2901. Player.Chatted:Connect(function(aa)
  2902. chatfunc(aa)
  2903. end)
  2904.  
  2905. function warnedpeople(text)
  2906. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2907. coroutine.resume(coroutine.create(function()
  2908. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  2909. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  2910. end
  2911. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  2912. scrg.Name = "Spinny"
  2913. local wobble = Instance.new("Frame",scrg)
  2914. wobble.Name = "Wobble"
  2915. wobble.BackgroundTransparency = 0.5
  2916. wobble.Size = UDim2.new(1.1,0,1.1,0)
  2917. wobble.Position = UDim2.new(-0.08,0,0.943,0)
  2918. local wobble2 = Instance.new("Frame",scrg)
  2919. wobble2.Name = "wobble2"
  2920. wobble2.BackgroundTransparency = 0.5
  2921. wobble2.Size = UDim2.new(1.1,0,0.09,0)
  2922. wobble2.Position = UDim2.new(-0.08,0,0.878,0)
  2923. local Visuals = Instance.new("Frame",scrg)
  2924. Visuals.Name = "Visuals"
  2925. Visuals.BackgroundTransparency = 0.3
  2926. Visuals.Size = UDim2.new(0,100,0,100)
  2927. Visuals.Position = UDim2.new(0.462,0,0.826,0)
  2928. local glow = Instance.new("ImageLabel",scrg)
  2929. glow.Name = "glow"
  2930. glow.BackgroundTransparency = 1
  2931. glow.ImageTransparency = 0
  2932. glow.Image = "rbxassetid://2344870656"
  2933. glow.Size = UDim2.new(0,0,0,0)
  2934. glow.Position = UDim2.new(0.026,0,-0.235,0)
  2935. local Visuals2 = Instance.new("Frame",scrg)
  2936. Visuals2.Name = "Visuals2"
  2937. Visuals2.BackgroundTransparency = 0.3
  2938. Visuals2.Size = UDim2.new(0,50,0,50)
  2939. Visuals2.Position = UDim2.new(0.48,0,0.867,0)
  2940. local TextFrame = Instance.new("TextLabel",scrg)
  2941. TextFrame.Name = "Farmer"
  2942. TextFrame.Font = "Arcade"
  2943. TextFrame.Text = text
  2944. TextFrame.TextScaled = true
  2945. TextFrame.TextSize = 60
  2946. TextFrame.TextColor3 = C3(1,1,1)
  2947. TextFrame.TextStrokeColor3 = C3(0, 0, 0)
  2948. TextFrame.BackgroundTransparency = 1
  2949. TextFrame.Size = UDim2.new(0.8,0,0,42)
  2950. TextFrame.Position = UDim2.new(0.11,0,0.867,0)
  2951. spawn(function() RainbowifyText(TextFrame) end)
  2952. local fvalen = 0.55
  2953. local fval = -0.49
  2954. coroutine.resume(coroutine.create(function()
  2955. while true do
  2956. Swait()
  2957. TextFrame.TextStrokeTransparency = 0
  2958. TextFrame.Rotation = 0 + MRANDOM(-3, 3)
  2959. TextFrame.Position = UDim2.new(0.11, 0 + MRANDOM(-3, 3), 0.867, 0 + MRANDOM(-3, 3))
  2960. TextFrame.Font = Enum.Font.Arcade
  2961. glow.ImageColor3 = C3(0, 0, 0)
  2962. wobble.Rotation = 0 - 2 * COS(SINE / 24)
  2963. wobble2.Rotation = 0 - 2 * COS(SINE / 30)
  2964. wobble2.BackgroundColor3 = C3(0,0,0)
  2965. wobble2.BorderColor3 = C3(0,0,0)
  2966. wobble2.BorderSizePixel = 4
  2967. Visuals.Rotation = Visuals.Rotation + MRANDOM(-5, 5)
  2968. Visuals2.Rotation = Visuals2.Rotation + MRANDOM(-10, 10)
  2969. Visuals.BackgroundColor3 = C3(0,0,0)
  2970. Visuals.BorderColor3 = C3(0,0,0)
  2971. Visuals2.BackgroundColor3 = C3(0,0,0)
  2972. Visuals2.BorderColor3 = C3(0,0,0)
  2973. wobble.BackgroundColor3 = C3(0,0,0)
  2974. wobble.BorderColor3 = C3(0,0,0)
  2975. wobble.BorderSizePixel = 5
  2976. end
  2977. end))
  2978. coroutine.resume(coroutine.create(function()
  2979. for i = 0, 205 do
  2980. Swait()
  2981. end
  2982. scrg:Destroy()
  2983. end))
  2984. end))
  2985. end
  2986. end
  2987.  
  2988. function warnedpeople2(text)
  2989. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2990. coroutine.resume(coroutine.create(function()
  2991. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  2992. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  2993. end
  2994. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  2995. scrg.Name = "Spinny"
  2996. local wobble = Instance.new("Frame",scrg)
  2997. wobble.Name = "Wobble"
  2998. wobble.BackgroundTransparency = 0.5
  2999. wobble.Size = UDim2.new(1.1,0,1.1,0)
  3000. wobble.Position = UDim2.new(-0.08,0,0.943,0)
  3001. local wobble2 = Instance.new("Frame",scrg)
  3002. wobble2.Name = "wobble2"
  3003. wobble2.BackgroundTransparency = 0.5
  3004. wobble2.Size = UDim2.new(1.1,0,0.09,0)
  3005. wobble2.Position = UDim2.new(-0.08,0,0.878,0)
  3006. local Visuals = Instance.new("Frame",scrg)
  3007. Visuals.Name = "Visuals"
  3008. Visuals.BackgroundTransparency = 0.3
  3009. Visuals.Size = UDim2.new(0,100,0,100)
  3010. Visuals.Position = UDim2.new(0.462,0,0.826,0)
  3011. local glow = Instance.new("ImageLabel",scrg)
  3012. glow.Name = "glow"
  3013. glow.BackgroundTransparency = 1
  3014. glow.ImageTransparency = 0
  3015. glow.Image = "rbxassetid://2344870656"
  3016. glow.Size = UDim2.new(0,0,0,0)
  3017. glow.Position = UDim2.new(0.026,0,-0.235,0)
  3018. local Visuals2 = Instance.new("Frame",scrg)
  3019. Visuals2.Name = "Visuals2"
  3020. Visuals2.BackgroundTransparency = 0.3
  3021. Visuals2.Size = UDim2.new(0,50,0,50)
  3022. Visuals2.Position = UDim2.new(0.48,0,0.867,0)
  3023. local TextFrame = Instance.new("TextLabel",scrg)
  3024. TextFrame.Name = "Farmer"
  3025. TextFrame.Font = "Arcade"
  3026. TextFrame.Text = text
  3027. TextFrame.TextScaled = true
  3028. TextFrame.TextSize = 60
  3029. TextFrame.BackgroundTransparency = 1
  3030. TextFrame.Size = UDim2.new(0.8,0,0,42)
  3031. TextFrame.Position = UDim2.new(0.11,0,0.867,0)
  3032. local fvalen = 0.55
  3033. local fval = -0.49
  3034. coroutine.resume(coroutine.create(function()
  3035. while true do
  3036. Swait()
  3037. TextFrame.TextColor3 = C3(1,0,0)
  3038. TextFrame.TextStrokeColor3 = C3(0, 0, 0)
  3039. TextFrame.TextStrokeTransparency = 0
  3040. TextFrame.Rotation = 0 + MRANDOM(-3, 3)
  3041. TextFrame.Position = UDim2.new(0.11, 0 + MRANDOM(-3, 3), 0.867, 0 + MRANDOM(-3, 3))
  3042. TextFrame.Font = Enum.Font.Fantasy
  3043. glow.ImageColor3 = C3(0, 0, 0)
  3044. wobble.Rotation = 0 - 2 * COS(SINE / 24)
  3045. wobble2.Rotation = 0 - 2 * COS(SINE / 30)
  3046. wobble2.BackgroundColor3 = C3(0,0,0)
  3047. wobble2.BorderColor3 = C3(1,0,0)
  3048. wobble2.BorderSizePixel = 5
  3049. Visuals.Rotation = Visuals.Rotation + MRANDOM(-5, 5)
  3050. Visuals2.Rotation = Visuals2.Rotation + MRANDOM(-10, 10)
  3051. Visuals.BackgroundColor3 = C3(0,0,0)
  3052. Visuals.BorderColor3 = C3(1,0,0)
  3053. Visuals2.BackgroundColor3 = C3(0,0,0)
  3054. Visuals2.BorderColor3 = C3(1,0,0)
  3055. wobble.BackgroundColor3 = C3(0,0,0)
  3056. wobble.BorderColor3 = C3(1,0,0)
  3057. wobble.BorderSizePixel = 5
  3058. end
  3059. end))
  3060. coroutine.resume(coroutine.create(function()
  3061. for i = 0, 205 do
  3062. Swait()
  3063. end
  3064. scrg:Destroy()
  3065. end))
  3066. end))
  3067. end
  3068. end
  3069.  
  3070. function warnedpeopleB(text)
  3071. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3072. coroutine.resume(coroutine.create(function()
  3073. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  3074. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  3075. end
  3076. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  3077. scrg.Name = "Spinny"
  3078. local wobble = Instance.new("Frame",scrg)
  3079. wobble.Name = "Wobble"
  3080. wobble.BackgroundTransparency = 1
  3081. wobble.Size = UDim2.new(1.1,0,1.1,0)
  3082. wobble.Position = UDim2.new(-0.08,0,0.943,0)
  3083. local wobble2 = Instance.new("Frame",scrg)
  3084. wobble2.Name = "wobble2"
  3085. wobble2.BackgroundTransparency = 1
  3086. wobble2.Size = UDim2.new(1.1,0,0.09,0)
  3087. wobble2.Position = UDim2.new(-0.08,0,0.878,0)
  3088. local Visuals = Instance.new("Frame",scrg)
  3089. Visuals.Name = "Visuals"
  3090. Visuals.BackgroundTransparency = 1
  3091. Visuals.Size = UDim2.new(0,100,0,100)
  3092. Visuals.Position = UDim2.new(0.462,0,0.826,0)
  3093. local glow = Instance.new("ImageLabel",scrg)
  3094. glow.Name = "glow"
  3095. glow.BackgroundTransparency = 1
  3096. glow.ImageTransparency = 0
  3097. glow.Image = "rbxassetid://2344870656"
  3098. glow.Size = UDim2.new(0,0,0,0)
  3099. glow.Position = UDim2.new(0.026,0,-0.235,0)
  3100. local Visuals2 = Instance.new("Frame",scrg)
  3101. Visuals2.Name = "Visuals2"
  3102. Visuals2.BackgroundTransparency = 1
  3103. Visuals2.Size = UDim2.new(0,50,0,50)
  3104. Visuals2.Position = UDim2.new(0.48,0,0.867,0)
  3105. local TextFrame = Instance.new("TextLabel",scrg)
  3106. TextFrame.Name = "Farmer"
  3107. TextFrame.Font = "Arcade"
  3108. TextFrame.Text = text
  3109. TextFrame.TextScaled = true
  3110. TextFrame.TextSize = 60
  3111. TextFrame.BackgroundTransparency = 1
  3112. TextFrame.Size = UDim2.new(0.8,0,0,42)
  3113. TextFrame.Position = UDim2.new(0.11,0,0.867,0)
  3114. local fvalen = 0.55
  3115. local fval = -0.49
  3116. coroutine.resume(coroutine.create(function()
  3117. while true do
  3118. Swait()
  3119. TextFrame.TextColor3 = C3(1,1,1)
  3120. TextFrame.TextStrokeColor3 = C3(0, 0, 0)
  3121. TextFrame.TextStrokeTransparency = 0
  3122. TextFrame.Rotation = 0 + MRANDOM(-3, 3)
  3123. TextFrame.Position = UDim2.new(0.11, 0 + MRANDOM(-3, 3), 0.867, 0 + MRANDOM(-3, 3))
  3124. TextFrame.Font = Enum.Font.Arcade
  3125. glow.ImageColor3 = C3(0, 0, 0)
  3126. wobble.Rotation = 0 - 2 * COS(SINE / 24)
  3127. wobble2.Rotation = 0 - 2 * COS(SINE / 30)
  3128. wobble2.BackgroundColor3 = C3(0,0,0)
  3129. wobble2.BorderColor3 = C3(0,0,0)
  3130. wobble2.BorderSizePixel = 0
  3131. Visuals.Rotation = Visuals.Rotation + MRANDOM(-5, 5)
  3132. Visuals2.Rotation = Visuals2.Rotation + MRANDOM(-10, 10)
  3133. Visuals.BackgroundColor3 = C3(0,0,0)
  3134. Visuals.BorderColor3 = C3(0,0,0)
  3135. Visuals2.BackgroundColor3 = C3(0,0,0)
  3136. Visuals2.BorderColor3 = C3(0,0,0)
  3137. wobble.BackgroundColor3 = C3(0,0,0)
  3138. wobble.BorderColor3 = C3(0,0,0)
  3139. wobble.BorderSizePixel = 0
  3140. end
  3141. end))
  3142. coroutine.resume(coroutine.create(function()
  3143. for i = 0, 205 do
  3144. Swait()
  3145. end
  3146. scrg:Destroy()
  3147. end))
  3148. end))
  3149. end
  3150. end
  3151.  
  3152.  
  3153. --//=================================\\
  3154. --|| ASSIGN THINGS TO KEYS
  3155. --\\=================================//
  3156.  
  3157. function KeyDown(Key)
  3158. KEYHOLD = true
  3159. if Key == "f" and ATTACK == false then
  3160. TOBANISH = {}
  3161. BannedSkids = {}
  3162. warnedpeople("I spare you.")
  3163. end
  3164.  
  3165. if Key == "e" and ATTACK == false then
  3166. BanishBullet()
  3167. end
  3168.  
  3169. if Key == "r" and ATTACK == false then
  3170. BanBullet()
  3171. end
  3172.  
  3173. if Key == "t" and ATTACK == false then
  3174. RespawnBullet()
  3175. end
  3176.  
  3177. if Key == "y" and ATTACK == false then
  3178. SONG1 = 846573741
  3179.  
  3180. sick.TimePosition = 0
  3181. Speed = 16
  3182. Weapon.Parent = Character
  3183. BanishMode = 666
  3184. Jump = 50
  3185. tecks2.Text = "Rainbow Infinite"
  3186. end
  3187.  
  3188. if Key == "j" and ATTACK == false then
  3189. SONG1 = 2371543268
  3190. sick.TimePosition = 0
  3191. Speed = 16
  3192. Weapon.Parent = Character
  3193. BanishMode = 1
  3194. Jump = 50
  3195. tecks2.Text = "Rainbow Infinite"
  3196. end
  3197.  
  3198. if Key == "p" and ATTACK == false then
  3199. chatfunc("Lets Hear Some Music :3!")
  3200. SONG1 = 2664096416
  3201. sick.TimePosition = 0
  3202. Speed = 12
  3203. Jump = 40
  3204. Weapon.Parent = nil
  3205. BanishMode = 324
  3206. tecks2.Text = "Rainbow Musical"
  3207. end
  3208.  
  3209. if Key == "u" and ATTACK == false then
  3210. SONG1 = 2969432275
  3211. sick.TimePosition = 0
  3212. Speed = 45
  3213. Weapon.Parent = Character
  3214. BanishMode = 3
  3215. Jump = 50
  3216. tecks2.Text = "Rainbow Infinite"
  3217. end
  3218.  
  3219. if Key == "m" and ATTACK == false and BanishMode == 3 and Player.Name == "robloxGT25" then
  3220.  
  3221. BanishMode = 1444
  3222. Weapon.Parent = nil
  3223. Speed = 0
  3224. Jump = 0
  3225. sick.TimePosition = 0
  3226. tecks2.Text = "????????"
  3227. chatfunc("Si si lo que digas..")
  3228. wait(3)
  3229. chatfunc("De todos modos.")
  3230. wait(2)
  3231. chatfunc("No creas que esto quedara tan facil ;)")
  3232. wait(6)
  3233. BanishMode = 555
  3234. chatfunc("WELCOME TO THE MIND FxxK")
  3235. wait(1.7)
  3236. Speed = 30
  3237. Weapon.Parent = Character
  3238. BanishMode = 900
  3239. Jump = 100
  3240. tecks2.Text = "JustJean"
  3241. end
  3242.  
  3243. if Key == "h" and ATTACK == false then
  3244. SONG1 = 4131795111
  3245. sick.TimePosition = 0
  3246. Speed = 27
  3247. Weapon.Parent = Character
  3248. BanishMode = 2
  3249. Jump = 50
  3250. tecks2.Text = "Rainbow Infinite"
  3251. end
  3252.  
  3253. if Key == "m" and ATTACK == false and BanishMode == 2 and Player.Name == "robloxGT25" then
  3254. ---sick.SoundId = "rbxassetid://3203746378"
  3255. ---sick.PlaybackSpeed = 1.3
  3256. ---sick.TimePosition = 5
  3257. ---sick:Play()
  3258. BanishMode = 1444
  3259. Speed = 0
  3260. Jump = 0
  3261. Weapon.Parent = nil
  3262. wait(1)
  3263. chatfunc("He")
  3264. wait(1)
  3265. chatfunc("Hehe..")
  3266. wait(2)
  3267. chatfunc("Hehehe...")
  3268. wait(3)
  3269. chatfunc("HEHEHEHEHEHE!")
  3270. wait(2)
  3271. chatfunc("REALLY U THINK YOU WIN?")
  3272. wait(2.5)
  3273. chatfunc("WELL...")
  3274. wait(3)
  3275. warnedpeople("YOU GONNA HAVE A VERY BAD TIME")
  3276. tecks2.Text = "Rainbow GT Inferno"
  3277. SONG1 = 3154204326
  3278. sick.TimePosition = 0
  3279. Speed = 27
  3280. Jump = 150
  3281. Weapon.Parent = Character
  3282. BanishMode = 1555
  3283. end
  3284.  
  3285. if Key == "m" and ATTACK == false and BanishMode == 666 then
  3286. SONG1 = 2787753799
  3287. local sound = Instance.new("Sound",Character)
  3288. sound.SoundId = "rbxassetid://3203746378"
  3289. sound.Name = "Cradles"
  3290. sound.TimePosition = 49.716580673498008025
  3291. sound.PlaybackSpeed = 1.3
  3292. sound:Play()
  3293. Speed = 0
  3294. Jump = 0
  3295. BanishMode = 1444
  3296. Weapon.Parent = nil
  3297. sick.TimePosition = 36.9
  3298. wait(0.85)
  3299. chatfunc("I Love Everything...")
  3300. wait(2.8)
  3301. chatfunc("Fire's Spreading All Around My Room..")
  3302. wait(3.5)
  3303. chatfunc("My World's So Bright...")
  3304. wait(1.9)
  3305. chatfunc("It's Hard To Breathe But That's Alright")
  3306. wait(2.6)
  3307. chatfunc("Hush..")
  3308. Weapon.Parent = Character
  3309. BanishMode = 555
  3310. Speed = 45
  3311. Jump = 100
  3312. tecks2.Text = "Rainbow Fire"
  3313. end
  3314.  
  3315. if Key == "1" and ATTACK == false then
  3316. SONG1 = 644312180
  3317. Speed = 0
  3318. Jump = 0
  3319. Weapon.Parent = nil
  3320. BanishMode = nil
  3321. game.Lighting.FogColor = Color3.fromRGB(0,0,0)
  3322. game.Lighting.FogEnd = 0
  3323. game.Lighting.TimeOfDay = 0
  3324. warnedpeople("Its a beautiful day outside..")
  3325. wait(3.5)
  3326. warnedpeople("Birds are singing...")
  3327. wait(1.5)
  3328. warnedpeople("Flowers are blooming...")
  3329. wait(1.5)
  3330. warnedpeople("In this days..")
  3331. wait(1.5)
  3332. warnedpeople("Skids like you...")
  3333. wait(2.7)
  3334. SONG1 = 0
  3335. hasarrivedB("Should be burning in hell.")
  3336. wait(9)
  3337. game.Lighting.FogEnd = 100000
  3338. game.Lighting.TimeOfDay = 14
  3339. SONG1 = 1571343272
  3340. BanishMode = 777
  3341. Weapon.Parent = Character
  3342. Speed = 25
  3343. Jump = 75
  3344. tecks2.Text = "Rainbow Infinite"
  3345. end
  3346.  
  3347. if Key == "q" and ATTACK == false then
  3348. Rush()
  3349. end
  3350. end
  3351. local Mouse = lplr:GetMouse()
  3352. function KeyUp(Key)
  3353. KEYHOLD = false
  3354. end
  3355. Mouse.KeyDown:connect(function(NEWKEY)
  3356. KeyDown(NEWKEY)
  3357. end)
  3358. Mouse.KeyUp:connect(function(NEWKEY)
  3359. KeyUp(NEWKEY)
  3360. end)
  3361.  
  3362. --//=================================\\
  3363. --\\=================================//
  3364.  
  3365. function unanchor()
  3366. for _, c in pairs(Character:GetChildren()) do
  3367. if c:IsA("BasePart") and c ~= RootPart then
  3368. c.Anchored = false
  3369. end
  3370. end
  3371. if UNANCHOR == true then
  3372. RootPart.Anchored = false
  3373. else
  3374. RootPart.Anchored = true
  3375. end
  3376. end
  3377.  
  3378. --//=================================\\
  3379. --|| WRAP THE WHOLE SCRIPT UP
  3380. --\\=================================//
  3381.  
  3382. --//=================================\\
  3383. --|| Compatibility
  3384. --\\=================================//
  3385.  
  3386. local sine = SINE
  3387. local Sine = SINE
  3388. local angles = ANGLES
  3389. local RH = RightHip
  3390. local LH = LeftHip
  3391. local LW = LeftShoulder
  3392. local RW = RightShoulder
  3393. local head = Head
  3394. local RootCF = ROOTC0
  3395. local necko = NECKC0
  3396. local NK = Neck
  3397. local RJ = RootJoint
  3398. local LS = LeftShoulder
  3399. local RS = RightShoulder
  3400. local clerp = Clerp
  3401. local LSC0 = LS.C0
  3402. local RSC0 = RS.C0
  3403. local NKC0 = NK.C0
  3404. local LHC0 = LH.C0
  3405. local RHC0 = RH.C0
  3406. local RJC0 = RJ.C0
  3407. local CFA = CFrame.Angles
  3408. local CFN = CFrame.new
  3409.  
  3410. --//=================================\\
  3411. --\\=================================//
  3412.  
  3413. Humanoid.Changed:connect(function(Jump)
  3414. if Jump == "Jump" and (Disable_Jump == true) then
  3415. Humanoid.Jump = false
  3416. end
  3417. end)
  3418.  
  3419. local ActualVelocity = Vector3.new(0,0,0)
  3420.  
  3421. local clerp = Clerp
  3422.  
  3423. while true do
  3424. Swait()
  3425. if Character:FindFirstChild("Cradles") and BanishMode ~= 555 or BanishMode ~= 666 then
  3426. Character:FindFirstChild("Cradles"):Destroy()
  3427. end
  3428. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3429. v:Stop();
  3430. end
  3431. SINE = SINE + CHANGE
  3432. local TORSOVELOCITY = (ActualVelocity * VT(1, 0, 1)).magnitude
  3433. local TORSOVERTICALVELOCITY = ActualVelocity.y
  3434. if lplr == Player then
  3435. TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3436. TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3437. end
  3438. Player_Size = 1
  3439. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3440. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3441. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3442. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3443. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3444. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3445. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3446. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3447. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3448. 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)
  3449. 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)
  3450. 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)
  3451. end
  3452. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3453. ANIM = "Jump"
  3454. if ATTACK == false then
  3455. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3456. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3457. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3458. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3459. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3460. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3461. end
  3462. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3463. ANIM = "Fall"
  3464. if ATTACK == false then
  3465. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3466. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3467. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3468. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3469. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3470. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3471. end
  3472. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3473. ANIM = "Idle"
  3474. if ATTACK == false and BanishMode == 1 then
  3475. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  3476. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  3477. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(3), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  3478. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3479. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3480. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3481. elseif ATTACK == false and BanishMode == 3 then
  3482. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.15 * COS(SINE / 12), 0 + 0.1 * COS(SINE / 6)) * ANGLES(RAD(3.5 * COS(SINE / 12)), RAD(0), RAD(-35)), 1 / Animation_Speed)
  3483. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(-25 + 4 * COS(SINE / 6)), RAD(35)), 1 / Animation_Speed)
  3484. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, -0.25 + 0.15 * SIN(SINE / 5), 0.2) * ANGLES(RAD(170 - 2.5 * COS(SINE / 5)), RAD(15), RAD(5)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3485. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.15 * COS(SINE / 6), 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5 * SIN(SINE / 12)), RAD(15 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12) - 1.5 * COS(SINE / 6))) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3486. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 6), -0.01) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3487. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 6), -0.01) * ANGLES(RAD(3.5 + 3.5 * COS(SINE / 12)), RAD(-55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3488. elseif ATTACK == false and BanishMode == 2 then
  3489. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  3490. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(21 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3491. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(100 + 2 * COS(SINE / 12)), RAD(0), RAD(15 + 3 * COS(SINE / 12) - 3 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3492. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(-3.5), RAD(-25 + 5 * COS(SINE / 12))) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3493. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3494. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), -.3) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3495. elseif ATTACK == false and BanishMode == 666 then
  3496. RightHip.C0=Clerp(RightHip.C0,cf(1,-1 - 0.1 * math.cos(SINE / 32),0)*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(-10 - 2.5 * math.cos(SINE / 32)),math.rad(-20),math.rad(0)),.1)
  3497. LeftHip.C0=Clerp(LeftHip.C0,cf(-1,-1 - 0.1 * math.cos(SINE / 32),0)*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(SINE / 32))),.1)
  3498. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*cf(0,0,0 + 0.1 * math.cos(SINE / 32))*ANGLES(math.rad(10 - 2 * math.cos(SINE / 32)),math.rad(0),math.rad(20)),.1)
  3499. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(55),math.rad(0),math.rad(0)),.1)
  3500. RightShoulder.C0=Clerp(RightShoulder.C0,cf(0.75,0.5,-0.25)*ANGLES(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(SINE / 28))),.1)
  3501. LeftShoulder.C0=Clerp(LeftShoulder.C0,cf(-0.75,0.5,-0.25)*ANGLES(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(SINE / 28))),.1)
  3502. elseif ATTACK == false and BanishMode == 777 then
  3503. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  3504. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3505. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-100)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3506. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3507. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3508. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3509. elseif ATTACK == false and BanishMode == 555 then
  3510. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.1)
  3511. Neck.C0 = Clerp(Neck.C0, NECKC0* CF(0, 0, 0 + ((1* Player_Size) - 1)) * ANGLES(RAD(15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05)
  3512. RightHip.C0 = Clerp(RightHip.C0, CF(1* Player_Size, -1 - 0.15 * COS(SINE / 20)* Player_Size, -0.1* Player_Size) * ANGLES(RAD(0), RAD(76), RAD(0)) * ANGLES(RAD(-8.5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.1)
  3513. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * COS(SINE / 20)* Player_Size, -0.3* Player_Size) * ANGLES(RAD(0), RAD(-76), RAD(0)) * ANGLES(RAD(-8.5 - 6.5 * SIN(SINE / 12)), RAD(15), RAD(25)), 0.1)
  3514. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.4* Player_Size, 0.4 + 0.08 * SIN(SINE / 12)* Player_Size, 0* Player_Size) * ANGLES(RAD(25 - 6.5 * COS(SINE / 12)), RAD(-.6), RAD(13 + 6.5 * SIN(SINE / 12))), 0.1)
  3515. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.4* Player_Size, 0.4 + 0.08 * SIN(SINE / 12)* Player_Size, 0* Player_Size) * ANGLES(RAD(25 - 6.5 * COS(SINE / 12)), RAD(-.6), RAD(-13 - 6.5 * SIN(SINE / 12))), 0.1)
  3516. elseif ATTACK == false and BanishMode == 1444 then
  3517. RightHip.C0= Clerp(RightHip.C0,CF(1,0.35 - 0.05 * math.cos(SINE / 32),-0.7)*ANGLES(math.rad(-20),math.rad(75),math.rad(0))*ANGLES(math.rad(-3),math.rad(0 - 1 * math.cos(SINE / 56)),math.rad(25 - 2 * math.cos(SINE / 32))),.1)
  3518. LeftHip.C0= Clerp(LeftHip.C0,CF(-1,-1.125 - 0.05 * math.cos(SINE / 32),-0.6)*ANGLES(math.rad(-105),math.rad(-75),math.rad(0))*ANGLES(math.rad(-3),math.rad(0 - 1 * math.cos(SINE / 56)),math.rad(-25 + 2 * math.cos(SINE / 32))),.1)
  3519. RootJoint.C0= Clerp(RootJoint.C0,ROOTC0*CF(0,0,-1.3 + 0.05 * math.cos(SINE / 32))*ANGLES(math.rad(7.5 - 2 * math.cos(SINE / 32)),math.rad(0),math.rad(0)),.1)
  3520. Neck.C0= Clerp(Neck.C0,NECKC0*ANGLES(math.rad(25 - 2 * math.cos(SINE / 37)),math.rad(0 + 1 * math.cos(SINE / 58)),math.rad(0 + 2 * math.cos(SINE / 53))),.1)
  3521. RightShoulder.C0= Clerp(RightShoulder.C0,CF(1.35,0.5 + 0.025 * math.cos(SINE / 45),0)*ANGLES(math.rad(165 + 5 * math.cos(SINE / 74)),math.rad(1 - 3 * math.cos(SINE / 53)),math.rad(-15 + 3 * math.cos(SINE / 45))),.1)
  3522. LeftShoulder.C0= Clerp(LeftShoulder.C0,CF(-1.35,0.5 + 0.025 * math.cos(SINE / 45),0)*ANGLES(math.rad(165 - 3 * math.cos(SINE / 73)),math.rad(2 - 1 * math.cos(SINE / 55)),math.rad(15 - 3 * math.cos(SINE / 45))),.1)
  3523. elseif ATTACK == false and BanishMode == 1555 then
  3524. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3525. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3526. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3527. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3528. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3529. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3530. elseif ATTACK == false and BanishMode == 900 then
  3531. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 15)), RAD(0), RAD(20)), 3 / Animation_Speed)
  3532. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0- 0.1 * COS(SINE / 30), 0 + 0.1 * COS(SINE / 15)) * ANGLES(RAD(0+ 5 * COS(SINE / 30)), RAD(0), RAD(-20)), 1 / Animation_Speed)
  3533. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(3), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  3534. LeftShoulder.C0= Clerp(LeftShoulder.C0,cf(-0.75,0.5,-0.25)*ANGLES(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(SINE / 28))),.1)
  3535. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 15), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-4+2.5 * COS(SINE / 30)), RAD(0), RAD(0+ 5 * COS(SINE / 30))), 1 / Animation_Speed)
  3536. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 15), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-4-2.5 * COS(SINE / 30)), RAD(0), RAD(0- 5 * COS(SINE / 30))), 1 / Animation_Speed)
  3537. elseif ATTACK == false and BanishMode == 324 then
  3538. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  3539. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3540. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3541. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3542. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3543. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3544. end
  3545. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  3546. ANIM = "Walk"
  3547. if ATTACK == false and BanishMode == 1 then
  3548. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3549. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3550. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3551. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3552. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3553. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3554. elseif ATTACK == false and BanishMode == 3 then
  3555. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5 + 2.5 * COS(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(-15)), 1 / Animation_Speed)
  3556. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(-15 + 3 * COS(SINE / (WALKSPEEDVALUE / 2))), RAD(15)), 1 / Animation_Speed)
  3557. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, -0.25, 0.2) * ANGLES(RAD(170), RAD(15), RAD(5)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3558. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.15 * COS(SINE / (WALKSPEEDVALUE / 2)), 0 + 0.1 * COS(SINE / (WALKSPEEDVALUE))) * ANGLES(RAD(-5 * SIN(SINE / 12)), RAD(15 * SIN(SINE / (WALKSPEEDVALUE))), RAD(-25 - 5.5 * SIN(SINE / (WALKSPEEDVALUE)))) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3559. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3560. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3561. elseif ATTACK == false and BanishMode == 2 then
  3562. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(0), RAD(0), RAD(-15 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  3563. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(10 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  3564. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(100 + 2 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3565. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(70 * SIN(SINE / WALKSPEEDVALUE)), RAD(5), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3566. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10)), 2 / Animation_Speed)
  3567. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
  3568. elseif ATTACK == false and BanishMode == 666 then
  3569. RightHip.C0=Clerp(RightHip.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(SINE / 8))*ANGLES(math.rad(0),math.rad(90),math.rad(0))*ANGLES(math.rad(0),math.rad(0 + 5 * math.cos(SINE / 12)),math.rad(5 + 25 * math.cos(SINE / 12))),.1)
  3570. LeftHip.C0=Clerp(LeftHip.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(SINE / 8))*ANGLES(math.rad(0),math.rad(-90),math.rad(0))*ANGLES(math.rad(0),math.rad(0 + 5 * math.cos(SINE / 12)),math.rad(-5 + 25 * math.cos(SINE / 12))),.1)
  3571. RootJoint.C0=Clerp(RootJoint.C0,ROOTC0*cf(0,0,-0.15 - 0.1 * math.cos(SINE / 8))*ANGLES(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(SINE / 12))),.1)
  3572. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(math.rad(30 - 5 * math.cos(SINE / 0.5265)),math.rad(0 - 5 * math.cos(SINE / 0.25)),math.rad(0 - 5 * math.cos(SINE / 0.465))),.1)
  3573. RightShoulder.C0=Clerp(RightShoulder.C0,cf(0.75,0.5,-0.25)*ANGLES(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(SINE / 28))),.1)
  3574. LeftShoulder.C0=Clerp(LeftShoulder.C0,cf(-0.75,0.5,-0.25)*ANGLES(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(SINE / 28))),.1)
  3575. elseif ATTACK == false and BanishMode == 777 then
  3576. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3577. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3578. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3579. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3580. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3581. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3582. elseif ATTACK == false and BanishMode == 555 then
  3583. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3584. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3585. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3586. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3587. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3588. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3589. elseif ATTACK == false and BanishMode == 1555 then
  3590. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  3591. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 - 0.1 * COS(SINE / 3) + ((1) - 1)) * ANGLES(RAD(30 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 0.5 / Animation_Speed)
  3592. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3593. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
  3594. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3595. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3596. elseif ATTACK == false and BanishMode == 900 then
  3597. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3598. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3599. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(3), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  3600. LeftShoulder.C0=Clerp(LeftShoulder.C0,cf(-0.75,0.5,-0.25)*ANGLES(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(SINE / 28))),.1)
  3601. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3602. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3603. elseif ATTACK == false and BanishMode == 324 then
  3604. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3605. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  3606. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3607. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3608. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3609. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3610. end
  3611. end
  3612. unanchor()
  3613. --[[for _, c in pairs(HornFolder:GetChildren()) do
  3614. c.Color = C3(0,0,0)
  3615. end]]--
  3616. for _, c in pairs(faceShadingFolder:GetChildren()) do
  3617. c.Color = C3(0,0,0)
  3618. end
  3619. for i, v in pairs(NeonParts) do
  3620. v.Color = BrickColor.Black().Color
  3621. end
  3622. for i, v in pairs(ArmourParts) do
  3623. v.Color = C3(0,0,0)
  3624. end
  3625. for _, c in pairs(Character:GetChildren()) do
  3626. if c:IsA('CharacterMesh') then
  3627. c:Destroy()
  3628. end
  3629. end
  3630. Humanoid.MaxHealth = math.huge
  3631. Humanoid.Health = math.huge
  3632. if Rooted == false then
  3633. Disable_Jump = false
  3634. Humanoid.WalkSpeed = Speed
  3635. elseif Rooted == true then
  3636. Disable_Jump = true
  3637. Humanoid.WalkSpeed = 0
  3638. end
  3639. sick.SoundId = "rbxassetid://"..SONG1
  3640. sick.Looped = true
  3641. Humanoid.Name = "gJFGHJHFJHGRSFGT7$&%6%#$TgeHGVBFG$#%$TGFEFEAFSD"
  3642. Humanoid.JumpPower = Jump
  3643. Humanoid.UseJumpPower = true
  3644. Head.Parent = Character
  3645. Torso.Parent = Character
  3646. RightArm.Parent = Character
  3647. LeftArm.Parent = Character
  3648. LeftLeg.Parent = Character
  3649. RightLeg.Parent = Character
  3650. Head.Transparency = 0
  3651. Torso.Transparency = 0
  3652. RightArm.Transparency = 0
  3653. LeftArm.Transparency = 0
  3654. LeftLeg.Transparency = 0
  3655. RightLeg.Transparency = 0
  3656. Head.Locked = true
  3657. Torso.Locked = true
  3658. RightArm.Locked = true
  3659. LeftArm.Locked = true
  3660. LeftLeg.Locked = true
  3661. RightLeg.Locked = true
  3662. Shield.Locked = true
  3663. end
  3664.  
  3665. local function CheckForBan(player)
  3666. for i = 1, #BannedSkids do
  3667. if player.Name == BannedSkids[i] then
  3668. player:Kick()
  3669. end
  3670. end
  3671. end
  3672.  
  3673. game.Players.PlayerAdded:connect(function()
  3674. for i,v in pairs(game.Players:GetPlayers())do
  3675. CheckForBan(v)
  3676. end
  3677. end)
  3678.  
  3679.  
  3680. --//=================================\\
  3681. --\\=================================//
  3682.  
  3683.  
  3684.  
  3685. BrickColor.new("Green")
  3686.  
  3687. --//====================================================\\--
  3688. --|| END OF SCRIPT
  3689. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement