#Please help

24 messages · Page 1 of 1 (latest)

mellow moss
#

Wait a few secs for the clip to show

humble citrus
#

PlayerGui

#

Get the playerGui and change the label there instead

#

Getting player gui are from local players or Players > [your username] > playerGui

#

Then access the label there

mellow moss
#

Alr

#

Thanks

humble citrus
#

Np

mellow moss
#

How would I put this into the script?

#

Sorry im new

mellow moss
humble citrus
#

Make sure it's a local script

mellow moss
#

And I put this into where?

oak sandalBOT
#

studio** You are now Level 1! **studio

mellow moss
#

It's supposed to be a alarm system where the name will also print on a part then

humble citrus
#

You can only access playerGui in a local script

#

Unless you use a function that returns player

mellow moss
#

I use that for the output print

function Detector:handleTouch(partTouched)
local partParent = partTouched.Parent
local humanoid = partParent:FindFirstChild("Humanoid")
if humanoid then
local character = partParent
local isOnTable = self:checkPlayer(character)
if isOnTable == false then
print(partParent.Name .. " was detected. ")
end
end
end

#

I DID IT

#

YES