Advertisement
Im_Meme

Sazchanic

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