Hi everybody, so i know they replaced the keydown thing and there is no more getmouse().keydown stuff, but imade a HUGE script:
local UIS = game:GetService("UserInputService")
can = true
UIS.InputBegan:connect(function(input)
if can == true then
can = false
*[this content was supposed to be the real script but this might be copied and someone might use it in the game they make and i dont want that especialy when you cant track those people, since this is a SCRIPT! and they can take my name out easily, so this content has been deleted, sorry]*
can = true
end
end)
and the thing is this does all this stuff when key pressed, i have debug yes its helpful, but i cant seem to have the specific keydown thing working, i took it out because i wanted to focus on waht the script actualy does so i dont waste a lot of time just on the keydown thing, but yeah i tried, it doesnt work i could be doing it wrong.., no debug, so this script since taken out specific key thing, when you press anything or click, this script works, for the actual action, so how can i make the server sense what key it specificaly is? and btw sorry grammer might be wrong but im hurrying because i have to go to a party! Anyone feel free to edit this to fix grammar. Thanks! :)

5 comments
Oh and please dont critisize me, this other time there was a guy on one of my questions who said "Please provide explanation with your answers. Simply posting code does not spread knowledge of integral scripting processes which helps people understand the logic and reasoning behind your answer." even though i used comments AND explained what all lines did and how they interacted with eachother
You must post all of your script and be more specific on what your issue is. You are being vague, sorry!
Serverscriptservice*, and client scripts dont run in SERVER script service. Plus the server can't access client sided functions. Please lurn more about client and server
Learn
first thats rude and second it was just a try, its like your looking for a purse and you see a crack but say its too small to be in there, but it is in there because its bigger on the inside!