RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a speed simulator"
-- server script for speed simulator local speedPart = script.Parent local players = game:GetService("Players") local function onTouched(part) local player = players:GetPlayerFromCharacter(part.Parent) if player then local leaderstats = player:FindFirstChild("leaderstats") if leaderstats then local speedValue = leaderstats:FindFirstChild("Speed") if speedValue then speedValue.Value = speedValue.Value + 1 end end end end speedPart.Touched:Connect(onTouched)