#Please help with Horrendous script
1 messages · Page 1 of 1 (latest)
this is the script for tool activation
the problem is that its not activating on M1
put prints in every so often on the script to see where it fails to get to
Tool.Activated is equipping i think
i don't see any problem, but firing events can be a maximum of 512 i think
so the funciona prints don't print anything?
disable Tool.RequiresHandle
it has
i did
but not even the activation works
the problem is that the Tool doesnt activate
somehow
even while having a handle
doesnt work
where D:
"No idea
" but i tell you what
i sure do love saying things just for the sake of saying things that have no bearing on your issue at all none whatsoever and there is no other reason why i said this other than just to say it 
is your script a server script?
no shit is not working, you are trying to get the event from serverScriptService from a local script 
pro tip, look for players.localplayer for localscripts, or any kind of userinputservice/gui, and server is any mention of serverstorage/sss
eyyy you found it 🔥
sherlock the main one is server sided
wut
the server doesn't have a localplayer, watson. and if you assume there is a localplayer, meaning its a localscript, there is no access to serverscriptservice on the client. you've much to learn, watson 
so how im supposed to activate the tool without the player
- i removed the player from the function
so it does not include localplayer animore
you do tool.parent, because tools when held are a child of the character, then you find the player using the character 
you should really take the time to read your code more carefully
90% of writing code is reading it, not writing it.
how can i detect the local player then, do i need a bindable function?
bro
read those 3 lines
much, much closer
if your script is trying to use game.players.localplayer, does it have access to serverscriptservice?
oh
this isn't rocket science :\
i mean if you're getting stuck on that, jeez you got a long way to go 😓
well, just keep taking small steps i guess
rome wasn't built in a day 🤷
POV: vibe coding 😛
have fun with that, dont ask me to debug ai code 😮💨
dont offend me like that