Pancakess

slav fixed

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