Advertisement
vallentganteng

banisher testing

Apr 28th, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 115.20 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  6.  
  7.  
  8. script.Name = "Banisher Gun V3 / 1"
  9. --//====================================================\\--
  10. --|| CREATED BY SHACKLUSTER
  11. --\\====================================================//--
  12.  
  13. wait(0.2)
  14.  
  15. Player = game:GetService("Players").LocalPlayer
  16. PlayerGui = Player.PlayerGui
  17. Cam = workspace.CurrentCamera
  18. Backpack = Player.Backpack
  19. Character = Player.Character
  20. Humanoid = Character.Humanoid
  21. Mouse = Player:GetMouse()
  22. RootPart = Character["HumanoidRootPart"]
  23. Torso = Character["Torso"]
  24. Head = Character["Head"]
  25. RightArm = Character["Right Arm"]
  26. LeftArm = Character["Left Arm"]
  27. RightLeg = Character["Right Leg"]
  28. LeftLeg = Character["Left Leg"]
  29. RootJoint = RootPart["RootJoint"]
  30. Neck = Torso["Neck"]
  31. RightShoulder = Torso["Right Shoulder"]
  32. LeftShoulder = Torso["Left Shoulder"]
  33. RightHip = Torso["Right Hip"]
  34. LeftHip = Torso["Left Hip"]
  35. local sick = Instance.new("Sound",Torso)
  36. sick.SoundId = "rbxassetid://1138145518"
  37. sick.Looped = true
  38. sick.Pitch = 1
  39. sick.Volume = 2
  40. sick.TimePosition = 110
  41. Character.Archivable = true
  42. Humanoid.DisplayDistanceType = "None"
  43.  
  44. local naeeym2 = Instance.new("BillboardGui",Character)
  45. naeeym2.AlwaysOnTop = true
  46. naeeym2.Size = UDim2.new(5,35,2,35)
  47. naeeym2.StudsOffset = Vector3.new(0,3,0)
  48. naeeym2.Adornee = Character.Head
  49. naeeym2.Name = "Name"
  50. local tecks2 = Instance.new("TextLabel",naeeym2)
  51. tecks2.BackgroundTransparency = 1
  52. tecks2.TextScaled = true
  53. tecks2.BorderSizePixel = 0
  54. tecks2.Text = "CREAM"
  55. tecks2.Font = "Code"
  56. tecks2.TextSize = 30
  57. tecks2.TextTransparency = 1
  58. tecks2.TextStrokeTransparency = 1
  59. tecks2.TextColor3 = Color3.new(1/0,0/1,1/0)
  60. tecks2.Size = UDim2.new(1,0,0.5,0)
  61. tecks2.Parent = naeeym2
  62.  
  63. IT = Instance.new
  64. CF = CFrame.new
  65. VT = Vector3.new
  66. RAD = math.rad
  67. C3 = Color3.new
  68. UD2 = UDim2.new
  69. BRICKC = BrickColor.new
  70. ANGLES = CFrame.Angles
  71. EULER = CFrame.fromEulerAnglesXYZ
  72. COS = math.cos
  73. ACOS = math.acos
  74. SIN = math.sin
  75. ASIN = math.asin
  76. ABS = math.abs
  77. MRANDOM = math.random
  78. FLOOR = math.floor
  79.  
  80. --//=================================\\
  81. --|| USEFUL VALUES
  82. --\\=================================//
  83.  
  84. Animation_Speed = 3
  85. local FORCERESET = false
  86. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  87. local Speed = 16
  88. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  89. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  90. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  91. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  92. local DAMAGEMULTIPLIER = 1
  93. local ANIM = "Idle"
  94. local ATTACK = false
  95. local EQUIPPED = false
  96. local HOLD = false
  97. local COMBO = 1
  98. local Rooted = false
  99. local INTRO = false
  100. local Gun = IT("Model")
  101. Gun.Name = "Gun"
  102. local SINE = 0
  103. local KEYHOLD = false
  104. local CHANGE = 2 / Animation_Speed
  105. local WALKINGANIM = false
  106. local VALUE1 = false
  107. local VALUE2 = false
  108. local ROBLOXIDLEANIMATION = IT("Animation")
  109. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  110. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  111. --ROBLOXIDLEANIMATION.Parent = Humanoid
  112. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  113. WEAPONGUI.Name = "BanishV3Gui"
  114. local Weapon = IT("Model")
  115. Weapon.Name = "Adds"
  116. local Effects = IT("Folder", Weapon)
  117. Effects.Name = "Effects"
  118. local ANIMATOR = Humanoid.Animator
  119. local ANIMATE = Character:FindFirstChild("Animate")
  120. local UNANCHOR = true
  121. local TOBANISH = {}
  122. script.Parent = PlayerGui
  123.  
  124. --//=================================\\
  125. --\\=================================//
  126.  
  127.  
  128. --//=================================\\
  129. --|| CUSTOMIZATION
  130. --\\=================================//
  131.  
  132. Class_Name = "Sharpshooter"
  133. Weapon_Name = "Add-ons"
  134.  
  135. Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
  136. Custom_Color_2 = BRICKC("Maroon"); --2nd color for the weapon.
  137.  
  138. Custom_Color_3 = BRICKC("Really red"); --Color for the abilities.
  139. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  140. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  141. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  142. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  143.  
  144. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  145. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  146. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  147. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  148. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  149.  
  150.  
  151. Player_Size = 1 --Size of the player.
  152. Animation_Speed = 3
  153. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  154.  
  155. local Speed = 16
  156. local Effects2 = {}
  157.  
  158. --//=================================\\
  159. --|| END OF CUSTOMIZATION
  160. --\\=================================//
  161.  
  162.  
  163. --//=================================\\
  164. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  165. --\\=================================//
  166.  
  167. ArtificialHB = Instance.new("BindableEvent", script)
  168. ArtificialHB.Name = "ArtificialHB"
  169.  
  170. script:WaitForChild("ArtificialHB")
  171.  
  172. frame = Frame_Speed
  173. tf = 0
  174. allowframeloss = false
  175. tossremainder = false
  176. lastframe = tick()
  177. script.ArtificialHB:Fire()
  178.  
  179. game:GetService("RunService").Heartbeat:connect(function(s, p)
  180. tf = tf + s
  181. if tf >= frame then
  182. if allowframeloss then
  183. script.ArtificialHB:Fire()
  184. lastframe = tick()
  185. else
  186. for i = 1, math.floor(tf / frame) do
  187. script.ArtificialHB:Fire()
  188. end
  189. lastframe = tick()
  190. end
  191. if tossremainder then
  192. tf = 0
  193. else
  194. tf = tf - frame * math.floor(tf / frame)
  195. end
  196. end
  197. end)
  198.  
  199. --//=================================\\
  200. --\\=================================//
  201.  
  202. --//=================================\\
  203. --|| SOME FUNCTIONS
  204. --\\=================================//
  205.  
  206. function Clerp(a, b, t)
  207. local qa = {QuaternionFromCFrame(a)}
  208. local qb = {QuaternionFromCFrame(b)}
  209. local ax, ay, az = a.x, a.y, a.z
  210. local bx, by, bz = b.x, b.y, b.z
  211. local _t = 1 - t
  212. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  213. end
  214.  
  215. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  216. local frame = IT("Frame")
  217. frame.BackgroundTransparency = TRANSPARENCY
  218. frame.BorderSizePixel = BORDERSIZEPIXEL
  219. frame.Position = POSITION
  220. frame.Size = SIZE
  221. frame.BackgroundColor3 = COLOR
  222. frame.BorderColor3 = BORDERCOLOR
  223. frame.Name = NAME
  224. frame.Parent = PARENT
  225. return frame
  226. end
  227.  
  228. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  229. local label = IT("TextLabel")
  230. label.BackgroundTransparency = 1
  231. label.Size = UD2(1, 0, 1, 0)
  232. label.Position = UD2(0, 0, 0, 0)
  233. label.TextColor3 = TEXTCOLOR
  234. label.TextStrokeTransparency = STROKETRANSPARENCY
  235. label.TextTransparency = TRANSPARENCY
  236. label.FontSize = TEXTFONTSIZE
  237. label.Font = TEXTFONT
  238. label.BorderSizePixel = BORDERSIZEPIXEL
  239. label.TextScaled = false
  240. label.Text = TEXT
  241. label.Name = NAME
  242. label.Parent = PARENT
  243. return label
  244. end
  245.  
  246. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  247. if FLOOR ~= nil then
  248. coroutine.resume(coroutine.create(function()
  249. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  250. PART.CFrame = CF(POSITION)
  251. for i = 1, 45 do
  252. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  253. RingPiece.Material = FLOOR.Material
  254. RingPiece.Color = FLOOR.Color
  255. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  256. Debris:AddItem(RingPiece,SWAIT)
  257. end
  258. PART:remove()
  259. end))
  260. end
  261. end
  262.  
  263. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  264. if FLOOR ~= nil then
  265. for i = 1, AMOUNT do
  266. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  267. DEBREE.Material = FLOOR.Material
  268. DEBREE.Color = FLOOR.Color
  269. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  270. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  271. coroutine.resume(coroutine.create(function()
  272. Swait(15)
  273. DEBREE.Parent = workspace
  274. DEBREE.CanCollide = true
  275. Debris:AddItem(DEBREE,SWAIT)
  276. end))
  277. end
  278. end
  279. end
  280.  
  281. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  282. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  283. end
  284.  
  285. function PositiveAngle(NUMBER)
  286. if NUMBER >= 0 then
  287. NUMBER = 0
  288. end
  289. return NUMBER
  290. end
  291.  
  292. function NegativeAngle(NUMBER)
  293. if NUMBER <= 0 then
  294. NUMBER = 0
  295. end
  296. return NUMBER
  297. end
  298.  
  299. function Swait(NUMBER)
  300. if NUMBER == 0 or NUMBER == nil then
  301. ArtificialHB.Event:wait()
  302. else
  303. for i = 1, NUMBER do
  304. ArtificialHB.Event:wait()
  305. end
  306. end
  307. end
  308.  
  309. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  310. local NEWMESH = IT(MESH)
  311. if MESH == "SpecialMesh" then
  312. NEWMESH.MeshType = MESHTYPE
  313. if MESHID ~= "nil" and MESHID ~= "" then
  314. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  315. end
  316. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  317. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  318. end
  319. end
  320. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  321. NEWMESH.Scale = SCALE
  322. NEWMESH.Parent = PARENT
  323. return NEWMESH
  324. end
  325.  
  326. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  327. local NEWPART = IT("Part")
  328. NEWPART.formFactor = FORMFACTOR
  329. NEWPART.Reflectance = REFLECTANCE
  330. NEWPART.Transparency = TRANSPARENCY
  331. NEWPART.CanCollide = false
  332. NEWPART.Locked = true
  333. NEWPART.Anchored = true
  334. if ANCHOR == false then
  335. NEWPART.Anchored = false
  336. end
  337. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  338. NEWPART.Name = NAME
  339. NEWPART.Size = SIZE
  340. NEWPART.Position = Torso.Position
  341. NEWPART.Material = MATERIAL
  342. NEWPART:BreakJoints()
  343. NEWPART.Parent = PARENT
  344. return NEWPART
  345. end
  346.  
  347. local function weldBetween(a, b)
  348. local weldd = Instance.new("ManualWeld")
  349. weldd.Part0 = a
  350. weldd.Part1 = b
  351. weldd.C0 = CFrame.new()
  352. weldd.C1 = b.CFrame:inverse() * a.CFrame
  353. weldd.Parent = a
  354. return weldd
  355. end
  356.  
  357.  
  358. function QuaternionFromCFrame(cf)
  359. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  360. local trace = m00 + m11 + m22
  361. if trace > 0 then
  362. local s = math.sqrt(1 + trace)
  363. local recip = 0.5 / s
  364. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  365. else
  366. local i = 0
  367. if m11 > m00 then
  368. i = 1
  369. end
  370. if m22 > (i == 0 and m00 or m11) then
  371. i = 2
  372. end
  373. if i == 0 then
  374. local s = math.sqrt(m00 - m11 - m22 + 1)
  375. local recip = 0.5 / s
  376. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  377. elseif i == 1 then
  378. local s = math.sqrt(m11 - m22 - m00 + 1)
  379. local recip = 0.5 / s
  380. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  381. elseif i == 2 then
  382. local s = math.sqrt(m22 - m00 - m11 + 1)
  383. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  384. end
  385. end
  386. end
  387.  
  388. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  389. local xs, ys, zs = x + x, y + y, z + z
  390. local wx, wy, wz = w * xs, w * ys, w * zs
  391. local xx = x * xs
  392. local xy = x * ys
  393. local xz = x * zs
  394. local yy = y * ys
  395. local yz = y * zs
  396. local zz = z * zs
  397. 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))
  398. end
  399.  
  400. function QuaternionSlerp(a, b, t)
  401. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  402. local startInterp, finishInterp;
  403. if cosTheta >= 0.0001 then
  404. if (1 - cosTheta) > 0.0001 then
  405. local theta = ACOS(cosTheta)
  406. local invSinTheta = 1 / SIN(theta)
  407. startInterp = SIN((1 - t) * theta) * invSinTheta
  408. finishInterp = SIN(t * theta) * invSinTheta
  409. else
  410. startInterp = 1 - t
  411. finishInterp = t
  412. end
  413. else
  414. if (1 + cosTheta) > 0.0001 then
  415. local theta = ACOS(-cosTheta)
  416. local invSinTheta = 1 / SIN(theta)
  417. startInterp = SIN((t - 1) * theta) * invSinTheta
  418. finishInterp = SIN(t * theta) * invSinTheta
  419. else
  420. startInterp = t - 1
  421. finishInterp = t
  422. end
  423. end
  424. 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
  425. end
  426.  
  427. function Clerp(a, b, t)
  428. local qa = {QuaternionFromCFrame(a)}
  429. local qb = {QuaternionFromCFrame(b)}
  430. local ax, ay, az = a.x, a.y, a.z
  431. local bx, by, bz = b.x, b.y, b.z
  432. local _t = 1 - t
  433. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  434. end
  435.  
  436. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  437. local frame = IT("Frame")
  438. frame.BackgroundTransparency = TRANSPARENCY
  439. frame.BorderSizePixel = BORDERSIZEPIXEL
  440. frame.Position = POSITION
  441. frame.Size = SIZE
  442. frame.BackgroundColor3 = COLOR
  443. frame.BorderColor3 = BORDERCOLOR
  444. frame.Name = NAME
  445. frame.Parent = PARENT
  446. return frame
  447. end
  448.  
  449. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  450. local label = IT("TextLabel")
  451. label.BackgroundTransparency = 1
  452. label.Size = UD2(1, 0, 1, 0)
  453. label.Position = UD2(0, 0, 0, 0)
  454. label.TextColor3 = TEXTCOLOR
  455. label.TextStrokeTransparency = STROKETRANSPARENCY
  456. label.TextTransparency = TRANSPARENCY
  457. label.FontSize = TEXTFONTSIZE
  458. label.Font = TEXTFONT
  459. label.BorderSizePixel = BORDERSIZEPIXEL
  460. label.TextScaled = false
  461. label.Text = TEXT
  462. label.Name = NAME
  463. label.Parent = PARENT
  464. return label
  465. end
  466.  
  467. function NoOutlines(PART)
  468. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  469. end
  470.  
  471. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  472. local NEWWELD = IT(TYPE)
  473. NEWWELD.Part0 = PART0
  474. NEWWELD.Part1 = PART1
  475. NEWWELD.C0 = C0
  476. NEWWELD.C1 = C1
  477. NEWWELD.Parent = PARENT
  478. return NEWWELD
  479. end
  480.  
  481. local S = IT("Sound")
  482. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  483. local NEWSOUND = nil
  484. coroutine.resume(coroutine.create(function()
  485. NEWSOUND = S:Clone()
  486. NEWSOUND.Parent = PARENT
  487. NEWSOUND.Volume = VOLUME
  488. NEWSOUND.Pitch = PITCH
  489. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  490. NEWSOUND:play()
  491. if DOESLOOP == true then
  492. NEWSOUND.Looped = true
  493. else
  494. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  495. NEWSOUND:remove()
  496. end
  497. end))
  498. return NEWSOUND
  499. end
  500.  
  501. function CFrameFromTopBack(at, top, back)
  502. local right = top:Cross(back)
  503. 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)
  504. end
  505.  
  506. --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})
  507. function WACKYEFFECT(Table)
  508. local TYPE = (Table.EffectType or "Sphere")
  509. local SIZE = (Table.Size or VT(1,1,1))
  510. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  511. local TRANSPARENCY = (Table.Transparency or 0)
  512. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  513. local CFRAME = (Table.CFrame or Torso.CFrame)
  514. local MOVEDIRECTION = (Table.MoveToPos or nil)
  515. local ROTATION1 = (Table.RotationX or 0)
  516. local ROTATION2 = (Table.RotationY or 0)
  517. local ROTATION3 = (Table.RotationZ or 0)
  518. local MATERIAL = (Table.Material or "Neon")
  519. local COLOR = (Table.Color or C3(1,1,1))
  520. local TIME = (Table.Time or 45)
  521. local SOUNDID = (Table.SoundID or nil)
  522. local SOUNDPITCH = (Table.SoundPitch or nil)
  523. local SOUNDVOLUME = (Table.SoundVolume or nil)
  524. coroutine.resume(coroutine.create(function()
  525. local PLAYSSOUND = false
  526. local SOUND = nil
  527. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  528. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  529. PLAYSSOUND = true
  530. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  531. end
  532. EFFECT.Color = COLOR
  533. local MSH = nil
  534. if TYPE == "Sphere" then
  535. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  536. elseif TYPE == "Block" then
  537. MSH = IT("BlockMesh",EFFECT)
  538. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  539. elseif TYPE == "Wave" then
  540. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  541. elseif TYPE == "Ring" then
  542. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  543. elseif TYPE == "Slash" then
  544. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  545. elseif TYPE == "Round Slash" then
  546. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  547. elseif TYPE == "Swirl" then
  548. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  549. elseif TYPE == "Skull" then
  550. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  551. elseif TYPE == "Crystal" then
  552. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  553. end
  554. if MSH ~= nil then
  555. local MOVESPEED = nil
  556. if MOVEDIRECTION ~= nil then
  557. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  558. end
  559. local GROWTH = SIZE - ENDSIZE
  560. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  561. if TYPE == "Block" then
  562. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  563. else
  564. EFFECT.CFrame = CFRAME
  565. end
  566. for LOOP = 1, TIME+1 do
  567. Swait()
  568. MSH.Scale = MSH.Scale - GROWTH/TIME
  569. if TYPE == "Wave" then
  570. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  571. end
  572. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  573. if TYPE == "Block" then
  574. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  575. else
  576. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  577. end
  578. if MOVEDIRECTION ~= nil then
  579. local ORI = EFFECT.Orientation
  580. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  581. EFFECT.Orientation = ORI
  582. end
  583. end
  584. if PLAYSSOUND == false then
  585. EFFECT:remove()
  586. else
  587. SOUND.Stopped:Connect(function()
  588. EFFECT:remove()
  589. end)
  590. end
  591. else
  592. if PLAYSSOUND == false then
  593. EFFECT:remove()
  594. else
  595. repeat Swait() until SOUND.Playing == false
  596. EFFECT:remove()
  597. end
  598. end
  599. end))
  600. end
  601.  
  602. local DECAL = IT("Decal")
  603. function MakeRing()
  604. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Really red"), "MagicRing", VT(0, 0, 0), true)
  605. local MSH = IT("BlockMesh", RING)
  606. local TOP = DECAL:Clone()
  607. local BOTTOM = DECAL:Clone()
  608. TOP.Parent = RING
  609. BOTTOM.Parent = RING
  610. TOP.Face = "Top"
  611. BOTTOM.Face = "Bottom"
  612. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  613. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  614. local function REMOVE()
  615. coroutine.resume(coroutine.create(function()
  616. local SIZE = MSH.Scale.X
  617. for i = 1, 35 do
  618. Swait()
  619. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  620. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  621. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  622. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  623. end
  624. RING:remove()
  625. end))
  626. end
  627. return RING, MSH, REMOVE
  628. end
  629.  
  630. function MakeForm(PART,TYPE)
  631. if TYPE == "Cyl" then
  632. local MSH = IT("CylinderMesh",PART)
  633. elseif TYPE == "Ball" then
  634. local MSH = IT("SpecialMesh",PART)
  635. MSH.MeshType = "Sphere"
  636. elseif TYPE == "Wedge" then
  637. local MSH = IT("SpecialMesh",PART)
  638. MSH.MeshType = "Wedge"
  639. end
  640. end
  641.  
  642. function SpawnTrail(FROM,TO,BIG)
  643. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  644. MakeForm(TRAIL,"Cyl")
  645. local DIST = (FROM - TO).Magnitude
  646. if BIG == true then
  647. TRAIL.Size = VT(0.5,DIST,0.5)
  648. else
  649. TRAIL.Size = VT(0.25,DIST,0.25)
  650. end
  651. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  652. coroutine.resume(coroutine.create(function()
  653. for i = 1, 5 do
  654. Swait()
  655. TRAIL.Transparency = TRAIL.Transparency + 0.1
  656. end
  657. TRAIL:remove()
  658. end))
  659. end
  660. --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})
  661. function WACKYEFFECT(Table)
  662. local TYPE = (Table.EffectType or "Sphere")
  663. local SIZE = (Table.Size or VT(1,1,1))
  664. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  665. local TRANSPARENCY = (Table.Transparency or 0)
  666. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  667. local CFRAME = (Table.CFrame or Torso.CFrame)
  668. local MOVEDIRECTION = (Table.MoveToPos or nil)
  669. local ROTATION1 = (Table.RotationX or 0)
  670. local ROTATION2 = (Table.RotationY or 0)
  671. local ROTATION3 = (Table.RotationZ or 0)
  672. local MATERIAL = (Table.Material or "Neon")
  673. local COLOR = (Table.Color or C3(1,1,1))
  674. local TIME = (Table.Time or 45)
  675. local SOUNDID = (Table.SoundID or nil)
  676. local SOUNDPITCH = (Table.SoundPitch or nil)
  677. local SOUNDVOLUME = (Table.SoundVolume or nil)
  678. coroutine.resume(coroutine.create(function()
  679. local PLAYSSOUND = false
  680. local SOUND = nil
  681. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
  682. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  683. PLAYSSOUND = true
  684. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  685. end
  686. EFFECT.Color = COLOR
  687. local MSH = nil
  688. if TYPE == "Sphere" then
  689. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  690. elseif TYPE == "Block" then
  691. MSH = IT("BlockMesh",EFFECT)
  692. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  693. elseif TYPE == "Wave" then
  694. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  695. elseif TYPE == "Ring" then
  696. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  697. elseif TYPE == "Slash" then
  698. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  699. elseif TYPE == "Round Slash" then
  700. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  701. elseif TYPE == "Swirl" then
  702. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  703. elseif TYPE == "Skull" then
  704. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  705. elseif TYPE == "Crystal" then
  706. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  707. end
  708. if MSH ~= nil then
  709. local MOVESPEED = nil
  710. if MOVEDIRECTION ~= nil then
  711. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  712. end
  713. local GROWTH = SIZE - ENDSIZE
  714. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  715. if TYPE == "Block" then
  716. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  717. else
  718. EFFECT.CFrame = CFRAME
  719. end
  720. for LOOP = 1, TIME+1 do
  721. Swait()
  722. MSH.Scale = MSH.Scale - GROWTH/TIME
  723. if TYPE == "Wave" then
  724. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  725. end
  726. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  727. if TYPE == "Block" then
  728. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  729. else
  730. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  731. end
  732. if MOVEDIRECTION ~= nil then
  733. local ORI = EFFECT.Orientation
  734. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  735. EFFECT.Orientation = ORI
  736. end
  737. end
  738. if PLAYSSOUND == false then
  739. EFFECT:remove()
  740. else
  741. SOUND.Stopped:Connect(function()
  742. EFFECT:remove()
  743. end)
  744. end
  745. else
  746. if PLAYSSOUND == false then
  747. EFFECT:remove()
  748. else
  749. repeat Swait() until SOUND.Playing == false
  750. EFFECT:remove()
  751. end
  752. end
  753. end))
  754. end
  755.  
  756. function MakeForm(PART,TYPE)
  757. if TYPE == "Cyl" then
  758. local MSH = IT("CylinderMesh",PART)
  759. elseif TYPE == "Ball" then
  760. local MSH = IT("SpecialMesh",PART)
  761. MSH.MeshType = "Sphere"
  762. elseif TYPE == "Wedge" then
  763. local MSH = IT("SpecialMesh",PART)
  764. MSH.MeshType = "Wedge"
  765. end
  766. end
  767.  
  768. function SpawnTrail(FROM,TO,BIG)
  769. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  770. MakeForm(TRAIL,"Cyl")
  771. local DIST = (FROM - TO).Magnitude
  772. if BIG == true then
  773. TRAIL.Size = VT(0.5,DIST,0.5)
  774. else
  775. TRAIL.Size = VT(0.25,DIST,0.25)
  776. end
  777. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  778. coroutine.resume(coroutine.create(function()
  779. for i = 1, 5 do
  780. Swait()
  781. TRAIL.Transparency = TRAIL.Transparency + 0.1
  782. end
  783. TRAIL:remove()
  784. end))
  785. end
  786.  
  787. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  788. local TORSO = Torso
  789. local HUM = Humanoid
  790. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  791. coroutine.wrap(function()
  792. VT = Vector3.new
  793. MRANDOM = math.random
  794. local A = TIME
  795. local B = INTENSITY
  796. local C = true
  797. local HUMANOID = Humanoid
  798. local TIMER = A or 35
  799. local SHAKE = B or 5
  800. local FADE = C or true
  801. if HUMANOID then
  802. local FADER = SHAKE / TIMER
  803. for i = 1, TIMER do
  804. wait()
  805. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  806. end
  807. HUMANOID.CameraOffset = VT(0, 0, 0)
  808. end
  809.  
  810. end)()
  811. end
  812. end
  813.  
  814. function chatfunc(text)
  815. local chat = coroutine.wrap(function()
  816. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  817. Character:FindFirstChild("TalkingBillBoard"):destroy()
  818. end
  819. local Bill = Instance.new("BillboardGui",Character)
  820. Bill.Size = UDim2.new(0,100,0,40)
  821. Bill.StudsOffset = Vector3.new(0,3,0)
  822. Bill.Adornee = Character.Head
  823. Bill.Name = "TalkingBillBoard"
  824. local Hehe = Instance.new("TextLabel",Bill)
  825. Hehe.BackgroundTransparency = 1
  826. Hehe.BorderSizePixel = 0
  827. Hehe.Text = ""
  828. Hehe.Font = "Bodoni"
  829. Hehe.TextSize = 40
  830. Hehe.TextStrokeTransparency = 0
  831. Hehe.Size = UDim2.new(1,0,0.5,0)
  832. coroutine.resume(coroutine.create(function()
  833. while Hehe ~= nil do
  834. Swait()
  835. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  836. Hehe.Rotation = math.random(-2.5,2.5)
  837. Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
  838. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  839. end
  840. end))
  841. for i = 1,string.len(text),1 do
  842. Swait()
  843. Hehe.Text = string.sub(text,1,i)
  844. end
  845. Swait(90)--Re[math.random(1, 93)]
  846. for i = 0, 1, .025 do
  847. Swait()
  848. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  849. Hehe.TextStrokeTransparency = i
  850. Hehe.TextTransparency = i
  851. end
  852. Bill:Destroy()
  853. end)
  854. chat()
  855. end
  856.  
  857. Debris = game:GetService("Debris")
  858.  
  859. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  860. local DIRECTION = CF(StartPos,EndPos).lookVector
  861. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  862. end
  863.  
  864. function turnto(position)
  865. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  866. end
  867.  
  868. --//=================================\\
  869. --|| RAGDOLL STUFF
  870. --\\=================================//
  871.  
  872. function recurse(root,callback,i)
  873. i= i or 0
  874. for _,v in pairs(root:GetChildren()) do
  875. i = i + 1
  876. callback(i,v)
  877.  
  878. if #v:GetChildren() > 0 then
  879. i = recurse(v,callback,i)
  880. end
  881. end
  882.  
  883. return i
  884. end
  885.  
  886. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  887. attachmentName = attachmentName.."RigAttachment"
  888. local constraint = Instance.new(className.."Constraint")
  889. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  890. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  891. constraint.Name = "RagdollConstraint"..part1.Name
  892.  
  893. for _,propertyData in next,properties or {} do
  894. constraint[propertyData[1]] = propertyData[2]
  895. end
  896.  
  897. constraint.Parent = character
  898. end
  899.  
  900. function getAttachment0(character, attachmentName)
  901. for _,child in next,character:GetChildren() do
  902. local attachment = child:FindFirstChild(attachmentName)
  903. if attachment then
  904. return attachment
  905. end
  906. end
  907. end
  908.  
  909. function ArtificialHitbox(Part)
  910. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  911. HITBOX.CanCollide = true
  912. HITBOX.CFrame = Part.CFrame
  913. weldBetween(Part,HITBOX)
  914. end
  915.  
  916. function R15Ragdoll(character,KeepArms)
  917. character:BreakJoints()
  918. coroutine.resume(coroutine.create(function()
  919. recurse(character, function(_,v)
  920. if v:IsA("Attachment") then
  921. v.Axis = Vector3.new(0, 1, 0)
  922. v.SecondaryAxis = Vector3.new(0, 0, 1)
  923. v.Rotation = Vector3.new(0, 0, 0)
  924. end
  925. end)
  926. for _,child in next,character:GetChildren() do
  927. if child:IsA("Accoutrement") then
  928. for _,part in next,child:GetChildren() do
  929. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  930. local attachment1 = part:FindFirstChildOfClass("Attachment")
  931. local attachment0 = getAttachment0(character,attachment1.Name)
  932. if attachment0 and attachment1 then
  933. local constraint = Instance.new("HingeConstraint")
  934. constraint.Attachment0 = attachment0
  935. constraint.Attachment1 = attachment1
  936. constraint.LimitsEnabled = true
  937. constraint.UpperAngle = 0
  938. constraint.LowerAngle = 0
  939. constraint.Parent = character
  940. end
  941. ArtificialHitbox(part)
  942. elseif part.Name == "HumanoidRootPart" then
  943. part:remove()
  944. end
  945. end
  946. end
  947. end
  948.  
  949. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  950. {"LimitsEnabled",true};
  951. {"UpperAngle",5};
  952. })
  953. if character:FindFirstChild("Head") then
  954. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  955. {"LimitsEnabled",true};
  956. {"UpperAngle",15};
  957. })
  958. end
  959.  
  960. local handProperties = {
  961. {"LimitsEnabled", true};
  962. {"UpperAngle",0};
  963. {"LowerAngle",0};
  964. }
  965. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  966. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  967.  
  968. local shinProperties = {
  969. {"LimitsEnabled", true};
  970. {"UpperAngle", 0};
  971. {"LowerAngle", -75};
  972. }
  973. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  974. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  975.  
  976. local footProperties = {
  977. {"LimitsEnabled", true};
  978. {"UpperAngle", 15};
  979. {"LowerAngle", -45};
  980. }
  981. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  982. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  983. if KeepArms == true then
  984. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  985. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  986. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  987. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  988. end
  989. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  990. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  991. Debris:AddItem(character,5)
  992. end))
  993. end
  994.  
  995. function Ragdoll(Character2,CharTorso,KeepArms)
  996. coroutine.resume(coroutine.create(function()
  997. Character2:BreakJoints()
  998. local hum = Character2:findFirstChild("Humanoid")
  999. hum:remove()
  1000. local function Scan(ch)
  1001. local e
  1002. for e = 1,#ch do
  1003. Scan(ch[e]:GetChildren())
  1004. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1005. ch[e]:remove()
  1006. end
  1007. end
  1008. end
  1009. local NEWHUM = IT("Humanoid")
  1010. NEWHUM.Name = "Corpse"
  1011. NEWHUM.Health = 0
  1012. NEWHUM.MaxHealth = 0
  1013. NEWHUM.PlatformStand = true
  1014. NEWHUM.Parent = Character2
  1015. NEWHUM.DisplayDistanceType = "None"
  1016.  
  1017. local ch = Character2:GetChildren()
  1018. local i
  1019. for i = 1,#ch do
  1020. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1021. ch[i]:remove()
  1022. end
  1023. end
  1024.  
  1025. local Torso2 = Character2.Torso
  1026. local movevector = Vector3.new()
  1027.  
  1028. if Torso2 then
  1029. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  1030. local Head = Character2:FindFirstChild("Head")
  1031. if Head then
  1032. local Neck = Instance.new("Weld")
  1033. Neck.Name = "Neck"
  1034. Neck.Part0 = Torso2
  1035. Neck.Part1 = Head
  1036. Neck.C0 = CFrame.new(0, 1.5, 0)
  1037. Neck.C1 = CFrame.new()
  1038. Neck.Parent = Torso2
  1039.  
  1040. end
  1041. local Limb = Character2:FindFirstChild("Right Arm")
  1042. if Limb and KeepArms == true then
  1043.  
  1044. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1045. local Joint = Instance.new("Glue")
  1046. Joint.Name = "RightShoulder"
  1047. Joint.Part0 = Torso2
  1048. Joint.Part1 = Limb
  1049. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1050. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1051. Joint.Parent = Torso2
  1052.  
  1053. local B = Instance.new("Part")
  1054. B.TopSurface = 0
  1055. B.BottomSurface = 0
  1056. B.formFactor = "Symmetric"
  1057. B.Size = Vector3.new(1, 1, 1)
  1058. B.Transparency = 1
  1059. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1060. B.Parent = Character2
  1061. local W = Instance.new("Weld")
  1062. W.Part0 = Limb
  1063. W.Part1 = B
  1064. W.C0 = CFrame.new(0, -0.5, 0)
  1065. W.Parent = Limb
  1066.  
  1067. end
  1068. local Limb = Character2:FindFirstChild("Left Arm")
  1069. if Limb and KeepArms == true then
  1070.  
  1071. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1072. local Joint = Instance.new("Glue")
  1073. Joint.Name = "LeftShoulder"
  1074. Joint.Part0 = Torso2
  1075. Joint.Part1 = Limb
  1076. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1077. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1078. Joint.Parent = Torso2
  1079.  
  1080. local B = Instance.new("Part")
  1081. B.TopSurface = 0
  1082. B.BottomSurface = 0
  1083. B.formFactor = "Symmetric"
  1084. B.Size = Vector3.new(1, 1, 1)
  1085. B.Transparency = 1
  1086. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1087. B.Parent = Character2
  1088. local W = Instance.new("Weld")
  1089. W.Part0 = Limb
  1090. W.Part1 = B
  1091. W.C0 = CFrame.new(0, -0.5, 0)
  1092. W.Parent = Limb
  1093.  
  1094. end
  1095. local Limb = Character2:FindFirstChild("Right Leg")
  1096. if Limb then
  1097.  
  1098. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1099. local Joint = Instance.new("Glue")
  1100. Joint.Name = "RightHip"
  1101. Joint.Part0 = Torso2
  1102. Joint.Part1 = Limb
  1103. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1104. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1105. Joint.Parent = Torso2
  1106.  
  1107. local B = Instance.new("Part")
  1108. B.TopSurface = 0
  1109. B.BottomSurface = 0
  1110. B.formFactor = "Symmetric"
  1111. B.Size = Vector3.new(1, 1, 1)
  1112. B.Transparency = 1
  1113. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1114. B.Parent = Character2
  1115. local W = Instance.new("Weld")
  1116. W.Part0 = Limb
  1117. W.Part1 = B
  1118. W.C0 = CFrame.new(0, -0.5, 0)
  1119. W.Parent = Limb
  1120.  
  1121. end
  1122. local Limb = Character2:FindFirstChild("Left Leg")
  1123. if Limb then
  1124.  
  1125. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1126. local Joint = Instance.new("Glue")
  1127. Joint.Name = "LeftHip"
  1128. Joint.Part0 = Torso2
  1129. Joint.Part1 = Limb
  1130. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1131. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1132. Joint.Parent = Torso2
  1133.  
  1134. local B = Instance.new("Part")
  1135. B.TopSurface = 0
  1136. B.BottomSurface = 0
  1137. B.formFactor = "Symmetric"
  1138. B.Size = Vector3.new(1, 1, 1)
  1139. B.Transparency = 1
  1140. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1141. B.Parent = Character2
  1142. local W = Instance.new("Weld")
  1143. W.Part0 = Limb
  1144. W.Part1 = B
  1145. W.C0 = CFrame.new(0, -0.5, 0)
  1146. W.Parent = Limb
  1147.  
  1148. end
  1149. --[
  1150. local Bar = Instance.new("Part")
  1151. Bar.TopSurface = 0
  1152. Bar.BottomSurface = 0
  1153. Bar.formFactor = "Symmetric"
  1154. Bar.Size = Vector3.new(1, 1, 1)
  1155. Bar.Transparency = 1
  1156. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1157. Bar.Parent = Character2
  1158. local Weld = Instance.new("Weld")
  1159. Weld.Part0 = Torso2
  1160. Weld.Part1 = Bar
  1161. Weld.C0 = CFrame.new(0, 0.5, 0)
  1162. Weld.Parent = Torso2
  1163. --]]
  1164. end
  1165. Character2.Parent = workspace
  1166. Debris:AddItem(Character2,5)
  1167.  
  1168. return Character2,Torso2
  1169. end))
  1170. end
  1171.  
  1172. --//=================================\\
  1173. --|| WEAPON CREATION
  1174. --\\=================================//
  1175.  
  1176. local Particle = IT("ParticleEmitter",nil)
  1177. Particle.Enabled = false
  1178. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1179. Particle.LightEmission = 0.5
  1180. Particle.Rate = 150
  1181. Particle.ZOffset = 0.2
  1182. Particle.Rotation = NumberRange.new(-180, 180)
  1183. Particle.RotSpeed = NumberRange.new(-180, 180)
  1184. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1185. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1186.  
  1187. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1188. function ParticleEmitter(Table)
  1189. local PRTCL = Particle:Clone()
  1190. local Speed = Table.Speed or 5
  1191. local Drag = Table.Drag or 0
  1192. local Size1 = Table.Size1 or 1
  1193. local Size2 = Table.Size2 or 5
  1194. local Lifetime1 = Table.Lifetime1 or 1
  1195. local Lifetime2 = Table.Lifetime2 or 1.5
  1196. local Parent = Table.Parent or Torso
  1197. local Emit = Table.Emit or 100
  1198. local Offset = Table.Offset or 360
  1199. local Acel = Table.Acel or VT(0,0,0)
  1200. local Enabled = Table.Enabled or false
  1201. PRTCL.Parent = Parent
  1202. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1203. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1204. PRTCL.Speed = NumberRange.new(Speed)
  1205. PRTCL.VelocitySpread = Offset
  1206. PRTCL.Drag = Drag
  1207. PRTCL.Acceleration = Acel
  1208. if Enabled == false then
  1209. PRTCL:Emit(Emit)
  1210. Debris:AddItem(PRTCL,Lifetime2)
  1211. else
  1212. PRTCL.Enabled = true
  1213. end
  1214. return PRTCL
  1215. end
  1216.  
  1217. local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1218. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1219. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1220. MakeForm(Part,"Wedge")
  1221. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1222. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1223. MakeForm(Part,"Wedge")
  1224. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1225. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1226. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1227. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1228. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1229. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1230. MakeForm(Part,"Cyl")
  1231. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1232. for i = 1, 8 do
  1233. local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1234. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1235. end
  1236. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1237. MakeForm(Part,"Cyl")
  1238. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1239. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1240. MakeForm(Part,"Ball")
  1241. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1242. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1243. MakeForm(Part,"Wedge")
  1244. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1245. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1246. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1247. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1248. MakeForm(Part,"Cyl")
  1249. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1250. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1251. MakeForm(Part,"Cyl")
  1252. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1253. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1254. MakeForm(Part,"Cyl")
  1255. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1256. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1257. MakeForm(Part,"Wedge")
  1258. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1259. local LASTPART = Handle
  1260. for i = 1, 10 do
  1261. if LASTPART == Handle then
  1262. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1263. LASTPART = Part
  1264. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1265. else
  1266. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1267. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1268. LASTPART = Part
  1269. end
  1270. end
  1271.  
  1272. local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,4,0.15),false)
  1273. MakeForm(Barrel,"Cyl")
  1274. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.85) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1275. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,2,0.25),false)
  1276. MakeForm(Part,"Cyl")
  1277. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.2, 0), CF(0, 0, 0))
  1278. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1279. MakeForm(Part,"Wedge")
  1280. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1281. local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1282. MakeForm(Hole,"Cyl")
  1283. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2, 0), CF(0, 0, 0))
  1284. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1285. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1286. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1287. local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1288. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1289. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1290. coroutine.resume(coroutine.create(function()
  1291. while wait() do
  1292. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(sick.PlaybackLoudness/60 + 0.05))
  1293. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-sick.PlaybackLoudness/60 - 0.05))
  1294. end
  1295. end))
  1296.  
  1297. 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)})
  1298. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1299.  
  1300. for _, c in pairs(Gun:GetDescendants()) do
  1301. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1302. c.Material = "Glass"
  1303. c.Color = C3(0,0,0)
  1304. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1305. c.Color = C3(1,0,0)
  1306. c.Material = "Neon"
  1307. end
  1308. end
  1309.  
  1310. Weapon.Parent = Character
  1311. for _, c in pairs(Weapon:GetChildren()) do
  1312. if c.ClassName == "Part" then
  1313. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1314. end
  1315. end
  1316.  
  1317. Weapon.Parent = Character
  1318. Gun.Parent = nil
  1319.  
  1320. for _, c in pairs(Gun:GetChildren()) do
  1321. if c.ClassName == "Part" then
  1322. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1323. end
  1324. end
  1325.  
  1326. for _, c in pairs(Weapon:GetChildren()) do
  1327. if c.ClassName == "Part" then
  1328. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1329. end
  1330. end
  1331.  
  1332. local SKILLTEXTCOLOR = C3(1,0,0)
  1333. local SKILLFONT = "Antique"
  1334. local SKILLTEXTSIZE = 7
  1335.  
  1336. Humanoid.Died:connect(function()
  1337. ATTACK = true
  1338. end)
  1339.  
  1340. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1341. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1342. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1343. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1344. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1345.  
  1346. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1347. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Kill", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1348. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Sleep", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1349. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Ultimate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1350. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1351.  
  1352. function printbye(Name)
  1353. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1354. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1355. end
  1356. if INTRO == false and INSTANT == false then
  1357. INTRO = true
  1358. coroutine.resume(coroutine.create(function()
  1359. sick:Play()
  1360. Intro()
  1361. end))
  1362. end
  1363.  
  1364. workspace.ChildAdded:connect(function(instance)
  1365. for BANISH = 1, #TOBANISH do
  1366. if TOBANISH[BANISH] ~= nil then
  1367. if instance.Name == TOBANISH[BANISH] then
  1368. coroutine.resume(coroutine.create(function()
  1369. printbye(instance.Name)
  1370. instance:ClearAllChildren()
  1371. Debris:AddItem(instance,0.0005)
  1372. end))
  1373. end
  1374. end
  1375. end
  1376. end)
  1377.  
  1378. --//=================================\\
  1379. --|| DAMAGING
  1380. --\\=================================//
  1381.  
  1382. function ApplyDamage(Humanoid,Damage,OneShot)
  1383. Damage = Damage * DAMAGEMULTIPLIER
  1384. local DEAD = false
  1385. if Humanoid.Health < 2000 and OneShot == false then
  1386. if Humanoid.Health - Damage > 0 then
  1387. Humanoid.Health = Humanoid.Health - Damage
  1388. else
  1389. Humanoid.Parent:BreakJoints()
  1390. DEAD = true
  1391. end
  1392. else
  1393. DEAD = true
  1394. Humanoid.Parent:BreakJoints()
  1395. end
  1396. if DEAD == true then
  1397. local PARTS = {}
  1398. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1399. if CHILD:IsA("BasePart") then
  1400. table.insert(PARTS,CHILD)
  1401. end
  1402. end
  1403. coroutine.resume(coroutine.create(function()
  1404. wait(2)
  1405. repeat
  1406. Swait()
  1407. local PIECE = nil
  1408. if MRANDOM(1,5) == 1 then
  1409. for E = 1, #PARTS do
  1410. if MRANDOM(1,5) == 1 then
  1411. PIECE = PARTS[E]
  1412. table.remove(PARTS,E)
  1413. break
  1414. end
  1415. end
  1416. end
  1417. if PIECE ~= nil then
  1418. if PIECE.Name == "Head" then
  1419. 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})
  1420. else
  1421. 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})
  1422. end
  1423. PIECE:remove()
  1424. end
  1425. until #PARTS == 0
  1426. end))
  1427. end
  1428. end
  1429.  
  1430.  
  1431. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1432. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1433. defence.Name = ("HitBy"..Player.Name)
  1434. game:GetService("Debris"):AddItem(defence, 0.001)
  1435. Damage = Damage * DAMAGEMULTIPLIER
  1436. if Humanoid.Health ~= 0 then
  1437. local CritChance = MRANDOM(1,100)
  1438. if Damage > Humanoid.Health then
  1439. Damage = math.ceil(Humanoid.Health)
  1440. if Damage == 0 then
  1441. Damage = 0.1
  1442. end
  1443. end
  1444. Humanoid.Health = Humanoid.Health - Damage
  1445. end
  1446. end
  1447.  
  1448. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1449. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1450. defence.Name = ("HitBy"..Player.Name)
  1451. game:GetService("Debris"):AddItem(defence, 0.001)
  1452. Damage = Damage * DAMAGEMULTIPLIER
  1453. if Humanoid.Health ~= 0 then
  1454. local CritChance = MRANDOM(1,100)
  1455. if Damage > Humanoid.Health then
  1456. Damage = math.ceil(Humanoid.Health)
  1457. if Damage == 0 then
  1458. Damage = 0.1
  1459. end
  1460. end
  1461. Humanoid.Health = Humanoid.Health - Damage
  1462. end
  1463. end
  1464.  
  1465. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1466. local CHILDREN = workspace:GetDescendants()
  1467. for index, CHILD in pairs(CHILDREN) do
  1468. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1469. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1470. if HUM then
  1471. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1472. if TORSO then
  1473. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1474. if INSTAKILL == true then
  1475. CHILD:BreakJoints()
  1476. else
  1477. local DMG = MRANDOM(MINDMG,MAXDMG)
  1478. ApplyDamage(HUM,DMG,TORSO)
  1479. end
  1480. if FLING > 0 then
  1481. for _, c in pairs(CHILD:GetChildren()) do
  1482. if c:IsA("BasePart") then
  1483. local bv = Instance.new("BodyVelocity")
  1484. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1485. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1486. bv.Parent = c
  1487. Debris:AddItem(bv,0.05)
  1488. end
  1489. end
  1490. end
  1491. end
  1492. end
  1493. end
  1494. end
  1495. end
  1496. end
  1497.  
  1498. function CameraEnshaking(Length, Intensity)
  1499. coroutine.resume(coroutine.create(function()
  1500. local intensity = 1 * Intensity
  1501. local rotM = 0.01 * Intensity
  1502. for i = 0, Length, 0.1 do
  1503. Swait()
  1504. intensity = intensity - 0.05 * Intensity / Length
  1505. rotM = rotM - 5.0E-4 * Intensity / Length
  1506. Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  1507. Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
  1508. end
  1509. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  1510. end))
  1511. end
  1512.  
  1513. function KillChildren(v)
  1514. v:BreakJoints()
  1515. for _, c in pairs(v:GetChildren()) do
  1516. if c:IsA("BasePart") then
  1517. if c.Transparency < 1 then
  1518. if c:FindFirstChildOfClass("Decal") then
  1519. c:FindFirstChildOfClass("Decal"):remove()
  1520. end
  1521. particles(c)
  1522. c.PE.Enabled = true
  1523. c.Parent = Effects
  1524. c.CanCollide = false
  1525. c.Material = "Neon"
  1526. c.Color = C3(1,0,0)
  1527. c.Transparency = 1
  1528. local grav = Instance.new("BodyPosition",c)
  1529. grav.P = 20000
  1530. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1531. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1532. grav.Name = "GravityForce"
  1533. coroutine.resume(coroutine.create(function()
  1534. for i = 1, 20 do
  1535. Swait()
  1536. c.Transparency = c.Transparency + 1/20
  1537. end
  1538. c.PE.Enabled = false
  1539. Debris:AddItem(c,2)
  1540. end))
  1541. end
  1542. end
  1543. end
  1544. end
  1545.  
  1546. function ApplyAoE(POSITION,RANGE)
  1547. local CHILDREN = workspace:GetDescendants()
  1548. for index, CHILD in pairs(CHILDREN) do
  1549. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1550. local LISTED = false
  1551. for LIST = 1, #WHITELIST do
  1552. if WHITELIST[LIST] ~= nil then
  1553. if CHILD.Name == WHITELIST[LIST] then
  1554. LISTED = true
  1555. end
  1556. end
  1557. end
  1558. if LISTED == false then
  1559. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1560. if HUM then
  1561. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1562. if TORSO then
  1563. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1564. KillChildren(CHILD)
  1565. end
  1566. end
  1567. end
  1568. end
  1569. end
  1570. end
  1571. end
  1572.  
  1573. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1574. coroutine.resume(coroutine.create(function()
  1575. local METEOR = IT("Model",Effects)
  1576. METEOR.Name = "Meteorite"
  1577. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1578. METEOR.PrimaryPart = CENTER
  1579. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1580. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1581. for i = 1, 15 do
  1582. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  1583. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1584. end
  1585. if ISDEBREE ~= true then
  1586. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1587. else
  1588. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1589. end
  1590. local IMPACT = false
  1591. CreateSound(463593339, CENTER, 10, 0.6)
  1592. if SIZE >= 3.5 then
  1593. for i = 1, MRANDOM(3,7) do
  1594. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1595. end
  1596. end
  1597. for i = 1, 200 do
  1598. Swait()
  1599. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1600. if HITFLOOR == nil then
  1601. local ORI = CENTER.Orientation
  1602. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1603. else
  1604. if HITFLOOR.Anchored == true then
  1605. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1606. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1607. end
  1608. IMPACT = true
  1609. break
  1610. end
  1611. end
  1612. if IMPACT == true then
  1613. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1614. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1615. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1616. ApplyAoE(CENTER.Position,30*SIZE)
  1617. end
  1618. METEOR:remove()
  1619. end))
  1620. end
  1621.  
  1622. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  1623. local CHILDREN = workspace:GetDescendants()
  1624. for index, CHILD in pairs(CHILDREN) do
  1625. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1626. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1627. if HUM then
  1628. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1629. if TORSO then
  1630. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1631. if BRUTAL == true then
  1632. Kill(CHILD)
  1633. else
  1634. CHILD:BreakJoints()
  1635. end
  1636. end
  1637. end
  1638. end
  1639. end
  1640. end
  1641. end
  1642.  
  1643. function Kill(Char)
  1644. local NewCharacter = IT("Model",Effects)
  1645. NewCharacter.Name = "Ow im ded ;-;"
  1646. for _, c in pairs(Char:GetDescendants()) do
  1647. if c:IsA("BasePart") and c.Transparency == 0 then
  1648. c:BreakJoints()
  1649. c.Material = "Glass"
  1650. c.Color = C3(1,0,0)
  1651. c.CanCollide = true
  1652. c.Transparency = 0.3
  1653. if c:FindFirstChildOfClass("SpecialMesh") then
  1654. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1655. end
  1656. if c.Name == "Head" then
  1657. c:ClearAllChildren()
  1658. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1659. end
  1660. if c.ClassName == "MeshPart" then
  1661. c.TextureID = ""
  1662. end
  1663. if c:FindFirstChildOfClass("BodyPosition") then
  1664. c:FindFirstChildOfClass("BodyPosition"):remove()
  1665. end
  1666. if c:FindFirstChildOfClass("ParticleEmitter") then
  1667. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1668. end
  1669. c.Parent = NewCharacter
  1670. c.Name = "DeadPart"
  1671. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1672. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1673. end
  1674. end
  1675. Char:remove()
  1676. Debris:AddItem(NewCharacter,5)
  1677. end
  1678.  
  1679. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1680. local CHILDREN = workspace:GetDescendants()
  1681. for index, CHILD in pairs(CHILDREN) do
  1682. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1683. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1684. if HUM then
  1685. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1686. if TORSO then
  1687. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1688. if BRUTAL == true then
  1689. Kill(CHILD)
  1690. else
  1691. CHILD:BreakJoints()
  1692. end
  1693. end
  1694. end
  1695. end
  1696. end
  1697. end
  1698. end
  1699.  
  1700. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1701. local CHILDREN = workspace:GetDescendants()
  1702. for index, CHILD in pairs(CHILDREN) do
  1703. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1704. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1705. if HUM then
  1706. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1707. if TORSO then
  1708. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1709. if BRUTAL == true then
  1710. Kill(CHILD)
  1711. else
  1712. CHILD:BreakJoints()
  1713. end
  1714. end
  1715. end
  1716. end
  1717. end
  1718. end
  1719. end
  1720.  
  1721. function Banish(Foe)
  1722. if Foe then
  1723. coroutine.resume(coroutine.create(function()
  1724. --if game.Players:FindFirstChild(Foe.Name) then
  1725. table.insert(TOBANISH,Foe.Name)
  1726. printbye(Foe.Name)
  1727. --end
  1728. Foe.Archivable = true
  1729. local CLONE = Foe:Clone()
  1730. Foe:Destroy()
  1731. CLONE.Parent = Effects
  1732. CLONE:BreakJoints()
  1733. local MATERIALS = {"Glass","Neon"}
  1734. for _, c in pairs(CLONE:GetDescendants()) do
  1735. if c:IsA("BasePart") then
  1736. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1737. CreateSound(138271815, c, 10, 1, false)
  1738. end
  1739. c.Anchored = true
  1740. c.Transparency = c.Transparency + 0.2
  1741. c.Material = MATERIALS[MRANDOM(1,2)]
  1742. c.Color = C3(1,0,0)
  1743. if c.ClassName == "MeshPart" then
  1744. c.TextureID = ""
  1745. end
  1746. if c:FindFirstChildOfClass("SpecialMesh") then
  1747. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1748. end
  1749. if c:FindFirstChildOfClass("Decal") then
  1750. c:FindFirstChildOfClass("Decal"):remove()
  1751. end
  1752. c.Name = "Banished"
  1753. c.CanCollide = false
  1754. else
  1755. c:remove()
  1756. end
  1757. end
  1758. local A = false
  1759. for i = 1, 35 do
  1760. if A == false then
  1761. A = true
  1762. elseif A == true then
  1763. A = false
  1764. end
  1765. for _, c in pairs(CLONE:GetDescendants()) do
  1766. if c:IsA("BasePart") then
  1767. c.Anchored = true
  1768. c.Material = MATERIALS[MRANDOM(1,2)]
  1769. c.Transparency = c.Transparency + 0.8/35
  1770. if A == false then
  1771. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1772. elseif A == true then
  1773. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1774. end
  1775. end
  1776. end
  1777. Swait()
  1778. end
  1779. CLONE:remove()
  1780. end))
  1781. end
  1782. end
  1783.  
  1784.  
  1785. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1786. local CHILDREN = workspace:GetDescendants()
  1787. for index, CHILD in pairs(CHILDREN) do
  1788. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1789. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1790. if HUM then
  1791. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1792. if TORSO then
  1793. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1794. if ISBANISH == true then
  1795. Banish(CHILD)
  1796. else
  1797. if ISBANISH == "Gravity" then
  1798. HUM.PlatformStand = true
  1799. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1800. local grav = Instance.new("BodyPosition",TORSO)
  1801. grav.D = 15
  1802. grav.P = 20000
  1803. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1804. grav.position = TORSO.Position
  1805. grav.Name = "V3BanishForce"..Player.Name
  1806. else
  1807. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1808. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1809. end
  1810. else
  1811. HUM.PlatformStand = false
  1812. end
  1813. end
  1814. elseif ISBANISH == "Gravity" then
  1815. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1816. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1817. HUM.PlatformStand = false
  1818. end
  1819. end
  1820. end
  1821. end
  1822. end
  1823. end
  1824. end
  1825.  
  1826. function SpawnSmite(POS)
  1827. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1828. local EMITPOS = HITPOS
  1829. if HITFLOOR ~= nil then
  1830. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1831. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1832. EMITPOS = HITPOS
  1833. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1834. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1835. EMITPOS = HITPOS
  1836. end
  1837. end
  1838. if HITFLOOR ~= nil then
  1839. ApplyAoE(EMITPOS,10)
  1840. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1841. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1842. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1843. for i = 1, 5 do
  1844. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1845. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1846. end
  1847. end
  1848. end
  1849.  
  1850. --//=================================\\
  1851. --|| ATTACK FUNCTIONS AND STUFF
  1852. --\\=================================//
  1853.  
  1854. function eh()
  1855. ATTACK = true
  1856. Rooted = false
  1857. Speed = 20
  1858. Swait()
  1859. local CHILDREN = workspace:GetDescendants()
  1860. for index, CHILD in pairs(CHILDREN) do
  1861. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1862. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1863. if HUM then
  1864. local TORSO = CHILD:FindFirstChild("Head")
  1865. if TORSO then
  1866. if (TORSO.Position - Head.Position).Magnitude <= 25 then
  1867. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1868. TORSO:remove()
  1869. if CHILD:FindFirstChild("Torso") then
  1870. Ragdoll(CHILD,Torso,true)
  1871. elseif CHILD:FindFirstChild("UpperTorso") then
  1872. R15Ragdoll(CHILD,true)
  1873. end
  1874. end
  1875. end
  1876. end
  1877. end
  1878. end
  1879. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1880. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 1})
  1881. for i=0, 0.3, 0.1 / Animation_Speed do
  1882. Swait()
  1883. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  1884. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1885. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1886. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1887. 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.25 / Animation_Speed)
  1888. 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.25 / Animation_Speed)
  1889. end
  1890. Speed = 20
  1891. ATTACK = false
  1892. Rooted = false
  1893. end
  1894.  
  1895. function Taunt()
  1896. ATTACK = true
  1897. Rooted = true
  1898. CreateSound("1238240145", Torso, 6, 0.9)
  1899. for i=0, 0.6, 0.1 / Animation_Speed do
  1900. Swait()
  1901. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1902. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1903. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1904. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1905. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1906. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1907. end
  1908. for i=0, 0.6, 0.1 / Animation_Speed do
  1909. Swait()
  1910. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1911. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1912. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1913. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1914. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1915. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1916. end
  1917. for i=0, 0.6, 0.1 / Animation_Speed do
  1918. Swait()
  1919. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1920. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1921. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1922. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1923. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1924. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1925. end
  1926. for i=0, 0.6, 0.1 / Animation_Speed do
  1927. Swait()
  1928. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1929. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1930. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1931. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1932. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1933. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1934. end
  1935. for i=0, 0.6, 0.1 / Animation_Speed do
  1936. Swait()
  1937. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1938. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1939. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1940. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1941. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1942. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1943. end
  1944. for i=0, 0.6, 0.1 / Animation_Speed do
  1945. Swait()
  1946. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1947. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1948. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1949. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1950. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1951. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1952. end
  1953. ATTACK = false
  1954. Rooted = false
  1955. end
  1956.  
  1957. function TakeOnMe()
  1958. Speed = 16
  1959. local MEME = CreateSound(1171341451, Effects, 2, 1, false)
  1960. ATTACK = true
  1961. Rooted = false
  1962. local DANCE = true
  1963. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1964. if NEWKEY == "p" then
  1965. DANCE = false
  1966. end
  1967. end)
  1968. PLAYSONG = false
  1969. while true do
  1970. for i = 1, 15 do
  1971. Swait()
  1972. MEME.Parent = Effects
  1973. 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)
  1974. 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)
  1975. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1976. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1977. 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)
  1978. 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)
  1979. end
  1980. if DANCE == false then
  1981. break
  1982. end
  1983. for i = 1, 15 do
  1984. Swait()
  1985. MEME.Parent = Effects
  1986. 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)
  1987. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  1988. if MRANDOM(1,7) == 1 then
  1989. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1990. end RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1991. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(65), RAD(85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1992. 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)
  1993. 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)
  1994. end
  1995. end
  1996. PLAYSONG = true
  1997. KEY:Disconnect()
  1998. MEME:remove()
  1999. Speed = 25
  2000. ATTACK = false
  2001. Rooted = false
  2002. end
  2003.  
  2004. function Intro()
  2005. ATTACK = true
  2006. Rooted = true
  2007. repeat
  2008. Swait()
  2009. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  2010. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2011. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2012. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  2013. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2014. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2015. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2016. until sick.TimePosition > 114
  2017. repeat
  2018. Swait()
  2019. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2020. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2021. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2022. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2023. 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)
  2024. 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)
  2025. until sick.TimePosition > 116
  2026. repeat
  2027. Swait()
  2028. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0.2,0.2), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  2029. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2030. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2031. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(45), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2032. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-90), RAD(45), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2033. 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)
  2034. 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)
  2035. until sick.TimePosition >119
  2036. Gun.Parent = Character
  2037. tecks2.TextTransparency = 0
  2038. for i = 1, 100 do
  2039. Swait()
  2040. for _, c in pairs(Character:GetChildren()) do
  2041. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  2042. c.Transparency = 0
  2043. end
  2044. end
  2045. for _, c in pairs(Weapon:GetChildren()) do
  2046. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  2047. c.Transparency = 0
  2048. end
  2049. end
  2050. for _, c in pairs(Weapon:GetDescendants()) do
  2051. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2052. c.Material = "Glass"
  2053. c.Color = C3(0,0,0)
  2054. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2055. c.Color = C3(1,0,0)
  2056. c.Material = "Neon"
  2057. end
  2058. end
  2059. end
  2060. TRANSFORMED = true
  2061. ATTACK = false
  2062. Rooted = false
  2063. end
  2064.  
  2065. function Shot()
  2066. ATTACK = true
  2067. Rooted = false
  2068. for i=0, 0.2, 0.05 / Animation_Speed do
  2069. Swait()
  2070. turnto(Mouse.Hit.p)
  2071. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2072. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2073. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2074. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2075. 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)
  2076. 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)
  2077. end
  2078. repeat
  2079. for i=0, 0.2, 0.05 / Animation_Speed do
  2080. Swait()
  2081. turnto(Mouse.Hit.p)
  2082. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2083. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2084. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2085. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2086. 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)
  2087. 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)
  2088. end
  2089. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2090. SpawnTrail(Hole.Position,POS)
  2091. if HIT ~= nil then
  2092. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2093. Banish(HIT.Parent)
  2094. end
  2095. end
  2096. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2097. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2098. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2099. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2100. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2101. for i=0, 0.2, 0.05 / Animation_Speed do
  2102. Swait()
  2103. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2104. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2105. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2106. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2107. 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)
  2108. 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)
  2109. end
  2110. until KEYHOLD == false
  2111. ATTACK = false
  2112. Rooted = false
  2113. end
  2114.  
  2115. function Shot2()
  2116. ATTACK = true
  2117. Rooted = false
  2118. for i=0, 0.2, 0.05 / Animation_Speed do
  2119. Swait()
  2120. turnto(Mouse.Hit.p)
  2121. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2122. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2123. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2124. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2125. 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)
  2126. 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)
  2127. end
  2128. repeat
  2129. for i=0, 0.2, 0.05 / Animation_Speed do
  2130. Swait()
  2131. turnto(Mouse.Hit.p)
  2132. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2133. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2134. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2135. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2136. 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)
  2137. 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)
  2138. end
  2139. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2140. SpawnTrail(Hole.Position,POS)
  2141. if HIT ~= nil then
  2142. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2143. Kill(HIT.Parent)
  2144. end
  2145. end
  2146. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2147. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2148. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2149. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2150. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2151. for i=0, 0.2, 0.05 / Animation_Speed do
  2152. Swait()
  2153. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2154. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2155. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2156. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2157. 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)
  2158. 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)
  2159. end
  2160. until KEYHOLD == false
  2161. ATTACK = false
  2162. Rooted = false
  2163. end
  2164.  
  2165. function AttackTemplate()
  2166. ATTACK = true
  2167. Rooted = false
  2168. for i=0, 1, 0.1 / Animation_Speed do
  2169. Swait()
  2170. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2171. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2172. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2173. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2174. 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)
  2175. 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)
  2176. end
  2177. ATTACK = false
  2178. Rooted = false
  2179. end
  2180.  
  2181. function Finisher()
  2182. local TARGET = Mouse.Target
  2183. if TARGET ~= nil then
  2184. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  2185. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  2186. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  2187. if ROOT and HUM.Health > 0 then
  2188. local FOE = Mouse.Target.Parent
  2189. ATTACK = true
  2190. Rooted = true
  2191. RootPart.CFrame = ROOT.CFrame*CF(-1.35,0,4)
  2192. ROOT.Anchored = true
  2193. CreateSound(670796769, Torso, 9999, 0.6, false)
  2194. CreateSound(159882598, Torso, 5, 0.9, false)
  2195. for i=0, 0.4, 0.1 / Animation_Speed do
  2196. Swait()
  2197. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2198. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2199. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2200. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2201. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2202. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2203. end
  2204. HUM.PlatformStand = true
  2205. ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  2206. coroutine.resume(coroutine.create(function()
  2207. Swait()
  2208. ROOT.Anchored = true
  2209. end))
  2210. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
  2211. for i=0, 0.2, 0.1 / Animation_Speed do
  2212. Swait()
  2213. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2214. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2215. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2216. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2217. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2218. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2219. end
  2220. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2221. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2222. for i=0, 0.2, 0.1 / Animation_Speed do
  2223. Swait()
  2224. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  2225. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2226. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2227. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2228. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2229. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2230. end
  2231. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2232. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2233. local AMMO = 6
  2234. local FIRING = true
  2235. local SHOOTING = false
  2236. local TIMER = 70
  2237. CreateSound(147722227, GunPoint, 6, 1.3, false)
  2238. for i=0, 0.2, 0.1 / Animation_Speed do
  2239. Swait()
  2240. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2241. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2242. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2243. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2244. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2245. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2246. end
  2247. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2248. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2249. for i = 1, 6 do
  2250. local GUNPOS = Hole.CFrame*CF(0, 0, 0).p
  2251. local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude
  2252. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2253. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2254. HUM.Health = HUM.Health/1.5
  2255. for i=0, 0.2, 0.1 / Animation_Speed do
  2256. Swait()
  2257. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2258. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2259. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2260. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2261. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2262. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2263. end
  2264. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2265. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2266. for i=0, 0.2, 0.1 / Animation_Speed do
  2267. Swait()
  2268. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2269. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2270. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2271. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2272. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2273. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2274. end
  2275. end
  2276. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2277. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2278. ApplyDamage(HUM,0,true)
  2279. FOE:BreakJoints()
  2280. ROOT.Anchored = false
  2281. for i=0, 0.3, 0.1 / Animation_Speed do
  2282. Swait()
  2283. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2284. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  2285. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2286. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2287. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2288. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2289. end
  2290. ATTACK = false
  2291. Rooted = false
  2292. end
  2293. end
  2294. end
  2295. end
  2296.  
  2297.  
  2298. --//=================================\\
  2299. --|| ASSIGN THINGS TO KEYS
  2300. --\\=================================//
  2301.  
  2302. function MouseDown(Mouse)
  2303. if ATTACK == false then
  2304. end
  2305. end
  2306.  
  2307. function MouseUp(Mouse)
  2308. HOLD = false
  2309. end
  2310.  
  2311. function KeyDown(Key)
  2312. KEYHOLD = true
  2313. if Key == "z" and ATTACK == false then
  2314. Shot()
  2315. end
  2316.  
  2317. if Key == "v" and ATTACK == false then
  2318. Shot2()
  2319. end
  2320.  
  2321. if Key == "x" and ATTACK == false then
  2322. Finisher()
  2323. end
  2324.  
  2325. if Key == "t" and ATTACK == false then
  2326. Taunt()
  2327. end
  2328.  
  2329. if Key == "c" and ATTACK == false then
  2330. eh()
  2331. end
  2332. end
  2333.  
  2334. function KeyUp(Key)
  2335. KEYHOLD = false
  2336. end
  2337.  
  2338. Mouse.Button1Down:connect(function(NEWKEY)
  2339. MouseDown(NEWKEY)
  2340. end)
  2341. Mouse.Button1Up:connect(function(NEWKEY)
  2342. MouseUp(NEWKEY)
  2343. end)
  2344. Mouse.KeyDown:connect(function(NEWKEY)
  2345. KeyDown(NEWKEY)
  2346. end)
  2347. Mouse.KeyUp:connect(function(NEWKEY)
  2348. KeyUp(NEWKEY)
  2349. end)
  2350.  
  2351. --//=================================\\
  2352. --\\=================================//
  2353.  
  2354.  
  2355. function unanchor()
  2356. if UNANCHOR == true then
  2357. g = Character:GetChildren()
  2358. for i = 1, #g do
  2359. if g[i].ClassName == "Part" then
  2360. g[i].Anchored = false
  2361. end
  2362. end
  2363. end
  2364. end
  2365.  
  2366.  
  2367. --//=================================\\
  2368. --|| WRAP THE WHOLE SCRIPT UP
  2369. --\\=================================//
  2370.  
  2371. Humanoid.Changed:connect(function(Jump)
  2372. if Jump == "Jump" and (Disable_Jump == true) then
  2373. Humanoid.Jump = false
  2374. end
  2375. end)
  2376.  
  2377. local FF = IT("ForceField",Character)
  2378. FF.Visible = false
  2379.  
  2380. INSTANT = false
  2381. Speed = 20
  2382.  
  2383. while true do
  2384. Swait()
  2385. SINE = SINE + CHANGE
  2386. ANIMATE.Parent = nil
  2387. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2388. IDLEANIMATION:Play()
  2389. if TRANSFORMED == true then
  2390. tecks2.TextTransparency = 0
  2391. for _, c in pairs(Character:GetChildren()) do
  2392. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  2393. c.Anchored = false
  2394. c.Transparency = 0
  2395. end
  2396. end
  2397. for _, c in pairs(Weapon:GetChildren()) do
  2398. if c.ClassName == "Part" then
  2399. c.Transparency = 0
  2400. end
  2401. end
  2402. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2403. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2404. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2405. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2406. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2407. if ATTACK == false and VALUE2 == false then
  2408. end
  2409. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2410. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2411. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  2412. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  2413. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  2414. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2415. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2416. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2417. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2418. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2419. end
  2420. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2421. ANIM = "Jump"
  2422. if ATTACK == false then
  2423. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2424. 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)
  2425. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2426. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2427. 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)
  2428. 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)
  2429. end
  2430. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2431. ANIM = "Fall"
  2432. if ATTACK == false then
  2433. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2434. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2435. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2436. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2437. 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)
  2438. 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)
  2439. end
  2440. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2441. ANIM = "Idle"
  2442. if ATTACK == false then
  2443. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2444. if MRANDOM(1,7) == 1 then
  2445. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2446. end
  2447. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2448. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2449. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2450. 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.25 / Animation_Speed)
  2451. 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.25 / Animation_Speed)
  2452. end
  2453. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2454. ANIM = "Walk"
  2455. if ATTACK == false then
  2456. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2457. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2458. if MRANDOM(1,7) == 1 then
  2459. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2460. end
  2461. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2462. 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)
  2463. 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)
  2464. 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)
  2465. end
  2466. end
  2467. end
  2468. --end
  2469. Humanoid.DisplayDistanceType = "None"
  2470. unanchor()
  2471. tecks2.TextColor3 = BrickColor.Random().Color
  2472. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  2473. Humanoid.MaxHealth = "inf"
  2474. Humanoid.Health = "inf"
  2475. if Rooted == false then
  2476. Disable_Jump = false
  2477. Humanoid.WalkSpeed = Speed
  2478. elseif Rooted == true then
  2479. Disable_Jump = true
  2480. Humanoid.WalkSpeed = 0
  2481. end
  2482. if Head:FindFirstChild("face") then
  2483. Head.face.Texture = "rbxassetid://403870689"
  2484. end
  2485. local MATHS = {"0","1"}
  2486. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  2487. Humanoid.PlatformStand = false
  2488. if INTRO == false and INSTANT == false then
  2489. INTRO = true
  2490. coroutine.resume(coroutine.create(function()
  2491. sick:Play()
  2492. Intro()
  2493. end))
  2494. end
  2495. if INSTANT == true then
  2496. if TRANSFORMED == false then
  2497. sick.TimePosition = 60
  2498. sick:Play()
  2499. end
  2500. TRANSFORMED = true
  2501. end
  2502. script.Parent = PlayerGui
  2503. Character.Parent = workspace
  2504. Humanoid.Parent = Character
  2505. end
  2506. --//=================================\\
  2507. --\\=================================//
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513. --//====================================================\\--
  2514. --|| END OF SCRIPT
  2515. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement