RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a script for a part so whenever a player touches it, they get slower"
-- script for part local part = script.Parent local function slowPlayer(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then local humanoid = player.Character:FindFirstChild('Humanoid') if humanoid then humanoid.WalkSpeed = humanoid.WalkSpeed * 0.5 end end end part.Touched:Connect(slowPlayer)