I was making a body scanner and I was confused on how to add a player name when they touch the sensor.
This is my script
function onTouched()
local L_ENTER = script.Parent.Parent.LightEnter
local L_EXIT = script.Parent.Parent.LightExit
L_ENTER.BrickColor = BrickColor.new("Bright green")
L_EXIT.BrickColor = BrickColor.new("Bright green")
wait(2)
L_ENTER.BrickColor = BrickColor.new("Lily white")
L_EXIT.BrickColor = BrickColor.new("Lily white")
wait(5)
end
script.Parent.Touched:connect(onTouched)
What I'm trying to do now is how would I add a TextLabel in the ScrollingFrame without it over lapping with the player name (Just like the roblox chat)

2 comments
Change the position of it? I don't see any evidence of you attempting to write such code..
It's where when a player touched the pad, it sends data of who stepped on it to the Part.