Not placing tower but there is no errors

Should I change it to a remote event?

Wait screenshot the part you calls it( the remote function)

image_2023-08-08_193041392

2 Likes

Are you passing informations through scripts?

idk what you are talking about.

Because remote functions can pass parameters through scripts, are you doing that?

I know that inside of the tower module the RemoteFunction is Invokeing the server.

Is this what your talking about? requestTowerFunction.OnServerInvoke = tower.CheckSpawn

Yes, so you need to use remote function.

Try changing the local script to ReplicatedStorage, changing parameters of course since you changed its placement.

Now the script is not working.

What do you mean with that? ( 30O)

nvm, I set the variable wrong.

Now the gui for it won’t show.

I mean put the local script on ReplicatedFirst (Sorry)

It still does not show the gui

Wait. Change the GUI variable to game.Players.LocalPlayer.PlayerGui:FindFirstChild(“the name of the GUI”)

Now I am getting an error saying that: ReplicatedFirst.GameController:27: attempt to index nil with ‘Gold’

Ok change local scirpt to its original placement

Try to add the debbug circle on the start of the script