Universal Script 📌
9.2k Views
232 Executions

Crouch and sprint R6

Universal Script 📌
skibidimariodisney
skibidimariodisneyPublished 10
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Sprint crouch R6

View Raw
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local hrp = character:WaitForChild("HumanoidRootPart")
local cam = workspace.CurrentCamera
local uis = game:GetService("UserInputService")
local runService = game:GetService("RunService")
local debris = game:GetService("Debris")

humanoid.CameraOffset = Vector3.new(0, 0, 0)
humanoid.AutoRotate = true
humanoid.RequiresNeck = false

uis.InputChanged:Connect(function()
	if cam.CameraSubject == humanoid and cam.FieldOfView <= 70 then
		for _, part in pairs(character:GetChildren()) do
			if part:IsA("BasePart") then
				part.LocalTransparencyModifier = 0
			end
		end
	end
end)

local gui = Instance.new("ScreenGui", game.CoreGui)
gui.ResetOnSpawn = false

local function makeButton(name, text, pos)
	local b = Instance.new("TextButton", gui)
	b.Name = name
	b.Size = UDim2.new(0, 100, 0, 40)
	b.Position = pos
	b.Text = text
	b.Font = Enum.Font.SourceSansBold
	b.TextSize = 18
	b.TextColor3 = Color3.new(1, 1, 1)
	b.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
	Instance.new("UICorner", b).CornerRadius = UDim.new(0, 8)
	return b
end



Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
47.4k
173.4k
Bumped 8 minutes ago
Key System

Script hub

#4 this month

Verified script badgeArcane Hub | 125+ Games & 4000+ Features

Script hub
173.1k
1.5M
Bumped 46 minutes ago
Key System
Script hub
3.1M
734.0k
Bumped 49 minutes ago
Key System

Script hub

Hall of Fame #10

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script 📌
5.8k
20.9k
Bumped 2 hours ago
Key System
Script hub
27.1k
1.1k
Bumped 3 hours ago
Key System

Script hub

#1 today

Plak New

Universal Script 📌
47.8k
200.1k
Bumped 3 hours ago
Key System