This works in solo mode but does not work multi Player Any Help?
f = Game.Lighting.FBITalk:clone() function onTouch(part) local humanoid = part.Parent:FindFirstChild("Humanoid") if (humanoid ~= nil) then f.Parent = Game.Players.LocalPlayer.PlayerGui script.Disabled = true end end script.Parent.Touched:connect(onTouch)
LocalScripts won't run except in the player's Backpack, Character, or PlayerGui.
If this script is just inside some button, it won't work.
I would suggest instead revising the function to the following:
if part.Parent then local character = part.Parent; local player = game.Players:GetPlayerFromCharacter(character); if player then f.Parent = player.PlayerGui; ... end end