Problem with a variable

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Villllum

Member
Jun 4, 2022
1
0
1
23
Hello i am currently working on a custom submarine script, and i have run into some issues while creating a motor system. The idea is that i can set a players submarine motor through a command, but when i use the command to change the motor variable it still says none when i get it to send the variable
My code: https://pastebin.com/06De0i3v
Idk where excatly the problem is but i think its around line 31 and 32 because that is were the command is supposed to change the variable
There is no errors in the skript but there is a couple of comments when i reload the script
upload_2022-6-6_11-51-59.png
 
where do you send the varible, because you would have to send it from the same command since its a local varible.
 
Status
Not open for further replies.