SHARE
TWEET

bazoooka boooom

HenloMyDude Jul 21st, 2019 (edited) 160 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --//====================================================\\--
  2. --||                  BANZAI BAZOOKA
  3. --\\====================================================//--
  4.  
  5. local MODULE = script
  6. local CHARACTER = owner.Character
  7. local PLAYER = game:GetService("Players"):GetPlayerFromCharacter(CHARACTER)
  8. local HUM = CHARACTER.Humanoid
  9. local EVENTER = Instance.new("RemoteEvent",script)
  10. EVENTER.Name = "Event"
  11. local REMOTE = MODULE.Event
  12. local MAINCOLOR = BrickColor.new("Slime green")
  13. local MAINCOLOR2 = BrickColor.new("Really red")
  14.  
  15. HELMETMODEL = Instance.new("Part",script)
  16. HELMETMODEL.Name = "Helmet"
  17. HELMETMODEL.Material = "Metal"
  18. HELMETMODEL.BrickColor = MAINCOLOR
  19. HELMETMODEL.Size = Vector3.new(1.617, 0.651, 1.703)
  20. HELMETMSH = Instance.new("SpecialMesh",HELMETMODEL)
  21. HELMETMSH.MeshId = "rbxassetid://1045381"
  22.  
  23. BAZOOKAA = Instance.new("Part",script)
  24. BAZOOKAA.Name = "Bazooka"
  25. BAZOOKAA.Material = "Metal"
  26. BAZOOKAA.BrickColor = MAINCOLOR
  27. BAZOOKAA.Size = Vector3.new(0.361, 0.36, 1.377)
  28. BAZMSH = Instance.new("SpecialMesh",BAZOOKAA)
  29. BAZMSH.MeshId = "rbxassetid://94690054"
  30.  
  31. MISLE = Instance.new("Part",script)
  32. MISLE.Name = "Missile"
  33. MISLE.Material = "Metal"
  34. MISLE.BrickColor = MAINCOLOR2
  35. MISLE.Size = Vector3.new(1.23, 1.863, 5.643)
  36. MISH = Instance.new("SpecialMesh",MISLE)
  37. MISH.MeshId = "rbxassetid://103970395"
  38. MISH.TextureId = "rbxassetid://103967643"
  39.  
  40. local ControlsGUI = Instance.new("ScreenGui")
  41. local ToggleButton = Instance.new("TextButton")
  42. local Controls = Instance.new("Frame")
  43. local ScriptCredits = Instance.new("TextLabel")
  44. local Text = Instance.new("TextLabel")
  45. local Text_2 = Instance.new("TextLabel")
  46. local Stored = Instance.new("TextLabel")
  47.  
  48. local HINDD = Instance.new("Attachment",MISLE)
  49. HINDD.Position = Vector3.new(0, 0, 0.8)
  50. HINDD.WorldAxis = Vector3.new(1, 0, 0)
  51. HINDD.WorldPosition = Vector3.new(107.568, 0.706, 203.807)
  52. HINDD.Name = "Hind"
  53. HINDD.WorldSecondaryAxis = Vector3.new(0, 1, 0)
  54.  
  55. --Converted with ttyyuu12345's model to script plugin v4
  56. function sandbox(var,func)
  57.     local env = getfenv(func)
  58.     local newenv = setmetatable({},{
  59.         __index = function(self,k)
  60.             if k=="script" then
  61.                 return var
  62.             else
  63.                 return env[k]
  64.             end
  65.         end,
  66.     })
  67.     setfenv(func,newenv)
  68.     return func
  69. end
  70. cors = {}
  71. mas = Instance.new("Model",game:GetService("Lighting"))
  72. ParticleEmitter0 = Instance.new("ParticleEmitter")
  73. ParticleEmitter1 = Instance.new("ParticleEmitter")
  74. ParticleEmitter0.Name = "Jet"
  75. ParticleEmitter0.Parent = MISLE
  76. ParticleEmitter0.Speed = NumberRange.new(2, 2)
  77. ParticleEmitter0.Rotation = NumberRange.new(0, 359)
  78. ParticleEmitter0.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  79. ParticleEmitter0.LightEmission = 1
  80. ParticleEmitter0.Transparency = NumberSequence.new(1,0.5,0,0.20000000298023,1)
  81. ParticleEmitter0.Size = NumberSequence.new(0.80000001192093,0)
  82. ParticleEmitter0.Drag = -2
  83. ParticleEmitter0.EmissionDirection = Enum.NormalId.Back
  84. ParticleEmitter0.Lifetime = NumberRange.new(0.5, 1)
  85. ParticleEmitter0.LockedToPart = true
  86. ParticleEmitter0.Rate = 999
  87. ParticleEmitter1.Name = "JetIn"
  88. ParticleEmitter1.Parent = MISLE
  89. ParticleEmitter1.Speed = NumberRange.new(2, 2)
  90. ParticleEmitter1.Rotation = NumberRange.new(0, 359)
  91. ParticleEmitter1.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(1, 1, 0.498039))
  92. ParticleEmitter1.LightEmission = 1
  93. ParticleEmitter1.Transparency = NumberSequence.new(1,0.5,0,0.20000000298023,1)
  94. ParticleEmitter1.Size = NumberSequence.new(0.5,0)
  95. ParticleEmitter1.Drag = -2
  96. ParticleEmitter1.EmissionDirection = Enum.NormalId.Back
  97. ParticleEmitter1.Lifetime = NumberRange.new(0.5, 1)
  98. ParticleEmitter1.LockedToPart = true
  99. ParticleEmitter1.Rate = 999
  100. for i,v in pairs(mas:GetChildren()) do
  101.     v.Parent = MISLE
  102.     pcall(function() v:MakeJoints() end)
  103. end
  104. mas:Destroy()
  105. for i,v in pairs(cors) do
  106.     spawn(function()
  107.         pcall(v)
  108.     end)
  109. end
  110.  
  111.  
  112. --Converted with ttyyuu12345's model to script plugin v4
  113. function sandbox(var,func)
  114.     local env = getfenv(func)
  115.     local newenv = setmetatable({},{
  116.         __index = function(self,k)
  117.             if k=="script" then
  118.                 return var
  119.             else
  120.                 return env[k]
  121.             end
  122.         end,
  123.     })
  124.     setfenv(func,newenv)
  125.     return func
  126. end
  127. cors = {}
  128. mas = Instance.new("Model",game:GetService("Lighting"))
  129. grendade = Instance.new("Folder")
  130. ParticleEmitter1 = Instance.new("ParticleEmitter")
  131. ParticleEmitter2 = Instance.new("ParticleEmitter")
  132. ParticleEmitter3 = Instance.new("ParticleEmitter")
  133. grendade.Name = "Grenade"
  134. grendade.Parent = script
  135. Folder0 = grendade
  136. ParticleEmitter1.Name = "Core"
  137. ParticleEmitter1.Parent = Folder0
  138. ParticleEmitter1.Speed = NumberRange.new(10, 25)
  139. ParticleEmitter1.Rotation = NumberRange.new(-400, 400)
  140. ParticleEmitter1.Color = ColorSequence.new(Color3.new(1, 1, 0.803922),Color3.new(0.870588, 0.619608, 0.160784),Color3.new(0.635294, 0.333333, 0.129412),Color3.new(0, 0, 0))
  141. ParticleEmitter1.Enabled = false
  142. ParticleEmitter1.LightEmission = 1
  143. ParticleEmitter1.LightInfluence = 1
  144. ParticleEmitter1.Texture = "rbxasset://textures/particles/explosion01_core_main.dds"
  145. ParticleEmitter1.Transparency = NumberSequence.new(0,0.25,1)
  146. ParticleEmitter1.Size = NumberSequence.new(5,7)
  147. ParticleEmitter1.Drag = 2
  148. ParticleEmitter1.Lifetime = NumberRange.new(0.5, 2)
  149. ParticleEmitter1.Rate = 999
  150. ParticleEmitter1.RotSpeed = NumberRange.new(-90, 90)
  151. ParticleEmitter1.SpreadAngle = Vector2.new(180, 180)
  152. ParticleEmitter1.VelocitySpread = 180
  153. ParticleEmitter2.Name = "Black"
  154. ParticleEmitter2.Parent = Folder0
  155. ParticleEmitter2.Speed = NumberRange.new(20, 50)
  156. ParticleEmitter2.Rotation = NumberRange.new(-400, 400)
  157. ParticleEmitter2.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  158. ParticleEmitter2.Enabled = false
  159. ParticleEmitter2.LightInfluence = 1
  160. ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_core_main.dds"
  161. ParticleEmitter2.Transparency = NumberSequence.new(0.61538457870483,0.71428573131561,1)
  162. ParticleEmitter2.ZOffset = 0.20000000298023
  163. ParticleEmitter2.Size = NumberSequence.new(1.3124996423721,3.0624997615814)
  164. ParticleEmitter2.Drag = 10
  165. ParticleEmitter2.Lifetime = NumberRange.new(0, 0.60000002384186)
  166. ParticleEmitter2.Rate = 999
  167. ParticleEmitter2.RotSpeed = NumberRange.new(-90, 90)
  168. ParticleEmitter2.SpreadAngle = Vector2.new(180, 180)
  169. ParticleEmitter2.VelocitySpread = 180
  170. ParticleEmitter3.Name = "Dust"
  171. ParticleEmitter3.Parent = Folder0
  172. ParticleEmitter3.Speed = NumberRange.new(45, 45)
  173. ParticleEmitter3.Rotation = NumberRange.new(0, 359)
  174. ParticleEmitter3.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  175. ParticleEmitter3.Enabled = false
  176. ParticleEmitter3.LightInfluence = 1
  177. ParticleEmitter3.Texture = "rbxasset://textures/particles/smoke_main.dds"
  178. ParticleEmitter3.Transparency = NumberSequence.new(0.75,1)
  179. ParticleEmitter3.ZOffset = 2
  180. ParticleEmitter3.Size = NumberSequence.new(0,0,1,4.1249995231628,7.5,10)
  181. ParticleEmitter3.Drag = 3
  182. ParticleEmitter3.EmissionDirection = Enum.NormalId.Front
  183. ParticleEmitter3.Lifetime = NumberRange.new(0.20000000298023, 2)
  184. ParticleEmitter3.Rate = 9999
  185. ParticleEmitter3.SpreadAngle = Vector2.new(0, 180)
  186. for i,v in pairs(mas:GetChildren()) do
  187.     v.Parent = workspace
  188.     pcall(function() v:MakeJoints() end)
  189. end
  190. mas:Destroy()
  191. for i,v in pairs(cors) do
  192.     spawn(function()
  193.         pcall(v)
  194.     end)
  195. end
  196.  
  197. Folder0.Parent = script
  198.  
  199. ControlsGUI.Name = "ControlsGUI"
  200. ControlsGUI.Parent = MODULE
  201. ControlsGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  202.  
  203. ToggleButton.Name = "ToggleButton"
  204. ToggleButton.Parent = ControlsGUI
  205. ToggleButton.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  206. ToggleButton.BackgroundTransparency = 0.5
  207. ToggleButton.BorderColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  208. ToggleButton.BorderSizePixel = 5
  209. ToggleButton.Position = UDim2.new(0.699999988, 0, 0.949999988, 0)
  210. ToggleButton.Size = UDim2.new(0.100000001, 0, 0.0500000007, 0)
  211. ToggleButton.Font = Enum.Font.Gotham
  212. ToggleButton.Text = "Controls"
  213. ToggleButton.TextColor3 = Color3.new(1, 1, 1)
  214. ToggleButton.TextScaled = true
  215. ToggleButton.TextSize = 14
  216. ToggleButton.TextWrapped = true
  217.  
  218. Controls.Name = "Controls"
  219. Controls.Parent = ToggleButton
  220. Controls.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  221. Controls.BackgroundTransparency = 0.5
  222. Controls.BorderColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  223. Controls.BorderSizePixel = 5
  224. Controls.Position = UDim2.new(-2.07500005, 0, -2.8499999, 0)
  225. Controls.Size = UDim2.new(4, 0, 2.5, 0)
  226. Controls.Visible = false
  227.  
  228. ScriptCredits.Name = "ScriptCredits"
  229. ScriptCredits.Parent = Controls
  230. ScriptCredits.BackgroundColor3 = Color3.new(0, 0, 0)
  231. ScriptCredits.BackgroundTransparency = 0.75
  232. ScriptCredits.BorderColor3 = Color3.new(0, 0, 0)
  233. ScriptCredits.BorderSizePixel = 5
  234. ScriptCredits.Size = UDim2.new(1, 0, 0.300000012, 0)
  235. ScriptCredits.Font = Enum.Font.Gotham
  236. ScriptCredits.Text = "BANZAI BAZOOKA by PityPolygon"
  237. ScriptCredits.TextColor3 = Color3.new(1, 1, 1)
  238. ScriptCredits.TextScaled = true
  239. ScriptCredits.TextSize = 14
  240. ScriptCredits.TextWrapped = true
  241.  
  242. Text.Name = "Text"
  243. Text.Parent = Controls
  244. Text.BackgroundColor3 = Color3.new(1, 1, 1)
  245. Text.BackgroundTransparency = 1
  246. Text.Position = UDim2.new(0, 0, 0.349999994, 0)
  247. Text.Size = UDim2.new(1, 0, 0.25, 0)
  248. Text.Font = Enum.Font.Gotham
  249. Text.Text = "Mouse - Hold to unleash stored missiles, explosions can fling you"
  250. Text.TextColor3 = Color3.new(1, 1, 1)
  251. Text.TextScaled = true
  252. Text.TextSize = 14
  253. Text.TextWrapped = true
  254.  
  255. Text_2.Name = "Text"
  256. Text_2.Parent = Controls
  257. Text_2.BackgroundColor3 = Color3.new(1, 1, 1)
  258. Text_2.BackgroundTransparency = 1
  259. Text_2.Position = UDim2.new(0, 0, 0.699999988, 0)
  260. Text_2.Size = UDim2.new(1, 0, 0.25, 0)
  261. Text_2.Font = Enum.Font.Gotham
  262. Text_2.Text = "Z - Hold to store missiles"
  263. Text_2.TextColor3 = Color3.new(1, 1, 1)
  264. Text_2.TextScaled = true
  265. Text_2.TextSize = 14
  266. Text_2.TextWrapped = true
  267.  
  268. Stored.Name = "Stored"
  269. Stored.Parent = ToggleButton
  270. Stored.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  271. Stored.BackgroundTransparency = 0.75
  272. Stored.BorderColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  273. Stored.BorderSizePixel = 5
  274. Stored.Position = UDim2.new(-1.14999998, 0, 0, 0)
  275. Stored.Size = UDim2.new(1, 0, 1, 0)
  276. Stored.Font = Enum.Font.Gotham
  277. Stored.Text = "STORED: 10000"
  278. Stored.TextColor3 = Color3.new(1, 1, 1)
  279. Stored.TextScaled = true
  280. Stored.TextSize = 14
  281. Stored.TextStrokeColor3 = Color3.new(1, 1, 1)
  282. Stored.TextTransparency = 0.5
  283. Stored.TextWrapped = true
  284.  
  285. function SCRIPT_QBWM67_FAKESCRIPT() -- ControlsGUI.Script
  286.     local script = Instance.new('Script')
  287.     script.Parent = ControlsGUI
  288.     local PLAYER = owner
  289.     if PLAYER then
  290.         if PLAYER:IsA("Player") then
  291.             PLAYER.CharacterAdded:Connect(function()
  292.                 script.Parent:Remove()
  293.             end)
  294.         end
  295.     end
  296.  
  297. end
  298. coroutine.resume(coroutine.create(SCRIPT_QBWM67_FAKESCRIPT))
  299.  
  300.  
  301. local ROOT = HUM.Torso
  302. local HEAD = CHARACTER.Head
  303. local TORSO = CHARACTER.Torso
  304. local RIGHTARM = CHARACTER["Right Arm"]
  305. local LEFTARM = CHARACTER["Left Arm"]
  306. local RIGHTLEG = CHARACTER["Right Leg"]
  307. local LEFTLEG = CHARACTER["Left Leg"]
  308. local ROOTJOINT = ROOT["RootJoint"]
  309. local NECK = TORSO["Neck"]
  310. local RIGHTSHOULDER = TORSO["Right Shoulder"]
  311. local LEFTSHOULDER = TORSO["Left Shoulder"]
  312. local RIGHTHIP = TORSO["Right Hip"]
  313. local LEFTHIP = TORSO["Left Hip"]
  314. local MOUSEPOS = ROOT.Position
  315.  
  316. IT = Instance.new
  317. CF = CFrame.new
  318. VT = Vector3.new
  319. RAD = math.rad
  320. C3 = Color3.new
  321. UD2 = UDim2.new
  322. BRICKC = BrickColor.new
  323. ANGLES = CFrame.Angles
  324. EULER = CFrame.fromEulerAnglesXYZ
  325. COS = math.cos
  326. ACOS = math.acos
  327. SIN = math.sin
  328. ASIN = math.asin
  329. ABS = math.abs
  330. MRANDOM = math.random
  331. FLOOR = math.floor
  332.  
  333. --//====================================================\\--
  334. --||                       FE CODE
  335. --\\====================================================//--
  336.  
  337. if game:GetService("RunService"):IsClient()then error("RUN SCRIPT AS R/ AND NOT RL/.")end;print("FE CODE BY WAVERLYCOLE");InternalData = {}
  338. do
  339.     script.Parent = owner.Character
  340.     local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  341.     local function NewFakeEvent()
  342.         local Bind = Instance.new("BindableEvent")
  343.         local Fake;Fake = {Connections = {},
  344.         fakeEvent=true;
  345.         Connect=function(self,Func)
  346.             Bind.Event:connect(Func)
  347.             self.Connections[Bind] = true
  348.             return setmetatable({Connected = true},{
  349.             __index = function (self,Index)
  350.                 if Index:lower() == "disconnect" then
  351.                     return function() Fake.Connections[Bind] = false;self.Connected = false end
  352.                 end
  353.                 return Fake[Index]
  354.             end;
  355.             __tostring = function() return "Connection" end;
  356.         })
  357.         end}
  358.         Fake.connect = Fake.Connect;return Fake;
  359.     end
  360.     local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  361.     local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  362.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  363.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  364.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  365.     local function TriggerEvent(self,Event,...)
  366.         local Trigger = Mouse[Event]
  367.         if Trigger and Trigger.fakeEvent and Trigger.Connections then
  368.             for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  369.         end
  370.     end
  371.     Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  372.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  373.         if FiredBy.Name ~= owner.Name then return end
  374.         if Input.MouseEvent then
  375.             Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  376.         else
  377.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  378.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  379.             for _,Action in pairs(ContextActionService.Actions) do
  380.                 for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  381.             end
  382.             Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  383.             UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  384.         end
  385.     end)
  386.     InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  387.     Event.Parent = NLS([[
  388.         local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  389.         local Input = function(Input,gameProcessedEvent)
  390.             if gameProcessedEvent then return end
  391.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  392.         end
  393.         UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  394.         local Hit,Target
  395.         while wait(1/30) do
  396.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  397.                 Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  398.             end
  399.         end
  400.     ]],owner.Character)
  401. end
  402. RealGame = game;game = setmetatable({},{
  403.     __index = function (self,Index)
  404.         local Sandbox = function (Thing)
  405.             if Thing:IsA("Player") then
  406.                 local RealPlayer = Thing
  407.                 return setmetatable({},{
  408.                     __index = function (self,Index)
  409.                         local Type = type(RealPlayer[Index])
  410.                         if Type == "function" then
  411.                             if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  412.                                 return function (self)return InternalData["Mouse"] end
  413.                             end
  414.                             return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  415.                         end
  416.                         return RealPlayer[Index]
  417.                     end;
  418.                     __tostring = function(self) return RealPlayer.Name end
  419.                 })
  420.             end
  421.         end
  422.         if RealGame[Index] then
  423.             local Type = type(RealGame[Index])
  424.             if Type == "function" then
  425.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  426.                     return function (self,Service)
  427.                         local FakeServices = {
  428.                             ["players"] = function()
  429.                                 return setmetatable({},{
  430.                                     __index = function (self2,Index2)
  431.                                         local RealService = RealGame:GetService(Service)
  432.                                         local Type2 = type(Index2)
  433.                                         if Type2 == "function" then
  434.                                             return function (self,...) return RealService[Index2](RealService,...)end
  435.                                         else
  436.                                             if Index2:lower() == "localplayer" then return Sandbox(owner) end
  437.                                             return RealService[Index2]
  438.                                         end
  439.                                     end;
  440.                                     __tostring = function(self) return RealGame:GetService(Service).Name end
  441.                                 })
  442.                             end;
  443.                             ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  444.                             ["userinputservice"] = function() return InternalData["UserInputService"] end;
  445.                             ["runservice"] = function()
  446.                                 return setmetatable({},{
  447.                                     __index = function(self2,Index2)
  448.                                         local RealService = RealGame:GetService(Service)
  449.                                         local Type2 = type(Index2)
  450.                                         if Type2 == "function" then
  451.                                             return function (self,...) return RealService[Index2](RealService,...) end
  452.                                         else
  453.                                             local RunServices = {
  454.                                                 ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  455.                                                 ["renderstepped"] = function() return RealService["Stepped"] end
  456.                                             }
  457.                                             if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  458.                                             return RealService[Index2]
  459.                                         end
  460.                                     end
  461.                                 })
  462.                             end
  463.                         }
  464.                         if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  465.                         return RealGame:GetService(Service)
  466.                     end
  467.                 end
  468.                 return function (self,...) return RealGame[Index](RealGame,...) end
  469.             else
  470.                 if game:GetService(Index) then return game:GetService(Index) end
  471.                 return RealGame[Index]
  472.             end
  473.         end
  474.         return nil
  475.     end
  476. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  477.  
  478. --//====================================================\\--
  479. --||                  BACKGROUND VALUES
  480. --\\====================================================//--
  481.  
  482. local ANIM_SPEED = 3
  483. local mouse = owner:GetMouse()
  484. local FRAME_SPEED = 1 / 60 -- (1 / 30) OR (1 / 60)
  485. local CHANGE = 2 / ANIM_SPEED
  486. local DAMAGEMULTIPLIER = 1
  487. local ANIM = "Idle"
  488. local KEYHOLD = false
  489. local MOUSEHOLD = false
  490. local SINE = 0
  491. local ATTACKING = false
  492. local Debris = game:GetService("Debris")
  493. local Effects = IT("Folder",CHARACTER)
  494. Effects.Name = "FXFolder"
  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 BGM = 213546066
  500. local BOMB = 2671146857
  501. local STORED = 100000000000
  502.  
  503. --//====================================================\\--
  504. --||                     HEARTBEAT
  505. --\\====================================================//--
  506.  
  507. ArtificialHB = Instance.new("BindableEvent", script)
  508. ArtificialHB.Name = "ArtificialHB"
  509.  
  510. script:WaitForChild("ArtificialHB")
  511.  
  512. frame = FRAME_SPEED
  513. tf = 0
  514. allowframeloss = false
  515. tossremainder = false
  516. lastframe = tick()
  517. script.ArtificialHB:Fire()
  518.  
  519. game:GetService("RunService").Heartbeat:connect(function(s, p)
  520.     tf = tf + s
  521.     if tf >= frame then
  522.         if allowframeloss then
  523.             ArtificialHB:Fire()
  524.             lastframe = tick()
  525.         else
  526.             for i = 1, math.floor(tf / frame) do
  527.                 ArtificialHB:Fire()
  528.             end
  529.             lastframe = tick()
  530.         end
  531.         if tossremainder then
  532.             tf = 0
  533.         else
  534.             tf = tf - frame * math.floor(tf / frame)
  535.         end
  536.     end
  537. end)
  538.  
  539. function PositiveAngle(NUMBER)
  540.     if NUMBER >= 0 then
  541.         NUMBER = 0
  542.     end
  543.     return NUMBER
  544. end
  545.  
  546. function NegativeAngle(NUMBER)
  547.     if NUMBER <= 0 then
  548.         NUMBER = 0
  549.     end
  550.     return NUMBER
  551. end
  552.  
  553. function Swait(NUMBER)
  554.     if NUMBER == 0 or NUMBER == nil then
  555.         ArtificialHB.Event:wait()
  556.     else
  557.         for i = 1, NUMBER do
  558.             ArtificialHB.Event:wait()
  559.         end
  560.     end
  561. end
  562.  
  563. --//====================================================\\--
  564. --||                       CLERP
  565. --\\====================================================//--
  566.  
  567. function QuaternionFromCFrame(cf)
  568.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  569.     local trace = m00 + m11 + m22
  570.     if trace > 0 then
  571.         local s = math.sqrt(1 + trace)
  572.         local recip = 0.5 / s
  573.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  574.     else
  575.         local i = 0
  576.         if m11 > m00 then
  577.             i = 1
  578.         end
  579.         if m22 > (i == 0 and m00 or m11) then
  580.             i = 2
  581.         end
  582.         if i == 0 then
  583.             local s = math.sqrt(m00 - m11 - m22 + 1)
  584.             local recip = 0.5 / s
  585.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  586.         elseif i == 1 then
  587.             local s = math.sqrt(m11 - m22 - m00 + 1)
  588.             local recip = 0.5 / s
  589.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  590.         elseif i == 2 then
  591.             local s = math.sqrt(m22 - m00 - m11 + 1)
  592.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  593.         end
  594.     end
  595. end
  596.  
  597. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  598.     local xs, ys, zs = x + x, y + y, z + z
  599.     local wx, wy, wz = w * xs, w * ys, w * zs
  600.     local xx = x * xs
  601.     local xy = x * ys
  602.     local xz = x * zs
  603.     local yy = y * ys
  604.     local yz = y * zs
  605.     local zz = z * zs
  606.     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))
  607. end
  608.  
  609. function QuaternionSlerp(a, b, t)
  610.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  611.     local startInterp, finishInterp;
  612.     if cosTheta >= 0.0001 then
  613.         if (1 - cosTheta) > 0.0001 then
  614.             local theta = ACOS(cosTheta)
  615.             local invSinTheta = 1 / SIN(theta)
  616.             startInterp = SIN((1 - t) * theta) * invSinTheta
  617.             finishInterp = SIN(t * theta) * invSinTheta
  618.         else
  619.             startInterp = 1 - t
  620.             finishInterp = t
  621.         end
  622.     else
  623.         if (1 + cosTheta) > 0.0001 then
  624.             local theta = ACOS(-cosTheta)
  625.             local invSinTheta = 1 / SIN(theta)
  626.             startInterp = SIN((t - 1) * theta) * invSinTheta
  627.             finishInterp = SIN(t * theta) * invSinTheta
  628.         else
  629.             startInterp = t - 1
  630.             finishInterp = t
  631.         end
  632.     end
  633.     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
  634. end
  635.  
  636. function Clerp(a, b, t)
  637.     local qa = {QuaternionFromCFrame(a)}
  638.     local qb = {QuaternionFromCFrame(b)}
  639.     local ax, ay, az = a.x, a.y, a.z
  640.     local bx, by, bz = b.x, b.y, b.z
  641.     local _t = 1 - t
  642.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  643. end
  644.  
  645. --//====================================================\\--
  646. --||                     FUNCTIONS
  647. --\\====================================================//--
  648.  
  649. function WeldParts(A,B)
  650.     local WLD = IT("ManualWeld")
  651.     WLD.Part0 = A
  652.     WLD.Part1 = B
  653.     WLD.C1 = B.CFrame:inverse() * A.CFrame
  654.     WLD.Parent = A
  655.     return WLD
  656. end
  657.  
  658. --NewSound({ID = 0,PARENT = ROOT,VOLUME = 0.5,PITCH = 1,LOOP = false,MAXDISTANCE = 1000,EMITTERSIZE = 10,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  659. function NewSound(TABLE)
  660.     local ID = "rbxassetid://"..(TABLE.ID or 0)
  661.     local PARENT = (TABLE.PARENT or ROOT)
  662.     local VOLUME = (TABLE.VOLUME or 0.5)
  663.     local PITCH = (TABLE.PITCH or 1)
  664.     local LOOP = (TABLE.LOOP or false)
  665.     local MAXDISTANCE = (TABLE.MAXDISTANCE or 100)
  666.     local EMITTERSIZE = (TABLE.EMITTERSIZE or 10)
  667.     local PLAYING = (TABLE.PLAYING or true)
  668.     local PLAYONREMOVE = (TABLE.PLAYONREMOVE or false)
  669.     local DOESDEBRIS = (TABLE.DOESDEBRIS or true)
  670.     if ID ~= "rbxassetid://0" then
  671.         local SOUND = IT("Sound",PARENT)
  672.         SOUND.SoundId = ID
  673.         SOUND.Volume = VOLUME
  674.         SOUND.Pitch = PITCH
  675.         SOUND.Looped = LOOP
  676.         SOUND.MaxDistance = MAXDISTANCE
  677.         SOUND.EmitterSize = EMITTERSIZE
  678.         SOUND.PlayOnRemove = PLAYONREMOVE
  679.         if DOESDEBRIS == true and PLAYING == true and LOOP == false then
  680.             Debris:AddItem(SOUND,SOUND.TimeLength+5)
  681.         end
  682.         if PLAYING == true then
  683.             SOUND:Play()
  684.         end
  685.         return SOUND
  686.     end
  687. end
  688.  
  689. function ManSlaughter(MAN)
  690.     if MAN then
  691.         local ROOT = MAN:FindFirstChild("HumanoidRootPart")
  692.         if ROOT then
  693.             ROOT:Remove()
  694.         end
  695.         local MANHUM = MAN:FindFirstChildOfClass("Humanoid")
  696.         if MANHUM then
  697. MANHUM.Health = 0
  698. MANHUM.MaxHealth = 0
  699. MANHUM.Parent:BreakJoints()
  700.         end
  701.         if MAN:FindFirstChild("R6Ragdoll") == nil and MAN:FindFirstChild("R15Ragdoll") == nil then
  702.             if MAN:FindFirstChild("UpperTorso") then
  703.                 local SCRIPT = script.R15Ragdoll:Clone()
  704.                 SCRIPT.Parent = MAN
  705.                 SCRIPT.Disabled = false
  706.             else
  707.                 local SCRIPT = script.R6Ragdoll:Clone()
  708.                 SCRIPT.Parent = MAN
  709.                 SCRIPT.Disabled = false
  710.             end
  711.             local TORSO = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
  712.             if TORSO then
  713.                 NewSound({ID = 146594648,PARENT = TORSO,VOLUME = 1,PITCH = MRANDOM(8,12)/10,LOOP = false,MAXDISTANCE = 75,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  714.             end
  715.         end
  716.         MAN:BreakJoints()
  717.         if MAN:FindFirstChild("Slaughtered") == nil then
  718.             local MARK = IT("Folder",MAN)
  719.             MARK.Name = "Slaughtered"
  720.         else
  721.             if MAN:FindFirstChild("Slaughtered") then
  722.                 local TORSO = MAN:FindFirstChild("Torso") or MAN:FindFirstChild("UpperTorso")
  723.                 if TORSO then
  724.                     TORSO.RotVelocity = VT(0,MRANDOM(-25,25),0)
  725.                 end
  726.             end
  727.         end
  728.     end
  729. end
  730.  
  731. function AreaOfEffect(AREA,RANGE,FLING,RETURN)
  732.     local HIT = {}
  733.     for index, CHILD in pairs(workspace:GetChildren()) do
  734.         if CHILD:FindFirstChildOfClass("Humanoid") then
  735.             local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  736.             local ROOT = HUMAN.Torso
  737.             if ROOT then
  738.                 if (ROOT.Position - AREA).Magnitude <= RANGE then
  739.                     if RETURN == true then
  740.                         if CHILD ~= CHARACTER then
  741.                             table.insert(HIT,{CHILD,HUMAN,ROOT})
  742.                         end
  743.                     else
  744.                         if CHILD ~= CHARACTER then
  745.                             ManSlaughter(CHILD)
  746.                         end
  747.                         local BV = IT("BodyVelocity")
  748.                         BV.MaxForce = BV.MaxForce * 500
  749.                         BV.Velocity = CF(AREA,ROOT.Position+VT(0,0.5,0)).lookVector*FLING
  750.                         BV.Parent = ROOT
  751.                         Debris:AddItem(BV,0.05)
  752.                     end
  753.                 end
  754.             end
  755.         end
  756.     end
  757.     if RETURN == true then
  758.         return HIT
  759.     end
  760. end
  761.  
  762. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  763.     local NEWPART = IT("Part")
  764.     NEWPART.formFactor = FORMFACTOR
  765.     NEWPART.Reflectance = REFLECTANCE
  766.     NEWPART.Transparency = TRANSPARENCY
  767.     NEWPART.CanCollide = false
  768.     NEWPART.Locked = true
  769.     NEWPART.Anchored = true
  770.     if ANCHOR == false then
  771.         NEWPART.Anchored = false
  772.     end
  773.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  774.     NEWPART.Name = NAME
  775.     NEWPART.Size = SIZE
  776.     NEWPART.Position = ROOT.Position
  777.     NEWPART.Material = MATERIAL
  778.     NEWPART:BreakJoints()
  779.     NEWPART.Parent = PARENT
  780.     return NEWPART
  781. end
  782.  
  783. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  784.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  785. end
  786.  
  787. function CameraShake(AREA,RANGE,SHAKE,TIMER)
  788.     for index, CHILD in pairs(workspace:GetChildren()) do
  789.         if CHILD:FindFirstChildOfClass("Humanoid") then
  790.             local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  791.             local ROOT = HUMAN.Torso
  792.                 if (ROOT.Position - AREA).Magnitude <= RANGE then
  793.                     if CHILD:FindFirstChild("CamShake") then
  794.                         Debris:AddItem(CHILD:FindFirstChild("CamShake"),0.05)
  795.                     end
  796.             end
  797.         end
  798.     end
  799. end
  800.  
  801. --//====================================================\\--
  802. --||                     CHARACTER
  803. --\\====================================================//--
  804.  
  805. local HELMET = MODULE.Helmet
  806. HELMET.Parent = CHARACTER
  807. for index, CHILD in pairs(CHARACTER:GetChildren()) do
  808.     if CHILD ~= ROOT then
  809.         if CHILD:IsA("Accessory") then
  810.             CHILD:Remove()
  811.         end
  812.     end
  813. end
  814. local FACE = HEAD.face
  815. FACE.Texture = "rbxassetid://559113097"
  816. HELMET.CFrame = HEAD.CFrame*CF(0,0.5,0)
  817. HELMET.Anchored = false
  818. WeldParts(HEAD,HELMET)
  819. local BAZOOKA = MODULE.Bazooka
  820. BAZOOKA.Parent = CHARACTER
  821. BAZOOKA.Anchored = false
  822. local GRIP = IT("Motor6D")
  823. GRIP.Part0 = RIGHTARM
  824. GRIP.Part1 = BAZOOKA
  825. GRIP.C0 = CF(0,-1,-0.5)*ANGLES(RAD(-90),0,0)*CF(0,0,1.85)
  826. local G_C0 = GRIP.C0
  827. GRIP.Parent = RIGHTARM
  828. for i = 1, 15 do
  829.     local FACE = CreatePart(3, CHARACTER, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  830.     FACE.Color = C3(0,0,0)
  831.     HEAD:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  832.     FACE.CFrame = HEAD.CFrame*CF(0,0.3-(i-1)/35,0)
  833.     WeldParts(HEAD,FACE)
  834. end
  835. local MISSILE = MODULE.Missile
  836. MISSILE.Parent = nil
  837. local GUI = MODULE.ControlsGUI
  838. GUI.Parent = PLAYER.PlayerGui
  839. GUI.ToggleButton.MouseButton1Click:Connect(function()
  840.     if GUI.ToggleButton.Controls.Visible == false then
  841.         GUI.ToggleButton.Controls.Visible = true
  842.     elseif GUI.ToggleButton.Controls.Visible == true then
  843.         GUI.ToggleButton.Controls.Visible = false
  844.     end
  845. end)
  846. local STOREDGUI = GUI.ToggleButton.Stored
  847. STOREDGUI.Text = "STORED: "..STORED
  848. function AddTo(ADD)
  849.     STORED = STORED + ADD
  850.     STOREDGUI.Text = "STORED: "..STORED
  851. end
  852.  
  853. --//====================================================\\--
  854. --||                     ABILITIES
  855. --\\====================================================//--
  856.  
  857. function Fire_in_the_hole()
  858.     if STORED > 0 then
  859.         ATTACKING = true
  860.         local GYRO = IT("BodyGyro")
  861.         GYRO.D = 50
  862.         GYRO.P = 5000
  863.         GYRO.MaxTorque = VT(0,4000000,0)
  864.         GYRO.CFrame = CF(ROOT.Position,MOUSEPOS)
  865.         GYRO.Parent = ROOT
  866.         ATTACKING = true
  867.         coroutine.resume(coroutine.create(function()
  868.             repeat
  869.                 Swait()
  870.                 GYRO.CFrame = CF(ROOT.Position,MOUSEPOS)
  871.             until ATTACKING == false
  872.             GYRO:Remove()
  873.         end))
  874.         repeat
  875.             for i=0, 0.06, 0.1 / ANIM_SPEED do
  876.                 Swait()
  877.                 ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.02) * ANGLES(RAD(0), RAD(0), RAD(45)), 2.5 / ANIM_SPEED)
  878.                 NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)) * ANGLES(RAD(5), RAD(0), RAD(0)), 2.5 / ANIM_SPEED)
  879.                 RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2.5 / ANIM_SPEED)
  880.                 LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  881.                 RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * CF(0.4,0,0) * ANGLES(RAD(-10), RAD(0), RAD(0)), 2.5 / ANIM_SPEED)
  882.                 LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1.1, -1, 0) * ANGLES(RAD(0), RAD(-135), RAD(0)) * CF(-0.4,0,0) * ANGLES(RAD(-10), RAD(0), RAD(0)), 2.5 / ANIM_SPEED)
  883.             end
  884.             AddTo(-1)
  885.             coroutine.resume(coroutine.create(function()
  886.                 local GOTO = MOUSEPOS
  887.                 local ROCKET = MISSILE:Clone()
  888.                 ROCKET.Parent = Effects
  889.                 ROCKET.CFrame = CF(BAZOOKA.CFrame*CF(0,0,-2).p,GOTO)
  890.                 NewSound({ID = 440145223,PARENT = BAZOOKA,VOLUME = 2,PITCH = MRANDOM(9,11)/10,LOOP = false,MAXDISTANCE = 80,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  891.                 NewSound({ID = 440145223,PARENT = ROCKET,VOLUME = 2,PITCH = MRANDOM(9,11)/10,LOOP = false,MAXDISTANCE = 80,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  892.                 for i = 1, 200 do
  893.                     Swait()
  894.                     local HIT,POS = Raycast(ROCKET.Position,ROCKET.CFrame.lookVector,5,CHARACTER)
  895.                     if HIT then
  896.                         ROCKET.CFrame = CF(POS)
  897.                         break
  898.                     end
  899.                     ROCKET.CFrame = ROCKET.CFrame*CF(0,0,-4)
  900.                 end
  901.                 ROCKET.Transparency = 1
  902.                 ROCKET.Hind:Remove()
  903.                 ROCKET.CFrame = CF(ROCKET.Position)
  904.                 ROCKET.Size = VT(0,0,0)
  905.                 NewSound({ID = 142070127,PARENT = ROCKET,VOLUME = 7,PITCH = MRANDOM(8,12)/10,LOOP = false,MAXDISTANCE = 300,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  906.                 for index, CHILD in pairs(grendade:GetChildren()) do
  907.                     local C = CHILD:Clone()
  908.                     C.Parent = ROCKET
  909.                     C:Emit(125)
  910.                 end
  911.             end))
  912.             for i=0, 0.025, 0.1 / ANIM_SPEED do
  913.                 Swait()
  914.                 ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.02) * ANGLES(RAD(0), RAD(0), RAD(45)), 2.5 / ANIM_SPEED)
  915.                 NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)) * ANGLES(RAD(5), RAD(0), RAD(0)), 2.5 / ANIM_SPEED)
  916.                 RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(200), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2.5 / ANIM_SPEED)
  917.                 LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  918.                 RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * CF(0.4,0,0) * ANGLES(RAD(-10), RAD(0), RAD(0)), 2.5 / ANIM_SPEED)
  919.                 LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1.1, -1, 0) * ANGLES(RAD(0), RAD(-135), RAD(0)) * CF(-0.4,0,0) * ANGLES(RAD(-10), RAD(0), RAD(0)), 2.5 / ANIM_SPEED)
  920.             end
  921.         until MOUSEHOLD == false or STORED <= 0
  922.         if STORED <= 0 then
  923.             STORED = 0
  924.             STOREDGUI.Text = "STORED: 0"
  925.         end
  926.         ATTACKING = false
  927.     end
  928. end
  929. function Store()
  930.     HUM.WalkSpeed = 0
  931.     HUM.JumpPower = 0
  932.     ATTACKING = true
  933.     repeat
  934.         for i=0, 0.01, 0.1 / ANIM_SPEED do
  935.             Swait()
  936.             GRIP.C0 = Clerp(GRIP.C0, CF(0,-1,-0.5)*ANGLES(RAD(-80),RAD(15),0)*CF(0,0,1.85), 2.5 / ANIM_SPEED)
  937.             ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.02 + 0.05 * COS(SINE / 6)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 0.5 / ANIM_SPEED)
  938.             NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(15)), 2.5 / ANIM_SPEED)
  939.             RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.7, 0.45, 0) * ANGLES(RAD(35), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2.5 / ANIM_SPEED)
  940.             LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 2.5 / ANIM_SPEED)
  941.             RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1 - 0.05 * COS(SINE / 6), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-2.5)), 0.5 / ANIM_SPEED)
  942.             LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1 - 0.05 * COS(SINE / 6), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-2.5)), 0.5 / ANIM_SPEED)
  943.         end
  944.         local ROCKET = MISSILE:Clone()
  945.         ROCKET.Anchored = false
  946.         ROCKET:ClearAllChildren()
  947.         ROCKET.CFrame = LEFTARM.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0))
  948.         ROCKET.Parent = CHARACTER
  949.         WeldParts(ROCKET,LEFTARM)
  950.         for i=0, 0.02, 0.1 / ANIM_SPEED do
  951.             Swait()
  952.             GRIP.C0 = Clerp(GRIP.C0, CF(0,-1,-0.5)*ANGLES(RAD(-80),RAD(15),0)*CF(0,0,1.85), 2.5 / ANIM_SPEED)
  953.             ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.02 + 0.05 * COS(SINE / 6)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 0.5 / ANIM_SPEED)
  954.             NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(15)), 2.5 / ANIM_SPEED)
  955.             RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.675, 0.45, 0.3) * ANGLES(RAD(35), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2.5 / ANIM_SPEED)
  956.             LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2.5 / ANIM_SPEED)
  957.             RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1 - 0.05 * COS(SINE / 6), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-2.5)), 0.5 / ANIM_SPEED)
  958.             LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1 - 0.05 * COS(SINE / 6), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-2.5)), 0.5 / ANIM_SPEED)
  959.         end
  960.         for i=0, 0.02, 0.1 / ANIM_SPEED do
  961.             Swait()
  962.             GRIP.C0 = Clerp(GRIP.C0, CF(0,-1,-0.5)*ANGLES(RAD(-80),RAD(15),0)*CF(0,0,1.85), 2.5 / ANIM_SPEED)
  963.             ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.02 + 0.05 * COS(SINE / 6)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 0.5 / ANIM_SPEED)
  964.             NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(15)), 2.5 / ANIM_SPEED)
  965.             RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.7, 0.45, 0) * ANGLES(RAD(35), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2.5 / ANIM_SPEED)
  966.             LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 2.5 / ANIM_SPEED)
  967.             RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1 - 0.05 * COS(SINE / 6), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-2.5)), 0.5 / ANIM_SPEED)
  968.             LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1 - 0.05 * COS(SINE / 6), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-2.5)), 0.5 / ANIM_SPEED)
  969.         end
  970.         NewSound({ID = 440145223,PARENT = BAZOOKA,VOLUME = 1,PITCH = MRANDOM(9,11)/6,LOOP = false,MAXDISTANCE = 80,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  971.         for i=0, 0.05, 0.1 / ANIM_SPEED do
  972.             Swait()
  973.             GRIP.C0 = Clerp(GRIP.C0, CF(0,-1,-0.5)*ANGLES(RAD(-80),RAD(15),0)*CF(0,0,1.85), 2.5 / ANIM_SPEED)
  974.             ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.02 + 0.05 * COS(SINE / 6)) * ANGLES(RAD(0), RAD(0), RAD(5)), 0.5 / ANIM_SPEED)
  975.             NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 2.5 / ANIM_SPEED)
  976.             RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.75, 0.45, -0.1) * ANGLES(RAD(45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2.5 / ANIM_SPEED)
  977.             LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-0.9, 0.5, -0.75) * ANGLES(RAD(60), RAD(0), RAD(37.5)) * LEFTSHOULDERC0, 2.5 / ANIM_SPEED)
  978.             RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1 - 0.05 * COS(SINE / 6), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(2.5)), 0.5 / ANIM_SPEED)
  979.             LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1 - 0.05 * COS(SINE / 6), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(2.5)), 0.5 / ANIM_SPEED)
  980.         end
  981.         ROCKET:Remove()
  982.     until KEYHOLD == false
  983.     ATTACKING = false
  984.     HUM.WalkSpeed = 100
  985.     HUM.JumpPower = 50
  986. end
  987.  
  988. function Dance()
  989.     HUM.WalkSpeed = 0
  990.     HUM.JumpPower = 0
  991.     ATTACKING = true
  992.     local REMOVETRACK = false
  993.     local TRACK = nil
  994.     if ROOT:FindFirstChild("BGM_MUSIC") then
  995.         TRACK = ROOT:FindFirstChild("BGM_MUSIC")
  996.         TRACK.Volume = 5
  997.     else
  998.         TRACK = NewSound({ID = BOMB,PARENT = ROOT,VOLUME = 5,PITCH = 1,LOOP = true,MAXDISTANCE = 300,EMITTERSIZE = 300,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  999.         REMOVETRACK = true
  1000.     end
  1001.     TRACK.SoundId = "rbxassetid://"..BOMB
  1002.     TRACK:Play()
  1003.     local DONEWITHDANCING = false
  1004.     local I = 0
  1005.     local RAVE = IT("PointLight",ROOT)
  1006.     RAVE.Brightness = 25
  1007.     RAVE.Color = BrickColor.random().Color
  1008.     repeat
  1009.         I = I + 2
  1010.         Swait()
  1011.         RAVE.Color = BrickColor.random().Color
  1012.         ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0 - 0.32 * SIN(I / 10), 0, -0.55 - 0.05 * COS(I / 5)) * ANGLES(RAD(0), RAD(0 - 20 * SIN(I / 10)), RAD(0)), 1.5 / ANIM_SPEED)
  1013.         NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0 - 20 * SIN(I / 10)), RAD(0)), 1.5 / ANIM_SPEED)
  1014.         RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(10), RAD(-35 * COS(I/10)))  *CF(0,-1,0) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1015.         LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(-10), RAD(-35 * COS(I/10))) * CF(0,-1,0) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1016.         RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1.35, -0.475 + 0.36 * SIN(I / 10) + 0.05 * COS(I / 5), -0.35) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-12 - 19 * SIN(I / 10)), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1017.         LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1.35, -0.475 - 0.36 * SIN(I / 10) + 0.05 * COS(I / 5), -0.35) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-12 + 19 * SIN(I / 10)), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1018.     until DONEWITHDANCING == true
  1019.     RAVE:Remove()
  1020.     NC:Disconnect()
  1021.     if REMOVETRACK == true then
  1022.         TRACK:Remove()
  1023.     else
  1024.         TRACK:Play()
  1025.         TRACK.Volume = 1.25
  1026.         TRACK.SoundId = "rbxassetid://"..BGM
  1027.     end
  1028.     ATTACKING = false
  1029.     HUM.WalkSpeed = 100
  1030.     HUM.JumpPower = 50
  1031. end
  1032.  
  1033. --//====================================================\\--
  1034. --||                       WRAP
  1035. --\\====================================================//--
  1036.  
  1037. mouse.Button1Down:connect(function()
  1038. if ATTACKING == false then
  1039. MOUSEHOLD = true
  1040. Fire_in_the_hole()
  1041. end
  1042. end)
  1043.  
  1044. mouse.Button1Up:connect(function()
  1045. MOUSEHOLD = false
  1046. end)
  1047.  
  1048. mouse.KeyDown:connect(function(key)
  1049. key=key:lower()
  1050.                 if key == "z" then
  1051.                     Store()
  1052. KEYHOLD = True
  1053. end
  1054.                 if key == "m" then
  1055. if DONEWITHDANCING == true then
  1056.                     Dance()
  1057. else
  1058. ATTACKING = false
  1059. DONEWITHDANCING = true
  1060. end
  1061. end
  1062. if key == "t" then
  1063.                     NewSound({ID = 145757437,PARENT = ROOT,VOLUME = 10,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 25,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1064. end
  1065. if key == "e" then
  1066. if ROOT:FindFirstChild("BGM_MUSIC") then
  1067. ROOT:FindFirstChild("BGM_MUSIC"):Remove()
  1068.                     else
  1069.                         local M = NewSound({ID = BGM,PARENT = ROOT,VOLUME = 1.25,PITCH = 1,LOOP = true,MAXDISTANCE = 300,EMITTERSIZE = 300,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1070. M.Name = "BGM_MUSIC"
  1071. end
  1072. end
  1073. end)
  1074.  
  1075. mouse.KeyUp:connect(function()
  1076. KEYHOLD = false
  1077. end)
  1078.  
  1079. local M = NewSound({ID = BGM,PARENT = ROOT,VOLUME = 1.25,PITCH = 1,LOOP = true,MAXDISTANCE = 300,EMITTERSIZE = 300,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1080. M.Name = "BGM_MUSIC"
  1081. HUM.WalkSpeed = 100
  1082. while true do
  1083.     Swait()
  1084.     SINE = SINE + CHANGE
  1085.     if CHARACTER:FindFirstChild("Animate") then
  1086.         CHARACTER:FindFirstChild("Animate"):Destroy()
  1087.     end
  1088.     if CHARACTER:FindFirstChild("Sound") then
  1089.         CHARACTER:FindFirstChild("Sound"):Destroy()
  1090.     end
  1091.     for _,v in next, HUM:GetPlayingAnimationTracks() do
  1092.         v:Stop();
  1093.     end
  1094.     local TORSOVELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude
  1095.     local TORSOVERTICALVELOCITY = ROOT.Velocity.y
  1096.     local HITFLOOR = Raycast(ROOT.Position, (CF(ROOT.Position, ROOT.Position + VT(0, -1, 0))).lookVector, 4+HUM.HipHeight, CHARACTER)
  1097.     local WALKSPEEDVALUE = 0.5
  1098.     local SITTING = HUM.Sit
  1099.     if ANIM == "Walk" and TORSOVELOCITY > 1 and SITTING == false then
  1100.         RIGHTHIP.C1 = Clerp(RIGHTHIP.C1, CF(0.5, 0.875 - 0.3 * SIN(SINE / WALKSPEEDVALUE), -0.5 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RIGHTLEG.RotVelocity.Y / 35, RAD(0), RAD(55 * COS(SINE / WALKSPEEDVALUE))), 2 / ANIM_SPEED)
  1101.         LEFTHIP.C1 = Clerp(LEFTHIP.C1, CF(-0.5, 0.875 + 0.3 * SIN(SINE / WALKSPEEDVALUE), 0.5 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LEFTLEG.RotVelocity.Y / 35, RAD(0), RAD(55 * COS(SINE / WALKSPEEDVALUE))), 2 / ANIM_SPEED)
  1102.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or SITTING == true then
  1103.         RIGHTHIP.C1 = Clerp(RIGHTHIP.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / ANIM_SPEED)
  1104.         LEFTHIP.C1 = Clerp(LEFTHIP.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / ANIM_SPEED)
  1105.     end
  1106.     if ATTACKING == false then
  1107.         GRIP.C0 = Clerp(GRIP.C0, G_C0, 1.5 / ANIM_SPEED)
  1108.     end
  1109.     if SITTING == false then
  1110.         if HITFLOOR then
  1111.             if TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1112.                 ANIM = "Idle"
  1113.                 if ATTACKING == false then
  1114.                     ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.02 + 0.05 * COS(SINE / 6)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1115.                     NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 6)), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1116.                     RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(100), RAD(0), RAD(5 + 2.5 * COS(SINE / 6))) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1117.                     LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25 - 2.5 * COS(SINE / 6))) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1118.                     RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1 - 0.05 * COS(SINE / 6), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1119.                     LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1 - 0.05 * COS(SINE / 6), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1120.                 end
  1121.             elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1122.                 ANIM = "Walk"
  1123.                 if ATTACKING == false then
  1124.                     ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.05 + 0.05 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  1125.                     NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  1126.                     RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(135), RAD(0), RAD(5 + 2.5 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 2 / ANIM_SPEED)
  1127.                     LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25 - 2.5 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 2 / ANIM_SPEED)
  1128.                     RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1 , -1 - 0.05 * COS(SINE / WALKSPEEDVALUE), 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-15)), 2 / ANIM_SPEED)
  1129.                     LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1 - 0.05 * COS(SINE / WALKSPEEDVALUE), 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 2 / ANIM_SPEED)
  1130.                 end
  1131.             end
  1132.         else
  1133.             if TORSOVERTICALVELOCITY > 0 then
  1134.                 ANIM = "Jump"
  1135.                 if ATTACKING == false then
  1136.                     ROOTJOINT.C0 = Clerp(ROOTJOINT.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / ANIM_SPEED)
  1137.                     NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / ANIM_SPEED)
  1138.                     RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(5 + 2.5 * COS(SINE / 6))) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1139.                     LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-2), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / ANIM_SPEED)
  1140.                     RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 1 / ANIM_SPEED)
  1141.                     LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / ANIM_SPEED)
  1142.                 end
  1143.             else
  1144.                 ANIM = "Fall"
  1145.                 if ATTACKING == false then
  1146.                     ROOTJOINT.C0 = Clerp(ROOTJOINT.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / ANIM_SPEED)
  1147.                     NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / ANIM_SPEED)
  1148.                     RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(5 + 2.5 * COS(SINE / 6))) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1149.                     LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-2), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / ANIM_SPEED)
  1150.                     RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / ANIM_SPEED)
  1151.                     LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / ANIM_SPEED)
  1152.                 end
  1153.             end
  1154.         end
  1155.     else
  1156.         ANIM = "Sit"
  1157.         if ATTACKING == false then
  1158.             ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.25 / ANIM_SPEED)
  1159.             NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.25 / ANIM_SPEED)
  1160.             RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1161.             LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.65, 0) * ANGLES(RAD(50), RAD(-10), RAD(45))*CF(0,-0.25,0) * LEFTSHOULDERC0, 1.25 / ANIM_SPEED)
  1162.             RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -0.25, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.25 / ANIM_SPEED)
  1163.             LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.25, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.25 / ANIM_SPEED)
  1164.         end
  1165.     end
  1166. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top