Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local TextButton = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local Fly = Instance.new("TextButton")
- local WalkSpeedYOUCANBEEXPELLED = Instance.new("TextButton")
- local ENoClip = Instance.new("TextButton")
- local SCP096 = Instance.new("TextButton")
- local Tpclick = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- TextButton.Parent = ScreenGui
- TextButton.BackgroundColor3 = Color3.fromRGB(11, 1, 88)
- TextButton.BackgroundTransparency = 999999.000
- TextButton.BorderColor3 = Color3.fromRGB(255, 0, 4)
- TextButton.Position = UDim2.new(0.312802613, 0, 0.191919237, 0)
- TextButton.Size = UDim2.new(0, 68, 0, 1)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = ""
- TextButton.TextColor3 = Color3.fromRGB(255, 0, 0)
- TextButton.TextSize = 19.000
- Frame.Parent = TextButton
- Frame.BackgroundColor3 = Color3.fromRGB(42, 42, 42)
- Frame.Position = UDim2.new(-3.7608695, 0, 4.46428537, 0)
- Frame.Size = UDim2.new(0, 165, 0, 262)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.Size = UDim2.new(0, 165, 0, 50)
- TextLabel.Font = Enum.Font.Oswald
- TextLabel.Text = "CREATED BY ROBLOX"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 28.000
- Fly.Name = "Fly"
- Fly.Parent = Frame
- Fly.BackgroundColor3 = Color3.fromRGB(168, 0, 0)
- Fly.BorderColor3 = Color3.fromRGB(7, 23, 255)
- Fly.Position = UDim2.new(0, 0, 0.54580152, 0)
- Fly.Size = UDim2.new(0, 165, 0, 35)
- Fly.Font = Enum.Font.Oswald
- Fly.Text = " Fly [E]"
- Fly.TextColor3 = Color3.fromRGB(0, 0, 0)
- Fly.TextSize = 38.000
- Fly.MouseButton1Down:Connect(function()
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Head") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
- local mouse = game.Players.LocalPlayer:GetMouse()
- repeat wait() until mouse
- local plr = game.Players.LocalPlayer
- local torso = plr.Character.Head
- local flying = false
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 50
- local speed = 0
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0.1,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- plr.Character.Humanoid.PlatformStand = true
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- 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
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- 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
- else
- bv.velocity = Vector3.new(0,0.1,0)
- end
- bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- until not flying
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- plr.Character.Humanoid.PlatformStand = false
- end
- mouse.KeyDown:connect(function(key)
- if key:lower() == "e" then
- if flying then flying = false
- else
- flying = true
- Fly()
- end
- elseif key:lower() == "w" then
- ctrl.f = 1
- elseif key:lower() == "s" then
- ctrl.b = -1
- elseif key:lower() == "a" then
- ctrl.l = -1
- elseif key:lower() == "d" then
- ctrl.r = 1
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key:lower() == "w" then
- ctrl.f = 0
- elseif key:lower() == "s" then
- ctrl.b = 0
- elseif key:lower() == "a" then
- ctrl.l = 0
- elseif key:lower() == "d" then
- ctrl.r = 0
- end
- end)
- Fly()
- end)
- WalkSpeedYOUCANBEEXPELLED.Name = "WalkSpeed YOU CAN BE EXPELLED"
- WalkSpeedYOUCANBEEXPELLED.Parent = Frame
- WalkSpeedYOUCANBEEXPELLED.BackgroundColor3 = Color3.fromRGB(168, 0, 0)
- WalkSpeedYOUCANBEEXPELLED.BorderColor3 = Color3.fromRGB(7, 23, 255)
- WalkSpeedYOUCANBEEXPELLED.Position = UDim2.new(0, 0, 0.706106901, 0)
- WalkSpeedYOUCANBEEXPELLED.Size = UDim2.new(0, 165, 0, 35)
- WalkSpeedYOUCANBEEXPELLED.Font = Enum.Font.Oswald
- WalkSpeedYOUCANBEEXPELLED.Text = "WalkSpeed"
- WalkSpeedYOUCANBEEXPELLED.TextColor3 = Color3.fromRGB(0, 0, 0)
- WalkSpeedYOUCANBEEXPELLED.TextSize = 38.000
- WalkSpeedYOUCANBEEXPELLED.MouseButton1Down:Connect(function()
- getgenv().WalkSpeedValue = 100; -- Cambia el 100 por el valor que quieras
- local Player = game:service'Players'.LocalPlayer;
- Player.Character.Humanoid:GetPropertyChangedSignal'WalkSpeed':Connect(function()
- Player.Character.Humanoid.WalkSpeed = getgenv().WalkSpeedValue;
- end)
- Player.Character.Humanoid.WalkSpeed = getgenv().WalkSpeedValue;
- end)
- ENoClip.Name = "[E] NoClip"
- ENoClip.Parent = Frame
- ENoClip.BackgroundColor3 = Color3.fromRGB(168, 0, 0)
- ENoClip.BorderColor3 = Color3.fromRGB(7, 23, 255)
- ENoClip.Position = UDim2.new(0, 0, 0.866412222, 0)
- ENoClip.Size = UDim2.new(0, 165, 0, 35)
- ENoClip.Font = Enum.Font.Oswald
- ENoClip.Text = "[E] NoClip"
- ENoClip.TextColor3 = Color3.fromRGB(0, 0, 0)
- ENoClip.TextSize = 38.000
- ENoClip.MouseButton1Down:Connect(function()
- noclip = false
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game:service'Players'.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- plr = game:service'Players'.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- noclip = not noclip
- game:service'Players'.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- print('Loaded')
- print('Press "E" to noclip')
- end)
- SCP096.Name = "SCP 096"
- SCP096.Parent = Frame
- SCP096.BackgroundColor3 = Color3.fromRGB(168, 0, 0)
- SCP096.BorderColor3 = Color3.fromRGB(7, 23, 255)
- SCP096.Position = UDim2.new(0, 0, 0.217557251, 0)
- SCP096.Size = UDim2.new(0, 165, 0, 35)
- SCP096.Font = Enum.Font.Oswald
- SCP096.Text = "SCP 096 SCRIPT"
- SCP096.TextColor3 = Color3.fromRGB(0, 0, 0)
- SCP096.TextSize = 38.000
- SCP096.MouseButton1Down:Connect(function()
- --[[
- Hats Required (Free)
- https://www.roblox.com/catalog/3443038622/International-Fedora-Peru
- https://www.roblox.com/catalog/3409612660/International-Fedora-USA
- https://www.roblox.com/catalog/4047554959/International-Fedora-Brazil
- https://www.roblox.com/catalog/3940375351/International-Fedora-Philippines
- https://www.roblox.com/catalog/62234425/Brown-Hair
- ]]--
- game:GetService("Players").LocalPlayer.Character.InternationalFedora.Name = 'fe1'
- game:GetService("Players").LocalPlayer.Character.InternationalFedora.Name = 'fe3'
- game:GetService("Players").LocalPlayer.Character["International Fedora"].Name = 'fe2'
- game:GetService("Players").LocalPlayer.Character["International Fedora"].Name = 'fe4'
- for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
- if v:IsA("BasePart") and v.Name ~="HumanoidRootPart" then
- game:GetService("RunService").Heartbeat:connect(function()
- v.Velocity = Vector3.new(0,-30,0)
- wait(0.5)
- end)
- end
- end
- local LocalPlayer = game.Players.LocalPlayer
- function Create(HatName, position, rotation, part)
- Instance.new("Attachment",game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle)
- Instance.new("AlignPosition",game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle)
- Instance.new("AlignOrientation", game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle)
- Instance.new("Attachment",game:GetService("Workspace")[LocalPlayer.Name][part])
- workspace[LocalPlayer.Name][part].Attachment.Name = HatName
- game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AccessoryWeld:Destroy()
- game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignPosition.Attachment0 = game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.Attachment
- game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignOrientation.Attachment0 = game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.Attachment
- game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignPosition.Attachment1 = game:GetService("Workspace")[LocalPlayer.Name][part][HatName]
- game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignOrientation.Attachment1 = game:GetService("Workspace")[LocalPlayer.Name][part][HatName]
- game:GetService("Workspace")[LocalPlayer.Name][part][HatName].Position = position
- game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.Attachment.Rotation = rotation
- game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignPosition.Responsiveness = 200
- game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignOrientation.Responsiveness = 200
- game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignPosition.RigidityEnabled = true
- game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.AlignOrientation.RigidityEnabled = true
- end
- function Edit(HatName, position, rotation, part)
- game:GetService("Workspace")[LocalPlayer.Name][HatName].Handle.Attachment.Rotation = rotation
- game:GetService("Workspace")[LocalPlayer.Name][part][HatName].Position = position
- end
- function rmesh(HatName)
- for _,mesh in next, workspace[LocalPlayer.Name][HatName]:GetDescendants() do
- if mesh:IsA("Mesh") or mesh:IsA("SpecialMesh") then
- mesh:Remove()
- end
- end
- end
- Create('fe1',Vector3.new(0,1.5,0),Vector3.new(0,0,0),'Right Arm')
- Create('fe2',Vector3.new(0,1.5,0),Vector3.new(0,0,0),'Left Arm')
- Create('fe3',Vector3.new(0,1.5,0),Vector3.new(0,0,0),'Left Leg')
- Create('fe4',Vector3.new(0,1.5,0),Vector3.new(0,0,0),'Right Leg')
- Create('Hat1',Vector3.new(0,-1.4,0),Vector3.new(0,90,0),'Torso')
- rmesh('fe1')
- rmesh('fe2')
- rmesh('fe3')
- rmesh('fe4')
- rmesh('Hat1')
- sethiddenproperty(game.Players.LocalPlayer,"MaximumSimulationRadius",math.huge)
- sethiddenproperty(game.Players.LocalPlayer,"SimulationRadius",1.0000000331814e+32)
- for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
- if v:IsA("BasePart") and v.Name ~="HumanoidRootPart" then
- game:GetService("RunService").Heartbeat:connect(function()
- v.Velocity = Vector3.new(0,-25.05,0)
- wait(0.5)
- end)
- end
- end
- local Fling = true --// Recommended: true
- local FlingBlockInvisible = true --// Recommended: false (So you can see the flinging block)
- local HighlightFlingBlock = true --// Recommended: true
- local FlingHighlightColor = Color3.fromRGB(30,255,30)
- -- // Uses Mizt's bypass \\ --
- Bypass = "death"
- loadstring(game:GetObjects("rbxassetid://5325226148")[1].Source)()
- e = Instance.new("BodyVelocity",game.Players.LocalPlayer.Character.HumanoidRootPart)
- e.Velocity = Vector3.new(0,-25.05,0)
- e.P = math.huge
- --e.MaxForce = Vector3.new(0,3000,0)
- local IsDead = false
- local StateMover = true
- local playerss = workspace.non
- local bbv,bullet
- if Bypass == "death" then
- bullet = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- bullet.Transparency = (FlingBlockInvisible ~= true and 0 or 1)
- bullet.Massless = true
- if bullet:FindFirstChildOfClass("Attachment") then
- for _,v in pairs(bullet:GetChildren()) do
- if v:IsA("Attachment") then
- v:Destroy()
- end
- end
- end
- bbv = Instance.new("BodyPosition",bullet)
- bbv.Position = playerss.Torso.Position
- end
- if Bypass == "death" then
- coroutine.wrap(function()
- while true do
- if not playerss or not playerss:FindFirstChildOfClass("Humanoid") or playerss:FindFirstChildOfClass("Humanoid").Health <= 0 then IsDead = true; return end
- if StateMover then
- bbv.Position = playerss.Torso.Position
- bullet.Position = playerss.Torso.Position
- end
- game:GetService("RunService").RenderStepped:wait()
- end
- end)()
- end
- if HighlightFlingBlock ~= false then
- local Highlight = Instance.new("SelectionBox")
- Highlight.Adornee = bullet
- Highlight.Color3 = (typeof(FlingHighlightColor)=="Color3" and FlingHighlightColor) or (Color3.fromRGB(255,0,0))
- Highlight.Parent = bullet
- Highlight.Name = "HighlightBox"
- end
- bbav = Instance.new("BodyAngularVelocity",bullet)
- bbav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- bbav.P = 100000000000000000000000000000
- bbav.AngularVelocity = Vector3.new(10000000000000000000000000000000,100000000000000000000000000,100000000000000000)
- 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
- local HEADLERP = Instance.new("ManualWeld")
- HEADLERP.Parent = Head
- HEADLERP.Part0 = Head
- HEADLERP.Part1 = Head
- HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local TORSOLERP = Instance.new("ManualWeld")
- TORSOLERP.Parent = Root
- TORSOLERP.Part0 = Torso
- TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local ROOTLERP = Instance.new("ManualWeld")
- ROOTLERP.Parent = Root
- ROOTLERP.Part0 = Root
- ROOTLERP.Part1 = Torso
- ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTARMLERP = Instance.new("ManualWeld")
- RIGHTARMLERP.Parent = RightArm
- RIGHTARMLERP.Part0 = RightArm
- RIGHTARMLERP.Part1 = Torso
- RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTARMLERP = Instance.new("ManualWeld")
- LEFTARMLERP.Parent = LeftArm
- LEFTARMLERP.Part0 = LeftArm
- LEFTARMLERP.Part1 = Torso
- LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTLEGLERP = Instance.new("ManualWeld")
- RIGHTLEGLERP.Parent = RightLeg
- RIGHTLEGLERP.Part0 = RightLeg
- RIGHTLEGLERP.Part1 = Torso
- RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTLEGLERP = Instance.new("ManualWeld")
- LEFTLEGLERP.Parent = LeftLeg
- LEFTLEGLERP.Part0 = LeftLeg
- LEFTLEGLERP.Part1 = Torso
- LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- function swait(num)
- if num == 0 or num == nil then
- game:service("RunService").Stepped:wait(0)
- else
- for i = 0, num do
- game:service("RunService").Stepped:wait(0)
- end
- end
- end
- m = game.Players.LocalPlayer:GetMouse()
- cry = false
- idle = true
- toggle = false
- m.KeyDown:connect(function(k)
- if k == "q" then
- Character.Humanoid.WalkSpeed = 100
- end
- end)
- m.KeyUp:connect(function(k)
- if k == "q" then
- Character.Humanoid.WalkSpeed = 16
- end
- end)
- m.KeyDown:Connect(function(k)
- if k == 'f' then
- if toggle == false then
- toggle = true
- cry = true
- idle = false
- elseif toggle then
- toggle = false
- cry = false
- idle = true
- end
- end
- end)
- coroutine.wrap(function() -------Checks
- while true do
- if idle then
- if Root.Velocity.y > 1 then
- position = "jump"
- elseif Root.Velocity.y < -1 then
- position = "fall"
- elseif Root.Velocity.Magnitude < 2 then
- position = "idle"
- elseif Root.Velocity.Magnitude < 20 then
- position = "walk"
- elseif Root.Velocity.Magnitude > 20 then
- position = "run"
- end
- end
- wait()
- end
- end)()
- coroutine.wrap(function() -------Checks
- while true do
- if cry then
- if Root.Velocity.y > 1 then
- position = "jump"
- elseif Root.Velocity.y < -1 then
- position = "fall"
- elseif Root.Velocity.Magnitude < 2 then
- position = "idle2"
- elseif Root.Velocity.Magnitude < 20 then
- position = "walk"
- elseif Root.Velocity.Magnitude > 20 then
- position = "run"
- end
- end
- wait()
- end
- end)()
- coroutine.wrap(function()
- while true do
- sine = sine + change
- if position == "idle" then
- change = 1
- 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)
- 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)
- 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)
- 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)
- 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)
- elseif position == "walk" then
- change = 1
- 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)
- 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)
- 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)
- 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)
- 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)
- elseif position == "run" then
- change = 5
- 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)
- 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)
- 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)
- 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)
- 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)
- elseif position == "jump" then
- --clerp here
- elseif position == "fall" then
- --clerp here
- elseif position == "idle2" then
- change = 1.3
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- swait()
- end
- end)()
- end)
- Tpclick.Name = "Tp click"
- Tpclick.Parent = Frame
- Tpclick.BackgroundColor3 = Color3.fromRGB(168, 0, 0)
- Tpclick.BorderColor3 = Color3.fromRGB(7, 23, 255)
- Tpclick.Position = UDim2.new(0, 0, 0.381679386, 0)
- Tpclick.Size = UDim2.new(0, 165, 0, 35)
- Tpclick.Font = Enum.Font.Oswald
- Tpclick.Text = "(CTRL) TP CLICK"
- Tpclick.TextColor3 = Color3.fromRGB(0, 0, 0)
- Tpclick.TextSize = 38.000
- Tpclick.MouseButton1Down:Connect(function()
- --click to tp
- local Imput = game:GetService("UserInputService")
- local Plr = game:service'Players'.LocalPlayer
- local Mouse = Plr:GetMouse()
- function To(position)
- local Chr = Plr.Character
- if Chr ~= nil then
- Chr:MoveTo(position)
- end
- end
- Imput.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 and Imput:IsKeyDown(Enum.KeyCode.LeftControl) then
- To(Mouse.Hit.p)
- end
- end)
- end)
- -- Scripts:
- local function HWQUD_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- local player = game.Players.LocalPlayer
- script.Parent.MouseButton1Click:Connect(function()
- player.PlayerGui.ScreenGui.Frame.Visible = true
- end)
- end
- coroutine.wrap(HWQUD_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement