Text button GUI should kill player when clicked but doesn't, how do i fix this?
this is my first time working with filtering enabled, ive made a few small games in the past but nothing good
i made a text button gui that when clicked should kill the player. This is what im having trouble with. (feel free to call me a noob) but i cant seem to figure out how to make it function as it should, here's the script.
1 | game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect( function () |
2 | local LocalPlayer = game.Players.LocalPlayer |
i know its sad i cant get the simplest function to work but eh i guess we all start somewhere
thanks for the help in advance!