I am doing a commission from another Roblox player for a Party system, and I need some assistance. So I have some scripts I need asstnace with here they are. This first one fires a remote event.

script.Parent.MouseButton1Down:Connect(function(plr)
	game.ReplicatedStorage.RemoteEvents.HostParty:FireServer(plr)
end)

This next one receives the event, self-explanatory.

script.Parent.OnServerEvent:Connect(function(plr)
	local host = Instance.new("Part")
	host.Parent = game.ReplicatedStorage.Hosts
	host.Name = plr.Name.."'s Party"
end)

For more context, the part is not put anywhere. I dont even know if the event ws fired. I hope y'all can help me! Peace.

3 comments

0

Try Host.Parent = game.ReplicatedStorage

0

I did

0

I don't understand why you send the player over to the server when it is fired. The player is automatically sent to the server when you use :FireServer().