Advertisement
Christoffer07700Extr

Mr.ByeBye

Nov 18th, 2019
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.49 KB | None | 0 0
  1. -- Synapse Decompiler
  2. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  3.  
  4. wait(0.2)
  5. Player = game:GetService("Players").LocalPlayer
  6. PlayerGui = Player.PlayerGui
  7. Cam = workspace.CurrentCamera
  8. Backpack = Player.Backpack
  9. Character = Player.Character
  10. Humanoid = Character.Humanoid
  11. Mouse = Player:GetMouse()
  12. RootPart = Character.HumanoidRootPart
  13. Torso = Character.Torso
  14. Head = Character.Head
  15. RightArm = Character["Right Arm"]
  16. LeftArm = Character["Left Arm"]
  17. RightLeg = Character["Right Leg"]
  18. LeftLeg = Character["Left Leg"]
  19. RootJoint = RootPart.RootJoint
  20. Neck = Torso.Neck
  21. RightShoulder = Torso["Right Shoulder"]
  22. LeftShoulder = Torso["Left Shoulder"]
  23. RightHip = Torso["Right Hip"]
  24. LeftHip = Torso["Left Hip"]
  25. local sick = Instance.new("Sound", Character)
  26. IT = Instance.new
  27. CF = CFrame.new
  28. VT = Vector3.new
  29. RAD = math.rad
  30. C3 = Color3.new
  31. UD2 = UDim2.new
  32. BRICKC = BrickColor.new
  33. ANGLES = CFrame.Angles
  34. EULER = CFrame.fromEulerAnglesXYZ
  35. COS = math.cos
  36. ACOS = math.acos
  37. SIN = math.sin
  38. ASIN = math.asin
  39. ABS = math.abs
  40. MRANDOM = math.random
  41. FLOOR = math.floor
  42. Animation_Speed = 3
  43. Frame_Speed = 0.016666666666666666
  44. local Speed = 25
  45. local SIZE = 3
  46. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  47. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  48. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  49. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  50. local DAMAGEMULTIPLIER = 1
  51. local ANIM = "Idle"
  52. local ATTACK = false
  53. local EQUIPPED = false
  54. local HOLD = false
  55. local COMBO = 1
  56. local Rooted = false
  57. local SINE = 0
  58. local KEYHOLD = false
  59. local CHANGE = 2 / Animation_Speed
  60. local WALKINGANIM = false
  61. local VALUE1 = false
  62. local VALUE2 = false
  63. local ROBLOXIDLEANIMATION = IT("Animation")
  64. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  65. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  66. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  67. WEAPONGUI.Name = "Weapon GUI"
  68. local Effects = IT("Folder", Character)
  69. Effects.Name = "Effects"
  70. local ANIMATOR = Humanoid.Animator
  71. local ANIMATE = Character.Animate
  72. ANIMATOR:Destroy()
  73. local UNANCHOR = true
  74. local HELDGUN, GUNWELD
  75. local HITPLAYERSOUNDS = {
  76. "263032172",
  77. "263032182",
  78. "263032200",
  79. "263032221",
  80. "263032252",
  81. "263033191"
  82. }
  83. ArtificialHB = Instance.new("BindableEvent", script)
  84. ArtificialHB.Name = "ArtificialHB"
  85. script:WaitForChild("ArtificialHB")
  86. frame = Frame_Speed
  87. tf = 0
  88. allowframeloss = false
  89. tossremainder = false
  90. lastframe = tick()
  91. script.ArtificialHB:Fire()
  92. game:GetService("RunService").Heartbeat:connect(function(s, p)
  93. tf = tf + s
  94. if tf >= frame then
  95. if allowframeloss then
  96. script.ArtificialHB:Fire()
  97. lastframe = tick()
  98. else
  99. for i = 1, math.floor(tf / frame) do
  100. script.ArtificialHB:Fire()
  101. end
  102. lastframe = tick()
  103. end
  104. if tossremainder then
  105. tf = 0
  106. else
  107. tf = tf - frame * math.floor(tf / frame)
  108. end
  109. end
  110. end)
  111. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  112. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  113. end
  114. function PositiveAngle(NUMBER)
  115. if NUMBER >= 0 then
  116. NUMBER = 0
  117. end
  118. return NUMBER
  119. end
  120. function NegativeAngle(NUMBER)
  121. if NUMBER <= 0 then
  122. NUMBER = 0
  123. end
  124. return NUMBER
  125. end
  126. function Swait(NUMBER)
  127. if NUMBER == 0 or NUMBER == nil then
  128. ArtificialHB.Event:wait()
  129. else
  130. for i = 1, NUMBER do
  131. ArtificialHB.Event:wait()
  132. end
  133. end
  134. end
  135. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  136. local NEWMESH = IT(MESH)
  137. if MESH == "SpecialMesh" then
  138. NEWMESH.MeshType = MESHTYPE
  139. if MESHID ~= "nil" and MESHID ~= "" then
  140. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  141. end
  142. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  143. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  144. end
  145. end
  146. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  147. NEWMESH.Scale = SCALE
  148. NEWMESH.Parent = PARENT
  149. return NEWMESH
  150. end
  151. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  152. local NEWPART = IT("Part")
  153. NEWPART.formFactor = FORMFACTOR
  154. NEWPART.Reflectance = REFLECTANCE
  155. NEWPART.Transparency = TRANSPARENCY
  156. NEWPART.CanCollide = false
  157. NEWPART.Locked = true
  158. NEWPART.Anchored = true
  159. if ANCHOR == false then
  160. NEWPART.Anchored = false
  161. end
  162. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  163. NEWPART.Name = NAME
  164. NEWPART.Size = SIZE
  165. NEWPART.Position = Torso.Position
  166. NEWPART.Material = MATERIAL
  167. NEWPART:BreakJoints()
  168. NEWPART.Parent = PARENT
  169. return NEWPART
  170. end
  171. local weldBetween = function(a, b)
  172. local weldd = Instance.new("ManualWeld")
  173. weldd.Part0 = a
  174. weldd.Part1 = b
  175. weldd.C0 = CFrame.new()
  176. weldd.C1 = b.CFrame:inverse() * a.CFrame
  177. weldd.Parent = a
  178. return weldd
  179. end
  180. function QuaternionFromCFrame(cf)
  181. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  182. local trace = m00 + m11 + m22
  183. if trace > 0 then
  184. local s = math.sqrt(1 + trace)
  185. local recip = 0.5 / s
  186. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  187. else
  188. local i = 0
  189. if m00 < m11 then
  190. i = 1
  191. end
  192. if m22 > (i == 0 and m00 or m11) then
  193. i = 2
  194. end
  195. if i == 0 then
  196. local s = math.sqrt(m00 - m11 - m22 + 1)
  197. local recip = 0.5 / s
  198. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  199. elseif i == 1 then
  200. local s = math.sqrt(m11 - m22 - m00 + 1)
  201. local recip = 0.5 / s
  202. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  203. elseif i == 2 then
  204. local s = math.sqrt(m22 - m00 - m11 + 1)
  205. local recip = 0.5 / s
  206. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  207. end
  208. end
  209. end
  210. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  211. local xs, ys, zs = x + x, y + y, z + z
  212. local wx, wy, wz = w * xs, w * ys, w * zs
  213. local xx = x * xs
  214. local xy = x * ys
  215. local xz = x * zs
  216. local yy = y * ys
  217. local yz = y * zs
  218. local zz = z * zs
  219. 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))
  220. end
  221. function QuaternionSlerp(a, b, t)
  222. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  223. local startInterp, finishInterp
  224. if cosTheta >= 1.0E-4 then
  225. if 1 - cosTheta > 1.0E-4 then
  226. local theta = ACOS(cosTheta)
  227. local invSinTheta = 1 / SIN(theta)
  228. startInterp = SIN((1 - t) * theta) * invSinTheta
  229. finishInterp = SIN(t * theta) * invSinTheta
  230. else
  231. startInterp = 1 - t
  232. finishInterp = t
  233. end
  234. elseif 1 + cosTheta > 1.0E-4 then
  235. local theta = ACOS(-cosTheta)
  236. local invSinTheta = 1 / SIN(theta)
  237. startInterp = SIN((t - 1) * theta) * invSinTheta
  238. finishInterp = SIN(t * theta) * invSinTheta
  239. else
  240. startInterp = t - 1
  241. finishInterp = t
  242. end
  243. 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
  244. end
  245. function Clerp(a, b, t)
  246. local qa = {
  247. QuaternionFromCFrame(a)
  248. }
  249. local qb = {
  250. QuaternionFromCFrame(b)
  251. }
  252. local ax, ay, az = a.x, a.y, a.z
  253. local bx, by, bz = b.x, b.y, b.z
  254. local _t = 1 - t
  255. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  256. end
  257. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  258. local frame = IT("Frame")
  259. frame.BackgroundTransparency = TRANSPARENCY
  260. frame.BorderSizePixel = BORDERSIZEPIXEL
  261. frame.Position = POSITION
  262. frame.Size = SIZE
  263. frame.BackgroundColor3 = COLOR
  264. frame.BorderColor3 = BORDERCOLOR
  265. frame.Name = NAME
  266. frame.Parent = PARENT
  267. return frame
  268. end
  269. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  270. local label = IT("TextLabel")
  271. label.BackgroundTransparency = 1
  272. label.Size = UD2(1, 0, 1, 0)
  273. label.Position = UD2(0, 0, 0, 0)
  274. label.TextColor3 = TEXTCOLOR
  275. label.TextStrokeTransparency = STROKETRANSPARENCY
  276. label.TextTransparency = TRANSPARENCY
  277. label.FontSize = TEXTFONTSIZE
  278. label.Font = TEXTFONT
  279. label.BorderSizePixel = BORDERSIZEPIXEL
  280. label.TextScaled = false
  281. label.Text = TEXT
  282. label.Name = NAME
  283. label.Parent = PARENT
  284. return label
  285. end
  286. function NoOutlines(PART)
  287. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  288. end
  289. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  290. local NEWWELD = IT(TYPE)
  291. NEWWELD.Part0 = PART0
  292. NEWWELD.Part1 = PART1
  293. NEWWELD.C0 = C0
  294. NEWWELD.C1 = C1
  295. NEWWELD.Parent = PARENT
  296. return NEWWELD
  297. end
  298. local S = IT("Sound")
  299. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  300. local NEWSOUND
  301. coroutine.resume(coroutine.create(function()
  302. NEWSOUND = S:Clone()
  303. NEWSOUND.Parent = PARENT
  304. NEWSOUND.EmitterSize = 10 + VOLUME * 2
  305. NEWSOUND.Volume = VOLUME
  306. NEWSOUND.Pitch = PITCH
  307. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  308. NEWSOUND:play()
  309. if DOESLOOP == true then
  310. NEWSOUND.Looped = true
  311. else
  312. repeat
  313. wait(1)
  314. until NEWSOUND.Playing == false
  315. NEWSOUND:remove()
  316. end
  317. end))
  318. return NEWSOUND
  319. end
  320. function CFrameFromTopBack(at, top, back)
  321. local right = top:Cross(back)
  322. 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)
  323. end
  324. function WACKYEFFECT(Table)
  325. local TYPE = Table.EffectType or "Sphere"
  326. local SIZE = Table.Size or VT(1, 1, 1)
  327. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  328. local TRANSPARENCY = Table.Transparency or 0
  329. local ENDTRANSPARENCY = Table.Transparency2 or 1
  330. local CFRAME = Table.CFrame or Torso.CFrame
  331. local MOVEDIRECTION = Table.MoveToPos or nil
  332. local ROTATION1 = Table.RotationX or 0
  333. local ROTATION2 = Table.RotationY or 0
  334. local ROTATION3 = Table.RotationZ or 0
  335. local MATERIAL = Table.Material or "Neon"
  336. local COLOR = Table.Color or C3(1, 1, 1)
  337. local TIME = Table.Time or 45
  338. local SOUNDID = Table.SoundID or nil
  339. local SOUNDPITCH = Table.SoundPitch or nil
  340. local SOUNDVOLUME = Table.SoundVolume or nil
  341. coroutine.resume(coroutine.create(function()
  342. local PLAYSSOUND = false
  343. local SOUND
  344. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  345. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  346. PLAYSSOUND = true
  347. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  348. end
  349. EFFECT.Color = COLOR
  350. local MSH
  351. if TYPE == "Sphere" then
  352. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  353. elseif TYPE == "Block" or TYPE == "Box" then
  354. MSH = IT("BlockMesh", EFFECT)
  355. MSH.Scale = SIZE
  356. elseif TYPE == "Wave" then
  357. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  358. elseif TYPE == "Ring" then
  359. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  360. elseif TYPE == "Slash" then
  361. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  362. elseif TYPE == "Round Slash" then
  363. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  364. elseif TYPE == "Swirl" then
  365. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  366. elseif TYPE == "Skull" then
  367. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  368. elseif TYPE == "Crystal" then
  369. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  370. end
  371. if MSH ~= nil then
  372. local MOVESPEED
  373. if MOVEDIRECTION ~= nil then
  374. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  375. end
  376. local GROWTH = SIZE - ENDSIZE
  377. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  378. if TYPE == "Block" then
  379. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  380. else
  381. EFFECT.CFrame = CFRAME
  382. end
  383. for LOOP = 1, TIME + 1 do
  384. Swait()
  385. MSH.Scale = MSH.Scale - GROWTH / TIME
  386. if TYPE == "Wave" then
  387. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  388. end
  389. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  390. if TYPE == "Block" then
  391. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  392. else
  393. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  394. end
  395. if MOVEDIRECTION ~= nil then
  396. local ORI = EFFECT.Orientation
  397. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  398. EFFECT.Orientation = ORI
  399. end
  400. end
  401. if PLAYSSOUND == false then
  402. EFFECT:remove()
  403. else
  404. repeat
  405. Swait()
  406. until EFFECT:FindFirstChildOfClass("Sound") == nil
  407. EFFECT:remove()
  408. end
  409. elseif PLAYSSOUND == false then
  410. EFFECT:remove()
  411. else
  412. repeat
  413. Swait()
  414. until EFFECT:FindFirstChildOfClass("Sound") == nil
  415. EFFECT:remove()
  416. end
  417. end))
  418. end
  419. function MakeForm(PART, TYPE)
  420. if TYPE == "Cyl" then
  421. local MSH = IT("CylinderMesh", PART)
  422. elseif TYPE == "Ball" then
  423. local MSH = IT("SpecialMesh", PART)
  424. MSH.MeshType = "Sphere"
  425. elseif TYPE == "Wedge" then
  426. local MSH = IT("SpecialMesh", PART)
  427. MSH.MeshType = "Wedge"
  428. end
  429. end
  430. Debris = game:GetService("Debris")
  431. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  432. local DIRECTION = CF(StartPos, EndPos).lookVector
  433. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  434. end
  435. function MakeForm(PART, TYPE)
  436. if TYPE == "Cyl" then
  437. local MSH = IT("CylinderMesh", PART)
  438. elseif TYPE == "Ball" then
  439. local MSH = IT("SpecialMesh", PART)
  440. MSH.MeshType = "Sphere"
  441. elseif TYPE == "Wedge" then
  442. local MSH = IT("SpecialMesh", PART)
  443. MSH.MeshType = "Wedge"
  444. end
  445. end
  446. Debris = game:GetService("Debris")
  447. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  448. local DIRECTION = CF(StartPos, EndPos).lookVector
  449. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  450. end
  451. function Chatter(Text, Timer)
  452. local chat = coroutine.wrap(function()
  453. if Character:FindFirstChild("SpeechBoard") ~= nil then
  454. Character:FindFirstChild("SpeechBoard"):destroy()
  455. end
  456. local naeeym2 = IT("BillboardGui", Character)
  457. naeeym2.Size = UD2(0, 100, 0, 40)
  458. naeeym2.StudsOffset = VT(0, 5, 0)
  459. naeeym2.Adornee = Character.Head
  460. naeeym2.Name = "SpeechBoard"
  461. naeeym2.AlwaysOnTop = true
  462. local tecks2 = IT("TextLabel", naeeym2)
  463. tecks2.BackgroundTransparency = 1
  464. tecks2.BorderSizePixel = 0
  465. tecks2.Text = ""
  466. tecks2.Font = "Legacy"
  467. tecks2.TextSize = 15
  468. tecks2.TextStrokeTransparency = 0
  469. tecks2.TextColor3 = C3(1, 1, 1)
  470. tecks2.TextStrokeColor3 = C3(0, 0, 0)
  471. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  472. local FINISHED = false
  473. coroutine.resume(coroutine.create(function()
  474. for i = 1, string.len(Text) do
  475. if naeeym2.Parent ~= Character then
  476. FINISHED = true
  477. end
  478. CreateSound(418252437, Head, 7, MRANDOM(8, 12) / 15, false)
  479. tecks2.Text = string.sub(Text, 1, i)
  480. Swait(Timer)
  481. end
  482. FINISHED = true
  483. end))
  484. repeat
  485. wait()
  486. until FINISHED == true
  487. wait(1)
  488. naeeym2.Name = "FadingDialogue"
  489. for i = 1, 45 do
  490. Swait()
  491. naeeym2.StudsOffset = naeeym2.StudsOffset + VT(0, (2 - 0.044444444444444446 * i) / 45, 0)
  492. tecks2.TextTransparency = tecks2.TextTransparency + 0.022222222222222223
  493. tecks2.TextStrokeTransparency = tecks2.TextTransparency
  494. end
  495. naeeym2:Destroy()
  496. end)
  497. chat()
  498. end
  499. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH, DOES360)
  500. if FLOOR ~= nil then
  501. for i = 1, AMOUNT do
  502. do
  503. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
  504. DEBREE.Material = FLOOR.Material
  505. DEBREE.Color = FLOOR.Color
  506. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  507. if DOES360 == true then
  508. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  509. else
  510. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  511. end
  512. coroutine.resume(coroutine.create(function()
  513. Swait(15)
  514. DEBREE.Parent = workspace
  515. DEBREE.CanCollide = true
  516. Debris:AddItem(DEBREE, SWAIT)
  517. end))
  518. end
  519. end
  520. end
  521. end
  522.  
  523. --Converted with ttyyuu12345's model to script plugin v4
  524. function sandbox(var,func)
  525. local env = getfenv(func)
  526. local newenv = setmetatable({},{
  527. __index = function(self,k)
  528. if k=="script" then
  529. return var
  530. else
  531. return env[k]
  532. end
  533. end,
  534. })
  535. setfenv(func,newenv)
  536. return func
  537. end
  538. cors = {}
  539. mas = Instance.new("Model",game:GetService("Lighting"))
  540. LocalScript0 = Instance.new("LocalScript")
  541. NumberValue1 = Instance.new("NumberValue")
  542. NumberValue2 = Instance.new("NumberValue")
  543. BoolValue3 = Instance.new("BoolValue")
  544. LocalScript0.Name = "CamShake"
  545. LocalScript0.Parent = mas
  546. table.insert(cors,sandbox(LocalScript0,function()
  547. -- Synapse Decompiler
  548. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  549.  
  550. VT = Vector3.new
  551. MRANDOM = math.random
  552. local A, B, C
  553. local HUMANOID = script.Parent:FindFirstChildOfClass("Humanoid")
  554. for _, c in pairs(script:GetChildren()) do
  555. if c.Name == "Timer" then
  556. A = c.Value
  557. elseif c.Name == "Shake" then
  558. B = c.Value * 5
  559. elseif c.Name == "DoesFade" then
  560. C = c.Value
  561. end
  562. end
  563. local TIMER = A or 35
  564. local SHAKE = B or 5
  565. local FADE = C or true
  566. if HUMANOID and game.Players:FindFirstChild(script.Parent.Name) then
  567. local FADER = SHAKE / TIMER
  568. for i = 1, TIMER do
  569. wait()
  570. 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)
  571. end
  572. HUMANOID.CameraOffset = VT(0, 0, 0)
  573. end
  574. script:remove()
  575.  
  576. end))
  577. LocalScript0.Disabled = true
  578. NumberValue1.Name = "Timer"
  579. NumberValue1.Parent = LocalScript0
  580. NumberValue1.Value = 35
  581. NumberValue2.Name = "Shake"
  582. NumberValue2.Parent = LocalScript0
  583. NumberValue2.Value = 5
  584. BoolValue3.Name = "DoesFade"
  585. BoolValue3.Parent = LocalScript0
  586. for i,v in pairs(mas:GetChildren()) do
  587. v.Parent = script
  588. pcall(function() v:MakeJoints() end)
  589. end
  590. mas:Destroy()
  591. for i,v in pairs(cors) do
  592. spawn(function()
  593. pcall(v)
  594. end)
  595. end
  596.  
  597. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  598. local CHILDREN = workspace:GetDescendants()
  599. for index, CHILD in pairs(CHILDREN) do
  600. if CHILD.ClassName == "Model" then
  601. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  602. if HUM then
  603. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  604. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  605. --[[
  606. local CAMSHAKER = script.CamShake:Clone()
  607. CAMSHAKER.Shake.Value = INTENSITY
  608. CAMSHAKER.Timer.Value = TIME
  609. CAMSHAKER.Parent = CHILD
  610. CAMSHAKER.Disabled = false
  611. ]]--
  612. end
  613. end
  614. end
  615. end
  616. end
  617. Humanoid.Parent = nil
  618. RootPart.Size = RootPart.Size * SIZE
  619. Torso.Size = Torso.Size * SIZE
  620. RightArm.Size = RightArm.Size * SIZE
  621. RightLeg.Size = RightLeg.Size * SIZE
  622. LeftArm.Size = LeftArm.Size * SIZE
  623. LeftLeg.Size = LeftLeg.Size * SIZE
  624. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  625. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  626. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + (1 * SIZE - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  627. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  628. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  629. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  630. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  631. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  632. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  633. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  634. Head.Size = Head.Size * SIZE
  635. RootJoint.Parent = RootPart
  636. Neck.Parent = Torso
  637. RightShoulder.Parent = Torso
  638. LeftShoulder.Parent = Torso
  639. RightHip.Parent = Torso
  640. LeftHip.Parent = Torso
  641.  
  642.  
  643. --Converted with ttyyuu12345's model to script plugin v4
  644. function sandbox(var,func)
  645. local env = getfenv(func)
  646. local newenv = setmetatable({},{
  647. __index = function(self,k)
  648. if k=="script" then
  649. return var
  650. else
  651. return env[k]
  652. end
  653. end,
  654. })
  655. setfenv(func,newenv)
  656. return func
  657. end
  658. cors = {}
  659. mas = Instance.new("Model",game:GetService("Lighting"))
  660. Model0 = Instance.new("Model")
  661. UnionOperation1 = Instance.new("UnionOperation")
  662. UnionOperation2 = Instance.new("UnionOperation")
  663. UnionOperation3 = Instance.new("UnionOperation")
  664. UnionOperation4 = Instance.new("UnionOperation")
  665. Part5 = Instance.new("Part")
  666. UnionOperation6 = Instance.new("UnionOperation")
  667. UnionOperation7 = Instance.new("UnionOperation")
  668. Model0.Name = "Torso"
  669. Model0.Parent = mas
  670. Model0.PrimaryPart = Part5
  671. UnionOperation1.Parent = Model0
  672. UnionOperation1.CFrame = CFrame.new(66.0880356, 31.4212418, -24.9220352, 0.511683702, -0.858534038, 0.0331550799, -0.641046047, -0.407185942, -0.650584102, 0.572048903, 0.311639369, -0.758710146)
  673. UnionOperation1.Orientation = Vector3.new(40.5900002, 177.5, -122.419998)
  674. UnionOperation1.Position = Vector3.new(66.0880356, 31.4212418, -24.9220352)
  675. UnionOperation1.Rotation = Vector3.new(139.389999, 1.89999998, 59.2099991)
  676. UnionOperation1.Color = Color3.new(0.486275, 0.360784, 0.27451)
  677. UnionOperation1.Velocity = Vector3.new(0, -79.1103516, 0)
  678. UnionOperation1.Size = Vector3.new(6.51896667, 9.25674725, 8.98371124)
  679. UnionOperation1.BrickColor = BrickColor.new("Brown")
  680. UnionOperation1.CanCollide = false
  681. UnionOperation1.Locked = true
  682. UnionOperation1.Material = Enum.Material.Fabric
  683. UnionOperation1.brickColor = BrickColor.new("Brown")
  684. UnionOperation1.UsePartColor = true
  685. UnionOperation2.Parent = Model0
  686. UnionOperation2.CFrame = CFrame.new(66.2050552, 35.9281769, -24.255394, 0.998850524, 0.0201554056, -0.0434897766, -0.0234401654, 0.99680233, -0.0763903707, 0.0418109968, 0.0773219913, 0.996129036)
  687. UnionOperation2.Orientation = Vector3.new(4.38000011, -2.5, -1.35000002)
  688. UnionOperation2.Position = Vector3.new(66.2050552, 35.9281769, -24.255394)
  689. UnionOperation2.Rotation = Vector3.new(4.38999987, -2.49000001, -1.15999997)
  690. UnionOperation2.Color = Color3.new(0.486275, 0.360784, 0.27451)
  691. UnionOperation2.Velocity = Vector3.new(0, -79.1103516, 0)
  692. UnionOperation2.Size = Vector3.new(6.43408632, 7.26874971, 4.10761452)
  693. UnionOperation2.BrickColor = BrickColor.new("Brown")
  694. UnionOperation2.CanCollide = false
  695. UnionOperation2.Locked = true
  696. UnionOperation2.Material = Enum.Material.Fabric
  697. UnionOperation2.brickColor = BrickColor.new("Brown")
  698. UnionOperation3.Parent = Model0
  699. UnionOperation3.CFrame = CFrame.new(66.1849976, 34.562397, -23.3812103, 0.961611152, -0.271576285, -0.0393445417, 0.274188519, 0.956681669, 0.0978683829, 0.011060602, -0.104899362, 0.994421184)
  700. UnionOperation3.Orientation = Vector3.new(-5.61999989, -2.26999998, 15.9899998)
  701. UnionOperation3.Position = Vector3.new(66.1849976, 34.562397, -23.3812103)
  702. UnionOperation3.Rotation = Vector3.new(-5.61999989, -2.25, 15.7700005)
  703. UnionOperation3.Color = Color3.new(0.639216, 0.635294, 0.647059)
  704. UnionOperation3.Velocity = Vector3.new(0, -79.1103516, 0)
  705. UnionOperation3.Size = Vector3.new(0.683220685, 0.712420821, 2.37473154)
  706. UnionOperation3.BrickColor = BrickColor.new("Medium stone grey")
  707. UnionOperation3.CanCollide = false
  708. UnionOperation3.Locked = true
  709. UnionOperation3.Material = Enum.Material.Metal
  710. UnionOperation3.brickColor = BrickColor.new("Medium stone grey")
  711. UnionOperation4.Parent = Model0
  712. UnionOperation4.CFrame = CFrame.new(66.1585236, 34.4637642, -23.9632912, -0.998852909, 0.027420288, 0.0392558724, 0.0234681871, 0.994927645, -0.0978180766, -0.0417389497, -0.0967845991, -0.994429827)
  713. UnionOperation4.Orientation = Vector3.new(5.61000013, 177.740005, 1.35000002)
  714. UnionOperation4.Position = Vector3.new(66.1585236, 34.4637642, -23.9632912)
  715. UnionOperation4.Rotation = Vector3.new(174.380005, 2.25, -178.429993)
  716. UnionOperation4.Color = Color3.new(0.486275, 0.360784, 0.27451)
  717. UnionOperation4.Velocity = Vector3.new(0, -79.1103516, 0)
  718. UnionOperation4.Size = Vector3.new(6.591012, 2.30219936, 3.40535688)
  719. UnionOperation4.BrickColor = BrickColor.new("Brown")
  720. UnionOperation4.CanCollide = false
  721. UnionOperation4.Locked = true
  722. UnionOperation4.Material = Enum.Material.Marble
  723. UnionOperation4.brickColor = BrickColor.new("Brown")
  724. UnionOperation4.UsePartColor = true
  725. Part5.Name = "Body"
  726. Part5.Parent = Model0
  727. Part5.CFrame = CFrame.new(66.2031403, 36.0979691, -24.114418, -0.998852909, 0.027420288, 0.0392558724, 0.0234681871, 0.994927645, -0.0978180766, -0.0417389497, -0.0967845991, -0.994429827)
  728. Part5.Orientation = Vector3.new(5.61000013, 177.740005, 1.35000002)
  729. Part5.Position = Vector3.new(66.2031403, 36.0979691, -24.114418)
  730. Part5.Rotation = Vector3.new(174.380005, 2.25, -178.429993)
  731. Part5.Color = Color3.new(0.176471, 0.176471, 0.176471)
  732. Part5.Velocity = Vector3.new(0, -79.1103516, 0)
  733. Part5.Size = Vector3.new(6.35562181, 6.35562181, 3.21704268)
  734. Part5.BottomSurface = Enum.SurfaceType.Smooth
  735. Part5.BrickColor = BrickColor.new("Black")
  736. Part5.CanCollide = false
  737. Part5.Locked = true
  738. Part5.Material = Enum.Material.Glass
  739. Part5.TopSurface = Enum.SurfaceType.Smooth
  740. Part5.brickColor = BrickColor.new("Black")
  741. UnionOperation6.Name = "Gun"
  742. UnionOperation6.Parent = Model0
  743. UnionOperation6.CFrame = CFrame.new(68.9042282, 34.0341225, -21.8122749, 0.225762859, 0.664563179, 0.712311029, 0.25394249, -0.746055603, 0.615560174, 0.940502167, 0.0419154018, -0.337192476)
  744. UnionOperation6.Orientation = Vector3.new(-37.9900017, 115.330002, 161.199997)
  745. UnionOperation6.Position = Vector3.new(68.9042282, 34.0341225, -21.8122749)
  746. UnionOperation6.Rotation = Vector3.new(-118.709999, 45.4199982, -71.2399979)
  747. UnionOperation6.Color = Color3.new(0.639216, 0.635294, 0.647059)
  748. UnionOperation6.Velocity = Vector3.new(0, -79.1103516, 0)
  749. UnionOperation6.Size = Vector3.new(0.591243327, 3.18984652, 3.819911)
  750. UnionOperation6.BrickColor = BrickColor.new("Medium stone grey")
  751. UnionOperation6.CanCollide = false
  752. UnionOperation6.Locked = true
  753. UnionOperation6.Material = Enum.Material.Metal
  754. UnionOperation6.brickColor = BrickColor.new("Medium stone grey")
  755. UnionOperation7.Name = "Beartrap"
  756. UnionOperation7.Parent = Model0
  757. UnionOperation7.CFrame = CFrame.new(61.8376312, 32.5886307, -22.1378059, -0.531065464, -0.642644703, -0.552247465, -0.84597069, 0.365218043, 0.388522089, -0.0479909256, 0.673515856, -0.737613261)
  758. UnionOperation7.Orientation = Vector3.new(-22.8600006, -143.179993, -66.6500015)
  759. UnionOperation7.Position = Vector3.new(61.8376312, 32.5886307, -22.1378059)
  760. UnionOperation7.Rotation = Vector3.new(-152.220001, -33.5200005, 129.570007)
  761. UnionOperation7.Color = Color3.new(0.639216, 0.635294, 0.647059)
  762. UnionOperation7.Velocity = Vector3.new(0, -79.1103516, 0)
  763. UnionOperation7.Size = Vector3.new(3.4707377, 1.09850955, 3.16136241)
  764. UnionOperation7.BrickColor = BrickColor.new("Medium stone grey")
  765. UnionOperation7.CanCollide = false
  766. UnionOperation7.Locked = true
  767. UnionOperation7.Material = Enum.Material.CorrodedMetal
  768. UnionOperation7.brickColor = BrickColor.new("Medium stone grey")
  769. for i,v in pairs(mas:GetChildren()) do
  770. v.Parent = workspace
  771. pcall(function() v:MakeJoints() end)
  772. end
  773. mas:Destroy()
  774. for i,v in pairs(cors) do
  775. spawn(function()
  776. pcall(v)
  777. end)
  778. end
  779.  
  780.  
  781. --Converted with ttyyuu12345's model to script plugin v4
  782. function sandbox(var,func)
  783. local env = getfenv(func)
  784. local newenv = setmetatable({},{
  785. __index = function(self,k)
  786. if k=="script" then
  787. return var
  788. else
  789. return env[k]
  790. end
  791. end,
  792. })
  793. setfenv(func,newenv)
  794. return func
  795. end
  796. cors = {}
  797. mas = Instance.new("Model",game:GetService("Lighting"))
  798. Model0 = Instance.new("Model")
  799. Part1 = Instance.new("Part")
  800. Sound2 = Instance.new("Sound")
  801. UnionOperation3 = Instance.new("UnionOperation")
  802. Weld4 = Instance.new("Weld")
  803. UnionOperation5 = Instance.new("UnionOperation")
  804. Weld6 = Instance.new("Weld")
  805. Part7 = Instance.new("Part")
  806. SpecialMesh8 = Instance.new("SpecialMesh")
  807. Trail9 = Instance.new("Trail")
  808. Sound10 = Instance.new("Sound")
  809. Model0.Name = "Beartrap"
  810. Model0.Parent = mas
  811. Model0.PrimaryPart = Part1
  812. Part1.Name = "Base"
  813. Part1.Parent = Model0
  814. Part1.CFrame = CFrame.new(58.0010757, 1.57511771, -32.4993324, 0.997216702, -0.0744981542, 0.00296484679, 0.0734505132, 0.988464534, 0.132448822, -0.0127979033, -0.131862402, 0.991185367)
  815. Part1.Orientation = Vector3.new(-7.61000013, 0.170000002, 4.25)
  816. Part1.Position = Vector3.new(58.0010757, 1.57511771, -32.4993324)
  817. Part1.Rotation = Vector3.new(-7.61000013, 0.170000002, 4.26999998)
  818. Part1.Transparency = 1
  819. Part1.Velocity = Vector3.new(0.305933446, -10.7638006, 6.52881098)
  820. Part1.Size = Vector3.new(0.0747161657, 0.0747161657, 0.0747161657)
  821. Part1.BottomSurface = Enum.SurfaceType.Smooth
  822. Part1.CanCollide = false
  823. Part1.Material = Enum.Material.CorrodedMetal
  824. Part1.RotVelocity = Vector3.new(-2.77263236, 0.19464913, 1.53868365)
  825. Part1.TopSurface = Enum.SurfaceType.Smooth
  826. Sound2.Parent = Part1
  827. Sound2.EmitterSize = 22
  828. Sound2.MinDistance = 22
  829. Sound2.SoundId = "http://www.roblox.com/asset/?id=147722227"
  830. Sound2.Volume = 6
  831. UnionOperation3.Name = "Closed"
  832. UnionOperation3.Parent = Model0
  833. UnionOperation3.CFrame = CFrame.new(57.8443222, 2.09712577, -32.6931, 0.226223767, -0.811824143, -0.538297474, 0.430195302, 0.579077363, -0.69253242, 0.873930514, -0.0749058276, 0.4802441)
  834. UnionOperation3.Orientation = Vector3.new(43.8300018, -48.2599983, 36.6100006)
  835. UnionOperation3.Position = Vector3.new(57.8443222, 2.09712577, -32.6931)
  836. UnionOperation3.Rotation = Vector3.new(55.2599983, -32.5699997, 74.4300003)
  837. UnionOperation3.Color = Color3.new(0.639216, 0.635294, 0.647059)
  838. UnionOperation3.Transparency = 1
  839. UnionOperation3.Velocity = Vector3.new(-0.534988523, -11.5422411, 5.11198664)
  840. UnionOperation3.Size = Vector3.new(2.99143386, 2.22334599, 2.33900714)
  841. UnionOperation3.BrickColor = BrickColor.new("Medium stone grey")
  842. UnionOperation3.CanCollide = false
  843. UnionOperation3.Material = Enum.Material.CorrodedMetal
  844. UnionOperation3.RotVelocity = Vector3.new(-2.77263236, 0.19464913, 1.53868365)
  845. UnionOperation3.brickColor = BrickColor.new("Medium stone grey")
  846. Weld4.Name = "Joint"
  847. Weld4.Parent = UnionOperation3
  848. Weld4.C0 = CFrame.new(-0.0197632555, -0.444054753, 0.370183378, 0.2460078, 0.293141037, 0.923876822, -0.766072512, 0.642754197, 4.55677509e-05, -0.593812287, -0.707767844, 0.382689834)
  849. Weld4.Part0 = UnionOperation3
  850. Weld4.Part1 = Part1
  851. Weld4.part1 = Part1
  852. UnionOperation5.Name = "Open"
  853. UnionOperation5.Parent = Model0
  854. UnionOperation5.CFrame = CFrame.new(57.9880676, 1.86335099, -32.5411568, 0.997216702, -0.0744981542, 0.00296484679, 0.0734505132, 0.988464534, 0.132448822, -0.0127979033, -0.131862402, 0.991185367)
  855. UnionOperation5.Orientation = Vector3.new(-7.61000013, 0.170000002, 4.25)
  856. UnionOperation5.Position = Vector3.new(57.9880676, 1.86335099, -32.5411568)
  857. UnionOperation5.Rotation = Vector3.new(-7.61000013, 0.170000002, 4.26999998)
  858. UnionOperation5.Color = Color3.new(0.639216, 0.635294, 0.647059)
  859. UnionOperation5.Velocity = Vector3.new(-0.145707458, -10.8997793, 5.73217821)
  860. UnionOperation5.Size = Vector3.new(3.30493855, 1.04603302, 3.01034236)
  861. UnionOperation5.BrickColor = BrickColor.new("Medium stone grey")
  862. UnionOperation5.Material = Enum.Material.CorrodedMetal
  863. UnionOperation5.RotVelocity = Vector3.new(-2.77263236, 0.19464913, 1.53868365)
  864. UnionOperation5.brickColor = BrickColor.new("Medium stone grey")
  865. Weld6.Name = "Joint"
  866. Weld6.Parent = UnionOperation5
  867. Weld6.C0 = CFrame.new(-0.00873299874, -0.291392565, 0.00331762712, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  868. Weld6.Part0 = UnionOperation5
  869. Weld6.Part1 = Part1
  870. Weld6.part1 = Part1
  871. Part7.Name = "Grenade"
  872. Part7.Parent = mas
  873. Part7.CFrame = CFrame.new(134.766937, 15.3648643, 8.04905415, -0.776946664, -0.0182258431, -0.629302561, -0.629268765, -0.00825065561, 0.777144015, -0.0193562619, 0.999799848, -0.00505863409)
  874. Part7.Orientation = Vector3.new(-51, -90.4599991, -90.75)
  875. Part7.Position = Vector3.new(134.766937, 15.3648643, 8.04905415)
  876. Part7.Rotation = Vector3.new(-90.3700027, -39, 178.660004)
  877. Part7.Color = Color3.new(0.152941, 0.27451, 0.176471)
  878. Part7.Velocity = Vector3.new(0.0464646779, 0.00033079437, 0.0308197252)
  879. Part7.Size = Vector3.new(1.43749833, 2.29999709, 1.43749833)
  880. Part7.BrickColor = BrickColor.new("Earth green")
  881. Part7.RotVelocity = Vector3.new(-0.000168789324, 0.010219017, 0.000870788237)
  882. Part7.brickColor = BrickColor.new("Earth green")
  883. Part7.FormFactor = Enum.FormFactor.Plate
  884. Part7.formFactor = Enum.FormFactor.Plate
  885. SpecialMesh8.Parent = Part7
  886. SpecialMesh8.MeshId = "http://www.roblox.com/Asset/?id=10207236"
  887. SpecialMesh8.Scale = Vector3.new(0.244374722, 0.244374692, 0.244374722)
  888. SpecialMesh8.VertexColor = Vector3.new(255, 255, 255)
  889. SpecialMesh8.MeshType = Enum.MeshType.FileMesh
  890. Trail9.Parent = Part7
  891. Trail9.Attachment0 = nil
  892. Trail9.Attachment1 = nil
  893. Trail9.Color = ColorSequence.new(Color3.new(0.152941, 0.27451, 0.176471),Color3.new(0.152941, 0.27451, 0.176471))
  894. Trail9.LightInfluence = 1
  895. Trail9.Transparency = NumberSequence.new(0.5,0.61249995231628,0.71249997615814,1)
  896. Trail9.Lifetime = 0.10000000149012
  897. Sound10.Parent = Part7
  898. Sound10.EmitterSize = 24
  899. Sound10.MinDistance = 24
  900. Sound10.SoundId = "http://www.roblox.com/asset/?id=326088041"
  901. Sound10.Volume = 7
  902. for i,v in pairs(mas:GetChildren()) do
  903. v.Parent = script
  904. pcall(function() v:MakeJoints() end)
  905. end
  906. mas:Destroy()
  907. for i,v in pairs(cors) do
  908. spawn(function()
  909. pcall(v)
  910. end)
  911. end
  912.  
  913. local Trap = Instance.new
  914. local GUNOFFSET = CF(0, 0.8, -1.3)
  915. local BEARTRAP = script.Beartrap
  916. BEARTRAP.Parent = nil
  917. local GRENADE = script.Grenade
  918. GRENADE.Parent = nil
  919. GRENADE.Anchored = false
  920. local FAKEBEARTRAP, FAKEGUN, HELDTRAP
  921. for _, c in pairs(Character:GetChildren()) do
  922. if script:FindFirstChild(c.Name) then
  923. local Part = script[c.Name]
  924. Part.Parent = Character
  925. Part:SetPrimaryPartCFrame(c.CFrame)
  926. c.Transparency = 1
  927. for _, e in pairs(Part:GetChildren()) do
  928. if e:IsA("BasePart") and e.Name ~= "Base" then
  929. e.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  930. e.Anchored = false
  931. weldBetween(c, e)
  932. e.CanCollide = false
  933. e.Locked = true
  934. if e.Name == "Beartrap" then
  935. FAKEBEARTRAP = e
  936. elseif e.Name == "Gun" then
  937. FAKEGUN = e
  938. elseif e.Name == "HeldBeartrap" then
  939. HELDTRAP = e
  940. end
  941. end
  942. end
  943. end
  944. end
  945.  
  946. local TAIL = {}
  947.  
  948. local SKILLTEXTCOLOR = C3(1, 1, 1)
  949. local SKILLFONT = "Legacy"
  950. local SKILLTEXTSIZE = 3
  951. local ATTACKS = {
  952. "Mouse - Fury",
  953. "F - Equip Gun",
  954. "C - Beartrap",
  955. "V - Hand Grenade"
  956. }
  957. for i = 1, #ATTACKS do
  958. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97 - 0.02 * i, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Frame")
  959. local SKILLTEXT = CreateLabel(SKILLFRAME, "[" .. ATTACKS[i] .. "]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
  960. SKILLTEXT.TextXAlignment = "Right"
  961. end
  962. Humanoid.Parent = Character
  963. function ApplyDamage(Humanoid, Damage)
  964. Damage = Damage * DAMAGEMULTIPLIER
  965. if Humanoid.Health < 2000 then
  966. if Humanoid.Health - Damage > 0 then
  967. Humanoid.Health = Humanoid.Health - Damage
  968. else
  969. Humanoid.Parent:BreakJoints()
  970. end
  971. else
  972. Humanoid.Parent:BreakJoints()
  973. end
  974. end
  975. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  976. for index, CHILD in pairs(workspace:GetDescendants()) do
  977. if CHILD.ClassName == "Model" and CHILD ~= Character then
  978. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  979. if HUM then
  980. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  981. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  982. if INSTAKILL == true then
  983. CHILD:BreakJoints()
  984. else
  985. local DMG = MRANDOM(MINDMG, MAXDMG)
  986. ApplyDamage(HUM, DMG)
  987. end
  988. if FLING > 0 then
  989. for _, c in pairs(CHILD:GetChildren()) do
  990. if c:IsA("BasePart") then
  991. local bv = Instance.new("BodyVelocity")
  992. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  993. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  994. bv.Parent = c
  995. Debris:AddItem(bv, 0.05)
  996. end
  997. end
  998. end
  999. end
  1000. end
  1001. end
  1002. end
  1003. end
  1004. function Fury()
  1005. ATTACK = true
  1006. Rooted = false
  1007. if EQUIPPED == false then
  1008. Rooted = true
  1009. Chatter("I'll crush you!", 0)
  1010. for i = 0, 0.3, 0.1 / Animation_Speed do
  1011. Swait()
  1012. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0.01 * SIZE, -0.01 * SIZE) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
  1013. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  1014. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1015. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1016. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, 0.2 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(5), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1017. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(-5), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1018. end
  1019. local TOUCH = RightLeg.Touched:Connect(function(HIT)
  1020. if HIT.Anchored == false and (HIT.Parent:FindFirstChildOfClass("Humanoid") or HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")) then
  1021. HIT:BreakJoints()
  1022. end
  1023. end)
  1024. for i = 0, 0.1, 0.1 / Animation_Speed do
  1025. Swait()
  1026. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, -0.4 * SIZE, -0.1 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  1027. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  1028. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1029. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1030. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1031. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1.1 * SIZE, -0.01 * SIZE) * ANGLES(RAD(25), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1032. end
  1033. local HITFLOOR, HITPOS = Raycast(RightLeg.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 2 * SIZE, Character)
  1034. if HITFLOOR then
  1035. for i = 1, 5 do
  1036. WACKYEFFECT({
  1037. Time = 25,
  1038. EffectType = "Wave",
  1039. Size = VT(5, 0.5, 5),
  1040. Size2 = VT(15 + i * 3, 0, 15 + i * 3),
  1041. Transparency = 0.7,
  1042. Transparency2 = 1,
  1043. CFrame = CF(RightLeg.CFrame * CF(0, -1.05 * SIZE, 0).p) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1044. MoveToPos = nil,
  1045. RotationX = 0,
  1046. RotationY = 0,
  1047. RotationZ = 0,
  1048. Material = "Neon",
  1049. Color = C3(1, 1, 1),
  1050. SoundID = nil,
  1051. SoundPitch = nil,
  1052. SoundVolume = nil
  1053. })
  1054. end
  1055. SHAKECAM(HITPOS, 35, 7, 12)
  1056. ApplyAoE(HITPOS, 25, 35, 45, 45, false)
  1057. CreateSound(765590102, RightLeg, 6, 1, false)
  1058. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 10, VT(2, 2, 2), 5, 75, false)
  1059. end
  1060. TOUCH:Disconnect()
  1061. for i = 0, 0.2, 0.1 / Animation_Speed do
  1062. Swait()
  1063. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, -0.4 * SIZE, -0.1 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  1064. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  1065. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1066. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1067. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1068. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1.1 * SIZE, -0.01 * SIZE) * ANGLES(RAD(25), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1069. end
  1070. else
  1071. do
  1072. local GYRO = IT("BodyGyro", RootPart)
  1073. GYRO.D = 2
  1074. GYRO.P = 20000
  1075. GYRO.MaxTorque = VT(0, 4000000, 0)
  1076. coroutine.resume(coroutine.create(function()
  1077. repeat
  1078. Swait()
  1079. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1080. until ATTACK == false
  1081. GYRO:Remove()
  1082. end))
  1083. local FIRING = true
  1084. local SHOOTING = false
  1085. local TIMER = 70
  1086. CreateSound(1498950813, HELDGUN, 6, 1, false)
  1087. for i = 0, 0.2, 0.1 / Animation_Speed do
  1088. Swait()
  1089. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  1090. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
  1091. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1092. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1093. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1094. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1095. end
  1096. local MOUSE = Mouse.Button1Down:connect(function(NEWKEY)
  1097. if SHOOTING == false then
  1098. HOLD = true
  1099. repeat
  1100. SHOOTING = true
  1101. local GUNPOS = HELDGUN.CFrame * GUNOFFSET.p
  1102. local HIT, POS, NORMAL = CastProperRay(GUNPOS, Mouse.Hit.p, 1000, Character)
  1103. local DISTANCE = (POS - GUNPOS).Magnitude
  1104. if HIT then
  1105. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1106. if HIT.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  1107. HIT.CFrame = HIT.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1108. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], HIT, 10, 1, false)
  1109. ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"), 99)
  1110. CreateFlyingDebree(HIT, CF(POS), 7, VT(0.1, 0.1, 0.1), 5, 35, true)
  1111. end
  1112. elseif HIT.Anchored == true then
  1113. CreateFlyingDebree(HIT, CF(POS), 7, VT(0.2, 0.2, 0.2), 5, 35, true)
  1114. end
  1115. end
  1116. SHAKECAM(GUNPOS, 8, 5, 3)
  1117. SHAKECAM(POS, 10, 6, 6)
  1118. WACKYEFFECT({
  1119. Time = 6,
  1120. EffectType = "Block",
  1121. Size = VT(2, 2, 2),
  1122. Size2 = VT(4, 4, 4),
  1123. Transparency = 0,
  1124. Transparency2 = 1,
  1125. CFrame = CF(GUNPOS),
  1126. MoveToPos = nil,
  1127. RotationX = 0,
  1128. RotationY = 0,
  1129. RotationZ = 0,
  1130. Material = "Neon",
  1131. Color = C3(1, 1, 0),
  1132. SoundID = 213603013,
  1133. SoundPitch = 0.9,
  1134. SoundVolume = 10
  1135. })
  1136. WACKYEFFECT({
  1137. Time = 6,
  1138. EffectType = "Box",
  1139. Size = VT(1.6, 1.6, DISTANCE),
  1140. Size2 = VT(0, 0, DISTANCE),
  1141. Transparency = 0,
  1142. Transparency2 = 1,
  1143. CFrame = CF(GUNPOS, POS) * CF(0, 0, -DISTANCE / 2),
  1144. MoveToPos = nil,
  1145. RotationX = 0,
  1146. RotationY = 0,
  1147. RotationZ = 0,
  1148. Material = "Neon",
  1149. Color = C3(1, 1, 0),
  1150. SoundID = nil,
  1151. SoundPitch = nil,
  1152. SoundVolume = nil
  1153. })
  1154. for i = 0, 0.3, 0.1 / Animation_Speed do
  1155. Swait()
  1156. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  1157. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
  1158. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(100), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1159. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1160. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1161. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1162. end
  1163. for i = 0, 0.5, 0.1 / Animation_Speed do
  1164. Swait()
  1165. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  1166. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
  1167. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1168. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1169. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1170. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1171. end
  1172. until HOLD == false
  1173. SHOOTING = false
  1174. end
  1175. end)
  1176. repeat
  1177. Swait()
  1178. if SHOOTING == false then
  1179. TIMER = TIMER - 1
  1180. if TIMER <= 0 then
  1181. FIRING = false
  1182. end
  1183. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  1184. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
  1185. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1186. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1187. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1188. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1189. end
  1190. until FIRING == false and SHOOTING == false
  1191. MOUSE:Disconnect()
  1192. end
  1193. end
  1194. ATTACK = false
  1195. Rooted = false
  1196. end
  1197. function EquipGun()
  1198. ATTACK = true
  1199. Rooted = false
  1200. if EQUIPPED == false then
  1201. Chatter("Let's play dirty.", 0)
  1202. for i = 0, 0.3, 0.1 / Animation_Speed do
  1203. Swait()
  1204. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1205. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  1206. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.4 * SIZE, 0.35 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(15), RAD(0), RAD(-75)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1207. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0.2 * SIZE) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1208. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1209. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1210. end
  1211. HELDGUN = FAKEGUN:Clone()
  1212. HELDGUN.Parent = Character
  1213. GUNWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HELDGUN, CF(0.3 * SIZE, -1.5 * SIZE, 0.1 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(-90)), CF(0, 0, 0))
  1214. FAKEGUN.Transparency = 1
  1215. CreateSound(1498950813, HELDGUN, 6, 1, false)
  1216. for i = 0, 0.3, 0.1 / Animation_Speed do
  1217. Swait()
  1218. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1219. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  1220. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.5 * SIZE, 0.45 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(-35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1221. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.3 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1222. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1223. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1224. end
  1225. EQUIPPED = true
  1226. else
  1227. for i = 0, 0.3, 0.1 / Animation_Speed do
  1228. Swait()
  1229. GUNWELD.C1 = Clerp(GUNWELD.C1, CF(0, 0.5, 0) * ANGLES(RAD(65), RAD(-45), RAD(0)), 1 / Animation_Speed)
  1230. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1231. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  1232. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.7 * SIZE, 0 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.1 * SIZE) * ANGLES(RAD(35), RAD(0), RAD(-75)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1233. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0.3 * SIZE) * ANGLES(RAD(-25), RAD(15), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1234. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1235. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1236. end
  1237. FAKEGUN.Transparency = 0
  1238. HELDGUN:remove()
  1239. HELDGUN = nil
  1240. EQUIPPED = false
  1241. end
  1242. ATTACK = false
  1243. Rooted = false
  1244. end
  1245. function BearTrap()
  1246. ATTACK = true
  1247. Rooted = false
  1248. coroutine.resume(coroutine.create(function()
  1249. repeat
  1250. Swait()
  1251. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-20), RAD(-25), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1252. until ATTACK == false
  1253. end))
  1254. for i = 0, 0.3, 0.1 / Animation_Speed do
  1255. Swait()
  1256. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1257. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  1258. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.1 * SIZE, 0.25 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(30), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1259. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1260. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1261. end
  1262. local GYRO = IT("BodyGyro", RootPart)
  1263. GYRO.D = 2
  1264. GYRO.P = 20000
  1265. GYRO.MaxTorque = VT(0, 4000000, 0)
  1266. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1267. coroutine.resume(coroutine.create(function()
  1268. repeat
  1269. Swait()
  1270. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1271. until ATTACK == false
  1272. GYRO:Remove()
  1273. end))
  1274. FAKEBEARTRAP.Transparency = 1
  1275. HELDTRAP.Transparency = 0
  1276. for i = 0, 0.4, 0.1 / Animation_Speed do
  1277. Swait()
  1278. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1279. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  1280. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(40), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1281. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1282. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1283. end
  1284. local TRAP = BEARTRAP:Clone()
  1285. TRAP.Parent = Effects
  1286. coroutine.resume(coroutine.create(function()
  1287. TRAP:SetPrimaryPartCFrame(HELDTRAP.CFrame)
  1288. local BASE = TRAP.PrimaryPart
  1289. local OPEN = TRAP.Open
  1290. local CLOSED = TRAP.Closed
  1291. CreateSound(147722227, BASE, 6, 1, false)
  1292. local DISTANCE = (BASE.Position - Mouse.Hit.p).Magnitude
  1293. BASE.Velocity = CF(BASE.Position - VT(0, 5, 0), Mouse.Hit.p).lookVector * (DISTANCE * 2)
  1294. wait(0.7)
  1295. BASE.Velocity = VT(0, 0, 0)
  1296. local ISCLOSED = false
  1297. for i = 1, 15 do
  1298. Swait()
  1299. BASE.CFrame = Clerp(BASE.CFrame, CF(BASE.Position + VT(0, 1, 0)), 0.4)
  1300. end
  1301. TOUCH = OPEN.Touched:Connect(function(HIT)
  1302. if HIT.Anchored == false and ISCLOSED == false and HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1303. TOUCH:Disconnect()
  1304. ISCLOSED = true
  1305. OPEN.Anchored = true
  1306. OPEN.Transparency = 1
  1307. CLOSED.Transparency = 0
  1308. OPEN.CanCollide = false
  1309. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], HIT, 10, 1, false)
  1310. ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"), 60)
  1311. weldBetween(OPEN, HIT)
  1312. CreateSound(54061314, OPEN, 6, 1, false)
  1313. end
  1314. end)
  1315. wait(15)
  1316. TOUCH:Disconnect()
  1317. for i = 1, 45 do
  1318. Swait()
  1319. for _, e in pairs(TRAP:GetChildren()) do
  1320. if e:IsA("BasePart") then
  1321. e.Transparency = e.Transparency + 0.022222222222222223
  1322. end
  1323. end
  1324. end
  1325. TRAP:Remove()
  1326. end))
  1327. HELDTRAP.Transparency = 1
  1328. for i = 0, 0.3, 0.1 / Animation_Speed do
  1329. Swait()
  1330. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1331. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(5)), 1 / Animation_Speed)
  1332. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.2 * SIZE) * ANGLES(RAD(120), RAD(0), RAD(10)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1333. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1334. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(-5), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1335. end
  1336. FAKEBEARTRAP.Transparency = 0
  1337. ATTACK = false
  1338. Rooted = false
  1339. end
  1340. function HandGrenade()
  1341. ATTACK = true
  1342. Rooted = false
  1343. Chatter("How about a little fire?", 0)
  1344. coroutine.resume(coroutine.create(function()
  1345. repeat
  1346. Swait()
  1347. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.35 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0.2 * SIZE) * ANGLES(RAD(-20), RAD(-25), RAD(-3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1348. until ATTACK == false
  1349. end))
  1350. local GYRO = IT("BodyGyro", RootPart)
  1351. GYRO.D = 2
  1352. GYRO.P = 20000
  1353. GYRO.MaxTorque = VT(0, 4000000, 0)
  1354. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1355. coroutine.resume(coroutine.create(function()
  1356. repeat
  1357. Swait()
  1358. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1359. until ATTACK == false
  1360. GYRO:Remove()
  1361. end))
  1362. for i = 0, 0.4, 0.1 / Animation_Speed do
  1363. Swait()
  1364. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1365. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(0 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  1366. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-5), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1367. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1368. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1369. end
  1370. local NADE = GRENADE:Clone()
  1371. NADE.CFrame = LeftArm.CFrame * CF(0, -1.2 * SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1372. NADE.Parent = Effects
  1373. CreateSound(326088041, NADE, 7, 1, false)
  1374. local WELD = weldBetween(LeftArm, NADE)
  1375. for i = 0, 0.7, 0.1 / Animation_Speed do
  1376. Swait()
  1377. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
  1378. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(0 - 5 * COS(SINE / 24)), RAD(-5), RAD(-15)), 1 / Animation_Speed)
  1379. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(150), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1380. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1381. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1382. end
  1383. coroutine.resume(coroutine.create(function()
  1384. WELD:remove()
  1385. local DISTANCE = (NADE.Position - Mouse.Hit.p).Magnitude
  1386. if DISTANCE > 150 then
  1387. DISTANCE = 150
  1388. end
  1389. NADE.Velocity = CF(NADE.Position - VT(0, 5, 0), Mouse.Hit.p).lookVector * (DISTANCE * 2)
  1390. wait(0.2)
  1391. TOUCH = NADE.Touched:Connect(function()
  1392. TOUCH:Disconnect()
  1393. wait(0.5)
  1394. NADE.Anchored = true
  1395. NADE.Transparency = 1
  1396. NADE.CanCollide = false
  1397. local COLORS = {
  1398. C3(0.8862745098039215, 0.6078431372549019, 0.25098039215686274),
  1399. C3(1, 0, 0),
  1400. C3(0.9607843137254902, 0.803921568627451, 0.18823529411764706)
  1401. }
  1402. WACKYEFFECT({
  1403. Time = 66,
  1404. EffectType = "Sphere",
  1405. Size = VT(45, 45, 45),
  1406. Size2 = VT(450, 450, 450),
  1407. Transparency = 0.99,
  1408. Transparency2 = 1,
  1409. CFrame = CF(NADE.Position),
  1410. MoveToPos = nil,
  1411. RotationX = 0,
  1412. RotationY = 0,
  1413. RotationZ = 0,
  1414. Material = "Neon",
  1415. Color = C3(1, 1, 1),
  1416. SoundID = nil,
  1417. SoundPitch = nil,
  1418. SoundVolume = nil
  1419. })
  1420. for i = 1, 45 do
  1421. WACKYEFFECT({
  1422. Time = MRANDOM(10, 60),
  1423. EffectType = "Sphere",
  1424. Size = VT(45, 45, 45) * MRANDOM(5, 12) / 10,
  1425. Size2 = VT(65, 65, 65) * MRANDOM(5, 22) / 10,
  1426. Transparency = 0,
  1427. Transparency2 = 1,
  1428. CFrame = CF(NADE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 15, 0),
  1429. MoveToPos = nil,
  1430. RotationX = 0,
  1431. RotationY = 0,
  1432. RotationZ = 0,
  1433. Material = "Neon",
  1434. Color = COLORS[MRANDOM(1, #COLORS)],
  1435. SoundID = nil,
  1436. SoundPitch = nil,
  1437. SoundVolume = nil
  1438. })
  1439. end
  1440. ApplyAoE(NADE.Position, 75, 35, 80, 145, false)
  1441. SHAKECAM(NADE.Position, 160, 12, 25)
  1442. CreateSound(174580476, NADE, 10, 1, false)
  1443. CreateSound(165970126, NADE, 6, 1, false)
  1444. Debris:AddItem(NADE, 10)
  1445. end)
  1446. end))
  1447. for i = 0, 0.3, 0.1 / Animation_Speed do
  1448. Swait()
  1449. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1450. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(0 - 5 * COS(SINE / 24)), RAD(-5), RAD(15)), 1 / Animation_Speed)
  1451. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.2 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(10)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1452. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1453. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(-5), RAD(-80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1454. end
  1455. ATTACK = false
  1456. Rooted = false
  1457. end
  1458. function AttackTemplate()
  1459. ATTACK = true
  1460. Rooted = false
  1461. for i = 0, 1, 0.1 / Animation_Speed do
  1462. Swait()
  1463. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1464. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  1465. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1466. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1467. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1468. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1469. end
  1470. ATTACK = false
  1471. Rooted = false
  1472. end
  1473. function MouseDown(Mouse)
  1474. if ATTACK == false then
  1475. Fury()
  1476. end
  1477. end
  1478. function MouseUp(Mouse)
  1479. HOLD = false
  1480. end
  1481. function KeyDown(Key)
  1482. KEYHOLD = true
  1483. if Key == "f" and ATTACK == false then
  1484. EquipGun()
  1485. end
  1486. if Key == "c" and ATTACK == false then
  1487. BearTrap()
  1488. end
  1489. if Key == "v" and ATTACK == false then
  1490. HandGrenade()
  1491. end
  1492. if Key ~= "x" or ATTACK == false then
  1493. end
  1494. end
  1495. function KeyUp(Key)
  1496. KEYHOLD = false
  1497. end
  1498. Mouse.Button1Down:connect(function(NEWKEY)
  1499. MouseDown(NEWKEY)
  1500. end)
  1501. Mouse.Button1Up:connect(function(NEWKEY)
  1502. MouseUp(NEWKEY)
  1503. end)
  1504. Mouse.KeyDown:connect(function(NEWKEY)
  1505. KeyDown(NEWKEY)
  1506. end)
  1507. Mouse.KeyUp:connect(function(NEWKEY)
  1508. KeyUp(NEWKEY)
  1509. end)
  1510. function unanchor()
  1511. for _, c in pairs(Character:GetChildren()) do
  1512. if c:IsA("BasePart") and c ~= RootPart then
  1513. c.Anchored = false
  1514. end
  1515. end
  1516. if UNANCHOR == true then
  1517. RootPart.Anchored = false
  1518. else
  1519. RootPart.Anchored = true
  1520. end
  1521. end
  1522. Humanoid.Changed:connect(function(Jump)
  1523. if Jump == "Jump" and Disable_Jump == true then
  1524. Humanoid.Jump = false
  1525. end
  1526. end)
  1527. while true do
  1528. Swait()
  1529. script.Parent = WEAPONGUI
  1530. ANIMATE.Parent = nil
  1531. for _, v in next, Humanoid:GetPlayingAnimationTracks() do
  1532. v:Stop()
  1533. end
  1534. SINE = SINE + CHANGE
  1535. Humanoid.HipHeight = 0.4
  1536. Humanoid.JumpPower = 150
  1537. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1538. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1539. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * SIZE, Character)
  1540. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1541. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1542. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1543. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5 * SIZE, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1544. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * SIZE, 0.885 * SIZE - 0.125 * SIZE * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2), 0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  1545. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * SIZE, 0.885 * SIZE + 0.125 * SIZE * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2), 0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  1546. elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
  1547. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1548. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5 * SIZE, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1549. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * SIZE, 1 * SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1550. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * SIZE, 1 * SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1551. end
  1552. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1553. ANIM = "Jump"
  1554. if ATTACK == false then
  1555. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1556. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1557. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1558. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1559. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0.3 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  1560. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0.3 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  1561. end
  1562. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1563. ANIM = "Fall"
  1564. if ATTACK == false then
  1565. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1566. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1567. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-10), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1568. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-10), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1569. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.8 * SIZE, -0.3 * SIZE) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  1570. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  1571. end
  1572. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1573. ANIM = "Idle"
  1574. if ATTACK == false then
  1575. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1576. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(10 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  1577. if EQUIPPED == false then
  1578. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * SIZE, 0.55 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.75 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1579. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * SIZE, 0.25 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1580. else
  1581. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * SIZE, 0.5 * SIZE, -0.5 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1582. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * SIZE, 0.5 * SIZE, -0.8 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(50)) * CF(0, 0.1 * SIZE, 0) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1583. end
  1584. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1585. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  1586. end
  1587. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1588. ANIM = "Walk"
  1589. if ATTACK == false then
  1590. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, -0.1 * SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1591. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1592. if EQUIPPED == false then
  1593. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * SIZE, 0.55 * SIZE + 0.05 * SIZE * COS(SINE / (WALKSPEEDVALUE / 2)), -0.75 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1594. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * SIZE, 0.25 * SIZE + 0.05 * SIZE * COS(SINE / (WALKSPEEDVALUE / 2)), -0.5 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1595. else
  1596. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * SIZE, 0.5 * SIZE + 0.05 * SIZE * COS(SINE / (WALKSPEEDVALUE / 2)), -0.5 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1597. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * SIZE, 0.5 * SIZE + 0.05 * SIZE * COS(SINE / (WALKSPEEDVALUE / 2)), -0.8 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(50)) * CF(0, 0.1 * SIZE, 0) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1598. end
  1599. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1600. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1601. end
  1602. end
  1603. for E = 1, #TAIL do
  1604. TAIL[E].C1 = Clerp(TAIL[E].C1, CF(0, 0, 0) * ANGLES(RAD(-2 * COS(SINE / 48) + 1 * SIN(SINE / 12)), RAD(0), RAD(1 * SIN(SINE / 24))), 1 / Animation_Speed)
  1605. end
  1606. unanchor()
  1607. Humanoid.MaxHealth = 1000
  1608. Humanoid.Health = 1000
  1609. if Rooted == false then
  1610. Disable_Jump = false
  1611. Humanoid.WalkSpeed = Speed
  1612. elseif Rooted == true then
  1613. Disable_Jump = true
  1614. Humanoid.WalkSpeed = 0
  1615. end
  1616. for _, c in pairs(Character:GetChildren()) do
  1617. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1618. c.Material = "Granite"
  1619. if c:FindFirstChildOfClass("ParticleEmitter") then
  1620. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1621. end
  1622. c.Color = C3(0.3137254901960784, 0.2627450980392157, 0.2627450980392157)
  1623. if c == Head and c:FindFirstChild("face") then
  1624. c.face:remove()
  1625. end
  1626. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1627. c:remove()
  1628. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1629. c:remove()
  1630. end
  1631. end
  1632. Humanoid.DisplayDistanceType = "None"
  1633. Humanoid.Name = "NONHUM"
  1634. if sick.Parent ~= Character then
  1635. sick = IT("Sound", Character)
  1636. end
  1637. sick.SoundId = "rbxassetid://737063244"
  1638. sick.Looped = true
  1639. sick.Pitch = 0.9
  1640. sick.Volume = 3
  1641. sick.Playing = true
  1642. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement