Advertisement
DarkSideYT123

Untitled

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