#Need help changing a value inside the player

3 messages · Page 1 of 1 (latest)

mild sinew
#

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)
plucky jetty
mild sinew