Hello, I'm a beginner scripter and I'm wondering if one of you guys know how to make the time change when a player touches a brick, thanks.
COMMUNITY QUESTION
Change time using ontouch?
1 answer
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
game.Lighting.ClockTime = 23
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
