Advertisement
AOM-GU-PRO

Jame

Jul 26th, 2018
465
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.03 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| Templates BY Aom[WCR]
  3. --\\====================================================//--
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility FE by Aom[WCR]")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local Mouse = Player:GetMouse()
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then return s[k] end
  97. end,
  98. __newindex = function(self,k,v)
  99. local s = rawget(self,"_RealService")
  100. if s then s[k]=v end
  101. end,
  102. __call = function(self,...)
  103. local s = rawget(self,"_RealService")
  104. if s then return s(...) end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129.  
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,{
  137. __index=function(self,s)
  138. return _rg:GetService(s) or typeof(_rg[s])=="function"
  139. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140. end,
  141. __newindex = fsmt.__newindex,
  142. __call = fsmt.__call
  143. })
  144. --Changing owner to fake player object to support owner:GetMouse()
  145. game,owner = g,g.Players.LocalPlayer
  146. end
  147. Player=game.Players.LocalPlayer
  148. Character=Player.Character
  149. Character.Humanoid.Name = "noneofurbusiness"
  150. hum = Character.noneofurbusiness
  151. LeftArm=Character["Left Arm"]
  152. LeftLeg=Character["Left Leg"]
  153. RightArm=Character["Right Arm"]
  154. RightLeg=Character["Right Leg"]
  155. Root=Character["HumanoidRootPart"]
  156. Head=Character["Head"]
  157. Torso=Character["Torso"]
  158. Neck=Torso["Neck"]
  159. mouse = Player:GetMouse()
  160. walking = false
  161. jumping = false
  162. attacking = false
  163. firsttime = false
  164. tauntdebounce = false
  165. position = nil
  166. MseGuide = true
  167. running = false
  168. settime = 0
  169. sine = 0
  170. t = 0
  171. ws = 18
  172. change = 1
  173. combo1 = true
  174. equip = false
  175. dgs = 75
  176. combo2 = false
  177. switch1 = true
  178. switch2 = false
  179. firsttime2 = false
  180. combo3 = false
  181. gunallowance = false
  182. shooting = false
  183. RunSrv = game:GetService("RunService")
  184. RenderStepped = game:GetService("RunService").RenderStepped
  185. removeuseless = game:GetService("Debris")
  186.  
  187. screenGui = Instance.new("ScreenGui")
  188. screenGui.Parent = script.Parent
  189.  
  190. local HEADLERP = Instance.new("ManualWeld")
  191. HEADLERP.Parent = Head
  192. HEADLERP.Part0 = Head
  193. HEADLERP.Part1 = Head
  194. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  195.  
  196. local TORSOLERP = Instance.new("ManualWeld")
  197. TORSOLERP.Parent = Root
  198. TORSOLERP.Part0 = Torso
  199. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  200.  
  201. local ROOTLERP = Instance.new("ManualWeld")
  202. ROOTLERP.Parent = Root
  203. ROOTLERP.Part0 = Root
  204. ROOTLERP.Part1 = Torso
  205. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  206.  
  207. local RIGHTARMLERP = Instance.new("ManualWeld")
  208. RIGHTARMLERP.Parent = RightArm
  209. RIGHTARMLERP.Part0 = RightArm
  210. RIGHTARMLERP.Part1 = Torso
  211. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  212.  
  213. local LEFTARMLERP = Instance.new("ManualWeld")
  214. LEFTARMLERP.Parent = LeftArm
  215. LEFTARMLERP.Part0 = LeftArm
  216. LEFTARMLERP.Part1 = Torso
  217. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  218.  
  219. local RIGHTLEGLERP = Instance.new("ManualWeld")
  220. RIGHTLEGLERP.Parent = RightLeg
  221. RIGHTLEGLERP.Part0 = RightLeg
  222. RIGHTLEGLERP.Part1 = Torso
  223. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  224.  
  225. local LEFTLEGLERP = Instance.new("ManualWeld")
  226. LEFTLEGLERP.Parent = LeftLeg
  227. LEFTLEGLERP.Part0 = LeftLeg
  228. LEFTLEGLERP.Part1 = Torso
  229. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  230.  
  231. local function weldBetween(a, b)
  232. local weld = Instance.new("ManualWeld", a)
  233. weld.Part0 = a
  234. weld.Part1 = b
  235. weld.C0 = a.CFrame:inverse() * b.CFrame
  236. return weld
  237. end
  238.  
  239. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  240. A = Instance.new("Attachment", PARENT)
  241. A.Position = POSITION1
  242. A.Name = "A"
  243. B = Instance.new("Attachment", PARENT)
  244. B.Position = POSITION2
  245. B.Name = "B"
  246. tr1 = Instance.new("Trail", PARENT)
  247. tr1.Attachment0 = A
  248. tr1.Attachment1 = B
  249. tr1.Enabled = true
  250. tr1.Lifetime = LIFETIME
  251. tr1.TextureMode = "Static"
  252. tr1.LightInfluence = 0
  253. tr1.Color = COLOR
  254. tr1.Transparency = NumberSequence.new(0, 1)
  255. end
  256. shirt = Instance.new("Shirt", Character)
  257. shirt.Name = "Shirt"
  258. pants = Instance.new("Pants", Character)
  259. pants.Name = "Pants"
  260. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276792537"
  261. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=276792689"
  262. skull = Instance.new("Part",Character)
  263. skull.Size = Vector3.new(2,2,2)
  264. skull.CFrame = Head.CFrame
  265. skull.CanCollide = false
  266. skullweld = Instance.new("Weld",skull)
  267. skullweld.Part0 = skull
  268. skullweld.Part1 = Head
  269. skullweld.C0 = skull.CFrame:inverse() * Head.CFrame
  270. mskull = Instance.new("SpecialMesh", skull)
  271. mskull.MeshType = "FileMesh"
  272. mskull.Scale = Vector3.new(1.12, 1.12, 1.12)
  273. mskull.MeshId,mskull.TextureId = 'http://www.roblox.com/asset/?id=21057410','http://www.roblox.com/asset/?id=31100020'
  274.  
  275. hum.HipHeight = 3 - .5 * math.sin(sine/9)
  276.  
  277. tommygun = Instance.new("Part",Character)
  278. tommygun.Size = Vector3.new(2,2,2)
  279. tommygun.CFrame = RightArm.CFrame
  280. tommygun.CanCollide = false
  281. tommygunweld = Instance.new("Weld",tommygun)
  282. tommygunweld.Part0 = tommygun
  283. tommygunweld.Part1 = RightArm
  284. tommygunweld.C0 = tommygun.CFrame:inverse() * RightArm.CFrame * CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0)
  285. mtommygun = Instance.new("SpecialMesh", tommygun)
  286. mtommygun.MeshType = "FileMesh"
  287. mtommygun.Scale = Vector3.new(0, 0, 0)
  288. mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=98400644','http://www.roblox.com/asset/?id=114288735'
  289. shootbox = Instance.new("Part",Character)
  290. shootbox.Size = Vector3.new(.2,.2,.2)
  291. shootbox.CanCollide = false
  292. shootbox.Transparency = 1
  293. shootbox.CFrame = tommygun.CFrame
  294. shootboxweld = weldBetween(shootbox,tommygun)
  295. shootboxweld.C0 = CFrame.new(0,-.05,2.62)
  296. light = Instance.new("PointLight", shootbox)
  297. light.Color = BrickColor.new("Bright yellow").Color
  298. light.Range = 5
  299. light.Brightness = 11
  300. light.Enabled = false
  301. particlemiter1 = Instance.new("ParticleEmitter", shootbox)
  302. particlemiter1.Enabled = false
  303. particlemiter1.Texture = "rbxassetid://245751634"
  304. particlemiter1.Lifetime = NumberRange.new(.1)
  305. particlemiter1.Size = NumberSequence.new(1,0)
  306. particlemiter1.Rate = 20
  307. particlemiter1.RotSpeed = NumberRange.new(0)
  308. particlemiter1.Speed = NumberRange.new(0)
  309.  
  310.  
  311. coroutine.wrap(function()
  312. while wait() do
  313. hum.WalkSpeed = ws
  314. LeftArm.BrickColor = BrickColor.new("Really red")
  315. RightArm.BrickColor = BrickColor.new("Really red")
  316. Head.BrickColor = BrickColor.new("Really red")
  317. Torso.BrickColor = BrickColor.new("Really red")
  318. LeftLeg.BrickColor = BrickColor.new("Really red")
  319. RightLeg.BrickColor = BrickColor.new("Really red")
  320. end
  321. end)()
  322. godmode = coroutine.wrap(function()
  323. for i,v in pairs(Character:GetChildren()) do
  324. if v:IsA("BasePart") and v ~= Root then
  325. v.Anchored = false
  326. end
  327. end
  328. while true do
  329. hum.MaxHealth = math.huge
  330. wait(0.0000001)
  331. hum.Health = math.huge
  332. wait()
  333. end
  334. end)
  335. godmode()
  336. ff = Instance.new("ForceField", Character)
  337. ff.Visible = false
  338.  
  339. coroutine.wrap(function()
  340. for i,v in pairs(Character:GetChildren()) do
  341. if v.Name == "Animate" then v:Remove()
  342. end
  343. end
  344. end)()
  345.  
  346. function damagealll(Radius,Position)
  347. local Returning = {}
  348. for _,v in pairs(workspace:GetChildren()) do
  349. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  350. if v:FindFirstChild("Torso") then
  351. local Mag = (v.Torso.Position - Position).magnitude
  352. if Mag < Radius then
  353. table.insert(Returning,v)
  354. end
  355. elseif v:FindFirstChild("UpperTorso") then
  356. local Mag = (v.UpperTorso.Position - Position).magnitude
  357. if Mag < Radius then
  358. table.insert(Returning,v)
  359. end
  360. end
  361. end
  362. end
  363. return Returning
  364. end
  365.  
  366. ArtificialHB = Instance.new("BindableEvent", script)
  367. ArtificialHB.Name = "Heartbeat"
  368. script:WaitForChild("Heartbeat")
  369.  
  370. frame = 1 / 60
  371. tf = 0
  372. allowframeloss = false
  373. tossremainder = false
  374.  
  375.  
  376. lastframe = tick()
  377. script.Heartbeat:Fire()
  378.  
  379.  
  380. game:GetService("RunService").Heartbeat:connect(function(s, p)
  381. tf = tf + s
  382. if tf >= frame then
  383. if allowframeloss then
  384. script.Heartbeat:Fire()
  385. lastframe = tick()
  386. else
  387. for i = 1, math.floor(tf / frame) do
  388. script.Heartbeat:Fire()
  389. end
  390. lastframe = tick()
  391. end
  392. if tossremainder then
  393. tf = 0
  394. else
  395. tf = tf - frame * math.floor(tf / frame)
  396. end
  397. end
  398. end)
  399.  
  400. function swait(num)
  401. if num == 0 or num == nil then
  402. game:service("RunService").Stepped:wait(0)
  403. else
  404. for i = 0, num do
  405. game:service("RunService").Stepped:wait(0)
  406. end
  407. end
  408. end
  409.  
  410. doomtheme = Instance.new("Sound", Torso)
  411. doomtheme.Volume = 5
  412. doomtheme.Name = "doomtheme"
  413. doomtheme.Looped = true
  414. doomtheme.SoundId = "rbxassetid://1382488262"
  415. doomtheme:Play()
  416.  
  417. Torso.ChildRemoved:connect(function(removed)
  418. if removed.Name == "doomtheme" then
  419.  
  420. doomtheme = Instance.new("Sound", Torso)
  421. doomtheme.Volume = 5
  422. doomtheme.Name = "doomtheme"
  423. doomtheme.Looped = true
  424. doomtheme.SoundId = "rbxassetid://1382488262"
  425. doomtheme:Play()
  426. end
  427. end)
  428.  
  429. for _,n in pairs(Character:GetChildren()) do
  430. if n:IsA("Accessory") then n:Remove() end
  431. end
  432. for _,x in pairs(Character:GetChildren()) do
  433. if x:IsA("Decal") then x:Remove() end
  434. end
  435.  
  436. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  437. so = Instance.new("Sound")
  438. so.Parent = PARENT
  439. so.SoundId = "rbxassetid://"..ID
  440. so.Volume = VOL
  441. so.Looped = LOOP
  442. so:Play()
  443. removeuseless:AddItem(so,REMOVE)
  444. end
  445.  
  446. mouse.KeyDown:connect(function(Press)
  447. Press=Press:lower()
  448. if Press=='t' then
  449. if tauntdebounce then return end
  450. tauntdebounce = true
  451. local b1 = Instance.new("BillboardGui",Head)
  452. b1.Size = UDim2.new(0,4,0,1.6)
  453. b1.StudsOffset = Vector3.new(0,0,0)
  454. b1.Name = "laff"
  455. b1.AlwaysOnTop = true
  456. b1.StudsOffset = Vector3.new(0,2,0)
  457. b1.Adornee = Head
  458. removeuseless:AddItem(b1,3)
  459. local b2 = Instance.new("TextLabel",b1)
  460. b2.BackgroundTransparency = 1
  461. b2.Text = "EVERYBODY DO THE FLOP..."
  462. b2.Font = "Garamond"
  463. b2.TextSize = 30
  464. b2.Name = "lafftext"
  465. b2.TextStrokeTransparency = 0
  466. b2.TextColor3 = BrickColor.new("Grey").Color
  467. b2.TextStrokeColor3 = Color3.new(1,0,0)
  468. b2.Size = UDim2.new(1,0,.5,0)
  469. laff = Instance.new("Sound",Head)
  470. laff.SoundId = "rbxassetid://130778839"
  471. laff.Volume = 90000
  472. laff:Play()
  473. wait(5)
  474. laff:Remove()
  475. tauntdebounce = false
  476. end
  477. end)
  478.  
  479. mouse.KeyDown:connect(function(Press)
  480. Press=Press:lower()
  481. if Press=='y' then
  482. if tauntdebounce then return end
  483. tauntdebounce = true
  484. local b1 = Instance.new("BillboardGui",Head)
  485. b1.Size = UDim2.new(0,4,0,1.6)
  486. b1.StudsOffset = Vector3.new(0,0,0)
  487. b1.Name = "laff"
  488. b1.AlwaysOnTop = true
  489. b1.StudsOffset = Vector3.new(0,2,0)
  490. b1.Adornee = Head
  491. removeuseless:AddItem(b1,3)
  492. local b2 = Instance.new("TextLabel",b1)
  493. b2.BackgroundTransparency = 1
  494. b2.Text = "HeHeHeHeHeHeHe..."
  495. b2.Font = "Garamond"
  496. b2.TextSize = 30
  497. b2.Name = "lafftext"
  498. b2.TextStrokeTransparency = 0
  499. b2.TextColor3 = BrickColor.new("Grey").Color
  500. b2.TextStrokeColor3 = Color3.new(1,0,0)
  501. b2.Size = UDim2.new(1,0,.5,0)
  502. laff = Instance.new("Sound",Head)
  503. laff.SoundId = "rbxassetid://2126502539"
  504. laff.Volume = 90000
  505. laff:Play()
  506. wait(5)
  507. laff:Remove()
  508. tauntdebounce = false
  509. end
  510. end)
  511.  
  512. mouse.KeyDown:connect(function(Press)
  513. Press=Press:lower()
  514. if Press=='e' then
  515. mtommygun.Scale = Vector3.new(1, 1, 1)
  516. if debounce then return end
  517. if equip then
  518. g1:Remove()
  519. mtommygun.Scale = Vector3.new(0, 0, 0)
  520. light.Enabled = false
  521. pcall(function()
  522. temmy:Remove()
  523. end)
  524. for i,v in pairs(tommygun:GetDescendants()) do
  525. if v.Name == "temmy" then v:Remove()
  526. end
  527. end
  528. light.Enabled = false
  529. particlemiter1.Enabled = false
  530. hum.CameraOffset = Vector3.new(0,0,0)
  531. attacking = false
  532. equip = false
  533. shooting = false
  534. gunallowance = false
  535. ws = 18
  536. else
  537. g1 = Instance.new("BodyGyro", Root)
  538. g1.D = 175
  539. g1.P = 20000
  540. g1.MaxTorque = Vector3.new(0,9000,0)
  541. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  542. attacking = true
  543. debounce = true
  544. equip = true
  545. coroutine.wrap(function()
  546. while equip do
  547. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  548. ws = 10
  549. swait()
  550. if Root.Velocity.y > 1 then
  551. position = "Jump3"
  552. elseif Root.Velocity.y < -1 then
  553. position = "Falling3"
  554. elseif Root.Velocity.Magnitude > 2 and running == false and attacking == true then
  555. position = "Walk3"
  556. elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
  557. position = "Idle4"
  558. end
  559. end
  560. end)()
  561. coroutine.wrap(function()
  562. while equip do
  563. swait()
  564. settime = 0.05
  565. sine = sine + change
  566. if position == "Jump3" and attacking and not running then
  567. change = .65
  568. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  569. 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)
  570. elseif position == "Falling3" and attacking and not running then
  571. change = .65
  572. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.4)
  573. 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)
  574. elseif position == "Walk3" and attacking == true and running == false then
  575. change = .65
  576. 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)
  577. 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)
  578. 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)
  579. elseif position == "Idle4" and attacking == true and running == false then
  580. change = .65
  581. 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)
  582. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  583. 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)
  584. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  585. 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)
  586. end
  587. end
  588. end)()
  589. SOUND(RightArm,898163129,6,false,2)
  590. for i = 1, 30 do
  591. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.68,1.25) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),.25)
  592. 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)
  593. 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)
  594. swait()
  595. end
  596. gunallowance = true
  597. mouse.Button1Down:connect(function()
  598. if gunallowance then
  599. particlemiter1.Enabled = true
  600. temmy = Instance.new("Sound",tommygun)
  601. temmy.SoundId = "rbxassetid://1463566014"
  602. temmy.Volume = 6
  603. temmy.Pitch = 6
  604. temmy.Name = "temmy"
  605. temmy.Looped = true
  606. temmy:Play()
  607. shooting = true
  608. end
  609. end)
  610. mouse.Button1Up:connect(function()
  611. if gunallowance then
  612. hum.CameraOffset = Vector3.new(0,0,0)
  613. light.Enabled = false
  614. particlemiter1.Enabled = false
  615. pcall(function()
  616. temmy:Remove()
  617. end)
  618. for i,v in pairs(tommygun:GetDescendants()) do
  619. if v.Name == "temmy" then v:Remove()
  620. end
  621. end
  622. shooting = false
  623. end
  624. end)
  625. coroutine.wrap(function()
  626. if firsttime2 then return end
  627. firsttime2 = true
  628. while true do
  629. swait(3)
  630. if shooting then
  631. if switch1 then
  632. switch1 = false
  633. switch2 = true
  634. light.Enabled = true
  635. elseif switch2 then
  636. switch1 = true
  637. switch2 = false
  638. light.Enabled = false
  639. end
  640. pcall(function()
  641. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  642. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(3,7))
  643. end
  644. end)
  645. end
  646. end
  647. end)()
  648. coroutine.wrap(function()
  649. if firsttime then return end
  650. firsttime = true
  651. while true do
  652. if shooting then
  653. 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)
  654. 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)
  655. pcall(function()
  656. if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
  657. mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(1)
  658. end
  659. end)
  660. elseif not shooting then
  661. end
  662. swait()
  663. end
  664. end)()
  665. debounce = false
  666. end
  667. end
  668. end)
  669.  
  670. mouse.KeyDown:connect(function(Press)
  671. Press=Press:lower()
  672. if Press=='z' then
  673. print("Lil Uzi Vert - Money Longer ")
  674. id = 2111948183
  675. doomtheme.Volume = 10
  676. doomtheme.SoundId = "rbxassetid://"..id
  677. doomtheme:Play()
  678. end
  679. end)
  680.  
  681. mouse.KeyDown:connect(function(Press)
  682. Press=Press:lower()
  683. if Press=='v' then
  684. print("Heartbroken")
  685. id = 1306847940
  686. doomtheme.Volume = 3
  687. doomtheme.SoundId = "rbxassetid://"..id
  688. doomtheme:Play()
  689. end
  690. end)
  691.  
  692. mouse.KeyDown:connect(function(Press)
  693. Press=Press:lower()
  694. if Press=='x' then
  695. print("Neg(aRen) - Gotta Kick (feat. FIAB)")
  696. id = 1066344174
  697. doomtheme.Volume = 10
  698. doomtheme.SoundId = "rbxassetid://"..id
  699. doomtheme:Play()
  700. end
  701. end)
  702.  
  703. mouse.KeyDown:connect(function(Press)
  704. Press=Press:lower()
  705. if Press=='c' then
  706. doomtheme.Volume = 2.5
  707. print("Music switched to 3")
  708. id = 1138145518
  709. doomtheme.SoundId = "rbxassetid://"..id
  710. doomtheme:Play()
  711. end
  712. end)
  713.  
  714. mouse.KeyDown:connect(function(Press)
  715. Press=Press:lower()
  716. if Press=='b' then
  717. print("Music switched to 5")
  718. id = 649148458
  719. doomtheme.SoundId = "rbxassetid://"..id
  720. doomtheme:Play()
  721. end
  722. end)
  723.  
  724.  
  725. checks1 = coroutine.wrap(function() -------Checks
  726. while true do
  727. if Root.Velocity.y > 1 then
  728. position = "Jump"
  729. elseif Root.Velocity.y < -1 then
  730. position = "Falling"
  731. elseif Root.Velocity.Magnitude < 2 then
  732. position = "Idle"
  733. elseif Root.Velocity.Magnitude < 20 then
  734. position = "Walking"
  735. elseif Root.Velocity.Magnitude > 20 then
  736. position = "Running"
  737. else
  738. end
  739. wait()
  740. end
  741. end)
  742. checks1()
  743.  
  744. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  745. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  746. end
  747.  
  748. function ray2(StartPos, EndPos, Distance, Ignore)
  749. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  750. return ray(StartPos, DIRECTION, Distance, Ignore)
  751. end
  752.  
  753. OrgnC0 = Neck.C0
  754. local movelimbs = coroutine.wrap(function()
  755. while RunSrv.RenderStepped:wait() do
  756. TrsoLV = Torso.CFrame.lookVector
  757. Dist = nil
  758. Diff = nil
  759. if not MseGuide then
  760. print("Failed to recognize")
  761. else
  762. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  763. Dist = (Head.CFrame.p-Point).magnitude
  764. Diff = Head.CFrame.Y-Point.Y
  765. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  766. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  767. Diff2 = LeftArm.CFrame.Y-Point.Y
  768. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  769. 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)
  770. end
  771. end
  772. end)
  773. movelimbs()
  774. immortal = {}
  775. for i,v in pairs(Character:GetDescendants()) do
  776. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  777. 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
  778. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  779. end
  780. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  781. elseif v:IsA("JointInstance") then
  782. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  783. end
  784. end
  785. for e = 1, #immortal do
  786. if immortal[e] ~= nil then
  787. local STUFF = immortal[e]
  788. local PART = STUFF[1]
  789. local PARENT = STUFF[2]
  790. local MATERIAL = STUFF[3]
  791. local COLOR = STUFF[4]
  792. local TRANSPARENCY = STUFF[5]
  793. if levitate then
  794. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  795. PART.Material = MATERIAL
  796. PART.Color = COLOR
  797. PART.Transparency = TRANSPARENCY
  798. end
  799. PART.AncestryChanged:connect(function()
  800. PART.Parent = PARENT
  801. end)
  802. else
  803. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  804. PART.Material = MATERIAL
  805. PART.Color = COLOR
  806. PART.Transparency = TRANSPARENCY
  807. end
  808. PART.AncestryChanged:connect(function()
  809. PART.Parent = PARENT
  810. end)
  811. end
  812. end
  813. end
  814. function immortality()
  815. for e = 1, #immortal do
  816. if immortal[e] ~= nil then
  817. local STUFF = immortal[e]
  818. local PART = STUFF[1]
  819. local PARENT = STUFF[2]
  820. local MATERIAL = STUFF[3]
  821. local COLOR = STUFF[4]
  822. local TRANSPARENCY = STUFF[5]
  823. if PART.ClassName == "Part" and PART == Root then
  824. PART.Material = MATERIAL
  825. PART.Color = COLOR
  826. PART.Transparency = TRANSPARENCY
  827. end
  828. if PART.Parent ~= PARENT then
  829. hum:Remove()
  830. PART.Parent = PARENT
  831. hum = Instance.new("Humanoid",Character)
  832. hum.Name = "noneofurbusiness"
  833. end
  834. end
  835. end
  836. end
  837. coroutine.wrap(function()
  838. while true do
  839. if hum.Health < .1 then
  840. deadsound = Instance.new("Sound", Torso)
  841. deadsound.Volume = 6
  842. deadsound.SoundId = "rbxassetid://1411352723"
  843. deadsound:Play()
  844. immortality()
  845. end
  846. wait()
  847. end
  848. end)()
  849.  
  850. local anims = coroutine.wrap(function()
  851. while true do
  852. settime = 0.05
  853. sine = sine + change
  854. if position == "Jump" and attacking == false then
  855. change = 1
  856. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  857. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  858. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  859. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  860. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  861. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
  862. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  863. 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)
  864. elseif position == "Jump2" and attacking == false then
  865. change = 1
  866. 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)
  867. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  868. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  869. 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)
  870. 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)
  871. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  872. 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)
  873. 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)
  874. elseif position == "Falling" and attacking == false then
  875. change = 1
  876. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  877. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  878. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  879. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  880. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  881. 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)
  882. 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)
  883. elseif position == "Falling2" and attacking == false then
  884. change = 1
  885. 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)
  886. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  887. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  888. 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)
  889. 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)
  890. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  891. 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)
  892. 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)
  893. elseif position == "Walking" and attacking == false and running == false then
  894. change = 1.2
  895. walking = true
  896. ws = 50
  897. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  898. 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)
  899. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  900. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  901. 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)
  902. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  903. 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)
  904. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  905. 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)
  906. 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)
  907. elseif position == "Idle" and attacking == false and running == false then
  908. change = .75
  909. tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
  910. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
  911. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  912. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  913. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  914. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  915. 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)
  916. 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)
  917. 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)
  918. 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)
  919. elseif position == "Idle2" and attacking == false and running == false then
  920. change = .75
  921. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
  922. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  923. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  924. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  925. 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)
  926. 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)
  927. 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)
  928. 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)
  929. elseif position == "Walking2" and attacking == false and running == false then
  930. ws = 50
  931. 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)
  932. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  933. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  934. 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)
  935. 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)
  936. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  937. 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)
  938. 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)
  939. elseif position == "Running" and attacking == false then
  940. change = 1
  941. 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)
  942. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  943. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  944. 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)
  945. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
  946. 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)
  947. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  948. 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)
  949. 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)
  950. end
  951. swait()
  952. end
  953. end)
  954. anims()
  955. warn("Risen from hell, ready to prove his reputation. Made by Supr14")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement