UI script not running

All of these are good, just double checked

Ok try

game.ReplicatedStorage.Deploy.OnServerEvent:Connect(function(player, selectedTeam)
    player.Team = selectedTeam
end)

Given that people still haven’t been able to assist successfully, you may want to consider sending a .rbxm file (Roblox Model File) containing just the script and the relevent UI. If the .rbxm file still doesn’t work in isolation, then it will allow people to test a bunch of different ideas rapidly.

1 Like

Ye good one too if it’s didn’t work send the file so we can test till we find what is the problem

gui.rbxl (76.2 KB)

From messing around with explorer, it seems that you have the Shop frame visible, rather than the Main frame. If you switch which of the 2 is visible, I believe it may fix your issue

2 Likes

There’s no way I didn’t notice that lol, was probably trying to make the shop gui then forgot about it lol, thank you so much

This is Note But it’s important for your code

image
image
image

Use it once as variable because it causes pressure on HTTPS
It’s better for you and make it less bugs HTTPS is the most annoying thing.

3 Likes