RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"script for a part. if the player touches the part and their stage value is between 106 and 149"
-- script for part local part = script.Parent local function onTouched(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then local playerStage = player.leaderstats.Stage.Value if playerStage >= 106 and playerStage <= 149 then -- Perform action here, for example, teleport the player local teleportPosition = Vector3.new(0, 10, 0) -- Change this to the desired teleport location player.Character.HumanoidRootPart.CFrame = CFrame.new(teleportPosition) end end end part.Touched:Connect(onTouched)