E tap thingy for sub

Wait I got a new problem,

So I have a sub right and I need it without water,because when I put in the water with editor it fills up and with normal dive it doesnt.

That’s not related to the prompt and I don’t know how to fix it because I am not a scripter.

This is scripting support tho.

I know, I like to help with the stuff I can, like the prompt. That didn’t require much scripting.

Non-scripters can use this section too.

Sorry, but we can’t really help you if don’t present your issue in a way thats understandable. I assume you want the character to sit in a seat, upon pressing a key? If so look into these APIs: UserInputService. Seat:Sit. Once again I’m finding it very hard to understand you.

I have a new problem : Submarine being filled with water

Can someone help me with this ?

so i modified the model from this

so now this is the new version

1 Like

Thank you so much, I am trying it now :slight_smile:

So I tried it and it still fills up with water when I put it with studio in the water.

can i see the screen shot of it

Sure,

https://gyazo.com/3b2bdff4291e2bef62374f0bf905323c

Btw I am on an alt to see if it was with my acc.

well is possible to remove the water inside of it but is way too complicated for me i don’t really know to do it but ill try to search some for it

Alright thank you for what u are doing for me .

so i found a script that doesn’t allow to swim now i just needed to make a trigger for it

Perfect and again I can’t thank you enough.

here’s the model

all though there’s one bug that i cant really seem to fix when you go in the submarine you wont swim inside but you cant swim out side too other then that is a okay

1 Like

Thank you so much, it is good, thank you!

1 Like

if you want you can add me in Roblox if you want

This isn’t really the solution to this post. If the author asked in the title for a “E” prompt to sit in a seat, only that can be the solution.

Other users who might have this issue will click on this thread hoping to find a solution to a similar issue, but find out that it was a solution that could have been done on a completely different thread.

As for the REAL purpose of this topic

You can use ProximityPrompts to successfully make a player sit in a seat upon hitting a key.

-- Pretend the script is located within the seat --
local Seat = script.Parent

-- Pretend this is my ProximityPrompt --
local ProxPrompt = script.Parent:WaitForChild("ProximityPrompt") -- pretend the ProximityPrompt is located within the seat

-- Make a debounce so players can't spam this too much. It doesn't really matter, but it could help if you ever want to rate limit
local db = false

-- Hook a Triggered event to fire when the player uses the prompt --
ProxPrompt.Triggered:Connect(function(Player)
    if not db then
        db = true

        -- Get our Humanoid so we can make the Player sit on the seat
        local Character = Player.Character
        local Humanoid = Character:FindFirstChild("Humanoid")

        -- Make the Humanoid Sit --
        Humanoid:Sit(Seat)
        
        task.wait(1)

        db = false
    end
end)