Im trying to create tower selling for my game im working on which will help me get upgrades to work due to being the same code but changed but for some reason it does not work(doesn’t even disable the ui and event does work fine as it works on things that don’t require clicking)
this is the code
im trying to make it find the direction of the tower since the event is being fired from the tower itself which is where “tower” part comes in and “towername” is unimportant for that code since it’s just the name of the tower
i don’t think its the issue with event since its same event i used to make the stats show on gui and it works perfectly fine there it just doesn’t want to get rid of the model itself i tried without firing event by just doing tower:Destroy() but it did not seem to work