Advertisement
POPOP1LIN

ADMIN GUI

Feb 13th, 2022
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.88 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local TextButton = Instance.new("TextButton")
  8. local Frame = Instance.new("Frame")
  9. local TextLabel = Instance.new("TextLabel")
  10. local Fly = Instance.new("TextButton")
  11. local WalkSpeedYOUCANBEEXPELLED = Instance.new("TextButton")
  12. local ENoClip = Instance.new("TextButton")
  13. local SCP096 = Instance.new("TextButton")
  14. local Tpclick = Instance.new("TextButton")
  15.  
  16. --Properties:
  17.  
  18. ScreenGui.Parent = game.CoreGui
  19. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  20.  
  21. TextButton.Parent = ScreenGui
  22. TextButton.BackgroundColor3 = Color3.fromRGB(11, 1, 88)
  23. TextButton.BackgroundTransparency = 999999.000
  24. TextButton.BorderColor3 = Color3.fromRGB(255, 0, 4)
  25. TextButton.Position = UDim2.new(0.312802613, 0, 0.191919237, 0)
  26. TextButton.Size = UDim2.new(0, 68, 0, 1)
  27. TextButton.Font = Enum.Font.SourceSans
  28. TextButton.Text = ""
  29. TextButton.TextColor3 = Color3.fromRGB(255, 0, 0)
  30. TextButton.TextSize = 19.000
  31.  
  32. Frame.Parent = TextButton
  33. Frame.BackgroundColor3 = Color3.fromRGB(42, 42, 42)
  34. Frame.Position = UDim2.new(-3.7608695, 0, 4.46428537, 0)
  35. Frame.Size = UDim2.new(0, 165, 0, 262)
  36.  
  37. TextLabel.Parent = Frame
  38. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  39. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  40. TextLabel.Size = UDim2.new(0, 165, 0, 50)
  41. TextLabel.Font = Enum.Font.Oswald
  42. TextLabel.Text = "CREATED BY ROBLOX"
  43. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  44. TextLabel.TextSize = 28.000
  45.  
  46. Fly.Name = "Fly"
  47. Fly.Parent = Frame
  48. Fly.BackgroundColor3 = Color3.fromRGB(168, 0, 0)
  49. Fly.BorderColor3 = Color3.fromRGB(7, 23, 255)
  50. Fly.Position = UDim2.new(0, 0, 0.54580152, 0)
  51. Fly.Size = UDim2.new(0, 165, 0, 35)
  52. Fly.Font = Enum.Font.Oswald
  53. Fly.Text = " Fly [E]"
  54. Fly.TextColor3 = Color3.fromRGB(0, 0, 0)
  55. Fly.TextSize = 38.000
  56. Fly.MouseButton1Down:Connect(function()
  57. repeat wait()
  58. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Head") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  59. local mouse = game.Players.LocalPlayer:GetMouse()
  60. repeat wait() until mouse
  61. local plr = game.Players.LocalPlayer
  62. local torso = plr.Character.Head
  63. local flying = false
  64. local deb = true
  65. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  66. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  67. local maxspeed = 50
  68. local speed = 0
  69.  
  70. function Fly()
  71. local bg = Instance.new("BodyGyro", torso)
  72. bg.P = 9e4
  73. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  74. bg.cframe = torso.CFrame
  75. local bv = Instance.new("BodyVelocity", torso)
  76. bv.velocity = Vector3.new(0,0.1,0)
  77. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  78. repeat wait()
  79. plr.Character.Humanoid.PlatformStand = true
  80. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  81. speed = speed+.5+(speed/maxspeed)
  82. if speed > maxspeed then
  83. speed = maxspeed
  84. end
  85. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  86. speed = speed-1
  87. if speed < 0 then
  88. speed = 0
  89. end
  90. end
  91. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  92. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  93. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  94. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  95. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  96. else
  97. bv.velocity = Vector3.new(0,0.1,0)
  98. end
  99. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  100. until not flying
  101. ctrl = {f = 0, b = 0, l = 0, r = 0}
  102. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  103. speed = 0
  104. bg:Destroy()
  105. bv:Destroy()
  106. plr.Character.Humanoid.PlatformStand = false
  107. end
  108. mouse.KeyDown:connect(function(key)
  109. if key:lower() == "e" then
  110. if flying then flying = false
  111. else
  112. flying = true
  113. Fly()
  114. end
  115. elseif key:lower() == "w" then
  116. ctrl.f = 1
  117. elseif key:lower() == "s" then
  118. ctrl.b = -1
  119. elseif key:lower() == "a" then
  120. ctrl.l = -1
  121. elseif key:lower() == "d" then
  122. ctrl.r = 1
  123. end
  124. end)
  125. mouse.KeyUp:connect(function(key)
  126. if key:lower() == "w" then
  127. ctrl.f = 0
  128. elseif key:lower() == "s" then
  129. ctrl.b = 0
  130. elseif key:lower() == "a" then
  131. ctrl.l = 0
  132. elseif key:lower() == "d" then
  133. ctrl.r = 0
  134. end
  135. end)
  136. Fly()
  137. end)
  138.  
  139. WalkSpeedYOUCANBEEXPELLED.Name = "WalkSpeed YOU CAN BE EXPELLED"
  140. WalkSpeedYOUCANBEEXPELLED.Parent = Frame
  141. WalkSpeedYOUCANBEEXPELLED.BackgroundColor3 = Color3.fromRGB(168, 0, 0)
  142. WalkSpeedYOUCANBEEXPELLED.BorderColor3 = Color3.fromRGB(7, 23, 255)
  143. WalkSpeedYOUCANBEEXPELLED.Position = UDim2.new(0, 0, 0.706106901, 0)
  144. WalkSpeedYOUCANBEEXPELLED.Size = UDim2.new(0, 165, 0, 35)
  145. WalkSpeedYOUCANBEEXPELLED.Font = Enum.Font.Oswald
  146. WalkSpeedYOUCANBEEXPELLED.Text = "WalkSpeed"
  147. WalkSpeedYOUCANBEEXPELLED.TextColor3 = Color3.fromRGB(0, 0, 0)
  148. WalkSpeedYOUCANBEEXPELLED.TextSize = 38.000
  149. WalkSpeedYOUCANBEEXPELLED.MouseButton1Down:Connect(function()
  150. getgenv().WalkSpeedValue = 100; -- Cambia el 100 por el valor que quieras
  151. local Player = game:service'Players'.LocalPlayer;
  152. Player.Character.Humanoid:GetPropertyChangedSignal'WalkSpeed':Connect(function()
  153. Player.Character.Humanoid.WalkSpeed = getgenv().WalkSpeedValue;
  154. end)
  155. Player.Character.Humanoid.WalkSpeed = getgenv().WalkSpeedValue;
  156. end)
  157.  
  158. ENoClip.Name = "[E] NoClip"
  159. ENoClip.Parent = Frame
  160. ENoClip.BackgroundColor3 = Color3.fromRGB(168, 0, 0)
  161. ENoClip.BorderColor3 = Color3.fromRGB(7, 23, 255)
  162. ENoClip.Position = UDim2.new(0, 0, 0.866412222, 0)
  163. ENoClip.Size = UDim2.new(0, 165, 0, 35)
  164. ENoClip.Font = Enum.Font.Oswald
  165. ENoClip.Text = "[E] NoClip"
  166. ENoClip.TextColor3 = Color3.fromRGB(0, 0, 0)
  167. ENoClip.TextSize = 38.000
  168. ENoClip.MouseButton1Down:Connect(function()
  169. noclip = false
  170. game:GetService('RunService').Stepped:connect(function()
  171. if noclip then
  172. game:service'Players'.LocalPlayer.Character.Humanoid:ChangeState(11)
  173. end
  174. end)
  175. plr = game:service'Players'.LocalPlayer
  176. mouse = plr:GetMouse()
  177. mouse.KeyDown:connect(function(key)
  178.  
  179. if key == "e" then
  180. noclip = not noclip
  181. game:service'Players'.LocalPlayer.Character.Humanoid:ChangeState(11)
  182. end
  183. end)
  184. print('Loaded')
  185. print('Press "E" to noclip')
  186. end)
  187.  
  188. SCP096.Name = "SCP 096"
  189. SCP096.Parent = Frame
  190. SCP096.BackgroundColor3 = Color3.fromRGB(168, 0, 0)
  191. SCP096.BorderColor3 = Color3.fromRGB(7, 23, 255)
  192. SCP096.Position = UDim2.new(0, 0, 0.217557251, 0)
  193. SCP096.Size = UDim2.new(0, 165, 0, 35)
  194. SCP096.Font = Enum.Font.Oswald
  195. SCP096.Text = "SCP 096 SCRIPT"
  196. SCP096.TextColor3 = Color3.fromRGB(0, 0, 0)
  197. SCP096.TextSize = 38.000
  198. SCP096.MouseButton1Down:Connect(function()
  199. --[[
  200.  
  201. Hats Required (Free)
  202.  
  203. https://www.roblox.com/catalog/3443038622/International-Fedora-Peru
  204. https://www.roblox.com/catalog/3409612660/International-Fedora-USA
  205. https://www.roblox.com/catalog/4047554959/International-Fedora-Brazil
  206. https://www.roblox.com/catalog/3940375351/International-Fedora-Philippines
  207. https://www.roblox.com/catalog/62234425/Brown-Hair
  208.  
  209.  
  210.  
  211. ]]--
  212.  
  213. game:GetService("Players").LocalPlayer.Character.InternationalFedora.Name = 'fe1'
  214. game:GetService("Players").LocalPlayer.Character.InternationalFedora.Name = 'fe3'
  215. game:GetService("Players").LocalPlayer.Character["International Fedora"].Name = 'fe2'
  216. game:GetService("Players").LocalPlayer.Character["International Fedora"].Name = 'fe4'
  217. for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
  218. if v:IsA("BasePart") and v.Name ~="HumanoidRootPart" then
  219. game:GetService("RunService").Heartbeat:connect(function()
  220. v.Velocity = Vector3.new(0,-30,0)
  221. wait(0.5)
  222. end)
  223. end
  224. end
  225.  
  226. local LocalPlayer = game.Players.LocalPlayer
  227.  
  228. function Create(HatName, position, rotation, part)
  229. Instance.new("Attachment",game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle)
  230. Instance.new("AlignPosition",game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle)
  231. Instance.new("AlignOrientation", game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle)
  232. Instance.new("Attachment",game:GetService("Workspace")[LocalPlayer.Name][part])
  233. workspace[LocalPlayer.Name][part].Attachment.Name = HatName
  234. game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AccessoryWeld:Destroy()
  235. game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignPosition.Attachment0 = game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.Attachment
  236. game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignOrientation.Attachment0 = game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.Attachment
  237. game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignPosition.Attachment1 = game:GetService("Workspace")[LocalPlayer.Name][part][HatName]
  238. game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignOrientation.Attachment1 = game:GetService("Workspace")[LocalPlayer.Name][part][HatName]
  239. game:GetService("Workspace")[LocalPlayer.Name][part][HatName].Position = position
  240. game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.Attachment.Rotation = rotation
  241. game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignPosition.Responsiveness = 200
  242. game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignOrientation.Responsiveness = 200
  243. game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignPosition.RigidityEnabled = true
  244. game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignOrientation.RigidityEnabled = true
  245. end
  246.  
  247. function Edit(HatName, position, rotation, part)
  248. game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.Attachment.Rotation = rotation
  249. game:GetService("Workspace")[LocalPlayer.Name][part][HatName].Position = position
  250. end
  251.  
  252. function rmesh(HatName)
  253. for _,mesh in next, workspace[LocalPlayer.Name][HatName]:GetDescendants() do
  254. if mesh:IsA("Mesh") or mesh:IsA("SpecialMesh") then
  255. mesh:Remove()
  256. end
  257. end
  258. end
  259.  
  260. Create('fe1',Vector3.new(0,1.5,0),Vector3.new(0,0,0),'Right Arm')
  261. Create('fe2',Vector3.new(0,1.5,0),Vector3.new(0,0,0),'Left Arm')
  262. Create('fe3',Vector3.new(0,1.5,0),Vector3.new(0,0,0),'Left Leg')
  263. Create('fe4',Vector3.new(0,1.5,0),Vector3.new(0,0,0),'Right Leg')
  264. Create('Hat1',Vector3.new(0,-1.4,0),Vector3.new(0,90,0),'Torso')
  265.  
  266. rmesh('fe1')
  267. rmesh('fe2')
  268. rmesh('fe3')
  269. rmesh('fe4')
  270. rmesh('Hat1')
  271.  
  272.  
  273.  
  274.  
  275. sethiddenproperty(game.Players.LocalPlayer,"MaximumSimulationRadius",math.huge)
  276. sethiddenproperty(game.Players.LocalPlayer,"SimulationRadius",1.0000000331814e+32)
  277.  
  278. for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
  279. if v:IsA("BasePart") and v.Name ~="HumanoidRootPart" then
  280. game:GetService("RunService").Heartbeat:connect(function()
  281. v.Velocity = Vector3.new(0,-25.05,0)
  282. wait(0.5)
  283. end)
  284. end
  285. end
  286.  
  287. local Fling = true --// Recommended: true
  288. local FlingBlockInvisible = true --// Recommended: false (So you can see the flinging block)
  289. local HighlightFlingBlock = true --// Recommended: true
  290. local FlingHighlightColor = Color3.fromRGB(30,255,30)
  291.  
  292. -- // Uses Mizt's bypass \\ --
  293.  
  294. Bypass = "death"
  295. loadstring(game:GetObjects("rbxassetid://5325226148")[1].Source)()
  296.  
  297. e = Instance.new("BodyVelocity",game.Players.LocalPlayer.Character.HumanoidRootPart)
  298. e.Velocity = Vector3.new(0,-25.05,0)
  299. e.P = math.huge
  300. --e.MaxForce = Vector3.new(0,3000,0)
  301.  
  302. local IsDead = false
  303. local StateMover = true
  304.  
  305. local playerss = workspace.non
  306. local bbv,bullet
  307. if Bypass == "death" then
  308. bullet = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  309. bullet.Transparency = (FlingBlockInvisible ~= true and 0 or 1)
  310. bullet.Massless = true
  311. if bullet:FindFirstChildOfClass("Attachment") then
  312. for _,v in pairs(bullet:GetChildren()) do
  313. if v:IsA("Attachment") then
  314. v:Destroy()
  315. end
  316. end
  317. end
  318.  
  319. bbv = Instance.new("BodyPosition",bullet)
  320. bbv.Position = playerss.Torso.Position
  321. end
  322.  
  323. if Bypass == "death" then
  324. coroutine.wrap(function()
  325. while true do
  326. if not playerss or not playerss:FindFirstChildOfClass("Humanoid") or playerss:FindFirstChildOfClass("Humanoid").Health <= 0 then IsDead = true; return end
  327. if StateMover then
  328. bbv.Position = playerss.Torso.Position
  329. bullet.Position = playerss.Torso.Position
  330. end
  331. game:GetService("RunService").RenderStepped:wait()
  332. end
  333. end)()
  334. end
  335.  
  336. if HighlightFlingBlock ~= false then
  337. local Highlight = Instance.new("SelectionBox")
  338. Highlight.Adornee = bullet
  339. Highlight.Color3 = (typeof(FlingHighlightColor)=="Color3" and FlingHighlightColor) or (Color3.fromRGB(255,0,0))
  340. Highlight.Parent = bullet
  341. Highlight.Name = "HighlightBox"
  342. end
  343.  
  344. bbav = Instance.new("BodyAngularVelocity",bullet)
  345. bbav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  346. bbav.P = 100000000000000000000000000000
  347. bbav.AngularVelocity = Vector3.new(10000000000000000000000000000000,100000000000000000000000000,100000000000000000)
  348.  
  349. local Player=game.Players.LocalPlayer local Character=workspace.non local hum = Character.Humanoid local LeftArm=Character["Left Arm"] local LeftLeg=Character["Left Leg"] local RightArm=Character["Right Arm"] local RightLeg=Character["Right Leg"] local Root=Character["HumanoidRootPart"] local Head=Character["Head"] local Torso=Character["Torso"] local Neck=Torso["Neck"] local mouse = Player:GetMouse() local position = nil local sine = 0 local t = 0 local change = 1
  350.  
  351. local HEADLERP = Instance.new("ManualWeld")
  352. HEADLERP.Parent = Head
  353. HEADLERP.Part0 = Head
  354. HEADLERP.Part1 = Head
  355. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  356.  
  357. local TORSOLERP = Instance.new("ManualWeld")
  358. TORSOLERP.Parent = Root
  359. TORSOLERP.Part0 = Torso
  360. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  361.  
  362. local ROOTLERP = Instance.new("ManualWeld")
  363. ROOTLERP.Parent = Root
  364. ROOTLERP.Part0 = Root
  365. ROOTLERP.Part1 = Torso
  366. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  367.  
  368. local RIGHTARMLERP = Instance.new("ManualWeld")
  369. RIGHTARMLERP.Parent = RightArm
  370. RIGHTARMLERP.Part0 = RightArm
  371. RIGHTARMLERP.Part1 = Torso
  372. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  373.  
  374. local LEFTARMLERP = Instance.new("ManualWeld")
  375. LEFTARMLERP.Parent = LeftArm
  376. LEFTARMLERP.Part0 = LeftArm
  377. LEFTARMLERP.Part1 = Torso
  378. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  379.  
  380. local RIGHTLEGLERP = Instance.new("ManualWeld")
  381. RIGHTLEGLERP.Parent = RightLeg
  382. RIGHTLEGLERP.Part0 = RightLeg
  383. RIGHTLEGLERP.Part1 = Torso
  384. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  385.  
  386. local LEFTLEGLERP = Instance.new("ManualWeld")
  387. LEFTLEGLERP.Parent = LeftLeg
  388. LEFTLEGLERP.Part0 = LeftLeg
  389. LEFTLEGLERP.Part1 = Torso
  390. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  391.  
  392. function swait(num)
  393. if num == 0 or num == nil then
  394. game:service("RunService").Stepped:wait(0)
  395. else
  396. for i = 0, num do
  397. game:service("RunService").Stepped:wait(0)
  398. end
  399. end
  400. end
  401.  
  402. m = game.Players.LocalPlayer:GetMouse()
  403.  
  404. cry = false
  405. idle = true
  406.  
  407. toggle = false
  408.  
  409. m.KeyDown:connect(function(k)
  410. if k == "q" then
  411. Character.Humanoid.WalkSpeed = 100
  412. end
  413. end)
  414.  
  415. m.KeyUp:connect(function(k)
  416. if k == "q" then
  417. Character.Humanoid.WalkSpeed = 16
  418. end
  419. end)
  420.  
  421. m.KeyDown:Connect(function(k)
  422. if k == 'f' then
  423. if toggle == false then
  424. toggle = true
  425. cry = true
  426. idle = false
  427. elseif toggle then
  428. toggle = false
  429. cry = false
  430. idle = true
  431. end
  432. end
  433. end)
  434.  
  435. coroutine.wrap(function() -------Checks
  436. while true do
  437. if idle then
  438. if Root.Velocity.y > 1 then
  439. position = "jump"
  440. elseif Root.Velocity.y < -1 then
  441. position = "fall"
  442. elseif Root.Velocity.Magnitude < 2 then
  443. position = "idle"
  444. elseif Root.Velocity.Magnitude < 20 then
  445. position = "walk"
  446. elseif Root.Velocity.Magnitude > 20 then
  447. position = "run"
  448. end
  449. end
  450. wait()
  451. end
  452. end)()
  453.  
  454. coroutine.wrap(function() -------Checks
  455. while true do
  456. if cry then
  457. if Root.Velocity.y > 1 then
  458. position = "jump"
  459. elseif Root.Velocity.y < -1 then
  460. position = "fall"
  461. elseif Root.Velocity.Magnitude < 2 then
  462. position = "idle2"
  463. elseif Root.Velocity.Magnitude < 20 then
  464. position = "walk"
  465. elseif Root.Velocity.Magnitude > 20 then
  466. position = "run"
  467. end
  468. end
  469. wait()
  470. end
  471. end)()
  472.  
  473. coroutine.wrap(function()
  474. while true do
  475. sine = sine + change
  476. if position == "idle" then
  477. change = 1
  478. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), -1 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-10 + -7 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  479. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), 1 + -0.1 * math.sin(sine/12)) * CFrame.Angles(math.rad(-120 + 5 * math.sin(sine/12)), math.rad(-70 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  480. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), 1 + -0.1 * math.sin(sine/12)) * CFrame.Angles(math.rad(-120 + 5 * math.sin(sine/12)), math.rad(70 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  481. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 1.8 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-30 + -7 * math.sin(sine/12)), math.rad(10 + 0 * math.sin(sine/12)), math.rad(-4 + 0 * math.sin(sine/12))),0.1)
  482. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 1.8 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-30 + -7 * math.sin(sine/12)), math.rad(-10 + 0 * math.sin(sine/12)), math.rad(4 + 0 * math.sin(sine/12))),0.1)
  483. elseif position == "walk" then
  484. change = 1
  485. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 2 + 0.1 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-10 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  486. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 40 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  487. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + -40 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  488. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 4 + 0.1 * math.sin(sine/12), 0.3 + 0.3 * math.sin(sine/12)) * CFrame.Angles(math.rad(-5 + -20 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  489. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 4 + 0.1 * math.sin(sine/12), 0.3 + -0.3 * math.sin(sine/12)) * CFrame.Angles(math.rad(-5 + 20 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  490. elseif position == "run" then
  491. change = 5
  492. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 2 + 0.2 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-10 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  493. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5 + 0 * math.sin(sine/12), 2 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-85 + 5 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  494. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + 0 * math.sin(sine/12), 2 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-85 + 5 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  495. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 4 + 0.5 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-1 + -100 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  496. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 4 + -0.5 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-1 + 100 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  497. elseif position == "jump" then
  498. --clerp here
  499. elseif position == "fall" then
  500. --clerp here
  501. elseif position == "idle2" then
  502. change = 1.3
  503. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 2 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 20 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  504. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-150 + 0 * math.sin(sine/12)), math.rad(-100 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  505. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-150 + 0 * math.sin(sine/12)), math.rad(100 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  506. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 20 * math.sin(sine/12)), math.rad(-4 + 0 * math.sin(sine/12)), math.rad(-2 + 0 * math.sin(sine/12))),0.1)
  507. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 20 * math.sin(sine/12)), math.rad(4 + 0 * math.sin(sine/12)), math.rad(2 + 0 * math.sin(sine/12))),0.1)
  508. end
  509. swait()
  510. end
  511. end)()
  512. end)
  513.  
  514. Tpclick.Name = "Tp click"
  515. Tpclick.Parent = Frame
  516. Tpclick.BackgroundColor3 = Color3.fromRGB(168, 0, 0)
  517. Tpclick.BorderColor3 = Color3.fromRGB(7, 23, 255)
  518. Tpclick.Position = UDim2.new(0, 0, 0.381679386, 0)
  519. Tpclick.Size = UDim2.new(0, 165, 0, 35)
  520. Tpclick.Font = Enum.Font.Oswald
  521. Tpclick.Text = "(CTRL) TP CLICK"
  522. Tpclick.TextColor3 = Color3.fromRGB(0, 0, 0)
  523. Tpclick.TextSize = 38.000
  524. Tpclick.MouseButton1Down:Connect(function()
  525. --click to tp
  526. local Imput = game:GetService("UserInputService")
  527. local Plr = game:service'Players'.LocalPlayer
  528. local Mouse = Plr:GetMouse()
  529.  
  530. function To(position)
  531. local Chr = Plr.Character
  532. if Chr ~= nil then
  533. Chr:MoveTo(position)
  534. end
  535. end
  536.  
  537. Imput.InputBegan:Connect(function(input)
  538. if input.UserInputType == Enum.UserInputType.MouseButton1 and Imput:IsKeyDown(Enum.KeyCode.LeftControl) then
  539. To(Mouse.Hit.p)
  540. end
  541. end)
  542.  
  543. end)
  544.  
  545. -- Scripts:
  546.  
  547. local function HWQUD_fake_script() -- TextButton.LocalScript
  548. local script = Instance.new('LocalScript', TextButton)
  549.  
  550. local player = game.Players.LocalPlayer
  551.  
  552. script.Parent.MouseButton1Click:Connect(function()
  553. player.PlayerGui.ScreenGui.Frame.Visible = true
  554. end)
  555. end
  556. coroutine.wrap(HWQUD_fake_script)()
  557.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement