Advertisement
HenloMyDude

suka blyatster but theres no music

Aug 15th, 2019
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.30 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=212302951"
  275. mesh.TextureId = "http://www.roblox.com/asset/?id=212303049"
  276. mesh.Scale = Vector3.new(4, 4, 4)
  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.5,3) * CFrame.Angles(math.rad(0),math.rad(0),0)
  319. mtommygun = Instance.new("SpecialMesh", tommygun)
  320. mtommygun.MeshType = "FileMesh"
  321. mtommygun.Scale = Vector3.new(2,2,2)
  322. mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=166887618','http://www.roblox.com/asset/?id=166887676'
  323. shootbox = Instance.new("Part",Character)
  324. shootbox.Size = Vector3.new(1,1,1)
  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,3)
  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 = 0
  454. doomtheme.Name = "doomtheme"
  455. doomtheme.Looped = true
  456. doomtheme.SoundId = "rbxassetid://2508725733"
  457. doomtheme:Play()
  458.  
  459.  
  460. for _,n in pairs(Character:GetChildren()) do
  461. if n:IsA("Accessory") then n:Remove() end
  462. end
  463. for _,x in pairs(Character:GetChildren()) do
  464. if x:IsA("Decal") then x:Remove() end
  465. end
  466.  
  467. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  468. so = Instance.new("Sound")
  469. so.Parent = PARENT
  470. so.SoundId = "rbxassetid://"..ID
  471. so.Volume = VOL
  472. so.Looped = LOOP
  473. so:Play()
  474. removeuseless:AddItem(so,REMOVE)
  475. end
  476.  
  477. mouse.KeyDown:connect(function(Press)
  478. Press=Press:lower()
  479. if Press=='t' then
  480. if tauntdebounce then return end
  481. tauntdebounce = true
  482. local b1 = Instance.new("BillboardGui",Head)
  483. b1.Size = UDim2.new(0,4,0,1.6)
  484. b1.StudsOffset = Vector3.new(0,0,0)
  485. b1.Name = "laff"
  486. b1.AlwaysOnTop = true
  487. b1.StudsOffset = Vector3.new(0,2,0)
  488. b1.Adornee = Head
  489. removeuseless:AddItem(b1,3)
  490. local b2 = Instance.new("TextLabel",b1)
  491. b2.BackgroundTransparency = 1
  492. b2.Text = "Do squat everyday or SAY HELLO TO MY LITTLE FRIEND!"
  493. b2.Font = "Garamond"
  494. b2.TextSize = 30
  495. b2.Name = "lafftext"
  496. b2.TextStrokeTransparency = 0
  497. b2.TextColor3 = BrickColor.new("Bright red").Color
  498. b2.TextStrokeColor3 = Color3.new(0,0,0)
  499. b2.Size = UDim2.new(1,0,.5,0)
  500. laff = Instance.new("Sound",Head)
  501. laff.SoundId = "rbxassetid://133763874"
  502. laff.Volume = 5
  503. laff:Play()
  504. wait(5)
  505. laff:Remove()
  506. tauntdebounce = false
  507. end
  508. end)
  509. mouse.KeyDown:connect(function(Press)
  510. Press=Press:lower()
  511. if Press=='j' then
  512. if dancing then
  513. dancing = false
  514. else
  515. dancing = true
  516. ws = 0
  517. change = .5
  518. walkforward = 0
  519. walkrotation = 0
  520. attacking = true
  521. truelegend = Instance.new("Sound",Torso)
  522. truelegend.SoundId = "rbxassetid://487872908"
  523. truelegend.TimePosition = 13.98
  524. truelegend.Volume = 8
  525. truelegend.Looped = true
  526. truelegend:Play()
  527. coroutine.wrap(function()
  528. while dancing do
  529. for i = 1, 100 do
  530. if not dancing then break end
  531. walkforward = walkforward + .1
  532. 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)
  533. 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)
  534. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  535. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  536. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  537. swait()
  538. end
  539. for i = 1, 50 do
  540. if not dancing then break end
  541. walkrotation = walkrotation + 15
  542. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
  543. swait()
  544. end
  545. walkrotation = 0
  546. for i = 1, 100 do
  547. if not dancing then break end
  548. walkforward = walkforward - .1
  549. 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)
  550. 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)
  551. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(-180),math.rad(-0)),.2)
  552. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,.7,.2) * CFrame.Angles(math.rad(220),math.rad(0),math.rad(-30)), 0.4)
  553. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  554. swait()
  555. end
  556. for i = 1, 50 do
  557. if not dancing then break end
  558. walkrotation = walkrotation + 15
  559. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.1)
  560. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
  561. swait()
  562. end
  563. walkrotation = 0
  564. swait()
  565. end
  566. ws = 14
  567. truelegend:Remove()
  568. attacking = false
  569. end)()
  570. end
  571. end
  572. end)
  573. mouse.KeyDown:connect(function(Press)
  574. Press=Press:lower()
  575. if Press=='k' then
  576. if dancing then
  577. dancing = false
  578. else
  579. dancing = true
  580. ws = 3
  581. change = .5
  582. attacking = true
  583. g1 = Instance.new("BodyGyro", Root)
  584. g1.D = 175
  585. g1.P = 20000
  586. g1.MaxTorque = Vector3.new(0,9000,0)
  587. herecomesthemoney = Instance.new("Sound",Torso)
  588. herecomesthemoney.Pitch = 1
  589. herecomesthemoney.SoundId = "rbxassetid://0"
  590. herecomesthemoney.Volume = 8
  591. herecomesthemoney.Looped = true
  592. herecomesthemoney:Play()
  593. robuxpile = Instance.new("Part",Torso)
  594. robuxpile.Size = Vector3.new(1,1,1)
  595. robuxpile.CFrame = LeftArm.CFrame
  596. robuxpile.CanCollide = false
  597. robuxpileweld = Instance.new("Weld",robuxpile)
  598. robuxpileweld.Part0 = robuxpile
  599. robuxpileweld.Part1 = Torso
  600. robuxpileweld.C0 = robuxpile.CFrame:inverse() * LeftArm.CFrame * CFrame.new(1,-.7,1.4)
  601. mrobuxpile = Instance.new("SpecialMesh", robuxpile)
  602. mrobuxpile.MeshType = "FileMesh"
  603. mrobuxpile.Scale = Vector3.new(0.85, .85, .85)
  604. mrobuxpile.MeshId,mrobuxpile.TextureId = 'http://www.roblox.com/asset/?id=9419831','http://www.roblox.com/asset/?id=9419827'
  605. coroutine.wrap(function()
  606. coroutine.wrap(function()
  607. while wait(.35) do
  608. if not dancing then break end
  609. local robux = Instance.new("Part",Torso)
  610. robux.CFrame = robuxpile.CFrame * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  611. robux.Anchored = false
  612. robux.CanCollide = true
  613. robux.Size = Vector3.new(1,1,1)
  614. removeuseless:AddItem(robux,4)
  615. mrobux = Instance.new("SpecialMesh", robux)
  616. mrobux.MeshType = "FileMesh"
  617. mrobux.Scale = Vector3.new(1.25, 1.25, 1.25)
  618. mrobux.MeshId,mrobux.TextureId = 'http://www.roblox.com/asset/?id=9419831','http://www.roblox.com/asset/?id=9419827'
  619. bov = Instance.new("BodyVelocity",robux)
  620. bov.maxForce = Vector3.new(99999,99999,99999)
  621. robux.CFrame = CFrame.new(robux.Position,mouse.Hit.p)
  622. bov.velocity = robux.CFrame.lookVector*45
  623. removeuseless:AddItem(bov,.1)
  624. end
  625. end)()
  626. while dancing do
  627. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  628. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(20),math.rad(0 * math.sin(sine/8)),math.rad(0)),.25)
  629. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,.5 + .5 * math.sin(sine/2),.5) * CFrame.Angles(math.rad(-97),math.rad(40 - 20 * math.sin(sine/2)),math.rad(0)), 0.25)
  630. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,.5,.5) * CFrame.Angles(math.rad(-87),math.rad(-20),math.rad(0)), 0.25)
  631. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.25)
  632. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.25)
  633. swait()
  634. end
  635. ws = 14
  636. removeuseless:AddItem(g1,.001)
  637. robuxpile:Remove()
  638. attacking = false
  639. end)()
  640. end
  641. end
  642. end)
  643.  
  644. mouse.KeyDown:connect(function(Press)
  645. Press=Press:lower()
  646. if Press=='y' then
  647. if tauntdebounce then return end
  648. tauntdebounce = true
  649. local b1 = Instance.new("BillboardGui",Head)
  650. b1.Size = UDim2.new(0,4,0,1.6)
  651. b1.StudsOffset = Vector3.new(0,0,0)
  652. b1.Name = "laff"
  653. b1.AlwaysOnTop = true
  654. b1.StudsOffset = Vector3.new(0,2,0)
  655. b1.Adornee = Head
  656. removeuseless:AddItem(b1,3)
  657. local b2 = Instance.new("TextLabel",b1)
  658. b2.BackgroundTransparency = 1
  659. b2.Text = "REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE"
  660. b2.Font = "Garamond"
  661. b2.TextSize = 30
  662. b2.Name = "lafftext"
  663. b2.TextStrokeTransparency = 0
  664. b2.TextColor3 = BrickColor.new("Bright red").Color
  665. b2.TextStrokeColor3 = Color3.new(0,0,0)
  666. b2.Size = UDim2.new(1,0,.5,0)
  667. laff = Instance.new("Sound",Head)
  668. laff.SoundId = "rbxassetid://1205457048"
  669. laff.Volume = 5
  670. laff:Play()
  671. wait(5)
  672. laff:Remove()
  673. tauntdebounce = false
  674. end
  675. end)
  676. mouse.KeyDown:connect(function(Press)
  677. Press=Press:lower()
  678. if Press=='q' then
  679. if dancing then
  680. dancing = false
  681. else
  682. dancing = true
  683. ws = 0
  684. change = .5
  685. spinningmove = 0
  686. dbwouldlovethis = Instance.new("Sound",Torso)
  687. dbwouldlovethis.SoundId = "rbxassetid://764321476"
  688. dbwouldlovethis.Volume = 8
  689. dbwouldlovethis.Looped = true
  690. dbwouldlovethis:Play()
  691. attacking = true
  692. coroutine.wrap(function()
  693. while dancing do
  694. spinningmove = spinningmove + 10
  695. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, -.35) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)),.2)
  696. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9, .35) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  697. 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)
  698. 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)
  699. 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)
  700. swait()
  701. end
  702. ws = 14
  703. dbwouldlovethis:Remove()
  704. attacking = false
  705. end)()
  706. end
  707. end
  708. end)
  709. mouse.KeyDown:connect(function(Press)
  710. Press=Press:lower()
  711. if Press=='u' then
  712. if tauntdebounce then return end
  713. tauntdebounce = true
  714. local b1 = Instance.new("BillboardGui",Head)
  715. b1.Size = UDim2.new(0,4,0,1.6)
  716. b1.StudsOffset = Vector3.new(0,0,0)
  717. b1.Name = "laff"
  718. b1.AlwaysOnTop = true
  719. b1.StudsOffset = Vector3.new(0,2,0)
  720. b1.Adornee = Head
  721. removeuseless:AddItem(b1,3)
  722. local b2 = Instance.new("TextLabel",b1)
  723. b2.BackgroundTransparency = 1
  724. b2.Text = "*Peacefully drinking chug-jug*"
  725. b2.Font = "Garamond"
  726. b2.TextSize = 30
  727. b2.Name = "lafftext"
  728. b2.TextStrokeTransparency = 0
  729. b2.TextColor3 = BrickColor.new("Bright blue").Color
  730. b2.TextStrokeColor3 = Color3.new(0,0,0)
  731. b2.Size = UDim2.new(1,0,.5,0)
  732. laff = Instance.new("Sound",Head)
  733. laff.SoundId = "rbxassetid://2506450841"
  734. laff.Volume = 5
  735. laff:Play()
  736. wait(5)
  737. laff:Remove()
  738. tauntdebounce = false
  739. end
  740. end)
  741. mouse.KeyDown:connect(function(Press)
  742. Press=Press:lower()
  743. if Press=='p' then
  744. if tauntdebounce then return end
  745. tauntdebounce = true
  746. local b1 = Instance.new("BillboardGui",Head)
  747. b1.Size = UDim2.new(0,4,0,1.6)
  748. b1.StudsOffset = Vector3.new(0,0,0)
  749. b1.Name = "laff"
  750. b1.AlwaysOnTop = true
  751. b1.StudsOffset = Vector3.new(0,2,0)
  752. b1.Adornee = Head
  753. removeuseless:AddItem(b1,3)
  754. local b2 = Instance.new("TextLabel",b1)
  755. b2.BackgroundTransparency = 1
  756. b2.Text = "IM just standing here, what about you?"
  757. b2.Font = "Garamond"
  758. b2.TextSize = 30
  759. b2.Name = "lafftext"
  760. b2.TextStrokeTransparency = 0
  761. b2.TextColor3 = BrickColor.new("Dark green").Color
  762. b2.TextStrokeColor3 = Color3.new(0,0,0)
  763. b2.Size = UDim2.new(1,0,.5,0)
  764. laff = Instance.new("Sound",Head)
  765. laff.SoundId = "rbxassetid://0"
  766. laff.Volume = 5
  767. laff:Play()
  768. wait(5)
  769. laff:Remove()
  770. tauntdebounce = false
  771. end
  772. end)
  773. mouse.KeyDown:connect(function(Press)
  774. Press=Press:lower()
  775. if Press=='g' then
  776. if dancing then
  777. dancing = false
  778. else
  779. ws = 6
  780. recordbaby = 0
  781. dancing = true
  782. change = .5
  783. attacking = true
  784. spinme = Instance.new("Sound",Torso)
  785. spinme.Volume = 8
  786. spinme.SoundId = "rbxassetid://145799973"
  787. spinme.Looped = true
  788. spinme:Play()
  789. coroutine.wrap(function()
  790. while dancing do
  791. recordbaby = recordbaby + 10
  792. 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)
  793. 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)
  794. 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)
  795. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5,1.98,0) * CFrame.Angles(0,0,math.rad(-90)),.3)
  796. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,1.98,0) * CFrame.Angles(0,0,math.rad(90)),.3)
  797. swait()
  798. end
  799. spinme:Remove()
  800. ws = 14
  801. attacking = false
  802. end)()
  803. end
  804. end
  805. end)
  806. mouse.KeyDown:connect(function(Press)
  807. Press=Press:lower()
  808. if Press=='f' then
  809. if dancing then
  810. dancing = false
  811. else
  812. dancing = true
  813. ws = 6
  814. change = .5
  815. attacking = true
  816. slavdance = Instance.new("Sound",Torso)
  817. slavdance.SoundId = "rbxassetid://2341226836"
  818. slavdance.Volume = 6
  819. slavdance.Looped = true
  820. slavdance:Play()
  821. coroutine.wrap(function()
  822. while dancing do
  823. for i = 1, 17 do
  824. if not dancing then break end
  825. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
  826. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  827. 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)
  828. 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)
  829. 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)
  830. swait()
  831. end
  832. for i = 1, 17 do
  833. if not dancing then break end
  834. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  835. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
  836. 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)
  837. 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)
  838. 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)
  839. swait()
  840. end
  841. swait()
  842. end
  843. ws = 14
  844. slavdance:Remove()
  845. attacking = false
  846. end)()
  847. end
  848. end
  849. end)
  850. mouse.KeyDown:connect(function(Press)
  851. Press=Press:lower()
  852. if Press=='h' then
  853. if dancing then
  854. dancing = false
  855. else
  856. dancing = true
  857. ws = 6
  858. change = .5
  859. attacking = true
  860. bennyhill = Instance.new("Sound",Torso)
  861. bennyhill.SoundId = "rbxassetid://800064337"
  862. bennyhill.Volume = 8
  863. bennyhill.Looped = true
  864. bennyhill:Play()
  865. coroutine.wrap(function()
  866. while dancing do
  867. 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)
  868. 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)
  869. 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)
  870. 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)
  871. 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)
  872. swait()
  873. end
  874. ws = 14
  875. bennyhill:Remove()
  876. attacking = false
  877. end)()
  878. end
  879. end
  880. end)
  881. mouse.KeyDown:connect(function(Press)
  882. Press=Press:lower()
  883. if Press=='e' then
  884. if debounce then return end
  885. if equip then
  886. g1:Remove()
  887. light.Enabled = false
  888. pcall(function()
  889. temmy:Remove()
  890. end)
  891. for i,v in pairs(tommygun:GetDescendants()) do
  892. if v.Name == "temmy" then v:Remove()
  893. end
  894. end
  895. light.Enabled = false
  896. particlemiter1.Enabled = false
  897. hum.CameraOffset = Vector3.new(0,0,0)
  898. attacking = false
  899. equip = false
  900. shooting = false
  901. gunallowance = false
  902. ws = 18
  903. else
  904. g1 = Instance.new("BodyGyro", Root)
  905. g1.D = 175
  906. g1.P = 20000
  907. g1.MaxTorque = Vector3.new(0,9000,0)
  908. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  909. attacking = true
  910. debounce = true
  911. equip = true
  912. coroutine.wrap(function()
  913. while equip do
  914. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  915. ws = 10
  916. swait()
  917. if Root.Velocity.y > 1 then
  918. position = "Jump3"
  919. elseif Root.Velocity.y < -1 then
  920. position = "Falling3"
  921. elseif Root.Velocity.Magnitude > 2 and running == false and attacking == true then
  922. position = "Walk3"
  923. elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
  924. position = "Idle4"
  925. end
  926. end
  927. end)()
  928. coroutine.wrap(function()
  929. while equip do
  930. swait()
  931. settime = 0.05
  932. sine = sine + change
  933. if position == "Jump3" and attacking and not running then
  934. change = .65
  935. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  936. 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)
  937. elseif position == "Falling3" and attacking and not running then
  938. change = .65
  939. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.4)
  940. 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)
  941. elseif position == "Walk3" and attacking == true and running == false then
  942. change = .65
  943. 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)
  944. 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)
  945. 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)
  946. elseif position == "Idle4" and attacking == true and running == false then
  947. change = .65
  948. 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)
  949. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  950. 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)
  951. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  952. 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)
  953. end
  954. end
  955. end)()
  956. SOUND(RightArm,133763874,6,false,2)
  957. for i = 1, 30 do
  958. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.68,1.25) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),.25)
  959. 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)
  960. 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)
  961. swait()
  962. end
  963. gunallowance = true
  964. mouse.Button1Down:connect(function()
  965. if gunallowance then
  966. particlemiter1.Enabled = true
  967. temmy = Instance.new("Sound",tommygun)
  968. temmy.SoundId = "rbxassetid://146830885"
  969. temmy.Volume = 6
  970. temmy.Name = "temmy"
  971. temmy.Looped = true
  972. temmy:Play()
  973. shooting = true
  974. end
  975. end)
  976. mouse.Button1Up:connect(function()
  977. if gunallowance then
  978. hum.CameraOffset = Vector3.new(0,0,0)
  979. light.Enabled = false
  980. particlemiter1.Enabled = false
  981. pcall(function()
  982. temmy:Remove()
  983. end)
  984. for i,v in pairs(tommygun:GetDescendants()) do
  985. if v.Name == "temmy" then v:Remove()
  986. end
  987. end
  988. shooting = false
  989. end
  990. end)
  991. coroutine.wrap(function()
  992. if firsttime2 then return end
  993. firsttime2 = true
  994. while true do
  995. swait(3)
  996. if shooting then
  997. if switch1 then
  998. switch1 = false
  999. switch2 = true
  1000. light.Enabled = true
  1001. elseif switch2 then
  1002. switch1 = true
  1003. switch2 = false
  1004. light.Enabled = false
  1005. end
  1006. pcall(function()
  1007. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  1008. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(3,7))
  1009. end
  1010. end)
  1011. end
  1012. end
  1013. end)()
  1014. coroutine.wrap(function()
  1015. if firsttime then return end
  1016. firsttime = true
  1017. while true do
  1018. if shooting then
  1019. 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)
  1020. 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)
  1021. pcall(function()
  1022. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  1023. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(30)
  1024. end
  1025. end)
  1026. elseif not shooting then
  1027. end
  1028. swait()
  1029. end
  1030. end)()
  1031. debounce = false
  1032. end
  1033. end
  1034. end)
  1035.  
  1036. mouse.KeyDown:connect(function(Press)
  1037. Press=Press:lower()
  1038. if Press=='z' then
  1039. print("Music switched to 1")
  1040. id = 2199374985
  1041. doomtheme.SoundId = "rbxassetid://"..id
  1042. doomtheme:Play()
  1043. end
  1044. end)
  1045.  
  1046. mouse.KeyDown:connect(function(Press)
  1047. Press=Press:lower()
  1048. if Press=='v' then
  1049. print("Music switched to 4")
  1050. id = 2111948183
  1051. doomtheme.SoundId = "rbxassetid://"..id
  1052. doomtheme:Play()
  1053. end
  1054. end)
  1055.  
  1056. mouse.KeyDown:connect(function(Press)
  1057. Press=Press:lower()
  1058. if Press=='x' then
  1059. print("Music switched to 2")
  1060. id = 318812395
  1061. doomtheme.SoundId = "rbxassetid://"..id
  1062. doomtheme:Play()
  1063. end
  1064. end)
  1065.  
  1066. mouse.KeyDown:connect(function(Press)
  1067. Press=Press:lower()
  1068. if Press=='c' then
  1069. print("Music switched to 3")
  1070. id = 2508725733
  1071. doomtheme.SoundId = "rbxassetid://"..id
  1072. doomtheme:Play()
  1073. end
  1074. end)
  1075.  
  1076. mouse.KeyDown:connect(function(Press)
  1077. Press=Press:lower()
  1078. if Press=='b' then
  1079. print("Music switched to 5")
  1080. id = 649148458
  1081. doomtheme.SoundId = "rbxassetid://"..id
  1082. doomtheme:Play()
  1083. end
  1084. end)
  1085.  
  1086.  
  1087. checks1 = coroutine.wrap(function() -------Checks
  1088. while true do
  1089. if Root.Velocity.y > 1 then
  1090. position = "Jump"
  1091. elseif Root.Velocity.y < -1 then
  1092. position = "Falling"
  1093. elseif Root.Velocity.Magnitude < 2 then
  1094. position = "Idle"
  1095. elseif Root.Velocity.Magnitude < 20 then
  1096. position = "Walking"
  1097. elseif Root.Velocity.Magnitude > 20 then
  1098. position = "Running"
  1099. else
  1100. end
  1101. wait()
  1102. end
  1103. end)
  1104. checks1()
  1105.  
  1106. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1107. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1108. end
  1109.  
  1110. function ray2(StartPos, EndPos, Distance, Ignore)
  1111. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  1112. return ray(StartPos, DIRECTION, Distance, Ignore)
  1113. end
  1114.  
  1115. OrgnC0 = Neck.C0
  1116. local movelimbs = coroutine.wrap(function()
  1117. while RunSrv.RenderStepped:wait() do
  1118. TrsoLV = Torso.CFrame.lookVector
  1119. Dist = nil
  1120. Diff = nil
  1121. if not MseGuide then
  1122. print("Failed to recognize")
  1123. else
  1124. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1125. Dist = (Head.CFrame.p-Point).magnitude
  1126. Diff = Head.CFrame.Y-Point.Y
  1127. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1128. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  1129. Diff2 = LeftArm.CFrame.Y-Point.Y
  1130. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1131. 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)
  1132. end
  1133. end
  1134. end)
  1135. movelimbs()
  1136. immortal = {}
  1137. for i,v in pairs(Character:GetDescendants()) do
  1138. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  1139. 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
  1140. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1141. end
  1142. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  1143. elseif v:IsA("JointInstance") then
  1144. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  1145. end
  1146. end
  1147. for e = 1, #immortal do
  1148. if immortal[e] ~= nil then
  1149. local STUFF = immortal[e]
  1150. local PART = STUFF[1]
  1151. local PARENT = STUFF[2]
  1152. local MATERIAL = STUFF[3]
  1153. local COLOR = STUFF[4]
  1154. local TRANSPARENCY = STUFF[5]
  1155. if levitate then
  1156. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1157. PART.Material = MATERIAL
  1158. PART.Color = COLOR
  1159. PART.Transparency = TRANSPARENCY
  1160. end
  1161. PART.AncestryChanged:connect(function()
  1162. PART.Parent = PARENT
  1163. end)
  1164. else
  1165. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1166. PART.Material = MATERIAL
  1167. PART.Color = COLOR
  1168. PART.Transparency = TRANSPARENCY
  1169. end
  1170. PART.AncestryChanged:connect(function()
  1171. PART.Parent = PARENT
  1172. end)
  1173. end
  1174. end
  1175. end
  1176. function immortality()
  1177. for e = 1, #immortal do
  1178. if immortal[e] ~= nil then
  1179. local STUFF = immortal[e]
  1180. local PART = STUFF[1]
  1181. local PARENT = STUFF[2]
  1182. local MATERIAL = STUFF[3]
  1183. local COLOR = STUFF[4]
  1184. local TRANSPARENCY = STUFF[5]
  1185. if PART.ClassName == "Part" and PART == Root then
  1186. PART.Material = MATERIAL
  1187. PART.Color = COLOR
  1188. PART.Transparency = TRANSPARENCY
  1189. end
  1190. if PART.Parent ~= PARENT then
  1191. hum:Remove()
  1192. PART.Parent = PARENT
  1193. hum = Instance.new("Humanoid",Character)
  1194. hum.Name = "noneofurbusiness"
  1195. end
  1196. end
  1197. end
  1198. end
  1199. coroutine.wrap(function()
  1200. while true do
  1201. if hum.Health < .1 then
  1202. deadsound = Instance.new("Sound", Torso)
  1203. deadsound.Volume = 6
  1204. deadsound.SoundId = "rbxassetid://1411352723"
  1205. deadsound:Play()
  1206. immortality()
  1207. end
  1208. wait()
  1209. end
  1210. end)()
  1211.  
  1212. local anims = coroutine.wrap(function()
  1213. while true do
  1214. settime = 0.05
  1215. sine = sine + change
  1216. if position == "Jump" and attacking == false then
  1217. change = 1
  1218. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  1219. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1220. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1221. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1222. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1223. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
  1224. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  1225. 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)
  1226. elseif position == "Jump2" and attacking == false then
  1227. change = 1
  1228. 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)
  1229. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  1230. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  1231. 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)
  1232. 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)
  1233. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  1234. 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)
  1235. 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)
  1236. elseif position == "Falling" and attacking == false then
  1237. change = 1
  1238. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  1239. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1240. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1241. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1242. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  1243. 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)
  1244. 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)
  1245. elseif position == "Falling2" and attacking == false then
  1246. change = 1
  1247. 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)
  1248. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  1249. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  1250. 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)
  1251. 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)
  1252. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  1253. 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)
  1254. 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)
  1255. elseif position == "Walking" and attacking == false and running == false then
  1256. change = 1.2
  1257. walking = true
  1258. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  1259. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(10)), 0.1)
  1260. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1261. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1262. 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)
  1263. 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)
  1264. 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)
  1265. 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)
  1266. elseif position == "Idle" and attacking == false and running == false then
  1267. change = .5
  1268. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  1269. 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)
  1270. 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)
  1271. 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)
  1272. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1273. 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)
  1274. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1275. 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)
  1276. elseif position == "Idle2" and attacking == false and running == false then
  1277. change = .75
  1278. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
  1279. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1280. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  1281. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  1282. 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)
  1283. 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)
  1284. 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)
  1285. 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)
  1286. elseif position == "Walking2" and attacking == false and running == false then
  1287. ws = 50
  1288. 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)
  1289. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  1290. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  1291. 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)
  1292. 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)
  1293. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  1294. 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)
  1295. 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)
  1296. elseif position == "Running" and attacking == false then
  1297. change = 1
  1298. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  1299. 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)
  1300. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1301. 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)
  1302. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  1303. 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)
  1304. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  1305. 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)
  1306. end
  1307. swait()
  1308. end
  1309. end)
  1310. anims()
  1311. warn("Risen from Russia, ready to prove his memeous. Made by Supr14 and edited by Reset5017577")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement