script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent:TweenPosition(UDim2.new(0.5, -200, -0.5, -150),"Out", "Quint",1,true)
wait(1)
game.Players.LocalPlayer.PlayerGui.PopupGui.Enabled = false
end)
Popup Gui Activate script:
(normal script)
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid")then
game.ReplicatedStorage.Popup:FireClient(game.Players:GetPlayerFromCharacter(hit.Parent))
end
end)
Gui popup script:
(local script)
game.ReplicatedStorage.Popup.OnClientEvent:Connect(function()
game.Players.LocalPlayer.PlayerGui.PopupGui.Enabled = true
end)
Wait does it even work??????????

2 comments
You're sending the player that has hit the part, however, in the local script there aren't any parameters within the function that specify the player that hit the part.
Thanks