✓ Accepted answer
Make a brick that's Anchored, Transparent and Un-CanCollided. Then put a script with it with ontouched.
script.Parent.Touched:connect(function(TouchedPart)
end)
Also make it check if it's an actual player:
script.Parent.Touched:connect(function(TouchedPart)
if TouchedPart.Parent:FindFirstChild("Humanoid") ~= nil then
end
end)
And get into the PlayerGui
script.Parent.Touched:connect(function(TouchedPart)
if TouchedPart.Parent:FindFirstChild("Humanoid") ~= nil then
local Plr = game.Players:GetPlayerFromCharacter(TouchedPart.Parent)
Plr.PlayerGui:WaitForChild("GUINAME").DOSTUFF
end
end)
So the above script would be the full script if you made it do stuff.
2 comments
Thank you so much! :D
Np ;)