SHARE
TWEET

Mafia Mario (Super Mario Shooter)(EDITED)

sIendytubble Jan 26th, 2020 (edited) 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -----------//Elio Blasio\\-----------
  2. --[[Movelist
  3. E = Equip/Unequip, click to shoot, hold to spray
  4. T = Taunt
  5. ---------]]
  6. --Credits to Shackluster for the refit/anti-breakjoints function, he's a cool guy/great scripter.--
  7. --Ayy i'm not dead yet, take that haters, if i even had any to begin with.--
  8. --Keeping this script small since big ones will cause major lag & exceed script limits--
  9. --Using a FE converter because i'm way too lazy to create remotes for it--
  10.  
  11. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  12. do
  13.     script.Parent = owner.Character
  14.     local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  15.     local function NewFakeEvent()
  16.         local Bind = Instance.new("BindableEvent")
  17.         local Fake;Fake = {Connections = {},
  18.         fakeEvent=true;
  19.         Connect=function(self,Func)
  20.             Bind.Event:connect(Func)
  21.             self.Connections[Bind] = true
  22.             return setmetatable({Connected = true},{
  23.             __index = function (self,Index)
  24.                 if Index:lower() == "disconnect" then
  25.                     return function() Fake.Connections[Bind] = false;self.Connected = false end
  26.                 end
  27.                 return Fake[Index]
  28.             end;
  29.             __tostring = function() return "Connection" end;
  30.         })
  31.         end}
  32.         Fake.connect = Fake.Connect;return Fake;
  33.     end
  34.     local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  35.     local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  36.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  37.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  38.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  39.     local function TriggerEvent(self,Event,...)
  40.         local Trigger = Mouse[Event]
  41.         if Trigger and Trigger.fakeEvent and Trigger.Connections then
  42.             for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  43.         end
  44.     end
  45.     Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  46.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  47.         if FiredBy.Name ~= owner.Name then return end
  48.         if Input.MouseEvent then
  49.             Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  50.         else
  51.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  52.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  53.             for _,Action in pairs(ContextActionService.Actions) do
  54.                 for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  55.             end
  56.             Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  57.             UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  58.         end
  59.     end)
  60.     InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  61.     Event.Parent = NLS([[
  62.         local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  63.         local Input = function(Input,gameProcessedEvent)
  64.             if gameProcessedEvent then return end
  65.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  66.         end
  67.         UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  68.         local Hit,Target
  69.         while wait(1/30) do
  70.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  71.                 Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  72.             end
  73.         end
  74.     ]],owner.Character)
  75. end
  76. RealGame = game;game = setmetatable({},{
  77.     __index = function (self,Index)
  78.         local Sandbox = function (Thing)
  79.             if Thing:IsA("Player") then
  80.                 local RealPlayer = Thing
  81.                 return setmetatable({},{
  82.                     __index = function (self,Index)
  83.                         local Type = type(RealPlayer[Index])
  84.                         if Type == "function" then
  85.                             if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  86.                                 return function (self)return InternalData["Mouse"] end
  87.                             end
  88.                             return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  89.                         end
  90.                         return RealPlayer[Index]
  91.                     end;
  92.                     __tostring = function(self) return RealPlayer.Name end
  93.                 })
  94.             end
  95.         end
  96.         if RealGame[Index] then
  97.             local Type = type(RealGame[Index])
  98.             if Type == "function" then
  99.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  100.                     return function (self,Service)
  101.                         local FakeServices = {
  102.                             ["players"] = function()
  103.                                 return setmetatable({},{
  104.                                     __index = function (self2,Index2)
  105.                                         local RealService = RealGame:GetService(Service)
  106.                                         local Type2 = type(Index2)
  107.                                         if Type2 == "function" then
  108.                                             return function (self,...) return RealService[Index2](RealService,...)end
  109.                                         else
  110.                                             if Index2:lower() == "localplayer" then return Sandbox(owner) end
  111.                                             return RealService[Index2]
  112.                                         end
  113.                                     end;
  114.                                     __tostring = function(self) return RealGame:GetService(Service).Name end
  115.                                 })
  116.                             end;
  117.                             ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  118.                             ["userinputservice"] = function() return InternalData["UserInputService"] end;
  119.                             ["runservice"] = function()
  120.                                 return setmetatable({},{
  121.                                     __index = function(self2,Index2)
  122.                                         local RealService = RealGame:GetService(Service)
  123.                                         local Type2 = type(Index2)
  124.                                         if Type2 == "function" then
  125.                                             return function (self,...) return RealService[Index2](RealService,...) end
  126.                                         else
  127.                                             local RunServices = {
  128.                                                 ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  129.                                                 ["renderstepped"] = function() return RealService["Stepped"] end
  130.                                             }
  131.                                             if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  132.                                             return RealService[Index2]
  133.                                         end
  134.                                     end
  135.                                 })
  136.                             end
  137.                         }
  138.                         if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  139.                         return RealGame:GetService(Service)
  140.                     end
  141.                 end
  142.                 return function (self,...) return RealGame[Index](RealGame,...) end
  143.             else
  144.                 if game:GetService(Index) then return game:GetService(Index) end
  145.                 return RealGame[Index]
  146.             end
  147.         end
  148.         return nil
  149.     end
  150. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  151.  
  152. Player=game.Players.LocalPlayer
  153. Character=Player.Character
  154. Character.Humanoid.Name = "noneofurbusiness"
  155. hum = Character.noneofurbusiness
  156. LeftArm=Character["Left Arm"]
  157. LeftLeg=Character["Left Leg"]
  158. RightArm=Character["Right Arm"]
  159. RightLeg=Character["Right Leg"]
  160. Root=Character["HumanoidRootPart"]
  161. Head=Character["Head"]
  162. Torso=Character["Torso"]
  163. Neck=Torso["Neck"]
  164. mouse = Player:GetMouse()
  165. walking = false
  166. jumping = false
  167. attacking = false
  168. firsttime = false
  169. tauntdebounce = false
  170. position = nil
  171. MseGuide = true
  172. running = false
  173. settime = 0
  174. sine = 0
  175. t = 0
  176. ws = 18
  177. change = 1
  178. combo1 = true
  179. equip = false
  180. dgs = 75
  181. combo2 = false
  182. switch1 = true
  183. switch2 = false
  184. firsttime2 = false
  185. combo3 = false
  186. gunallowance = false
  187. shooting = false
  188. RunSrv = game:GetService("RunService")
  189. RenderStepped = game:GetService("RunService").RenderStepped
  190. removeuseless = game:GetService("Debris")
  191.  
  192. screenGui = Instance.new("ScreenGui")
  193. screenGui.Parent = script.Parent
  194.  
  195. local HEADLERP = Instance.new("ManualWeld")
  196. HEADLERP.Parent = Head
  197. HEADLERP.Part0 = Head
  198. HEADLERP.Part1 = Head
  199. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  200.  
  201. local TORSOLERP = Instance.new("ManualWeld")
  202. TORSOLERP.Parent = Root
  203. TORSOLERP.Part0 = Torso
  204. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  205.  
  206. local ROOTLERP = Instance.new("ManualWeld")
  207. ROOTLERP.Parent = Root
  208. ROOTLERP.Part0 = Root
  209. ROOTLERP.Part1 = Torso
  210. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  211.  
  212. local RIGHTARMLERP = Instance.new("ManualWeld")
  213. RIGHTARMLERP.Parent = RightArm
  214. RIGHTARMLERP.Part0 = RightArm
  215. RIGHTARMLERP.Part1 = Torso
  216. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  217.  
  218. local LEFTARMLERP = Instance.new("ManualWeld")
  219. LEFTARMLERP.Parent = LeftArm
  220. LEFTARMLERP.Part0 = LeftArm
  221. LEFTARMLERP.Part1 = Torso
  222. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  223.  
  224. local RIGHTLEGLERP = Instance.new("ManualWeld")
  225. RIGHTLEGLERP.Parent = RightLeg
  226. RIGHTLEGLERP.Part0 = RightLeg
  227. RIGHTLEGLERP.Part1 = Torso
  228. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  229.  
  230. local LEFTLEGLERP = Instance.new("ManualWeld")
  231. LEFTLEGLERP.Parent = LeftLeg
  232. LEFTLEGLERP.Part0 = LeftLeg
  233. LEFTLEGLERP.Part1 = Torso
  234. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  235.  
  236. local function weldBetween(a, b)
  237.     local weld = Instance.new("ManualWeld", a)
  238.     weld.Part0 = a
  239.     weld.Part1 = b
  240.     weld.C0 = a.CFrame:inverse() * b.CFrame
  241.     return weld
  242. end
  243.  
  244. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  245. A = Instance.new("Attachment", PARENT)
  246. A.Position = POSITION1
  247. A.Name = "A"
  248. B = Instance.new("Attachment", PARENT)
  249. B.Position = POSITION2
  250. B.Name = "B"
  251. tr1 = Instance.new("Trail", PARENT)
  252. tr1.Attachment0 = A
  253. tr1.Attachment1 = B
  254. tr1.Enabled = true
  255. tr1.Lifetime = LIFETIME
  256. tr1.TextureMode = "Static"
  257. tr1.LightInfluence = 0
  258. tr1.Color = COLOR
  259. tr1.Transparency = NumberSequence.new(0, 1)
  260. end
  261.  
  262. shirt = Instance.new("Shirt", Character)
  263. shirt.Name = "Shirt"
  264. pants = Instance.new("Pants", Character)
  265. pants.Name = "Pants"
  266. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1860577417"
  267. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1748587545"
  268.  
  269. skull = Instance.new("Part",Character)
  270. skull.Size = Vector3.new(2,2,2)
  271. skull.CFrame = Head.CFrame
  272. skull.CanCollide = false
  273. skullweld = Instance.new("Weld",skull)
  274. skullweld.Part0 = skull
  275. skullweld.Part1 = Head
  276. skullweld.C0 = skull.CFrame:inverse() * Head.CFrame
  277. mskull = Instance.new("SpecialMesh", skull)
  278. mskull.MeshType = "FileMesh"
  279. mskull.Scale = Vector3.new(1.12, 1.12, 1.12)
  280. mskull.MeshId,mskull.TextureId = 'http://www.roblox.com/asset/?id=181343290','http://www.roblox.com/asset/?id=181343313'
  281. fedora = Instance.new("Part",Character)
  282. fedora.Size = Vector3.new(2,2,2)
  283. fedora.CFrame = Head.CFrame
  284. fedora.CanCollide = false
  285. fedoraweld = Instance.new("Weld",fedora)
  286. fedoraweld.Part0 = fedora
  287. fedoraweld.Part1 = Head
  288. fedoraweld.C0 = fedora.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.8,0)
  289. mfedora = Instance.new("SpecialMesh", fedora)
  290. mfedora.MeshType = "FileMesh"
  291. mfedora.Scale = Vector3.new(0.7, 0.7, 0.7)
  292. mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=494265290','http://www.roblox.com/asset/?id=494265293'
  293. tommygun = Instance.new("Part",Character)
  294. tommygun.Size = Vector3.new(1,1,1)
  295. tommygun.CFrame = RightArm.CFrame
  296. tommygun.CanCollide = false
  297. tommygunweld = Instance.new("Weld",tommygun)
  298. tommygunweld.Part0 = tommygun
  299. tommygunweld.Part1 = RightArm
  300. tommygunweld.C0 = tommygun.CFrame:inverse() * RightArm.CFrame * CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0)
  301. mtommygun = Instance.new("SpecialMesh", tommygun)
  302. mtommygun.MeshType = "FileMesh"
  303. mtommygun.Scale = Vector3.new(0.05, 0.05, 0.05)
  304. mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=477006495','http://www.roblox.com/asset/?id=477006525'
  305. shootbox = Instance.new("Part",Character)
  306. shootbox.Size = Vector3.new(.2,.2,.2)
  307. shootbox.CanCollide = false
  308. shootbox.Transparency = 1
  309. shootbox.CFrame = tommygun.CFrame
  310. shootboxweld = weldBetween(shootbox,tommygun)
  311. shootboxweld.C0 = CFrame.new(0,-.05,2.62)
  312. light = Instance.new("PointLight", shootbox)
  313. light.Color = BrickColor.new("Bright yellow").Color
  314. light.Range = 5
  315. light.Brightness = 11
  316. light.Enabled = false
  317. particlemiter1 = Instance.new("ParticleEmitter", shootbox)
  318. particlemiter1.Enabled = false
  319. particlemiter1.Texture = "rbxassetid://461242617"
  320. particlemiter1.Lifetime = NumberRange.new(.1)
  321. particlemiter1.Size = NumberSequence.new(1,0)
  322. particlemiter1.Rate = 20
  323. particlemiter1.RotSpeed = NumberRange.new(0)
  324. particlemiter1.Speed = NumberRange.new(0)
  325. tommygunammo = Instance.new("Part",Character)
  326. tommygunammo.Size = Vector3.new(2,2,2)
  327. tommygunammo.CFrame = tommygun.CFrame
  328. tommygunammo.CanCollide = false
  329. tommygunammoweld = Instance.new("Weld",tommygunammo)
  330. tommygunammoweld.Part0 = tommygunammo
  331. tommygunammoweld.Part1 = tommygun
  332. tommygunammoweld.C0 = tommygun.CFrame:inverse() * tommygun.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
  333. mtommygunammo = Instance.new("SpecialMesh", tommygunammo)
  334. mtommygunammo.MeshType = "FileMesh"
  335. mtommygunammo.Scale = Vector3.new(1, 1, 1)
  336. mtommygunammo.MeshId,mtommygunammo.TextureId = 'http://www.roblox.com/asset/?id=0','http://www.roblox.com/asset/?id=116679995'
  337. mask = Instance.new("Part",Character)
  338. mask.Size = Vector3.new(2,2,2)
  339. mask.CFrame = Head.CFrame
  340. mask.CanCollide = false
  341. maskweld = Instance.new("Weld",mask)
  342. maskweld.Part0 = mask
  343. maskweld.Part1 = Head
  344. maskweld.C0 = mask.CFrame:inverse() * Head.CFrame * CFrame.new(-.2,0,.62) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(0))
  345. mmask = Instance.new("SpecialMesh", mask)
  346. mmask.MeshType = "FileMesh"
  347. mmask.Scale = Vector3.new(1.25, 1.25, 1.25)
  348. mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=12470186','http://www.roblox.com/asset/?id=12470201'
  349.  
  350.  
  351.  
  352. coroutine.wrap(function()
  353. while wait() do
  354. hum.WalkSpeed = ws
  355. LeftArm.BrickColor = BrickColor.new("Really black")
  356. RightArm.BrickColor = BrickColor.new("Really black")
  357. Head.BrickColor = BrickColor.new("Really black")
  358. end
  359. end)()
  360. godmode = coroutine.wrap(function()
  361. for i,v in pairs(Character:GetChildren()) do
  362. if v:IsA("BasePart") and v ~= Root then
  363. v.Anchored = false
  364. end
  365. end
  366. while true do
  367. hum.MaxHealth = math.huge
  368. wait(0.0000001)
  369. hum.Health = math.huge
  370. wait()
  371. end
  372. end)
  373. godmode()
  374. ff = Instance.new("ForceField", Character)
  375. ff.Visible = false
  376.  
  377. coroutine.wrap(function()
  378. for i,v in pairs(Character:GetChildren()) do
  379. if v.Name == "Animate" then v:Remove()
  380. end
  381. end
  382. end)()
  383.  
  384. function damagealll(Radius,Position)       
  385.     local Returning = {}       
  386.     for _,v in pairs(workspace:GetChildren()) do       
  387.         if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  388. if v:FindFirstChild("Torso") then      
  389.             local Mag = (v.Torso.Position - Position).magnitude    
  390.             if Mag < Radius then       
  391.                 table.insert(Returning,v)      
  392.             end
  393. elseif v:FindFirstChild("UpperTorso") then 
  394.             local Mag = (v.UpperTorso.Position - Position).magnitude       
  395.             if Mag < Radius then       
  396.                 table.insert(Returning,v)      
  397.             end
  398. end
  399.         end    
  400.     end    
  401.     return Returning       
  402. end
  403.  
  404. ArtificialHB = Instance.new("BindableEvent", script)
  405. ArtificialHB.Name = "Heartbeat"
  406. script:WaitForChild("Heartbeat")
  407.  
  408. frame = 1 / 60
  409. tf = 0
  410. allowframeloss = false
  411. tossremainder = false
  412.  
  413.  
  414. lastframe = tick()
  415. script.Heartbeat:Fire()
  416.  
  417.  
  418. game:GetService("RunService").Heartbeat:connect(function(s, p)
  419.     tf = tf + s
  420.     if tf >= frame then
  421.         if allowframeloss then
  422.             script.Heartbeat:Fire()
  423.             lastframe = tick()
  424.         else
  425.             for i = 1, math.floor(tf / frame) do
  426.                 script.Heartbeat:Fire()
  427.             end
  428.             lastframe = tick()
  429.         end
  430.         if tossremainder then
  431.             tf = 0
  432.         else
  433.             tf = tf - frame * math.floor(tf / frame)
  434.         end
  435.     end
  436. end)
  437.  
  438. function swait(num)
  439.     if num == 0 or num == nil then
  440.         game:service("RunService").Stepped:wait(0)
  441.     else
  442.         for i = 0, num do
  443.             game:service("RunService").Stepped:wait(0)
  444.         end
  445.     end
  446. end
  447.  
  448. doomtheme = Instance.new("Sound", Torso)
  449. doomtheme.Volume = 1
  450. doomtheme.Name = "doomtheme"
  451. doomtheme.Looped = true
  452. doomtheme.SoundId = "rbxassetid://188205625"
  453. doomtheme:Play()
  454.  
  455. Torso.ChildRemoved:connect(function(removed)
  456. if removed.Name == "doomtheme" then
  457.  
  458. doomtheme = Instance.new("Sound", Torso)
  459. doomtheme.Volume = 1
  460. doomtheme.Name = "doomtheme"
  461. doomtheme.Looped = true
  462. doomtheme.SoundId = "rbxassetid://2833928035"
  463. doomtheme:Play()
  464. end
  465. end)
  466.  
  467. for _,n in pairs(Character:GetChildren()) do
  468. if n:IsA("Accessory") then n:Remove() end
  469. end
  470. for _,x in pairs(Character:GetChildren()) do
  471. if x:IsA("Decal") then x:Remove() end
  472. end
  473.  
  474. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  475. so = Instance.new("Sound")
  476. so.Parent = PARENT
  477. so.SoundId = "rbxassetid://"..ID
  478. so.Volume = VOL
  479. so.Looped = LOOP
  480. so:Play()
  481. removeuseless:AddItem(so,REMOVE)
  482. end
  483.  
  484. mouse.KeyDown:connect(function(Press)
  485. Press=Press:lower()
  486. if Press=='t' then
  487. if tauntdebounce then return end
  488. tauntdebounce = true
  489. local b1 = Instance.new("BillboardGui",Head)
  490. b1.Size = UDim2.new(0,4,0,1.6)
  491. b1.StudsOffset = Vector3.new(0,0,0)
  492. b1.Name = "laff"
  493. b1.AlwaysOnTop = true
  494. b1.StudsOffset = Vector3.new(0,2,0)
  495. b1.Adornee = Head
  496. removeuseless:AddItem(b1,3)
  497. local b2 = Instance.new("TextLabel",b1)
  498. b2.BackgroundTransparency = 1
  499. b2.Text = "Mama-mia!"
  500. b2.Font = "Cartoon"
  501. b2.TextSize = 30
  502. b2.Name = "lafftext"
  503. b2.TextStrokeTransparency = 0
  504. b2.TextColor3 = BrickColor.new("Really red").Color
  505. b2.TextStrokeColor3 = Color3.new(0,0,0)
  506. b2.Size = UDim2.new(1,0,.5,0)
  507. laff = Instance.new("Sound",Head)
  508. laff.SoundId = "rbxassetid://1205895814"
  509. laff.Volume = 5
  510. laff:Play()
  511. wait(5)
  512. laff:Remove()
  513. tauntdebounce = false
  514. end
  515. end)
  516.  
  517. mouse.KeyDown:connect(function(Press)
  518. Press=Press:lower()
  519. if Press=='e' then
  520. if debounce then return end
  521. if equip then
  522. g1:Remove()
  523. light.Enabled = false
  524. pcall(function()
  525. temmy:Remove()
  526. end)
  527. for i,v in pairs(tommygun:GetDescendants()) do
  528. if v.Name == "temmy" then v:Remove()
  529. end
  530. end
  531. light.Enabled = false
  532. particlemiter1.Enabled = false
  533. hum.CameraOffset = Vector3.new(0,0,0)
  534. attacking = false
  535. equip = false
  536. shooting = false
  537. gunallowance = false
  538. ws = 18
  539. else
  540. g1 = Instance.new("BodyGyro", Root)
  541. g1.D = 175
  542. g1.P = 20000
  543. g1.MaxTorque = Vector3.new(0,9000,0)
  544. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  545. attacking = true
  546. debounce = true
  547. equip = true
  548. coroutine.wrap(function()
  549. while equip do
  550. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  551. ws = 10
  552. swait()
  553. if Root.Velocity.y > 1 then
  554. position = "Jump3"
  555. elseif Root.Velocity.y < -1 then
  556. position = "Falling3"
  557. elseif Root.Velocity.Magnitude > 2 and running == false and attacking == true then
  558. position = "Walk3"
  559. elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
  560. position = "Idle4"
  561. end
  562. end
  563. end)()
  564. coroutine.wrap(function()
  565. while equip do
  566. swait()
  567. settime = 0.05
  568. sine = sine + change
  569. if position == "Jump3" and attacking and not running then
  570. change = .65
  571. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  572. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  573. elseif position == "Falling3" and attacking and not running then
  574. change = .65
  575. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.4)
  576. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.4)
  577. elseif position == "Walk3" and attacking == true and running == false then
  578. change = .65
  579. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)),.2)
  580. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.1)
  581. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.1)
  582. elseif position == "Idle4" and attacking == true and running == false then
  583. change = .65
  584. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)),.1)
  585. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  586. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
  587. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  588. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  589. end
  590. end
  591. end)()
  592. SOUND(RightArm,898163129,6,false,2)
  593. for i = 1, 30 do
  594. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.68,1.25) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),.25)
  595. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.1, 0.4) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.25)
  596. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)), 0.25)
  597. swait()
  598. end
  599. gunallowance = true
  600. mouse.Button1Down:connect(function()
  601. if gunallowance then
  602. particlemiter1.Enabled = true
  603. temmy = Instance.new("Sound",tommygun)
  604. temmy.SoundId = "rbxassetid://2314138649"
  605. temmy.Volume = 6
  606. temmy.Name = "temmy"
  607. temmy.Looped = true
  608. temmy:Play()
  609. shooting = true
  610. end
  611. end)
  612. mouse.Button1Up:connect(function()
  613. if gunallowance then
  614. hum.CameraOffset = Vector3.new(0,0,0)
  615. light.Enabled = false
  616. particlemiter1.Enabled = false
  617. pcall(function()
  618. temmy:Remove()
  619. end)
  620. for i,v in pairs(tommygun:GetDescendants()) do
  621. if v.Name == "temmy" then v:Remove()
  622. end
  623. end
  624. shooting = false
  625. end
  626. end)
  627. coroutine.wrap(function()
  628. if firsttime2 then return end
  629. firsttime2 = true
  630. while true do
  631. swait(3)
  632. if shooting then
  633. if switch1 then
  634. switch1 = false
  635. switch2 = true
  636. light.Enabled = true
  637. elseif switch2 then
  638. switch1 = true
  639. switch2 = false
  640. light.Enabled = false
  641. end
  642. pcall(function()
  643. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  644. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(3,7))
  645.     if mouse.Target.Parent:FindFirstChild("Humanoid") then
  646.         mouse.Target.Parent.Humanoid.Name = "hecc"
  647.         wait()
  648.     target = mouse.Target.Parent
  649.     target.Archivable = true
  650.     c = target:Clone()
  651.     target:Destroy()
  652.     c.Humanoid.BreakJointsOnDeath=false
  653.     c.Parent = workspace
  654.     c.Humanoid.Name = "hecc"
  655.     c:FindFirstChildOfClass("Humanoid").PlatformStand = true
  656.     leftleg = Instance.new("Part",c["Left Leg"])
  657.     leftleg.Transparency = 1
  658.     leftleg.Size=Vector3.new(1,1,1)
  659.     leftlegweld = Instance.new("Weld",leftleg)
  660.     leftlegweld.Part0=c["Left Leg"]
  661.     leftlegweld.Part1=leftleg
  662.     leftlegweld.C0=CFrame.new(0,-0.5,0)
  663.     rightleg = Instance.new("Part",c["Right Leg"])
  664.     rightleg.Size=Vector3.new(1,1,1)
  665.     rightleg.Transparency = 1
  666.     rightlegweld = Instance.new("Weld",leftleg)
  667.     rightlegweld.C0=CFrame.new(0,-0.5,0)
  668.     rightlegweld.Part0=c["Right Leg"]
  669.     rightlegweld.Part1=rightleg
  670.     rightarm = Instance.new("Part",c["Right Arm"])
  671.     rightarm.Size=Vector3.new(1,1,1)
  672.     rightarm.Transparency = 1
  673.     rightarmweld = Instance.new("Weld",rightarm)
  674.     rightarmweld.C0=CFrame.new(0,-0.5,0)
  675.     rightarmweld.Part0=c["Right Arm"]
  676.     rightarmweld.Part1=rightarm
  677.     leftarm = Instance.new("Part",c["Left Arm"])
  678.     leftarm.Size=Vector3.new(1,1,1)
  679.     leftarm.Transparency = 1
  680.     leftarmweld = Instance.new("Weld",leftarm)
  681.     leftarmweld.C0=CFrame.new(0,-0.5,0)
  682.     leftarmweld.Part0=c["Left Arm"]
  683.     leftarmweld.Part1=leftarm
  684.     head = Instance.new("Part",c.Head)
  685.     head.Size=Vector3.new(1,1,1)
  686.     head.Transparency = 1
  687.     headweld = Instance.new("Weld",head)
  688.     headweld.Part0=c.Head
  689.     headweld.Part1=head
  690. player = c
  691. c.Torso:BreakJoints()
  692. c.hecc.Health = 0
  693. local RealTorso = player.Torso
  694. local RealHead = player.Head
  695. local RealLeftleg = player["Left Leg"]
  696. local RealRightleg = player["Right Leg"]
  697. local RealLeftArm = player["Left Arm"]
  698. local RealRightArm = player["Right Arm"]
  699. local FakeTorsoHead = Instance.new("Attachment",RealTorso)
  700. FakeTorsoHead.Name = ("attachmentTorsoHead")
  701. local FakeTorsoLeftLeg = Instance.new("Attachment",RealTorso)
  702. FakeTorsoLeftLeg.Name = ("attachmentTorsoLeftLeg")
  703. local FakeTorsoRightLeg = Instance.new("Attachment",RealTorso)
  704. FakeTorsoRightLeg.Name = ("attachmentTorsoRightLeg")
  705. local FakeTorsoLeftArm = Instance.new("Attachment",RealTorso)
  706. FakeTorsoLeftArm.Name = ("attachmentLeftArmTorso")
  707. local FakeTorsoRightarm = Instance.new("Attachment",RealTorso)
  708. FakeTorsoRightarm.Name = ("attachmentRightArmTorso")
  709. local FakeLeftleg = Instance.new("Attachment",RealLeftleg)
  710. FakeLeftleg.Name = ("attachmentLeftLegTorso")
  711. local FakeRightleg = Instance.new("Attachment",RealRightleg)
  712. FakeRightleg.Name = ("attachmentRightLegTorso")
  713. local FakeLeftArm = Instance.new("Attachment",RealLeftArm)
  714. FakeLeftArm.Name = ("attachmentLeftArmTorso")
  715. local FakeRightArm = Instance.new("Attachment",RealRightArm)
  716. FakeRightArm.Name = ("attachmentRightArmTorso")
  717. FakeTorsoLeftLeg.Position = Vector3.new(-0.5, -1, 0)
  718. FakeTorsoLeftArm.Position = Vector3.new(-1.5, 0.5, 0)
  719. FakeTorsoRightarm.Position = Vector3.new(1.5, 0.5, 0)
  720. FakeTorsoRightLeg.Position = Vector3.new(0.5, -1, 0)
  721. FakeTorsoHead.Position = Vector3.new(0, 1, 0)
  722. FakeLeftleg.Position = Vector3.new(0, 1, 0)
  723. FakeLeftArm.Position = Vector3.new(0, 0.5, 0)
  724. FakeRightArm.Position = Vector3.new(0, 0.5, 0)
  725. FakeRightleg.Position = Vector3.new(0, 1, 0)
  726. local FakeLeftleg2 = Instance.new("BallSocketConstraint",RealTorso)
  727. FakeLeftleg2.Name = ("attachmentLeftLegTorso2")
  728. local FakeRightleg2 = Instance.new("BallSocketConstraint",RealTorso)
  729. FakeRightleg2.Name = ("attachmentRightLegTorso2")
  730. local FakeLeftArm2 = Instance.new("BallSocketConstraint",RealTorso)
  731. FakeLeftArm2.Name = ("attachmentLeftArmTorso2")
  732. local FakeRightArm2 = Instance.new("BallSocketConstraint",RealTorso)
  733. FakeRightArm2.Name = ("attachmentRightArmTorso2")
  734. FakeLeftleg2.Enabled = true
  735. FakeLeftleg2.LimitsEnabled = false
  736. FakeLeftleg2.Attachment0 = FakeLeftleg
  737. FakeLeftleg2.Attachment1 = FakeTorsoLeftLeg
  738. FakeRightleg2.Enabled = true
  739. FakeRightleg2.LimitsEnabled = false
  740. FakeRightleg2.Attachment0 = FakeRightleg
  741. FakeRightleg2.Attachment1 = FakeTorsoRightLeg
  742. FakeLeftArm2.Enabled = true
  743. FakeLeftArm2.LimitsEnabled = false
  744. FakeLeftArm2.Attachment0 = FakeLeftArm
  745. FakeLeftArm2.Attachment1 = FakeTorsoLeftArm
  746. FakeRightArm2.Enabled = true
  747. FakeRightArm2.LimitsEnabled = false
  748. FakeRightArm2.Attachment0 = FakeRightArm
  749. FakeRightArm2.Attachment1 = FakeTorsoRightarm
  750. player.RealTorso["Left Hip"]:Destroy()
  751. player.RealTorso["Right Hip"]:Destroy()
  752. player.RealTorso["Left Shoulder"]:Destroy()
  753. player.RealTorso["Right Shoulder"]:Destroy()
  754. player.RealTorso.Neck:Destroy()
  755. player.Humanoid.BreakJointsOnDeath = false
  756. RealTorso.CanCollide = false
  757. if c.Head.Transparency == 1 then
  758.     head.CanCollide = false
  759. end
  760. for i,v in pairs(c.Torso:GetChildren()) do
  761.     if v:IsA("Motor6D") then
  762.         v:Destroy()
  763.     end
  764. end
  765. end
  766. end
  767. end)
  768. end
  769. end
  770. end)()
  771. coroutine.wrap(function()
  772. if firsttime then return end
  773. firsttime = true
  774. while true do
  775. if shooting then
  776. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0 - 10 * math.sin(sine)), math.rad(0)), 0.25)
  777. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.1 + .4 * math.sin(sine), 0.4) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.25)
  778. pcall(function()
  779. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  780. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(999999999999999999999999999999999)
  781.     if mouse.Target.Parent:FindFirstChild("Humanoid") then
  782.         mouse.Target.Parent.Humanoid.Name = "hecc"
  783.         wait()
  784.     target = mouse.Target.Parent
  785.     target.Archivable = true
  786.     c = target
  787.     c.Humanoid.BreakJointsOnDeath=false
  788.     c.Parent = workspace
  789.     c.Humanoid.Name = "hecc"
  790.     c:FindFirstChildOfClass("Humanoid").PlatformStand = true
  791.     leftleg = Instance.new("Part",c["Left Leg"])
  792.     leftleg.Transparency = 1
  793.     leftleg.Size=Vector3.new(1,1,1)
  794.     leftlegweld = Instance.new("Weld",leftleg)
  795.     leftlegweld.Part0=c["Left Leg"]
  796.     leftlegweld.Part1=leftleg
  797.     leftlegweld.C0=CFrame.new(0,-0.5,0)
  798.     rightleg = Instance.new("Part",c["Right Leg"])
  799.     rightleg.Size=Vector3.new(1,1,1)
  800.     rightleg.Transparency = 1
  801.     rightlegweld = Instance.new("Weld",leftleg)
  802.     rightlegweld.C0=CFrame.new(0,-0.5,0)
  803.     rightlegweld.Part0=c["Right Leg"]
  804.     rightlegweld.Part1=rightleg
  805.     rightarm = Instance.new("Part",c["Right Arm"])
  806.     rightarm.Size=Vector3.new(1,1,1)
  807.     rightarm.Transparency = 1
  808.     rightarmweld = Instance.new("Weld",rightarm)
  809.     rightarmweld.C0=CFrame.new(0,-0.5,0)
  810.     rightarmweld.Part0=c["Right Arm"]
  811.     rightarmweld.Part1=rightarm
  812.     leftarm = Instance.new("Part",c["Left Arm"])
  813.     leftarm.Size=Vector3.new(1,1,1)
  814.     leftarm.Transparency = 1
  815.     leftarmweld = Instance.new("Weld",leftarm)
  816.     leftarmweld.C0=CFrame.new(0,-0.5,0)
  817.     leftarmweld.Part0=c["Left Arm"]
  818.     leftarmweld.Part1=leftarm
  819.     head = Instance.new("Part",c.Head)
  820.     head.Size=Vector3.new(1,1,1)
  821.     head.Transparency = 1
  822.     headweld = Instance.new("Weld",head)
  823.     headweld.Part0=c.Head
  824.     headweld.Part1=head
  825. player = c
  826. c.Torso:BreakJoints()
  827. c.hecc.Health = 0
  828. local RealTorso = player.Torso
  829. local RealHead = player.Head
  830. local RealLeftleg = player["Left Leg"]
  831. local RealRightleg = player["Right Leg"]
  832. local RealLeftArm = player["Left Arm"]
  833. local RealRightArm = player["Right Arm"]
  834. local FakeTorsoHead = Instance.new("Attachment",RealTorso)
  835. FakeTorsoHead.Name = ("attachmentTorsoHead")
  836. local FakeTorsoLeftLeg = Instance.new("Attachment",RealTorso)
  837. FakeTorsoLeftLeg.Name = ("attachmentTorsoLeftLeg")
  838. local FakeTorsoRightLeg = Instance.new("Attachment",RealTorso)
  839. FakeTorsoRightLeg.Name = ("attachmentTorsoRightLeg")
  840. local FakeTorsoLeftArm = Instance.new("Attachment",RealTorso)
  841. FakeTorsoLeftArm.Name = ("attachmentLeftArmTorso")
  842. local FakeTorsoRightarm = Instance.new("Attachment",RealTorso)
  843. FakeTorsoRightarm.Name = ("attachmentRightArmTorso")
  844. local FakeLeftleg = Instance.new("Attachment",RealLeftleg)
  845. FakeLeftleg.Name = ("attachmentLeftLegTorso")
  846. local FakeRightleg = Instance.new("Attachment",RealRightleg)
  847. FakeRightleg.Name = ("attachmentRightLegTorso")
  848. local FakeLeftArm = Instance.new("Attachment",RealLeftArm)
  849. FakeLeftArm.Name = ("attachmentLeftArmTorso")
  850. local FakeRightArm = Instance.new("Attachment",RealRightArm)
  851. FakeRightArm.Name = ("attachmentRightArmTorso")
  852. FakeTorsoLeftLeg.Position = Vector3.new(-0.5, -1, 0)
  853. FakeTorsoLeftArm.Position = Vector3.new(-1.5, 0.5, 0)
  854. FakeTorsoRightarm.Position = Vector3.new(1.5, 0.5, 0)
  855. FakeTorsoRightLeg.Position = Vector3.new(0.5, -1, 0)
  856. FakeTorsoHead.Position = Vector3.new(0, 1, 0)
  857. FakeLeftleg.Position = Vector3.new(0, 1, 0)
  858. FakeLeftArm.Position = Vector3.new(0, 0.5, 0)
  859. FakeRightArm.Position = Vector3.new(0, 0.5, 0)
  860. FakeRightleg.Position = Vector3.new(0, 1, 0)
  861. local FakeLeftleg2 = Instance.new("BallSocketConstraint",RealTorso)
  862. FakeLeftleg2.Name = ("attachmentLeftLegTorso2")
  863. local FakeRightleg2 = Instance.new("BallSocketConstraint",RealTorso)
  864. FakeRightleg2.Name = ("attachmentRightLegTorso2")
  865. local FakeLeftArm2 = Instance.new("BallSocketConstraint",RealTorso)
  866. FakeLeftArm2.Name = ("attachmentLeftArmTorso2")
  867. local FakeRightArm2 = Instance.new("BallSocketConstraint",RealTorso)
  868. FakeRightArm2.Name = ("attachmentRightArmTorso2")
  869. FakeLeftleg2.Enabled = true
  870. FakeLeftleg2.LimitsEnabled = false
  871. FakeLeftleg2.Attachment0 = FakeLeftleg
  872. FakeLeftleg2.Attachment1 = FakeTorsoLeftLeg
  873. FakeRightleg2.Enabled = true
  874. FakeRightleg2.LimitsEnabled = false
  875. FakeRightleg2.Attachment0 = FakeRightleg
  876. FakeRightleg2.Attachment1 = FakeTorsoRightLeg
  877. FakeLeftArm2.Enabled = true
  878. FakeLeftArm2.LimitsEnabled = false
  879. FakeLeftArm2.Attachment0 = FakeLeftArm
  880. FakeLeftArm2.Attachment1 = FakeTorsoLeftArm
  881. FakeRightArm2.Enabled = true
  882. FakeRightArm2.LimitsEnabled = false
  883. FakeRightArm2.Attachment0 = FakeRightArm
  884. FakeRightArm2.Attachment1 = FakeTorsoRightarm
  885. player.RealTorso["Left Hip"]:Destroy()
  886. player.RealTorso["Right Hip"]:Destroy()
  887. player.RealTorso["Left Shoulder"]:Destroy()
  888. player.RealTorso["Right Shoulder"]:Destroy()
  889. player.RealTorso.Neck:Destroy()
  890. player.Humanoid.BreakJointsOnDeath = false
  891. RealTorso.CanCollide = false
  892. if c.Head.Transparency == 1 then
  893.     head.CanCollide = false
  894. end
  895. for i,v in pairs(c.Torso:GetChildren()) do
  896.     if v:IsA("Motor6D") then
  897.         v:Destroy()
  898.     end
  899. end
  900. end
  901. end
  902. end)
  903. elseif not shooting then
  904. end
  905. swait()
  906. end
  907. end)()
  908. debounce = false
  909. end
  910. end
  911. end)
  912.  
  913. mouse.KeyDown:connect(function(Press)
  914. Press=Press:lower()
  915. if Press=='z' then
  916. print("Music switched to 1")
  917. id = 2199374985
  918. doomtheme.SoundId = "rbxassetid://"..id
  919. doomtheme:Play()
  920. end
  921. end)
  922.  
  923. mouse.KeyDown:connect(function(Press)
  924. Press=Press:lower()
  925. if Press=='v' then
  926. print("Music switched to 4")
  927. id = 2111948183
  928. doomtheme.SoundId = "rbxassetid://"..id
  929. doomtheme:Play()
  930. end
  931. end)
  932.  
  933. mouse.KeyDown:connect(function(Press)
  934. Press=Press:lower()
  935. if Press=='x' then
  936. print("Music switched to 2")
  937. id = 318812395
  938. doomtheme.SoundId = "rbxassetid://"..id
  939. doomtheme:Play()
  940. end
  941. end)
  942.  
  943. mouse.KeyDown:connect(function(Press)
  944. Press=Press:lower()
  945. if Press=='c' then
  946. print("Music switched to 3")
  947. id = 180337897
  948. doomtheme.SoundId = "rbxassetid://"..id
  949. doomtheme:Play()
  950. end
  951. end)
  952.  
  953. mouse.KeyDown:connect(function(Press)
  954. Press=Press:lower()
  955. if Press=='b' then
  956. print("Music switched to 5")
  957. id = 649148458
  958. doomtheme.SoundId = "rbxassetid://"..id
  959. doomtheme:Play()
  960. end
  961. end)
  962.  
  963.  
  964. checks1 = coroutine.wrap(function() -------Checks
  965. while true do
  966. if Root.Velocity.y > 1 then
  967. position = "Jump"
  968. elseif Root.Velocity.y < -1 then
  969. position = "Falling"
  970. elseif Root.Velocity.Magnitude < 2 then
  971. position = "Idle"
  972. elseif Root.Velocity.Magnitude < 20 then
  973. position = "Walking"
  974. elseif Root.Velocity.Magnitude > 20 then
  975. position = "Running"
  976. else
  977. end
  978. wait()
  979. end
  980. end)
  981. checks1()
  982.  
  983. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  984.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  985. end
  986.  
  987. function ray2(StartPos, EndPos, Distance, Ignore)
  988. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  989. return ray(StartPos, DIRECTION, Distance, Ignore)
  990. end
  991.  
  992. OrgnC0 = Neck.C0
  993. local movelimbs = coroutine.wrap(function()
  994. while RunSrv.RenderStepped:wait() do
  995. TrsoLV = Torso.CFrame.lookVector
  996. Dist = nil
  997. Diff = nil
  998. if not MseGuide then
  999. print("Failed to recognize")
  1000. else
  1001. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1002. Dist = (Head.CFrame.p-Point).magnitude
  1003. Diff = Head.CFrame.Y-Point.Y
  1004. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1005. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  1006. Diff2 = LeftArm.CFrame.Y-Point.Y
  1007. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1008. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
  1009. end
  1010. end
  1011. end)
  1012. movelimbs()
  1013. immortal = {}
  1014. for i,v in pairs(Character:GetDescendants()) do
  1015.     if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  1016.         if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
  1017.             v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1018.         end
  1019.         table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  1020.     elseif v:IsA("JointInstance") then
  1021.         table.insert(immortal,{v,v.Parent,nil,nil,nil})
  1022.     end
  1023. end
  1024. for e = 1, #immortal do
  1025.     if immortal[e] ~= nil then
  1026.         local STUFF = immortal[e]
  1027.         local PART = STUFF[1]
  1028.         local PARENT = STUFF[2]
  1029.         local MATERIAL = STUFF[3]
  1030.         local COLOR = STUFF[4]
  1031.         local TRANSPARENCY = STUFF[5]
  1032. if levitate then
  1033.         if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1034.             PART.Material = MATERIAL
  1035.             PART.Color = COLOR
  1036.             PART.Transparency = TRANSPARENCY
  1037.         end
  1038.         PART.AncestryChanged:connect(function()
  1039.             PART.Parent = PARENT
  1040.         end)
  1041. else
  1042.         if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1043.             PART.Material = MATERIAL
  1044.             PART.Color = COLOR
  1045.             PART.Transparency = TRANSPARENCY
  1046.         end
  1047.         PART.AncestryChanged:connect(function()
  1048.             PART.Parent = PARENT
  1049.         end)
  1050. end
  1051.     end
  1052. end
  1053. function immortality()
  1054.     for e = 1, #immortal do
  1055.         if immortal[e] ~= nil then
  1056.             local STUFF = immortal[e]
  1057.             local PART = STUFF[1]
  1058.             local PARENT = STUFF[2]
  1059.             local MATERIAL = STUFF[3]
  1060.             local COLOR = STUFF[4]
  1061.             local TRANSPARENCY = STUFF[5]
  1062.             if PART.ClassName == "Part" and PART == Root then
  1063.                 PART.Material = MATERIAL
  1064.                 PART.Color = COLOR
  1065.                 PART.Transparency = TRANSPARENCY
  1066.             end
  1067.             if PART.Parent ~= PARENT then
  1068.                 hum:Remove()
  1069.                 PART.Parent = PARENT
  1070.                 hum = Instance.new("Humanoid",Character)
  1071.                                 hum.Name = "noneofurbusiness"
  1072.             end
  1073.         end
  1074.     end
  1075. end
  1076. coroutine.wrap(function()
  1077. while true do
  1078. if hum.Health < .1 then
  1079. deadsound = Instance.new("Sound", Torso)
  1080. deadsound.Volume = 6
  1081. deadsound.SoundId = "rbxassetid://1411352723"
  1082. deadsound:Play()
  1083. immortality()
  1084. end
  1085. wait()
  1086. end
  1087. end)()
  1088.  
  1089. local anims = coroutine.wrap(function()
  1090. while true do
  1091. settime = 0.05
  1092. sine = sine + change
  1093. if position == "Jump" and attacking == false then
  1094. change = 1
  1095. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  1096. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1097. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1098. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1099. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1100. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
  1101. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  1102. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  1103. elseif position == "Jump2" and attacking == false then
  1104. change = 1
  1105. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
  1106. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  1107. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  1108. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  1109. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  1110. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  1111. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
  1112. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
  1113. elseif position == "Falling" and attacking == false then
  1114. change = 1
  1115. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  1116. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1117. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1118. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1119. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  1120. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
  1121. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  1122. elseif position == "Falling2" and attacking == false then
  1123. change = 1
  1124. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
  1125. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  1126. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  1127. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  1128. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  1129. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  1130. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
  1131. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
  1132. elseif position == "Walking" and attacking == false and running == false then
  1133. change = 1.2
  1134. walking = true
  1135. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  1136. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(10)), 0.1)
  1137. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1138. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1139. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,.35,.5*math.sin(sine/8)) * CFrame.Angles(math.rad(-35*math.sin(sine/8)),math.rad(0*math.sin(sine/8)),math.rad(10 + Root.RotVelocity.Y / 10, math.sin(20 * math.sin(sine/4)))),.3)
  1140. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.1)
  1141. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.3)
  1142. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.3)
  1143. elseif position == "Idle" and attacking == false and running == false then
  1144. change = .5
  1145. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  1146. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.1)
  1147. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3 + .1 * math.sin(sine/12),1 + .1 * math.sin(sine/12),0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(8 + 5 * math.sin(sine/12))), 0.1)
  1148. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.59 - .05 * math.sin(sine/12), 0.1 -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(8  - 6 * math.sin(sine/12))), .2)
  1149. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1150. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
  1151. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1152. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  1153. elseif position == "Idle2" and attacking == false and running == false then
  1154. change = .75
  1155. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
  1156. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1157. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  1158. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  1159. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4)
  1160. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 - 3 * math.sin(sine/9)), math.rad(-35 + 5 * math.sin(sine/9))), 0.4)
  1161. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
  1162. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
  1163. elseif position == "Walking2" and attacking == false and running == false then
  1164. ws = 50
  1165. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
  1166. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  1167. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  1168. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  1169. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  1170. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  1171. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
  1172. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
  1173. elseif position == "Running" and attacking == false then
  1174. change = 1
  1175. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  1176. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3)
  1177. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1178. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3)
  1179. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  1180. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3)
  1181. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  1182. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3)
  1183. end
  1184. swait()
  1185. end
  1186. end)
  1187. anims()
  1188. warn("Risen from hell, ready to prove his reputation. Made by Supr14")
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
Top