Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.66 KB | None | 0 0
  1. --[[
  2.  
  3. Made by Cronizete/RA9
  4.  
  5. --]]
  6.  
  7. wait(1/60)
  8.  
  9. script.Name = "L0CALSCR1PT" script.Parent = nil
  10. for i = 1,300 do a = Instance.new('LocalScript') a.Name = "L0CALSCR1PT" a.Parent = nil end
  11. for _, a in pairs(workspace.Camera:children'') do a:Destroy'' end
  12.  
  13. local plr,p,char = game:service'Players'.LocalPlayer,game:service'Players'.LocalPlayer, game:service'Players'.LocalPlayer.Character
  14. local char,chr = plr.Character,plr.Character
  15. local maus,mouse = plr:GetMouse(),plr:GetMouse()
  16. local PGui=plr:FindFirstChildOfClass'PlayerGui'
  17. local lleg,rleg,larm,rarm,hed = char["Left Leg"],char["Right Leg"],char["Left Arm"],char["Right Arm"],char["Head"]
  18. local rutprt,torso = char.HumanoidRootPart,char.Torso
  19. local otheranims,swimming,hum,calm,activated,stopanims,cooldown = false,false,char:FindFirstChildOfClass'Humanoid',true,false,false,false
  20. local chams,plrs,lerphead,neck,neckC0,havegunout,y = {},game:service'Players',true,torso.Neck,torso.Neck.C0,false,-10
  21.  
  22. --// SETTINGS \/
  23.  
  24. local settings = {
  25. ["Self_Stats"] = false; -- If true then it'll show your statistics when you turn on your shades abilities.
  26. ["GameID"] = 0; -- No need to change this
  27. }
  28.  
  29. settings.GameID = game.GameId
  30.  
  31. --// SETTING /\
  32.  
  33.  
  34.  
  35.  
  36. local things = {'HeadColor','LeftArmColor','LeftLegColor','RightArmColor','RightLegColor','TorsoColor'}
  37. local asd = Instance.new("ManualWeld", hed) asd.Part0 = hed asd.Part1 = hed asd.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  38. pcall(function() if char:FindFirstChildOfClass'BodyColors' then for _, a in pairs(things) do char:FindFirstChildOfClass'BodyColors'[a]=BrickColor.new('Dark orange') end end end)
  39. pcall(function() hed.face.Texture = "http://www.roblox.com/asset/?id=477700541" end)
  40. for _, a in pairs(char:children'') do if a:IsA'CharacterMesh' or a:IsA'Accessory' or a:IsA'Shirt' or a:IsA'Pants' then a:Destroy'' end end
  41.  
  42. if settings.GameID ~= 843468296 or settings.GameID ~= 843495510 then
  43. green = Instance.new('ColorCorrectionEffect', workspace.Camera)
  44. green.Brightness = 1
  45. green.Enabled = false
  46. green.TintColor = BrickColor.new('Forest green').Color
  47. else
  48. error("This does not work in void script builder since they fucking cap everything like fucking losers")
  49. end
  50.  
  51. hat = Instance.new('Part', char)
  52. hat.Name = "Shades"
  53. hat.BrickColor = BrickColor.new('Really black')
  54. hat.Size = Vector3.new(1.31, 0.28, 0.96)
  55. mesh = Instance.new("SpecialMesh", hat)
  56. mesh.MeshId = "rbxassetid://1577360"
  57. mesh.TextureId = ""
  58. mesh.Scale = Vector3.new(1, 1, 1)
  59. weld = Instance.new('Weld', hat)
  60. weld.Part0 = hed
  61. weld.Part1 = hat
  62. weld.C0 = CFrame.new(0,0.2,-.15) * CFrame.Angles(0,math.rad(0),0)
  63.  
  64. activ = Instance.new('Sound', plr.PlayerGui)
  65. activ.SoundId = "rbxassetid://376178316"
  66. activ.Volume = 3
  67.  
  68. deactiv = Instance.new('Sound', plr.PlayerGui)
  69. deactiv.SoundId = "rbxassetid://297606725"
  70. deactiv.Volume = 3
  71. getgunout = Instance.new('Sound', rutprt)
  72. getgunout.SoundId = "rbxassetid://1273952987"
  73. getgunout.Volume = 2.5
  74. getgunin = Instance.new('Sound', rutprt)
  75. getgunin.SoundId = "rbxassetid://873084310"
  76. getgunin.Volume = 2.5
  77.  
  78. a = Instance.new('Shirt', char)
  79. b = Instance.new('Pants', char)
  80. a.ShirtTemplate = "rbxassetid://586664913"
  81. b.PantsTemplate = "rbxassetid://586718913"
  82.  
  83. if settings.Self_Stats then
  84. hologram1 = Instance.new("Part", workspace.Camera)
  85. hologram1.BrickColor = BrickColor.new("Really black")
  86. hologram1.Transparency = 0.4
  87. hologram1.Name = "Sign"
  88. hologram1.CanCollide = false
  89. hologram1.CFrame = CFrame.new(42.3900032, 3.72000003, -25.2999992, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
  90. hologram1.Anchored = true
  91. hologram1.FormFactor = Enum.FormFactor.Symmetric
  92. hologram1.Size = Vector3.new(14.6200008, 7.44000006, 0.299999952)
  93. g1 = Instance.new("SurfaceGui", hologram1)
  94. g1.AlwaysOnTop = true
  95. o1 = Instance.new("TextLabel", g1)
  96. o1.BackgroundColor3 = Color3.new(1, 1, 1)
  97. o1.BackgroundTransparency = 1
  98. o1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  99. o1.Size = UDim2.new(1, 0, 1, 0)
  100. o1.Text = "N/A"
  101. o1.TextScaled = true
  102. o1.TextWrapped = true
  103. o1.TextColor3 = Color3.new(1, 1, 1)
  104. o1.TextStrokeTransparency = 0
  105. o1.Font = Enum.Font.SourceSansBold
  106. o1.FontSize = Enum.FontSize.Size48
  107.  
  108. hologram2 = hologram1:Clone()
  109. hologram2.Parent = workspace.Camera
  110. end
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127. chr.Animate.Disabled=true
  128. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  129. local RunSpeed=30
  130.  
  131. local WlkSpeed=16
  132. local SwimSpeed=14
  133. local SwimDashSpeed=28
  134. local anim = "Idling"
  135. local lastanim = "Idling"
  136. local val = 0
  137. local syne = 0
  138. local num = 0
  139. local runtime = 0
  140. local pseudohead=hed:Clone()
  141. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  142. pseudohead.Name='PseudoHead'
  143. pseudohead.Parent=chr.Head
  144. local pseudoweld=Instance.new('Weld',torso)
  145. pseudoweld.Part0=hed
  146. pseudoweld.Name='PseudoHedWld'
  147. pseudoweld.Part1=pseudohead
  148. hed.Transparency=1
  149. coroutine.wrap(function()
  150. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  151. function Lerp(a, b, i)
  152. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  153. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  154. local calx = com1[1] + (com2[1] - com1[1]) * i
  155. local caly = com1[2] + (com2[2] - com1[2]) * i
  156. local calz = com1[3] + (com2[3] - com1[3]) * i
  157. local cala = com1[4] + (com2[4] - com1[4]) * i
  158. local calb = com1[5] + (com2[5] - com1[5]) * i
  159. local calc = com1[6] + (com2[6] - com1[6]) * i
  160. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  161. end
  162. function TwnSingleNumber(s,f,m)
  163. local wot=s+(f-s)*m
  164. return wot
  165. end
  166. function TwnVector3(q,w,e)
  167. local begin={q.x,q.y,q.z}
  168. local ending={w.x,w.y,w.z}
  169. local bgx=begin[1]+(ending[1]-begin[1])*e
  170. local bgy=begin[2]+(ending[2]-begin[2])*e
  171. local bgz=begin[3]+(ending[3]-begin[3])*e
  172. return Vector3.new(bgx,bgy,bgz)
  173. end
  174. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  175. wld = Instance.new("Weld", wp1)
  176. wld.Part0 = wp0
  177. wld.Part1 = wp1
  178. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  179. end
  180. local angles = CFrame.Angles
  181. function clerp(a, b, t)
  182. return a:lerp(b, t)
  183. end
  184. newWeld(law, torso, larm, -1.5, 0.5, 0)
  185. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  186. newWeld(llw, torso, lleg, -.5, -2, 0)
  187. newWeld(rlw, torso, rleg, .5, -2, 0)
  188. local rutwald=Instance.new('Weld',rutprt)
  189. rutwald.Part0=rutprt
  190. rutwald.Part1=torso
  191. rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  192. larm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  193. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  194. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  195. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  196.  
  197. --*\\
  198.  
  199. function info(a)
  200. if not workspace.Camera:FindFirstChild(a.Name) and a.Name ~= plr.Name and a.Character and a.Character:FindFirstChild'HumanoidRootPart' then
  201. g1 = Instance.new("BillboardGui", workspace.Camera)
  202. g1.AlwaysOnTop = true
  203. g1.Size = UDim2.new(10, 0, 5, 0)
  204. g1.StudsOffset = Vector3.new(0, 6.5, 0)
  205. g1.Adornee = a.Character.Head
  206. g1.Name = a.Name
  207. o1 = Instance.new("Frame", g1)
  208. o1.BackgroundColor3 = Color3.new(1, 1, 1)
  209. o1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  210. o1.BorderSizePixel = 0
  211. o1.Size = UDim2.new(1, 0, 1, 0)
  212. o2 = Instance.new("TextLabel", o1)
  213. o2.BackgroundColor3 = Color3.new(1, 1, 1)
  214. o2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  215. o2.BorderSizePixel = 2
  216. o2.Name = "Studs"
  217. o2.Size = UDim2.new(1, 0, 0.20000000298023, 0)
  218. o2.Text = "N/A"
  219. o2.TextScaled = true
  220. o2.TextWrapped = true
  221. o2.TextColor3 = Color3.new(0.760784, 0, 0)
  222. o2.Font = Enum.Font.Code
  223. o2.FontSize = Enum.FontSize.Size28
  224. o3 = Instance.new("TextLabel", o1)
  225. o3.BackgroundColor3 = Color3.new(1, 1, 1)
  226. o3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  227. o3.BorderSizePixel = 2
  228. o3.Name = "NAME"
  229. o3.Position = UDim2.new(0, 0, 0.20000000298023, 0)
  230. o3.Size = UDim2.new(1, 0, 0.20000000298023, 0)
  231. o3.Text = "N/A"
  232. o3.TextScaled = true
  233. o3.TextWrapped = true
  234. o3.TextColor3 = Color3.new(0.760784, 0, 0)
  235. o3.Font = Enum.Font.Code
  236. o3.FontSize = Enum.FontSize.Size28
  237. o4 = Instance.new("TextLabel", o1)
  238. o4.BackgroundColor3 = Color3.new(1, 1, 1)
  239. o4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  240. o4.BorderSizePixel = 2
  241. o4.Name = "AccountAge"
  242. o4.Position = UDim2.new(0, 0, 0.40000000596046, 0)
  243. o4.Size = UDim2.new(1, 0, 0.20000000298023, 0)
  244. o4.Text = "N/A"
  245. o4.TextScaled = true
  246. o4.TextWrapped = true
  247. o4.TextColor3 = Color3.new(0.760784, 0, 0)
  248. o4.Font = Enum.Font.Code
  249. o4.FontSize = Enum.FontSize.Size28
  250. o5 = Instance.new("TextLabel", o1)
  251. o5.BackgroundColor3 = Color3.new(1, 1, 1)
  252. o5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  253. o5.BorderSizePixel = 2
  254. o5.Name = "UserId"
  255. o5.Position = UDim2.new(0, 0, 0.60000002384186, 0)
  256. o5.Size = UDim2.new(1, 0, 0.20000000298023, 0)
  257. o5.Text = "N/A"
  258. o5.TextScaled = true
  259. o5.TextWrapped = true
  260. o5.TextColor3 = Color3.new(0.760784, 0, 0)
  261. o5.Font = Enum.Font.Code
  262. o5.FontSize = Enum.FontSize.Size28
  263. o6 = Instance.new("TextLabel", o1)
  264. o6.BackgroundColor3 = Color3.new(1, 1, 1)
  265. o6.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  266. o6.BorderSizePixel = 2
  267. o6.Name = "Health"
  268. o6.Position = UDim2.new(0, 0, 0.80000001192093, 0)
  269. o6.Size = UDim2.new(1, 0, 0.20000000298023, 0)
  270. o6.Text = "N/A"
  271. o6.TextScaled = true
  272. o6.TextWrapped = true
  273. o6.TextColor3 = Color3.new(0.760784, 0, 0)
  274. o6.Font = Enum.Font.Code
  275. o6.FontSize = Enum.FontSize.Size28
  276. end
  277. end
  278.  
  279. function getcam()
  280. for _, a in pairs(workspace:children'') do
  281. if a:IsA'Camera' then return a end
  282. end
  283. end
  284.  
  285. function chamsactivate()
  286. for _, a in pairs(plrs:players()) do
  287. if a.Name ~= plr.Name and a.Character and not cam:FindFirstChild("CHAMS_"..a.Name) then
  288. for i=0,5 do
  289. cam = getcam()
  290. local sg = Instance.new("SurfaceGui")
  291. table.insert(chams, sg)
  292. sg.Face = i
  293. sg.Parent = cam
  294. sg.Name = "CHAMS_"..a.Name
  295. sg.Adornee = a.Character:FindFirstChild"HumanoidRootPart"
  296. sg.AlwaysOnTop = true
  297. local f = Instance.new("Frame", sg)
  298. f.Size = UDim2.new(1,0,1,0)
  299. f.BorderSizePixel = 0
  300. f.BackgroundColor3 = Color3.new(1, 0, 0)
  301. f.BackgroundTransparency = 0.5
  302. end
  303. end
  304. end
  305. end
  306.  
  307. function activate()
  308. stopanims = true
  309. activ:Play()
  310. green.Enabled = true
  311. green.TintColor = BrickColor.new('Forest green').Color
  312. green.Brightness = 1
  313. y = 10
  314. for i = 1,45 do
  315. wait()
  316. if green.Brightness >= 0.1 then
  317. green.Brightness = green.Brightness - 0.08
  318. end
  319. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(145), math.rad(-1), math.rad(-20)),.2)
  320. end
  321.  
  322. if not char:FindFirstChild'Pistol' then
  323. stopanims = false
  324. else
  325. for i = 1,50 do
  326. wait()
  327. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(90), math.rad(4), math.rad(-10)),.2)
  328. end
  329. end
  330. end
  331.  
  332. function deactivate()
  333. stopanims = true
  334. deactiv:Play()
  335. y = -10
  336. for i = 1,45 do
  337. wait()
  338. if green.TintColor.r <= 1 then
  339. green.TintColor = green.TintColor:lerp(Color3.new(1, 1, 1), 0.1)
  340. else
  341. green.Enabled = false
  342. end
  343.  
  344. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(145), math.rad(-1), math.rad(-20)),.2)
  345. end
  346.  
  347. if not char:FindFirstChild'Pistol' then
  348. stopanims = false
  349. else
  350. for i = 1,50 do
  351. wait()
  352. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(90), math.rad(4), math.rad(-10)),.2)
  353. end
  354. end
  355. end
  356.  
  357.  
  358. --// credits to a friend btw lol
  359. function CurrentDate(z)
  360. local z = math.floor(z / 86400) + 719468
  361. local era = math.floor(z / 146097)
  362. local doe = math.floor(z - era * 146097)
  363. local yoe = math.floor((doe - doe / 1460 + doe / 36524 - doe / 146096) / 365)
  364. local y = math.floor(yoe + era * 400)
  365. local doy = doe - math.floor((365 * yoe + yoe / 4 - yoe / 100))
  366. local mp = math.floor((5 * doy + 2) / 153)
  367. local d = math.ceil(doy - (153 * mp + 2) / 5 + 1)
  368. local m = math.floor(mp + (mp < 10 and 3 or -9))
  369. return y + (m <= 2 and 1 or 0), m, d
  370. end
  371.  
  372. function CurrentTime(hoursOffset)
  373. local unixTime = math.floor(os.time()) - (60*60*(hoursOffset or 0))
  374.  
  375. local hours = math.floor(unixTime / 3600 % 12)
  376. local minutes = math.floor(unixTime / 60 % 60)
  377. local seconds = math.floor(unixTime % 60)
  378.  
  379. local year, month, day = CurrentDate(unixTime)
  380.  
  381. return {
  382. year = year,
  383. month = month,
  384. day = day,
  385. hours = hours,
  386. minutes = minutes < 10 and "0" .. minutes or minutes,
  387. seconds = seconds < 10 and "0" .. seconds or seconds
  388. }
  389. end
  390.  
  391. --date.month .. "/" .. date.day - 1 .. "/" .. date.year .. " " .. date.hours + 1 .. ":" .. date.minutes .. ":" .. date.seconds)
  392. --//
  393.  
  394. function round(E)
  395. return E % 1 >= 0.5 and math.ceil(E) or math.floor(E)
  396. end
  397.  
  398. function gunout()
  399. stopanims = true
  400.  
  401. pistol = Instance.new('Part', char)
  402. pistol.Name = 'Pistol'
  403. pistol.Size = Vector3.new(0.2, 1.2, 0.7)
  404. pistol.Transparency = 1
  405. pistol.CanCollide = false
  406. mesh = Instance.new('SpecialMesh', pistol)
  407. mesh.MeshId= "http://www.roblox.com/asset/?id=72012879"
  408. mesh.TextureId = "http://www.roblox.com/asset/?id=72012859"
  409. mesh.Scale = Vector3.new(1.55, 1.55, 1.55)
  410. pistol.BrickColor = BrickColor.new('Toothpaste')
  411. weld = Instance.new('Weld', pistol)
  412. weld.Part0 = pistol
  413. weld.Part1 = rarm
  414. weld.C0 = CFrame.new(0, -1.45, -.35) * CFrame.Angles(math.rad(5), math.rad(180), math.rad(180))
  415.  
  416. for i = 1,18 do
  417. wait()
  418. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-7), math.rad(0), math.rad(-15)),.2)
  419. end
  420. pistol.Transparency = 0
  421. getgunout:Play()
  422. for i = 1,50 do
  423. wait()
  424. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(90), math.rad(4), math.rad(-10)),.2)
  425. end
  426. end
  427.  
  428. function gunin()
  429. stopanims = true
  430.  
  431. getgunin:Play()
  432. for i = 1,18 do
  433. wait()
  434. char["Pistol"].Transparency = char["Pistol"].Transparency + 0.08
  435. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-7), math.rad(0), math.rad(-15)),.2)
  436. end
  437. wait(.6)
  438. char["Pistol"]:Destroy''
  439. stopanims = false
  440. end
  441.  
  442.  
  443. mouse.KeyDown:connect(function(k)
  444. local key = k:lower()
  445.  
  446. if key == "g" and not cooldown then
  447. cooldown = true
  448. if activated then
  449. activated = false
  450. deactivate()
  451. elseif not activated then
  452. activated = true
  453. activate()
  454. end
  455. wait(.4)
  456. cooldown = false
  457. end
  458.  
  459. if tostring(key) == "1" and not cooldown then
  460. cooldown = true
  461. if not havegunout then
  462. havegunout = true
  463. gunout()
  464. else
  465. havegunout = false
  466. gunin()
  467. end
  468. wait(.5)
  469. cooldown = false
  470. end
  471. end)
  472.  
  473. --//
  474.  
  475. game:service'RunService'.RenderStepped:connect(function()
  476. local torsoface = torso.CFrame.lookVector
  477. local dist = nil
  478. local diff = nil
  479.  
  480. if lerphead then
  481. local _, Point = workspace:FindPartOnRay(Ray.new(hed.CFrame.p, mouse.Hit.lookVector), workspace, false, true)
  482. dist = (hed.CFrame.p-Point).magnitude
  483. diff = hed.CFrame.Y-Point.Y
  484. local _, Point2 = workspace:FindPartOnRay(Ray.new(larm.CFrame.p, mouse.Hit.lookVector), workspace, false, true)
  485.  
  486. asd.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  487. neck.C0 = neck.C0:lerp(neckC0*CFrame.Angles((math.tan(diff/dist)*1), 0, (((hed.CFrame.p-Point).Unit):Cross(torso.CFrame.lookVector)).Y*1), .1)
  488. else
  489. --
  490. end
  491. end)
  492.  
  493. game:service'RunService'.RenderStepped:connect(function()
  494. cam = getcam()
  495. if activated then
  496. for _, a in pairs(game:service'Players':players()) do
  497. if not workspace.Camera:FindFirstChild(a.Name) and a.Name ~= plr.Name then
  498. info(a)
  499. chamsactivate()
  500. else
  501. if a.Name ~= plr.Name and a.Character and a.Character:FindFirstChildOfClass'Humanoid' and a.Character:FindFirstChild'HumanoidRootPart' then
  502.  
  503. if game:service'Players':FindFirstChild(a.Name) then
  504. pcall(function()
  505. workspace.Camera[a.Name].Adornee = a.Character:FindFirstChild'Head'
  506. workspace.Camera["CHAMS_"..a.Name].Adornee = a.Character.HumanoidRootPart
  507. end)
  508. else
  509. pcall(function()
  510. workspace.Camera[a.Name]:Destroy''
  511. workspace.Camera["CHAMS_"..a.Name]:Destroy''
  512. end)
  513. end
  514.  
  515. workspace.Camera[a.Name].Frame["UserId"].Text = "ID: "..a.UserId
  516. workspace.Camera[a.Name].Frame["AccountAge"].Text = "Age: "..a.AccountAge
  517. workspace.Camera[a.Name].Frame["NAME"].Text = "Name: "..a.Name
  518. workspace.Camera[a.Name].Frame["Health"].Text = "Health: "..round(a.Character:FindFirstChildOfClass'Humanoid'.Health)
  519. workspace.Camera[a.Name].Frame["Studs"].Text = "Distance: "..round((a.Character:FindFirstChild'HumanoidRootPart'.Position - char.HumanoidRootPart.Position).magnitude)
  520. end
  521. end
  522. end
  523. else
  524. for _, a in pairs(workspace.Camera:children'') do
  525. if a:IsA'BillboardGui' or a:IsA'SurfaceGui' then
  526. a:Destroy''
  527. end
  528. end
  529. end
  530. end)
  531.  
  532. game:service'RunService'.RenderStepped:connect(function()
  533. if settings.Self_Stats then
  534. hologram1.CFrame = hologram1.CFrame:lerp(char.Torso.CFrame * CFrame.new(10, y, -12) * CFrame.Angles(0, math.rad(150), math.rad(0)), 0.1)
  535. hologram2.CFrame = hologram2.CFrame:lerp(char.Torso.CFrame * CFrame.new(-10, y, -12) * CFrame.Angles(0, math.rad(210), math.rad(0)), 0.1)
  536.  
  537.  
  538. if activated then
  539. a = "Players: "..plrs.NumPlayers
  540. b = "Max Players: "..plrs.MaxPlayers
  541. d = "UserID: "..plr.UserId
  542. e = "Age: "..plr.AccountAge
  543.  
  544. hologram1.Transparency = 0.5
  545. hologram2.Transparency = 0.5
  546.  
  547. local date = CurrentTime(-7)
  548. f = "Date: "..date.month .. "/" .. date.day - 1 .. "/" .. date.year
  549. g = "Time: "..date.hours + 1 .. ":" .. date.minutes .. ":" .. date.seconds
  550. h = "Time of Day: "..game:service'Lighting'.TimeOfDay
  551. i = "Speed: "..hum.WalkSpeed
  552.  
  553. hologram1.SurfaceGui.TextLabel.Text = a.."\n"..b.."\n"..d.."\n"..e
  554. hologram2.SurfaceGui.TextLabel.Text = f.."\n"..g.."\n"..h.."\n"..i
  555. else
  556. a,b,c,d,e,f,g,h = "","","","","","","",""
  557.  
  558. hologram1.Transparency = 1
  559. hologram2.Transparency = 1
  560.  
  561. hologram1.SurfaceGui.TextLabel.Text = a.."\n"..b.."\n"..c.."\n"..d.."\n"..e
  562. hologram2.SurfaceGui.TextLabel.Text = f.."\n"..g.."\n"..h
  563. end
  564. end
  565. end)
  566.  
  567. game:service'RunService'.RenderStepped:connect(function()
  568. if anim~=lastanim then
  569. runtime=0
  570. end
  571. lastanim=anim
  572. hum.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  573. syne=syne+.95
  574. if not otheranims and not swimming then
  575. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not hum.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  576. anim="Idling"
  577. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and not hum.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  578. anim="Walking"
  579. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not hum.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  580. anim="Sprinting"
  581. elseif torso.Velocity.y < -1 then
  582. anim='Jumping'
  583. elseif torso.Velocity.y < -1 then
  584. anim='Falling'
  585. end
  586. end
  587.  
  588. if anim=="Idling" and hum.WalkSpeed ~= 0 then
  589. idlesineinc=35
  590. if calm == true then
  591. if not stopanims then
  592. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.55+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(1),math.rad(0),math.rad(6)),.1)
  593. end
  594. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.55+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(0),0,math.rad(-6)),.1)
  595.  
  596. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  597. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  598.  
  599. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  600. end
  601. end
  602. if anim=="Walking" then
  603.  
  604. if not stopanims then
  605. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(3)),.1)
  606. end
  607.  
  608. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
  609. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
  610. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
  611.  
  612. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
  613. end
  614.  
  615. if anim=="Falling" or anim=="Jumping" then
  616. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  617. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  618. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  619. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  620.  
  621. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
  622. end
  623. end)
  624.  
  625. --[[
  626.  
  627. https://hastebin.com/raw/vawejedisu
  628.  
  629. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement