Advertisement
bmrx13

BYE BY

Sep 19th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 76.70 KB | None | 0 0
  1.  
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code by Mokiros")
  7. local rp = RealPlayer
  8. script.Parent = rp.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent then
  34. for _,f in pairs(t.Functions) do
  35. f(...)
  36. end
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41.  
  42. Event.OnServerEvent:Connect(function(plr,io)
  43. if plr~=rp then return end
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. if not io.isMouse then
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  52. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  53. end
  54. for _,t in pairs(CAS.Actions) do
  55. for _,k in pairs(t.Keys) do
  56. if k==io.KeyCode then
  57. t.Function(t.Name,io.UserInputState,io)
  58. end
  59. end
  60. end
  61. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  62. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  63. end
  64. end)
  65. Event.Parent = NLS([==[
  66. local Player = game:GetService("Players").LocalPlayer
  67. local Event = script:WaitForChild("UserInput_Event")
  68.  
  69. local Mouse = Player:GetMouse()
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then
  98. return typeof(s[k])=="function"
  99. and function(_,...)return s[k](s,...)end or s[k]
  100. end
  101. end,
  102. __newindex = function(self,k,v)
  103. local s = rawget(self,"_RealService")
  104. if s then s[k]=v end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return rawget(self,s) or _rg:GetService(s)
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. RunService = FakeService({
  123. _btrs = {},
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132. }
  133. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  134. g.service = g.GetService
  135. FakeService(g,game)
  136. --Changing owner to fake player object to support owner:GetMouse()
  137. game,owner = g,g.Players.LocalPlayer
  138. end --Converted with ttyyuu12345's model to script plugin v4
  139. function sandbox(var,func)
  140. local env = getfenv(func)
  141. local newenv = setmetatable({},{
  142. __index = function(self,k)
  143. if k=="script" then
  144. return var
  145. else
  146. return env[k]
  147. end
  148. end,
  149. })
  150. setfenv(func,newenv)
  151. return func
  152. end
  153. cors = {}
  154. mas = Instance.new("Model",game:GetService("Lighting"))
  155. Model0 = Instance.new("Model")
  156. Part1 = Instance.new("Part")
  157. Sound2 = Instance.new("Sound")
  158. Part3 = Instance.new("Part")
  159. SpecialMesh4 = Instance.new("SpecialMesh")
  160. Part5 = Instance.new("Part")
  161. SpecialMesh6 = Instance.new("SpecialMesh")
  162. Model7 = Instance.new("Model")
  163. Part8 = Instance.new("Part")
  164. SpecialMesh9 = Instance.new("SpecialMesh")
  165. Part10 = Instance.new("Part")
  166. SpecialMesh11 = Instance.new("SpecialMesh")
  167. Part12 = Instance.new("Part")
  168. SpecialMesh13 = Instance.new("SpecialMesh")
  169. Part14 = Instance.new("Part")
  170. SpecialMesh15 = Instance.new("SpecialMesh")
  171. Model16 = Instance.new("Model")
  172. Part17 = Instance.new("Part")
  173. Part18 = Instance.new("Part")
  174. SpecialMesh19 = Instance.new("SpecialMesh")
  175. Model20 = Instance.new("Model")
  176. Part21 = Instance.new("Part")
  177. Part22 = Instance.new("Part")
  178. SpecialMesh23 = Instance.new("SpecialMesh")
  179. Part24 = Instance.new("Part")
  180. SpecialMesh25 = Instance.new("SpecialMesh")
  181. Part26 = Instance.new("Part")
  182. SpecialMesh27 = Instance.new("SpecialMesh")
  183. Trail28 = Instance.new("Trail")
  184. Sound29 = Instance.new("Sound")
  185. Model0.Name = "Beartrap"
  186. Model0.Parent = mas
  187. Model0.PrimaryPart = Part1
  188. Part1.Name = "Base"
  189. Part1.Parent = Model0
  190. Part1.CFrame = CFrame.new(-29.2622757, 0.58940798, -9.97720432, 1, 0, 0, 0, 0.970093668, -0.242730916, 0, 0.242730916, 0.970093668)
  191. Part1.Orientation = Vector3.new(14.0499992, 0, 0)
  192. Part1.Position = Vector3.new(-29.2622757, 0.58940798, -9.97720432)
  193. Part1.Rotation = Vector3.new(14.0499992, 0, 0)
  194. Part1.Transparency = 1
  195. Part1.Size = Vector3.new(0.0747161657, 0.0747161657, 0.0747161657)
  196. Part1.BottomSurface = Enum.SurfaceType.Smooth
  197. Part1.CanCollide = false
  198. Part1.Material = Enum.Material.CorrodedMetal
  199. Part1.TopSurface = Enum.SurfaceType.Smooth
  200. Sound2.Parent = Part1
  201. Sound2.EmitterSize = 22
  202. Sound2.MinDistance = 22
  203. Sound2.SoundId = "http://www.roblox.com/asset/?id=147722227"
  204. Sound2.Volume = 6
  205. Part3.Name = "Closed"
  206. Part3.Parent = Model0
  207. Part3.CFrame = CFrame.new(-29.4190006, 1.111516, -10.1709995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  208. Part3.Position = Vector3.new(-29.4190006, 1.111516, -10.1709995)
  209. Part3.Color = Color3.new(0.266667, 0.266667, 0.266667)
  210. Part3.Transparency = 1
  211. Part3.Size = Vector3.new(2.99099994, 2.22300005, 2.33899999)
  212. Part3.BottomSurface = Enum.SurfaceType.Smooth
  213. Part3.BrickColor = BrickColor.new("Dark taupe")
  214. Part3.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
  215. Part3.TopSurface = Enum.SurfaceType.Smooth
  216. Part3.brickColor = BrickColor.new("Dark taupe")
  217. SpecialMesh4.Parent = Part3
  218. SpecialMesh4.MeshId = "rbxassetid://2125875619"
  219. SpecialMesh4.MeshType = Enum.MeshType.FileMesh
  220. Part5.Name = "Open"
  221. Part5.Parent = Model0
  222. Part5.CFrame = CFrame.new(-29.2750015, 0.877515972, -10.0190001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  223. Part5.Position = Vector3.new(-29.2750015, 0.877515972, -10.0190001)
  224. Part5.Color = Color3.new(0.266667, 0.266667, 0.266667)
  225. Part5.Size = Vector3.new(3.30500007, 1.046, 3.00999999)
  226. Part5.BottomSurface = Enum.SurfaceType.Smooth
  227. Part5.BrickColor = BrickColor.new("Dark taupe")
  228. Part5.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
  229. Part5.TopSurface = Enum.SurfaceType.Smooth
  230. Part5.brickColor = BrickColor.new("Dark taupe")
  231. SpecialMesh6.Parent = Part5
  232. SpecialMesh6.MeshId = "rbxassetid://2125881085"
  233. SpecialMesh6.MeshType = Enum.MeshType.FileMesh
  234. Model7.Name = "Head"
  235. Model7.Parent = mas
  236. Model7.PrimaryPart = Part14
  237. Part8.Name = "MercenaryfromSalem"
  238. Part8.Parent = Model7
  239. Part8.CFrame = CFrame.new(-30.7499657, 2.56125593, -10.2013941, -0.988456845, -0.0764659271, 0.130790085, -0.0247354582, 0.933154166, 0.358624607, -0.149469867, 0.351249844, -0.924273908)
  240. Part8.Orientation = Vector3.new(-21.0200005, 171.949997, -1.51999998)
  241. Part8.Position = Vector3.new(-30.7499657, 2.56125593, -10.2013941)
  242. Part8.Rotation = Vector3.new(-158.789993, 7.51999998, 175.580002)
  243. Part8.Velocity = Vector3.new(0, -79.1103516, 0)
  244. Part8.Size = Vector3.new(2.44931197, 1.62704277, 2.44931221)
  245. Part8.BottomSurface = Enum.SurfaceType.Smooth
  246. Part8.CanCollide = false
  247. Part8.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
  248. Part8.Locked = true
  249. Part8.TopSurface = Enum.SurfaceType.Smooth
  250. Part8.FormFactor = Enum.FormFactor.Custom
  251. Part8.formFactor = Enum.FormFactor.Custom
  252. SpecialMesh9.Parent = Part8
  253. SpecialMesh9.MeshId = "http://www.roblox.com/asset/?id=62146989"
  254. SpecialMesh9.Scale = Vector3.new(2.97416472, 2.97416472, 2.97416472)
  255. SpecialMesh9.TextureId = "http://www.roblox.com/asset/?id=145633085"
  256. SpecialMesh9.MeshType = Enum.MeshType.FileMesh
  257. Part10.Parent = Model7
  258. Part10.CFrame = CFrame.new(-30.3304443, 2.4520731, -9.4461937, -0.988456845, -0.0764659271, 0.130790085, -0.0247354582, 0.933154166, 0.358624607, -0.149469867, 0.351249844, -0.924273908)
  259. Part10.Orientation = Vector3.new(-21.0200005, 171.949997, -1.51999998)
  260. Part10.Position = Vector3.new(-30.3304443, 2.4520731, -9.4461937)
  261. Part10.Rotation = Vector3.new(-158.789993, 7.51999998, 175.580002)
  262. Part10.Color = Color3.new(1, 0, 0)
  263. Part10.Velocity = Vector3.new(0, -79.1103516, 0)
  264. Part10.Size = Vector3.new(1.74951029, 0.874754131, 1.9244591)
  265. Part10.BottomSurface = Enum.SurfaceType.Smooth
  266. Part10.BrickColor = BrickColor.new("Really red")
  267. Part10.CanCollide = false
  268. Part10.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
  269. Part10.Locked = true
  270. Part10.Material = Enum.Material.Neon
  271. Part10.TopSurface = Enum.SurfaceType.Smooth
  272. Part10.brickColor = BrickColor.new("Really red")
  273. SpecialMesh11.Parent = Part10
  274. SpecialMesh11.MeshType = Enum.MeshType.Sphere
  275. Part12.Parent = Model7
  276. Part12.CFrame = CFrame.new(-31.3680458, 2.426157, -9.60305405, -0.988456845, -0.0764659271, 0.130790085, -0.0247354582, 0.933154166, 0.358624607, -0.149469867, 0.351249844, -0.924273908)
  277. Part12.Orientation = Vector3.new(-21.0200005, 171.949997, -1.51999998)
  278. Part12.Position = Vector3.new(-31.3680458, 2.426157, -9.60305405)
  279. Part12.Rotation = Vector3.new(-158.789993, 7.51999998, 175.580002)
  280. Part12.Color = Color3.new(1, 0, 0)
  281. Part12.Velocity = Vector3.new(0, -79.1103516, 0)
  282. Part12.Size = Vector3.new(1.74951029, 0.874754131, 1.9244591)
  283. Part12.BottomSurface = Enum.SurfaceType.Smooth
  284. Part12.BrickColor = BrickColor.new("Really red")
  285. Part12.CanCollide = false
  286. Part12.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
  287. Part12.Locked = true
  288. Part12.Material = Enum.Material.Neon
  289. Part12.TopSurface = Enum.SurfaceType.Smooth
  290. Part12.brickColor = BrickColor.new("Really red")
  291. SpecialMesh13.Parent = Part12
  292. SpecialMesh13.MeshType = Enum.MeshType.Sphere
  293. Part14.Name = "Hed"
  294. Part14.Parent = Model7
  295. Part14.CFrame = CFrame.new(-30.7359295, 2.57801867, -10.5674095, -0.988465428, -0.0764773339, 0.130718499, -0.0247607343, 0.933126867, 0.358693838, -0.149408877, 0.35131976, -0.924257219)
  296. Part14.Orientation = Vector3.new(-21.0200005, 171.949997, -1.51999998)
  297. Part14.Position = Vector3.new(-30.7359295, 2.57801867, -10.5674095)
  298. Part14.Rotation = Vector3.new(-158.789993, 7.50999975, 175.580002)
  299. Part14.Color = Color3.new(0.313726, 0.262745, 0.262745)
  300. Part14.Size = Vector3.new(2.44931197, 1.62704277, 2.44931221)
  301. Part14.BottomSurface = Enum.SurfaceType.Smooth
  302. Part14.BrickColor = BrickColor.new("Dirt brown")
  303. Part14.CanCollide = false
  304. Part14.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
  305. Part14.Locked = true
  306. Part14.TopSurface = Enum.SurfaceType.Smooth
  307. Part14.brickColor = BrickColor.new("Dirt brown")
  308. Part14.FormFactor = Enum.FormFactor.Custom
  309. Part14.formFactor = Enum.FormFactor.Custom
  310. SpecialMesh15.Parent = Part14
  311. SpecialMesh15.MeshId = "rbxassetid://2125912909"
  312. SpecialMesh15.MeshType = Enum.MeshType.FileMesh
  313. Model16.Name = "Left Arm"
  314. Model16.Parent = mas
  315. Model16.PrimaryPart = Part17
  316. Part17.Name = "Body"
  317. Part17.Parent = Model16
  318. Part17.CFrame = CFrame.new(-31.0629997, 5.26248884, -10.6289997, -0.970230818, -0.23886165, 0.0399654694, -0.241593108, 0.966103196, -0.090980202, -0.0168790855, -0.0979271755, -0.99505043)
  319. Part17.Orientation = Vector3.new(5.21999979, 177.699997, -14.04)
  320. Part17.Position = Vector3.new(-31.0629997, 5.26248884, -10.6289997)
  321. Part17.Rotation = Vector3.new(174.779999, 2.28999996, 166.169998)
  322. Part17.Color = Color3.new(0.176471, 0.176471, 0.176471)
  323. Part17.Velocity = Vector3.new(0, -79.1103516, 0)
  324. Part17.Size = Vector3.new(3.31100011, 5.02199984, 3.37400007)
  325. Part17.BottomSurface = Enum.SurfaceType.Smooth
  326. Part17.BrickColor = BrickColor.new("Black")
  327. Part17.CanCollide = false
  328. Part17.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
  329. Part17.Locked = true
  330. Part17.Material = Enum.Material.Glass
  331. Part17.TopSurface = Enum.SurfaceType.Smooth
  332. Part17.brickColor = BrickColor.new("Black")
  333. Part18.Name = "HeldBeartrap"
  334. Part18.Parent = Model16
  335. Part18.CFrame = CFrame.new(-29.2776279, 1.00018668, -10.0241814, 0.692071855, -0.481374145, 0.53788048, -0.715768874, -0.554007649, 0.425147474, 0.0933349133, -0.67923069, -0.727965772)
  336. Part18.Orientation = Vector3.new(-25.1599998, 143.539993, -127.739998)
  337. Part18.Position = Vector3.new(-29.2776279, 1.00018668, -10.0241814)
  338. Part18.Rotation = Vector3.new(-149.709991, 32.5400009, 34.8199997)
  339. Part18.Color = Color3.new(0.266667, 0.266667, 0.266667)
  340. Part18.Transparency = 1
  341. Part18.Size = Vector3.new(3.30500007, 1.046, 3.00999999)
  342. Part18.BottomSurface = Enum.SurfaceType.Smooth
  343. Part18.BrickColor = BrickColor.new("Dark taupe")
  344. Part18.TopSurface = Enum.SurfaceType.Smooth
  345. Part18.brickColor = BrickColor.new("Dark taupe")
  346. SpecialMesh19.Parent = Part18
  347. SpecialMesh19.MeshId = "rbxassetid://2125881085"
  348. SpecialMesh19.MeshType = Enum.MeshType.FileMesh
  349. Model20.Name = "Torso"
  350. Model20.Parent = mas
  351. Model20.PrimaryPart = Part21
  352. Part21.Name = "Body"
  353. Part21.Parent = Model20
  354. Part21.CFrame = CFrame.new(-30.3602161, 21.7533569, -11.1522884, -0.998852909, 0.027420288, 0.0392558724, 0.0234681871, 0.994927645, -0.0978180766, -0.0417389497, -0.0967845991, -0.994429827)
  355. Part21.Orientation = Vector3.new(5.60999966, 177.73999, 1.35000002)
  356. Part21.Position = Vector3.new(-30.3602161, 21.7533569, -11.1522884)
  357. Part21.Rotation = Vector3.new(174.37999, 2.25, -178.429993)
  358. Part21.Color = Color3.new(0.176471, 0.176471, 0.176471)
  359. Part21.Velocity = Vector3.new(0, -79.1103516, 0)
  360. Part21.Size = Vector3.new(6.35562181, 6.35562181, 3.21704268)
  361. Part21.BottomSurface = Enum.SurfaceType.Smooth
  362. Part21.BrickColor = BrickColor.new("Black")
  363. Part21.CanCollide = false
  364. Part21.CustomPhysicalProperties = PhysicalProperties.new(0.00999999978, 0, 0, 0, 0)
  365. Part21.Locked = true
  366. Part21.Material = Enum.Material.Glass
  367. Part21.TopSurface = Enum.SurfaceType.Smooth
  368. Part21.brickColor = BrickColor.new("Black")
  369. Part22.Name = "Beartrap"
  370. Part22.Parent = Model20
  371. Part22.CFrame = CFrame.new(-34.7260017, 21.7970009, -9.91850758, -0.531034589, -0.642683446, -0.552232087, -0.8459903, 0.365216434, 0.388480753, -0.0479859114, 0.673479795, -0.73764652)
  372. Part22.Orientation = Vector3.new(-22.8599987, -143.179993, -66.6500015)
  373. Part22.Position = Vector3.new(-34.7260017, 21.7970009, -9.91850758)
  374. Part22.Rotation = Vector3.new(-152.229996, -33.5200005, 129.569992)
  375. Part22.Color = Color3.new(0.266667, 0.266667, 0.266667)
  376. Part22.Size = Vector3.new(3.30500007, 1.046, 3.00999999)
  377. Part22.BottomSurface = Enum.SurfaceType.Smooth
  378. Part22.BrickColor = BrickColor.new("Dark taupe")
  379. Part22.TopSurface = Enum.SurfaceType.Smooth
  380. Part22.brickColor = BrickColor.new("Dark taupe")
  381. SpecialMesh23.Parent = Part22
  382. SpecialMesh23.MeshId = "rbxassetid://2125881085"
  383. SpecialMesh23.MeshType = Enum.MeshType.FileMesh
  384. Part24.Name = "Gun"
  385. Part24.Parent = Model20
  386. Part24.CFrame = CFrame.new(-27.6584282, 23.2494259, -9.57786751, -0.0128150014, 0.650437772, -0.759451449, -0.116670012, -0.755298615, -0.644912541, -0.993088126, 0.0803406388, 0.0855657458)
  387. Part24.Orientation = Vector3.new(40.1599998, -83.5699997, -171.220001)
  388. Part24.Position = Vector3.new(-27.6584282, 23.2494259, -9.57786751)
  389. Part24.Rotation = Vector3.new(82.4399948, -49.4199982, -91.1299973)
  390. Part24.Color = Color3.new(0.266667, 0.266667, 0.266667)
  391. Part24.Size = Vector3.new(0.591000021, 3.19000006, 3.81999993)
  392. Part24.BottomSurface = Enum.SurfaceType.Smooth
  393. Part24.BrickColor = BrickColor.new("Dark taupe")
  394. Part24.TopSurface = Enum.SurfaceType.Smooth
  395. Part24.brickColor = BrickColor.new("Dark taupe")
  396. SpecialMesh25.Parent = Part24
  397. SpecialMesh25.MeshId = "rbxassetid://2125899404"
  398. SpecialMesh25.MeshType = Enum.MeshType.FileMesh
  399. Part26.Name = "Grenade"
  400. Part26.Parent = mas
  401. Part26.CFrame = CFrame.new(38.2035713, 1.02035296, 21.0111828, -0.776946664, -0.0182258431, -0.629302561, -0.629268765, -0.00825065561, 0.777144015, -0.0193562619, 0.999799848, -0.00505863409)
  402. Part26.Orientation = Vector3.new(-51, -90.4599991, -90.75)
  403. Part26.Position = Vector3.new(38.2035713, 1.02035296, 21.0111828)
  404. Part26.Rotation = Vector3.new(-90.3699951, -39, 178.659988)
  405. Part26.Color = Color3.new(0.152941, 0.27451, 0.176471)
  406. Part26.Velocity = Vector3.new(0.0464646779, 0.00033079437, 0.0308197252)
  407. Part26.Size = Vector3.new(1.43749833, 2.29999709, 1.43749833)
  408. Part26.BrickColor = BrickColor.new("Earth green")
  409. Part26.RotVelocity = Vector3.new(-0.000168789324, 0.010219017, 0.000870788237)
  410. Part26.brickColor = BrickColor.new("Earth green")
  411. Part26.FormFactor = Enum.FormFactor.Plate
  412. Part26.formFactor = Enum.FormFactor.Plate
  413. SpecialMesh27.Parent = Part26
  414. SpecialMesh27.MeshId = "http://www.roblox.com/Asset/?id=10207236"
  415. SpecialMesh27.Scale = Vector3.new(0.244374722, 0.244374692, 0.244374722)
  416. SpecialMesh27.VertexColor = Vector3.new(255, 255, 255)
  417. SpecialMesh27.MeshType = Enum.MeshType.FileMesh
  418. Trail28.Parent = Part26
  419. Trail28.Attachment0 = nil
  420. Trail28.Attachment1 = nil
  421. Trail28.Color = ColorSequence.new(Color3.new(0.152941, 0.27451, 0.176471),Color3.new(0.152941, 0.27451, 0.176471))
  422. Trail28.LightInfluence = 1
  423. Trail28.Transparency = NumberSequence.new(0.5,0.61249995231628,0.71249997615814,1)
  424. Trail28.Lifetime = 0.10000000149012
  425. Sound29.Parent = Part26
  426. Sound29.EmitterSize = 24
  427. Sound29.MinDistance = 24
  428. Sound29.SoundId = "http://www.roblox.com/asset/?id=326088041"
  429. Sound29.Volume = 7
  430. for i,v in pairs(mas:GetChildren()) do
  431. v.Parent = script
  432. pcall(function() v:MakeJoints() end)
  433. end
  434. mas:Destroy()
  435. for i,v in pairs(cors) do
  436. spawn(function()
  437. pcall(v)
  438. end)
  439. end
  440.  
  441.  
  442. -- Synapse Decompiler
  443. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  444.  
  445. wait(0.2)
  446. Player = game:GetService("Players").LocalPlayer
  447. PlayerGui = Player.PlayerGui
  448. Cam = workspace.CurrentCamera
  449. Backpack = Player.Backpack
  450. Character = Player.Character
  451. Humanoid = Character.Humanoid
  452. Mouse = Player:GetMouse()
  453. RootPart = Character.HumanoidRootPart
  454. Torso = Character.Torso
  455. Head = Character.Head
  456. RightArm = Character["Right Arm"]
  457. LeftArm = Character["Left Arm"]
  458. RightLeg = Character["Right Leg"]
  459. LeftLeg = Character["Left Leg"]
  460. RootJoint = RootPart.RootJoint
  461. Neck = Torso.Neck
  462. RightShoulder = Torso["Right Shoulder"]
  463. LeftShoulder = Torso["Left Shoulder"]
  464. RightHip = Torso["Right Hip"]
  465. LeftHip = Torso["Left Hip"]
  466. local sick = Instance.new("Sound", Character)
  467. IT = Instance.new
  468. CF = CFrame.new
  469. VT = Vector3.new
  470. RAD = math.rad
  471. C3 = Color3.new
  472. UD2 = UDim2.new
  473. BRICKC = BrickColor.new
  474. ANGLES = CFrame.Angles
  475. EULER = CFrame.fromEulerAnglesXYZ
  476. COS = math.cos
  477. ACOS = math.acos
  478. SIN = math.sin
  479. ASIN = math.asin
  480. ABS = math.abs
  481. MRANDOM = math.random
  482. FLOOR = math.floor
  483. Animation_Speed = 3
  484. Frame_Speed = 0.016666666666666666
  485. local Speed = 25
  486. local SIZE = 3
  487. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  488. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  489. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  490. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  491. local DAMAGEMULTIPLIER = 1
  492. local ANIM = "Idle"
  493. local ATTACK = false
  494. local EQUIPPED = false
  495. local HOLD = false
  496. local COMBO = 1
  497. local Rooted = false
  498. local SINE = 0
  499. local KEYHOLD = false
  500. local CHANGE = 2 / Animation_Speed
  501. local WALKINGANIM = false
  502. local VALUE1 = false
  503. local VALUE2 = false
  504. local ROBLOXIDLEANIMATION = IT("Animation")
  505. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  506. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  507. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  508. WEAPONGUI.Name = "Weapon GUI"
  509. local Effects = IT("Folder", Character)
  510. Effects.Name = "Effects"
  511. local ANIMATOR = Humanoid.Animator
  512. local ANIMATE = Character.Animate
  513. local UNANCHOR = true
  514. local HELDGUN, GUNWELD
  515. local HITPLAYERSOUNDS = {
  516. "263032172",
  517. "263032182",
  518. "263032200",
  519. "263032221",
  520. "263032252",
  521. "263033191"
  522. }
  523. ArtificialHB = Instance.new("BindableEvent", script)
  524. ArtificialHB.Name = "ArtificialHB"
  525. script:WaitForChild("ArtificialHB")
  526. frame = Frame_Speed
  527. tf = 0
  528. allowframeloss = false
  529. tossremainder = false
  530. lastframe = tick()
  531. script.ArtificialHB:Fire()
  532. game:GetService("RunService").Heartbeat:connect(function(s, p)
  533. tf = tf + s
  534. if tf >= frame then
  535. if allowframeloss then
  536. script.ArtificialHB:Fire()
  537. lastframe = tick()
  538. else
  539. for i = 1, math.floor(tf / frame) do
  540. script.ArtificialHB:Fire()
  541. end
  542. lastframe = tick()
  543. end
  544. if tossremainder then
  545. tf = 0
  546. else
  547. tf = tf - frame * math.floor(tf / frame)
  548. end
  549. end
  550. end)
  551. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  552. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  553. end
  554. function PositiveAngle(NUMBER)
  555. if NUMBER >= 0 then
  556. NUMBER = 0
  557. end
  558. return NUMBER
  559. end
  560. function NegativeAngle(NUMBER)
  561. if NUMBER <= 0 then
  562. NUMBER = 0
  563. end
  564. return NUMBER
  565. end
  566. function Swait(NUMBER)
  567. if NUMBER == 0 or NUMBER == nil then
  568. ArtificialHB.Event:wait()
  569. else
  570. for i = 1, NUMBER do
  571. ArtificialHB.Event:wait()
  572. end
  573. end
  574. end
  575. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  576. local NEWMESH = IT(MESH)
  577. if MESH == "SpecialMesh" then
  578. NEWMESH.MeshType = MESHTYPE
  579. if MESHID ~= "nil" and MESHID ~= "" then
  580. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  581. end
  582. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  583. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  584. end
  585. end
  586. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  587. NEWMESH.Scale = SCALE
  588. NEWMESH.Parent = PARENT
  589. return NEWMESH
  590. end
  591. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  592. local NEWPART = IT("Part")
  593. NEWPART.formFactor = FORMFACTOR
  594. NEWPART.Reflectance = REFLECTANCE
  595. NEWPART.Transparency = TRANSPARENCY
  596. NEWPART.CanCollide = false
  597. NEWPART.Locked = true
  598. NEWPART.Anchored = true
  599. if ANCHOR == false then
  600. NEWPART.Anchored = false
  601. end
  602. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  603. NEWPART.Name = NAME
  604. NEWPART.Size = SIZE
  605. NEWPART.Position = Torso.Position
  606. NEWPART.Material = MATERIAL
  607. NEWPART:BreakJoints()
  608. NEWPART.Parent = PARENT
  609. return NEWPART
  610. end
  611. local weldBetween = function(a, b)
  612. local weldd = Instance.new("ManualWeld")
  613. weldd.Part0 = a
  614. weldd.Part1 = b
  615. weldd.C0 = CFrame.new()
  616. weldd.C1 = b.CFrame:inverse() * a.CFrame
  617. weldd.Parent = a
  618. return weldd
  619. end
  620. function QuaternionFromCFrame(cf)
  621. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  622. local trace = m00 + m11 + m22
  623. if trace > 0 then
  624. local s = math.sqrt(1 + trace)
  625. local recip = 0.5 / s
  626. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  627. else
  628. local i = 0
  629. if m00 < m11 then
  630. i = 1
  631. end
  632. if m22 > (i == 0 and m00 or m11) then
  633. i = 2
  634. end
  635. if i == 0 then
  636. local s = math.sqrt(m00 - m11 - m22 + 1)
  637. local recip = 0.5 / s
  638. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  639. elseif i == 1 then
  640. local s = math.sqrt(m11 - m22 - m00 + 1)
  641. local recip = 0.5 / s
  642. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  643. elseif i == 2 then
  644. local s = math.sqrt(m22 - m00 - m11 + 1)
  645. local recip = 0.5 / s
  646. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  647. end
  648. end
  649. end
  650. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  651. local xs, ys, zs = x + x, y + y, z + z
  652. local wx, wy, wz = w * xs, w * ys, w * zs
  653. local xx = x * xs
  654. local xy = x * ys
  655. local xz = x * zs
  656. local yy = y * ys
  657. local yz = y * zs
  658. local zz = z * zs
  659. 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))
  660. end
  661. function QuaternionSlerp(a, b, t)
  662. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  663. local startInterp, finishInterp
  664. if cosTheta >= 1.0E-4 then
  665. if 1 - cosTheta > 1.0E-4 then
  666. local theta = ACOS(cosTheta)
  667. local invSinTheta = 1 / SIN(theta)
  668. startInterp = SIN((1 - t) * theta) * invSinTheta
  669. finishInterp = SIN(t * theta) * invSinTheta
  670. else
  671. startInterp = 1 - t
  672. finishInterp = t
  673. end
  674. elseif 1 + cosTheta > 1.0E-4 then
  675. local theta = ACOS(-cosTheta)
  676. local invSinTheta = 1 / SIN(theta)
  677. startInterp = SIN((t - 1) * theta) * invSinTheta
  678. finishInterp = SIN(t * theta) * invSinTheta
  679. else
  680. startInterp = t - 1
  681. finishInterp = t
  682. end
  683. 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
  684. end
  685. function Clerp(a, b, t)
  686. local qa = {
  687. QuaternionFromCFrame(a)
  688. }
  689. local qb = {
  690. QuaternionFromCFrame(b)
  691. }
  692. local ax, ay, az = a.x, a.y, a.z
  693. local bx, by, bz = b.x, b.y, b.z
  694. local _t = 1 - t
  695. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  696. end
  697. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  698. local frame = IT("Frame")
  699. frame.BackgroundTransparency = TRANSPARENCY
  700. frame.BorderSizePixel = BORDERSIZEPIXEL
  701. frame.Position = POSITION
  702. frame.Size = SIZE
  703. frame.BackgroundColor3 = COLOR
  704. frame.BorderColor3 = BORDERCOLOR
  705. frame.Name = NAME
  706. frame.Parent = PARENT
  707. return frame
  708. end
  709. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  710. local label = IT("TextLabel")
  711. label.BackgroundTransparency = 1
  712. label.Size = UD2(1, 0, 1, 0)
  713. label.Position = UD2(0, 0, 0, 0)
  714. label.TextColor3 = TEXTCOLOR
  715. label.TextStrokeTransparency = STROKETRANSPARENCY
  716. label.TextTransparency = TRANSPARENCY
  717. label.FontSize = TEXTFONTSIZE
  718. label.Font = TEXTFONT
  719. label.BorderSizePixel = BORDERSIZEPIXEL
  720. label.TextScaled = false
  721. label.Text = TEXT
  722. label.Name = NAME
  723. label.Parent = PARENT
  724. return label
  725. end
  726. function NoOutlines(PART)
  727. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  728. end
  729. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  730. local NEWWELD = IT(TYPE)
  731. NEWWELD.Part0 = PART0
  732. NEWWELD.Part1 = PART1
  733. NEWWELD.C0 = C0
  734. NEWWELD.C1 = C1
  735. NEWWELD.Parent = PARENT
  736. return NEWWELD
  737. end
  738. local S = IT("Sound")
  739. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  740. local NEWSOUND
  741. coroutine.resume(coroutine.create(function()
  742. NEWSOUND = S:Clone()
  743. NEWSOUND.Parent = PARENT
  744. NEWSOUND.EmitterSize = 10 + VOLUME * 2
  745. NEWSOUND.Volume = VOLUME
  746. NEWSOUND.Pitch = PITCH
  747. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  748. NEWSOUND:play()
  749. if DOESLOOP == true then
  750. NEWSOUND.Looped = true
  751. else
  752. repeat
  753. wait(1)
  754. until NEWSOUND.Playing == false
  755. NEWSOUND:remove()
  756. end
  757. end))
  758. return NEWSOUND
  759. end
  760. function CFrameFromTopBack(at, top, back)
  761. local right = top:Cross(back)
  762. 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)
  763. end
  764. function WACKYEFFECT(Table)
  765. local TYPE = Table.EffectType or "Sphere"
  766. local SIZE = Table.Size or VT(1, 1, 1)
  767. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  768. local TRANSPARENCY = Table.Transparency or 0
  769. local ENDTRANSPARENCY = Table.Transparency2 or 1
  770. local CFRAME = Table.CFrame or Torso.CFrame
  771. local MOVEDIRECTION = Table.MoveToPos or nil
  772. local ROTATION1 = Table.RotationX or 0
  773. local ROTATION2 = Table.RotationY or 0
  774. local ROTATION3 = Table.RotationZ or 0
  775. local MATERIAL = Table.Material or "Neon"
  776. local COLOR = Table.Color or C3(1, 1, 1)
  777. local TIME = Table.Time or 45
  778. local SOUNDID = Table.SoundID or nil
  779. local SOUNDPITCH = Table.SoundPitch or nil
  780. local SOUNDVOLUME = Table.SoundVolume or nil
  781. coroutine.resume(coroutine.create(function()
  782. local PLAYSSOUND = false
  783. local SOUND
  784. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  785. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  786. PLAYSSOUND = true
  787. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  788. end
  789. EFFECT.Color = COLOR
  790. local MSH
  791. if TYPE == "Sphere" then
  792. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  793. elseif TYPE == "Block" or TYPE == "Box" then
  794. MSH = IT("BlockMesh", EFFECT)
  795. MSH.Scale = SIZE
  796. elseif TYPE == "Wave" then
  797. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  798. elseif TYPE == "Ring" then
  799. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  800. elseif TYPE == "Slash" then
  801. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  802. elseif TYPE == "Round Slash" then
  803. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  804. elseif TYPE == "Swirl" then
  805. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  806. elseif TYPE == "Skull" then
  807. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  808. elseif TYPE == "Crystal" then
  809. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  810. end
  811. if MSH ~= nil then
  812. local MOVESPEED
  813. if MOVEDIRECTION ~= nil then
  814. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  815. end
  816. local GROWTH = SIZE - ENDSIZE
  817. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  818. if TYPE == "Block" then
  819. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  820. else
  821. EFFECT.CFrame = CFRAME
  822. end
  823. for LOOP = 1, TIME + 1 do
  824. Swait()
  825. MSH.Scale = MSH.Scale - GROWTH / TIME
  826. if TYPE == "Wave" then
  827. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  828. end
  829. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  830. if TYPE == "Block" then
  831. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  832. else
  833. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  834. end
  835. if MOVEDIRECTION ~= nil then
  836. local ORI = EFFECT.Orientation
  837. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  838. EFFECT.Orientation = ORI
  839. end
  840. end
  841. if PLAYSSOUND == false then
  842. EFFECT:remove()
  843. else
  844. repeat
  845. Swait()
  846. until EFFECT:FindFirstChildOfClass("Sound") == nil
  847. EFFECT:remove()
  848. end
  849. elseif PLAYSSOUND == false then
  850. EFFECT:remove()
  851. else
  852. repeat
  853. Swait()
  854. until EFFECT:FindFirstChildOfClass("Sound") == nil
  855. EFFECT:remove()
  856. end
  857. end))
  858. end
  859. function MakeForm(PART, TYPE)
  860. if TYPE == "Cyl" then
  861. local MSH = IT("CylinderMesh", PART)
  862. elseif TYPE == "Ball" then
  863. local MSH = IT("SpecialMesh", PART)
  864. MSH.MeshType = "Sphere"
  865. elseif TYPE == "Wedge" then
  866. local MSH = IT("SpecialMesh", PART)
  867. MSH.MeshType = "Wedge"
  868. end
  869. end
  870. Debris = game:GetService("Debris")
  871. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  872. local DIRECTION = CF(StartPos, EndPos).lookVector
  873. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  874. end
  875. function MakeForm(PART, TYPE)
  876. if TYPE == "Cyl" then
  877. local MSH = IT("CylinderMesh", PART)
  878. elseif TYPE == "Ball" then
  879. local MSH = IT("SpecialMesh", PART)
  880. MSH.MeshType = "Sphere"
  881. elseif TYPE == "Wedge" then
  882. local MSH = IT("SpecialMesh", PART)
  883. MSH.MeshType = "Wedge"
  884. end
  885. end
  886. Debris = game:GetService("Debris")
  887. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  888. local DIRECTION = CF(StartPos, EndPos).lookVector
  889. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  890. end
  891. function Chatter(Text, Timer)
  892. local chat = coroutine.wrap(function()
  893. if Character:FindFirstChild("SpeechBoard") ~= nil then
  894. Character:FindFirstChild("SpeechBoard"):destroy()
  895. end
  896. local naeeym2 = IT("BillboardGui", Character)
  897. naeeym2.Size = UD2(0, 100, 0, 40)
  898. naeeym2.StudsOffset = VT(0, 5, 0)
  899. naeeym2.Adornee = Character.Head
  900. naeeym2.Name = "SpeechBoard"
  901. naeeym2.AlwaysOnTop = true
  902. local tecks2 = IT("TextLabel", naeeym2)
  903. tecks2.BackgroundTransparency = 1
  904. tecks2.BorderSizePixel = 0
  905. tecks2.Text = ""
  906. tecks2.Font = "Legacy"
  907. tecks2.TextSize = 15
  908. tecks2.TextStrokeTransparency = 0
  909. tecks2.TextColor3 = C3(1, 1, 1)
  910. tecks2.TextStrokeColor3 = C3(0, 0, 0)
  911. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  912. local FINISHED = false
  913. coroutine.resume(coroutine.create(function()
  914. for i = 1, string.len(Text) do
  915. if naeeym2.Parent ~= Character then
  916. FINISHED = true
  917. end
  918. CreateSound(418252437, Head, 7, MRANDOM(8, 12) / 15, false)
  919. tecks2.Text = string.sub(Text, 1, i)
  920. Swait(Timer)
  921. end
  922. FINISHED = true
  923. end))
  924. repeat
  925. wait()
  926. until FINISHED == true
  927. wait(1)
  928. naeeym2.Name = "FadingDialogue"
  929. for i = 1, 45 do
  930. Swait()
  931. naeeym2.StudsOffset = naeeym2.StudsOffset + VT(0, (2 - 0.044444444444444446 * i) / 45, 0)
  932. tecks2.TextTransparency = tecks2.TextTransparency + 0.022222222222222223
  933. tecks2.TextStrokeTransparency = tecks2.TextTransparency
  934. end
  935. naeeym2:Destroy()
  936. end)
  937. chat()
  938. end
  939. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH, DOES360)
  940. if FLOOR ~= nil then
  941. for i = 1, AMOUNT do
  942. do
  943. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
  944. DEBREE.Material = FLOOR.Material
  945. DEBREE.Color = FLOOR.Color
  946. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  947. if DOES360 == true then
  948. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  949. else
  950. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  951. end
  952. coroutine.resume(coroutine.create(function()
  953. Swait(15)
  954. DEBREE.Parent = workspace
  955. DEBREE.CanCollide = true
  956. Debris:AddItem(DEBREE, SWAIT)
  957. end))
  958. end
  959. end
  960. end
  961. end
  962. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  963.  
  964. end
  965. Humanoid.Parent = nil
  966. RootPart.Size = RootPart.Size * SIZE
  967. Torso.Size = Torso.Size * SIZE
  968. RightArm.Size = RightArm.Size * SIZE
  969. RightLeg.Size = RightLeg.Size * SIZE
  970. LeftArm.Size = LeftArm.Size * SIZE
  971. LeftLeg.Size = LeftLeg.Size * SIZE
  972. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  973. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  974. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + (1 * SIZE - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  975. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  976. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  977. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  978. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  979. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  980. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  981. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  982. Head.Size = Head.Size * SIZE
  983. RootJoint.Parent = RootPart
  984. Neck.Parent = Torso
  985. RightShoulder.Parent = Torso
  986. LeftShoulder.Parent = Torso
  987. RightHip.Parent = Torso
  988. LeftHip.Parent = Torso
  989.  
  990. local Trap = Instance.new
  991. local GUNOFFSET = CF(0, 0.8, -1.3)
  992. local BEARTRAP = script.Beartrap
  993. BEARTRAP.Parent = nil
  994. local GRENADE = script.Grenade
  995. GRENADE.Parent = nil
  996. GRENADE.Anchored = false
  997. local FAKEBEARTRAP, FAKEGUN, HELDTRAP
  998. for _, c in pairs(Character:GetChildren()) do
  999. if script:FindFirstChild(c.Name) then
  1000. local Part = script[c.Name]
  1001. Part.Parent = Character
  1002. Part:SetPrimaryPartCFrame(c.CFrame)
  1003. c.Transparency = 1
  1004. for _, e in pairs(Part:GetChildren()) do
  1005. if e:IsA("BasePart") and e.Name ~= "Base" then
  1006. e.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1007. e.Anchored = false
  1008. weldBetween(c, e)
  1009. e.CanCollide = false
  1010. e.Locked = true
  1011. if e.Name == "Beartrap" then
  1012. FAKEBEARTRAP = e
  1013. elseif e.Name == "Gun" then
  1014. FAKEGUN = e
  1015. elseif e.Name == "HeldBeartrap" then
  1016. HELDTRAP = e
  1017. end
  1018. end
  1019. end
  1020. end
  1021. end
  1022.  
  1023. local TAIL = {}
  1024.  
  1025. local SKILLTEXTCOLOR = C3(1, 1, 1)
  1026. local SKILLFONT = "Legacy"
  1027. local SKILLTEXTSIZE = 3
  1028. local ATTACKS = {
  1029. "Mouse - Fury",
  1030. "F - Equip Gun",
  1031. "C - Beartrap",
  1032. "V - Hand Grenade"
  1033. }
  1034. for i = 1, #ATTACKS do
  1035. 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")
  1036. local SKILLTEXT = CreateLabel(SKILLFRAME, "[" .. ATTACKS[i] .. "]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
  1037. SKILLTEXT.TextXAlignment = "Right"
  1038. end
  1039. Humanoid.Parent = Character
  1040. function ApplyDamage(Humanoid, Damage)
  1041. Damage = Damage * DAMAGEMULTIPLIER
  1042. if Humanoid.Health < 2000 then
  1043. if Humanoid.Health - Damage > 0 then
  1044. Humanoid.Health = Humanoid.Health - Damage
  1045. else
  1046. Humanoid.Parent:BreakJoints()
  1047. end
  1048. else
  1049. Humanoid.Parent:BreakJoints()
  1050. end
  1051. end
  1052. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  1053. for index, CHILD in pairs(workspace:GetDescendants()) do
  1054. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1055. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1056. if HUM then
  1057. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1058. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1059. if INSTAKILL == true then
  1060. CHILD:BreakJoints()
  1061. else
  1062. local DMG = MRANDOM(MINDMG, MAXDMG)
  1063. ApplyDamage(HUM, DMG)
  1064. end
  1065. if FLING > 0 then
  1066. for _, c in pairs(CHILD:GetChildren()) do
  1067. if c:IsA("BasePart") then
  1068. local bv = Instance.new("BodyVelocity")
  1069. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1070. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1071. bv.Parent = c
  1072. Debris:AddItem(bv, 0.05)
  1073. end
  1074. end
  1075. end
  1076. end
  1077. end
  1078. end
  1079. end
  1080. end
  1081. function Fury()
  1082. ATTACK = true
  1083. Rooted = false
  1084. if EQUIPPED == false then
  1085. Rooted = true
  1086. Chatter("I'll crush you!", 0)
  1087. for i = 0, 0.3, 0.1 / Animation_Speed do
  1088. Swait()
  1089. 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)
  1090. 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)
  1091. 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)
  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, 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)
  1094. 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)
  1095. end
  1096. local TOUCH = RightLeg.Touched:Connect(function(HIT)
  1097. if HIT.Anchored == false and (HIT.Parent:FindFirstChildOfClass("Humanoid") or HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")) then
  1098. HIT:BreakJoints()
  1099. end
  1100. end)
  1101. for i = 0, 0.1, 0.1 / Animation_Speed do
  1102. Swait()
  1103. 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)
  1104. 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)
  1105. 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)
  1106. 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)
  1107. 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)
  1108. 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)
  1109. end
  1110. local HITFLOOR, HITPOS = Raycast(RightLeg.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 2 * SIZE, Character)
  1111. if HITFLOOR then
  1112. for i = 1, 5 do
  1113. WACKYEFFECT({
  1114. Time = 25,
  1115. EffectType = "Wave",
  1116. Size = VT(5, 0.5, 5),
  1117. Size2 = VT(15 + i * 3, 0, 15 + i * 3),
  1118. Transparency = 0.7,
  1119. Transparency2 = 1,
  1120. CFrame = CF(RightLeg.CFrame * CF(0, -1.05 * SIZE, 0).p) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1121. MoveToPos = nil,
  1122. RotationX = 0,
  1123. RotationY = 0,
  1124. RotationZ = 0,
  1125. Material = "Neon",
  1126. Color = C3(1, 1, 1),
  1127. SoundID = nil,
  1128. SoundPitch = nil,
  1129. SoundVolume = nil
  1130. })
  1131. end
  1132. SHAKECAM(HITPOS, 35, 7, 12)
  1133. ApplyAoE(HITPOS, 25, 35, 45, 45, false)
  1134. CreateSound(765590102, RightLeg, 6, 1, false)
  1135. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 10, VT(2, 2, 2), 5, 75, false)
  1136. end
  1137. TOUCH:Disconnect()
  1138. for i = 0, 0.2, 0.1 / Animation_Speed do
  1139. Swait()
  1140. 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)
  1141. 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)
  1142. 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)
  1143. 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)
  1144. 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)
  1145. 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)
  1146. end
  1147. else
  1148. do
  1149. local GYRO = IT("BodyGyro", RootPart)
  1150. GYRO.D = 2
  1151. GYRO.P = 20000
  1152. GYRO.MaxTorque = VT(0, 4000000, 0)
  1153. coroutine.resume(coroutine.create(function()
  1154. repeat
  1155. Swait()
  1156. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1157. until ATTACK == false
  1158. GYRO:Remove()
  1159. end))
  1160. local FIRING = true
  1161. local SHOOTING = false
  1162. local TIMER = 70
  1163. CreateSound(1498950813, HELDGUN, 6, 1, false)
  1164. for i = 0, 0.2, 0.1 / Animation_Speed do
  1165. Swait()
  1166. 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)
  1167. 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)
  1168. 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)
  1169. 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)
  1170. 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)
  1171. 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)
  1172. end
  1173. local MOUSE = Mouse.Button1Down:connect(function(NEWKEY)
  1174. if SHOOTING == false then
  1175. HOLD = true
  1176. repeat
  1177. SHOOTING = true
  1178. local GUNPOS = HELDGUN.CFrame * GUNOFFSET.p
  1179. local HIT, POS, NORMAL = CastProperRay(GUNPOS, Mouse.Hit.p, 1000, Character)
  1180. local DISTANCE = (POS - GUNPOS).Magnitude
  1181. if HIT then
  1182. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1183. if HIT.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  1184. HIT.CFrame = HIT.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1185. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], HIT, 10, 1, false)
  1186. ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"), 99)
  1187. CreateFlyingDebree(HIT, CF(POS), 7, VT(0.1, 0.1, 0.1), 5, 35, true)
  1188. end
  1189. elseif HIT.Anchored == true then
  1190. CreateFlyingDebree(HIT, CF(POS), 7, VT(0.2, 0.2, 0.2), 5, 35, true)
  1191. end
  1192. end
  1193. SHAKECAM(GUNPOS, 8, 5, 3)
  1194. SHAKECAM(POS, 10, 6, 6)
  1195. WACKYEFFECT({
  1196. Time = 6,
  1197. EffectType = "Block",
  1198. Size = VT(2, 2, 2),
  1199. Size2 = VT(4, 4, 4),
  1200. Transparency = 0,
  1201. Transparency2 = 1,
  1202. CFrame = CF(GUNPOS),
  1203. MoveToPos = nil,
  1204. RotationX = 0,
  1205. RotationY = 0,
  1206. RotationZ = 0,
  1207. Material = "Neon",
  1208. Color = C3(1, 1, 0),
  1209. SoundID = 213603013,
  1210. SoundPitch = 0.9,
  1211. SoundVolume = 10
  1212. })
  1213. WACKYEFFECT({
  1214. Time = 6,
  1215. EffectType = "Box",
  1216. Size = VT(1.6, 1.6, DISTANCE),
  1217. Size2 = VT(0, 0, DISTANCE),
  1218. Transparency = 0,
  1219. Transparency2 = 1,
  1220. CFrame = CF(GUNPOS, POS) * CF(0, 0, -DISTANCE / 2),
  1221. MoveToPos = nil,
  1222. RotationX = 0,
  1223. RotationY = 0,
  1224. RotationZ = 0,
  1225. Material = "Neon",
  1226. Color = C3(1, 1, 0),
  1227. SoundID = nil,
  1228. SoundPitch = nil,
  1229. SoundVolume = nil
  1230. })
  1231. for i = 0, 0.3, 0.1 / Animation_Speed do
  1232. Swait()
  1233. 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)
  1234. 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)
  1235. 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)
  1236. 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)
  1237. 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)
  1238. 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)
  1239. end
  1240. for i = 0, 0.5, 0.1 / Animation_Speed do
  1241. Swait()
  1242. 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)
  1243. 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)
  1244. 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)
  1245. 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)
  1246. 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)
  1247. 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)
  1248. end
  1249. until HOLD == false
  1250. SHOOTING = false
  1251. end
  1252. end)
  1253. repeat
  1254. Swait()
  1255. if SHOOTING == false then
  1256. TIMER = TIMER - 1
  1257. if TIMER <= 0 then
  1258. FIRING = false
  1259. end
  1260. 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)
  1261. 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)
  1262. 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)
  1263. 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)
  1264. 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)
  1265. 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)
  1266. end
  1267. until FIRING == false and SHOOTING == false
  1268. MOUSE:Disconnect()
  1269. end
  1270. end
  1271. ATTACK = false
  1272. Rooted = false
  1273. end
  1274. function EquipGun()
  1275. ATTACK = true
  1276. Rooted = false
  1277. if EQUIPPED == false then
  1278. Chatter("Let's play dirty.", 0)
  1279. for i = 0, 0.3, 0.1 / Animation_Speed do
  1280. Swait()
  1281. 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)
  1282. 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)
  1283. 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)
  1284. 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)
  1285. 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)
  1286. 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)
  1287. end
  1288. HELDGUN = FAKEGUN:Clone()
  1289. HELDGUN.Parent = Character
  1290. 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))
  1291. FAKEGUN.Transparency = 1
  1292. CreateSound(1498950813, HELDGUN, 6, 1, false)
  1293. for i = 0, 0.3, 0.1 / Animation_Speed do
  1294. Swait()
  1295. 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)
  1296. 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)
  1297. 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)
  1298. 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)
  1299. 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)
  1300. 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)
  1301. end
  1302. EQUIPPED = true
  1303. else
  1304. for i = 0, 0.3, 0.1 / Animation_Speed do
  1305. Swait()
  1306. GUNWELD.C1 = Clerp(GUNWELD.C1, CF(0, 0.5, 0) * ANGLES(RAD(65), RAD(-45), RAD(0)), 1 / Animation_Speed)
  1307. 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)
  1308. 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)
  1309. 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)
  1310. 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)
  1311. 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)
  1312. 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)
  1313. end
  1314. FAKEGUN.Transparency = 0
  1315. HELDGUN:remove()
  1316. HELDGUN = nil
  1317. EQUIPPED = false
  1318. end
  1319. ATTACK = false
  1320. Rooted = false
  1321. end
  1322. function BearTrap()
  1323. ATTACK = true
  1324. Rooted = false
  1325. coroutine.resume(coroutine.create(function()
  1326. repeat
  1327. Swait()
  1328. 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)
  1329. until ATTACK == false
  1330. end))
  1331. for i = 0, 0.3, 0.1 / Animation_Speed do
  1332. Swait()
  1333. 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)
  1334. 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)
  1335. 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)
  1336. 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)
  1337. 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)
  1338. end
  1339. local GYRO = IT("BodyGyro", RootPart)
  1340. GYRO.D = 2
  1341. GYRO.P = 20000
  1342. GYRO.MaxTorque = VT(0, 4000000, 0)
  1343. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1344. coroutine.resume(coroutine.create(function()
  1345. repeat
  1346. Swait()
  1347. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1348. until ATTACK == false
  1349. GYRO:Remove()
  1350. end))
  1351. FAKEBEARTRAP.Transparency = 1
  1352. HELDTRAP.Transparency = 0
  1353. for i = 0, 0.4, 0.1 / Animation_Speed do
  1354. Swait()
  1355. 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)
  1356. 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)
  1357. 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)
  1358. 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)
  1359. 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)
  1360. end
  1361. local TRAP = BEARTRAP:Clone()
  1362. TRAP.Parent = Effects
  1363. coroutine.resume(coroutine.create(function()
  1364. TRAP:SetPrimaryPartCFrame(HELDTRAP.CFrame)
  1365. local BASE = TRAP.PrimaryPart
  1366. local OPEN = TRAP.Open
  1367. local CLOSED = TRAP.Closed
  1368. CreateSound(147722227, BASE, 6, 1, false)
  1369. local DISTANCE = (BASE.Position - Mouse.Hit.p).Magnitude
  1370. BASE.Velocity = CF(BASE.Position, Mouse.Hit.p).lookVector * (DISTANCE * 2)
  1371. wait(0.7)
  1372. BASE.Velocity = VT(0, 0, 0)
  1373. local ISCLOSED = false
  1374. for i = 1, 15 do
  1375. Swait()
  1376. BASE.CFrame = Clerp(BASE.CFrame, CF(BASE.Position + VT(0, 1, 0)), 0.4)
  1377. end
  1378. TOUCH = OPEN.Touched:Connect(function(HIT)
  1379. if HIT.Anchored == false and ISCLOSED == false and HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1380. TOUCH:Disconnect()
  1381. ISCLOSED = true
  1382. OPEN.Anchored = true
  1383. OPEN.Transparency = 1
  1384. CLOSED.Transparency = 0
  1385. OPEN.CanCollide = false
  1386. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], HIT, 10, 1, false)
  1387. ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"), 60)
  1388. weldBetween(OPEN, HIT)
  1389. CreateSound(54061314, OPEN, 6, 1, false)
  1390. end
  1391. end)
  1392. wait(15)
  1393. TOUCH:Disconnect()
  1394. for i = 1, 45 do
  1395. Swait()
  1396. for _, e in pairs(TRAP:GetChildren()) do
  1397. if e:IsA("BasePart") then
  1398. e.Transparency = e.Transparency + 0.022222222222222223
  1399. end
  1400. end
  1401. end
  1402. TRAP:Remove()
  1403. end))
  1404. HELDTRAP.Transparency = 1
  1405. for i = 0, 0.3, 0.1 / Animation_Speed do
  1406. Swait()
  1407. 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)
  1408. 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)
  1409. 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)
  1410. 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)
  1411. 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)
  1412. end
  1413. FAKEBEARTRAP.Transparency = 0
  1414. ATTACK = false
  1415. Rooted = false
  1416. end
  1417. function HandGrenade()
  1418. ATTACK = true
  1419. Rooted = false
  1420. Chatter("How about a little fire?", 0)
  1421. coroutine.resume(coroutine.create(function()
  1422. repeat
  1423. Swait()
  1424. 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)
  1425. until ATTACK == false
  1426. end))
  1427. local GYRO = IT("BodyGyro", RootPart)
  1428. GYRO.D = 2
  1429. GYRO.P = 20000
  1430. GYRO.MaxTorque = VT(0, 4000000, 0)
  1431. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1432. coroutine.resume(coroutine.create(function()
  1433. repeat
  1434. Swait()
  1435. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1436. until ATTACK == false
  1437. GYRO:Remove()
  1438. end))
  1439. for i = 0, 0.4, 0.1 / Animation_Speed do
  1440. Swait()
  1441. 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)
  1442. 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)
  1443. 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)
  1444. 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)
  1445. 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)
  1446. end
  1447. local NADE = GRENADE:Clone()
  1448. NADE.CFrame = LeftArm.CFrame * CF(0, -1.2 * SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1449. NADE.Parent = Effects
  1450. CreateSound(326088041, NADE, 7, 1, false)
  1451. local WELD = weldBetween(LeftArm, NADE)
  1452. for i = 0, 0.7, 0.1 / Animation_Speed do
  1453. Swait()
  1454. 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)
  1455. 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)
  1456. 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)
  1457. 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)
  1458. 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)
  1459. end
  1460. coroutine.resume(coroutine.create(function()
  1461. WELD:remove()
  1462. local DISTANCE = (NADE.Position - Mouse.Hit.p).Magnitude
  1463. if DISTANCE > 150 then
  1464. DISTANCE = 150
  1465. end
  1466. NADE.Velocity = CF(NADE.Position - VT(0, 5, 0), Mouse.Hit.p).lookVector * (DISTANCE * 2)
  1467. wait(0.2)
  1468. TOUCH = NADE.Touched:Connect(function()
  1469. TOUCH:Disconnect()
  1470. wait(0.5)
  1471. NADE.Anchored = true
  1472. NADE.Transparency = 1
  1473. NADE.CanCollide = false
  1474. local COLORS = {
  1475. C3(0.8862745098039215, 0.6078431372549019, 0.25098039215686274),
  1476. C3(1, 0, 0),
  1477. C3(0.9607843137254902, 0.803921568627451, 0.18823529411764706)
  1478. }
  1479. WACKYEFFECT({
  1480. Time = 66,
  1481. EffectType = "Sphere",
  1482. Size = VT(45, 45, 45),
  1483. Size2 = VT(450, 450, 450),
  1484. Transparency = 0.99,
  1485. Transparency2 = 1,
  1486. CFrame = CF(NADE.Position),
  1487. MoveToPos = nil,
  1488. RotationX = 0,
  1489. RotationY = 0,
  1490. RotationZ = 0,
  1491. Material = "Neon",
  1492. Color = C3(1, 1, 1),
  1493. SoundID = nil,
  1494. SoundPitch = nil,
  1495. SoundVolume = nil
  1496. })
  1497. for i = 1, 45 do
  1498. WACKYEFFECT({
  1499. Time = MRANDOM(10, 60),
  1500. EffectType = "Sphere",
  1501. Size = VT(45, 45, 45) * MRANDOM(5, 12) / 10,
  1502. Size2 = VT(65, 65, 65) * MRANDOM(5, 22) / 10,
  1503. Transparency = 0,
  1504. Transparency2 = 1,
  1505. CFrame = CF(NADE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 15, 0),
  1506. MoveToPos = nil,
  1507. RotationX = 0,
  1508. RotationY = 0,
  1509. RotationZ = 0,
  1510. Material = "Neon",
  1511. Color = COLORS[MRANDOM(1, #COLORS)],
  1512. SoundID = nil,
  1513. SoundPitch = nil,
  1514. SoundVolume = nil
  1515. })
  1516. end
  1517. ApplyAoE(NADE.Position, 75, 35, 80, 145, false)
  1518. SHAKECAM(NADE.Position, 160, 12, 25)
  1519. CreateSound(174580476, NADE, 10, 1, false)
  1520. CreateSound(165970126, NADE, 6, 1, false)
  1521. Debris:AddItem(NADE, 10)
  1522. end)
  1523. end))
  1524. for i = 0, 0.3, 0.1 / Animation_Speed do
  1525. Swait()
  1526. 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)
  1527. 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)
  1528. 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)
  1529. 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)
  1530. 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)
  1531. end
  1532. ATTACK = false
  1533. Rooted = false
  1534. end
  1535. function AttackTemplate()
  1536. ATTACK = true
  1537. Rooted = false
  1538. for i = 0, 1, 0.1 / Animation_Speed do
  1539. Swait()
  1540. 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)
  1541. 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)
  1542. 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)
  1543. 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)
  1544. 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)
  1545. 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)
  1546. end
  1547. ATTACK = false
  1548. Rooted = false
  1549. end
  1550. function MouseDown(Mouse)
  1551. if ATTACK == false then
  1552. Fury()
  1553. end
  1554. end
  1555. function MouseUp(Mouse)
  1556. HOLD = false
  1557. end
  1558. function KeyDown(Key)
  1559. KEYHOLD = true
  1560. if Key == "f" and ATTACK == false then
  1561. EquipGun()
  1562. end
  1563. if Key == "c" and ATTACK == false then
  1564. BearTrap()
  1565. end
  1566. if Key == "v" and ATTACK == false then
  1567. HandGrenade()
  1568. end
  1569. if Key ~= "x" or ATTACK == false then
  1570. end
  1571. end
  1572. function KeyUp(Key)
  1573. KEYHOLD = false
  1574. end
  1575. Mouse.Button1Down:connect(function(NEWKEY)
  1576. MouseDown(NEWKEY)
  1577. end)
  1578. Mouse.Button1Up:connect(function(NEWKEY)
  1579. MouseUp(NEWKEY)
  1580. end)
  1581. Mouse.KeyDown:connect(function(NEWKEY)
  1582. KeyDown(NEWKEY)
  1583. end)
  1584. Mouse.KeyUp:connect(function(NEWKEY)
  1585. KeyUp(NEWKEY)
  1586. end)
  1587. function unanchor()
  1588. for _, c in pairs(Character:GetChildren()) do
  1589. if c:IsA("BasePart") and c ~= RootPart then
  1590. c.Anchored = false
  1591. end
  1592. end
  1593. if UNANCHOR == true then
  1594. RootPart.Anchored = false
  1595. else
  1596. RootPart.Anchored = true
  1597. end
  1598. end
  1599. Humanoid.Changed:connect(function(Jump)
  1600. if Jump == "Jump" and Disable_Jump == true then
  1601. Humanoid.Jump = false
  1602. end
  1603. end)
  1604. while true do
  1605. Swait()
  1606. script.Parent = WEAPONGUI
  1607. ANIMATE.Parent = nil
  1608. for _, v in next, Humanoid:GetPlayingAnimationTracks() do
  1609. v:Stop()
  1610. end
  1611. SINE = SINE + CHANGE
  1612. Humanoid.HipHeight = 0.4
  1613. Humanoid.JumpPower = 150
  1614. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1615. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1616. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * SIZE, Character)
  1617. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1618. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1619. 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)
  1620. 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)
  1621. 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)
  1622. 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)
  1623. elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
  1624. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1625. 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)
  1626. 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)
  1627. 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)
  1628. end
  1629. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1630. ANIM = "Jump"
  1631. if ATTACK == false then
  1632. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1633. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1634. 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)
  1635. 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)
  1636. 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)
  1637. 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)
  1638. end
  1639. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1640. ANIM = "Fall"
  1641. if ATTACK == false then
  1642. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1643. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1644. 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)
  1645. 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)
  1646. 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)
  1647. 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)
  1648. end
  1649. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1650. ANIM = "Idle"
  1651. if ATTACK == false then
  1652. 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)
  1653. 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)
  1654. if EQUIPPED == false then
  1655. 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)
  1656. 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)
  1657. else
  1658. 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)
  1659. 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)
  1660. end
  1661. 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)
  1662. 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)
  1663. end
  1664. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1665. ANIM = "Walk"
  1666. if ATTACK == false then
  1667. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, -0.1 * SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1668. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1669. if EQUIPPED == false then
  1670. 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)
  1671. 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)
  1672. else
  1673. 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)
  1674. 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)
  1675. end
  1676. 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)
  1677. 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)
  1678. end
  1679. end
  1680. for E = 1, #TAIL do
  1681. 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)
  1682. end
  1683. unanchor()
  1684. Humanoid.MaxHealth = 1000
  1685. Humanoid.Health = 1000
  1686. if Rooted == false then
  1687. Disable_Jump = false
  1688. Humanoid.WalkSpeed = Speed
  1689. elseif Rooted == true then
  1690. Disable_Jump = true
  1691. Humanoid.WalkSpeed = 0
  1692. end
  1693. for _, c in pairs(Character:GetChildren()) do
  1694. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1695. c.Material = "Granite"
  1696. if c:FindFirstChildOfClass("ParticleEmitter") then
  1697. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1698. end
  1699. c.Color = C3(0.3137254901960784, 0.2627450980392157, 0.2627450980392157)
  1700. if c == Head and c:FindFirstChild("face") then
  1701. c.face:remove()
  1702. end
  1703. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1704. c:remove()
  1705. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1706. c:remove()
  1707. end
  1708. end
  1709. Humanoid.DisplayDistanceType = "None"
  1710. Humanoid.Name = "NONHUM"
  1711. if sick.Parent ~= Character then
  1712. sick = IT("Sound", Character)
  1713. end
  1714. sick.SoundId = "rbxassetid://737063244"
  1715. sick.Looped = true
  1716. sick.Pitch = 0.9
  1717. sick.Volume = 3
  1718. sick.Playing = true
  1719. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement