#Need help changing a value inside the player
3 messages · Page 1 of 1 (latest)
Try Players#GetPlayerFromCharacter()
hello, sorry for wasting your time, i have already found the full script somewhere else, your intent to help is still apreciated
3 messages · Page 1 of 1 (latest)
current script, it obviously doesnt work since the value is inside the player, not the player model
function onTouch(part)
local player = part.Parent:findFirstChild("Humanoid")
if (player == nil) then return end
player.Parent.isingasroom = true
end
script.Parent.Touched:connect(onTouch)
Try Players#GetPlayerFromCharacter()
hello, sorry for wasting your time, i have already found the full script somewhere else, your intent to help is still apreciated