
9.2k Views
232 Executions
Crouch and sprint R6
Universal Script 📌
skibidimariodisneyPublished 10
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Sprint crouch R6
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
0Log in to join the conversation. Login
No comments yet. Be the first!







