#How would I detect when a person presses enter in their script editor through a plugin?

1 messages · Page 1 of 1 (latest)

solar heath
#

CHAT I NEED AN ANSWER

#

I NEED A DAMN ANSWER

#

🦅🛢️

tender pine
#

wdym

#

and why would you need ts

solar heath
tender pine
#

wdym script editor

solar heath
#

the editor you script in

tender pine
#

but only devs can access that...

solar heath
#

I know..

tender pine
#

also you'd have to use some kind of plugin or some 3rd party software

#

you can't detect inputs without running the actual game

solar heath
#

well fuck

tender pine
#

actually why would you ever need to do this?

#

is it for like an admin panel or smth?

solar heath
#

A studio plugin

#

to make devs lives easier

tender pine
#

I honestly know barely anything about plugins but what would even happen when you press enter

solar heath
#

It's for an OOP thing

tender pine
#

just wondering now but what is the plugin?

solar heath
#

wdym?

tender pine
#

aren't you making a plugin?

solar heath
#

I am

tender pine
#

then what's the plugin you're making?

solar heath
tender pine
#

I meant like what's the name and what it does but ok

#

I will look a bit into plugins to try to help you though

solar heath
#

So you just type like class Test and it generates that whole ```
export type Test = {
new: () > ()
}

local Test = {}
Test.__index = Test

function Test.new()
local self = setmetatable({}, Test)
return self
end

return Test```

#

Ion have a name for it yet

tender pine
#

I'm kinda unfamiliar with type annotation so I can't really understand this

#

but ok

stiff nebula
#

idk try uip lmfao

solar heath
#

...

stiff nebula
#

:)

solar heath
#

Read the whole message

#

Actually the whole thread

#

Seems like you haven't

stiff nebula
#

yeah as if i know exactly what you need when i read that you have a unnamed studio plugin and have trouble with it

solar heath
#

Or just read the title of the post

stiff nebula
#

dude, that could literaly all depend on the plugin itself

#

no context

#

if you want to detect when a user presses something u use user input service