
If noclip = true then -Detects if noclip is trueįor i, v in pairs(player. Local player = -Getting the local playerīutton.MouseButton1Click:Connect(function() -Detects if player clicks the button Local runservice = game:GetService('RunService') Here is a quick script that I wrote for you, you can use it if you want to go off of it, I tried to write as many comments as possible so you can understand it local button = script.Parent -This is the button that you click Player.CharacterAdded:Connect(function(Character) - reset ANC on respawnĬheck(Player, )įor _, Player in pairs(game.You can do this two ways, you can either change the statetype of your humanoid OR you can do it my way and just turn off the collision of the part TracePart.CFrame = CFrame.lookAt(PreviousPositions, HRP)*CFrame.new(0, 0, -Distance/2) - ty Check then TracePart.Size = Vector3.new(0.25, 0.25, Distance) Local Check = workspace:GetPartBoundsInBox(CF, S, OP) Best website for Roblox exploits, a developers community, and more from WeAreDevs. Local CF = CFrame.lookAt(PreviousPositions, HRP)*CFrame.new(0, 0, -Distance/2) Local Distance = (PreviousPositions - HRP).Magnitude If PreviousPositions ~= HRP and PreviousPositions ~= nil then - check if they moved

This is the script in its current form: local RS = game:GetService("RunService") I am not sure if this would be complicated or not as I am not a scripter.

I am wondering how I could modify it so that if it detects you walking through a wall (no clip) it will smoothly teleport the player to its original position before they started walking through the wall. I’ve done some testing and it seemed to work very well. I’ve been trying to find an anti no clip script for the past few days and I have found one made by “Secretum_Flamma” in 2021.
