0% found this document useful (0 votes)
11 views1 page

Punch Wall Sim 2023 Script3232

The script sets the player's walk speed and implements a noclip feature that allows the player to pass through walls. It includes a toggle for noclip mode using the 'e' key, and displays an indicator on the screen when noclip is enabled. The script continuously updates the player's character properties based on the noclip state in a loop.

Uploaded by

levivok22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

Punch Wall Sim 2023 Script3232

The script sets the player's walk speed and implements a noclip feature that allows the player to pass through walls. It includes a toggle for noclip mode using the 'e' key, and displays an indicator on the screen when noclip is enabled. The script continuously updates the player's character properties based on the noclip state in a loop.

Uploaded by

levivok22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

getgenv().

WalkSpeedValue = 60; --Enter your speed amount here


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;

local StealthMode = true

local Indicator

if not StealthMode then


local ScreenGui = Instance.new("ScreenGui", game.CoreGui)
Indicator = Instance.new("TextLabel", ScreenGui)
Indicator.AnchorPoint = Vector2.new(0, 1)
Indicator.Position = UDim2.new(0, 0, 1, 0)
Indicator.Size = UDim2.new(0, 200, 0, 50)
Indicator.BackgroundTransparency = 1
Indicator.TextScaled = true
Indicator.TextStrokeTransparency = 0
Indicator.TextColor3 = Color3.new(0, 0, 0)
Indicator.TextStrokeColor3 = Color3.new(1, 1, 1)
Indicator.Text = "Noclip: Enabled"
end

local noclip = false


local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()

local mouse = player:GetMouse()

mouse.KeyDown:Connect(function(key)
if key == "e" then
noclip = not noclip

if not StealthMode then


Indicator.Text = "Noclip: " .. (noclip and "Enabled" or "Disabled")
end
end
end)

while true do
player = game.Players.LocalPlayer
character = player.Character

if noclip then
for _, v in pairs(character:GetDescendants()) do
pcall(function()
if v:IsA("BasePart") then
v.CanCollide = false
end
end)
end
end

game:GetService("RunService").Stepped:wait()
end

You might also like