Universal Script πŸ“Œ
4.9k Views
372 Executions

FE SUBMERGE UNDERGROUND

Universal Script πŸ“Œ
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

FE SUBMERGE/UNDERGROUND

Updates

  1. Script edited: Create script

View Raw
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local rootPart = character:WaitForChild("HumanoidRootPart")
local camera = workspace.CurrentCamera
local submerged = false
local swimSpeed = 20 -- CHANGE SPEED OF SUBMERGE HERE
local submergeOffset = 6.45 -- CHANGE DEEPNESS OF SUBMERGE HERE
local riseMultiplier = 1.1
local noclipParts = {}
local originalCameraCFrame = nil
local savedSubmergePosition = nil
local animationPlaying = false
local animationToggleButton = nil

local playerData = {
    buttonPosition = UDim2.new(1, -175, 0.5, -100),
    animationButtonPosition = UDim2.new(1, -175, 0.5, -40)
}

local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://536135263"
local animator = humanoid:WaitForChild("Animator")
local animationTrack = animator:LoadAnimation(animation)
animationTrack.Looped = false

local gui = Instance.new("ScreenGui")
gui.Name = "SubmergeGUI"
gui.Parent = player:WaitForChild("PlayerGui")

local button = Instance.new("TextButton")
button.Name = "SubmergeButton"
button.Parent = gui
button.Size = UDim2.new(0, 150, 0, 50)
button.Position = playerData.buttonPosition
button.AnchorPoint = Vector2.new(1, 0.5)
button.BackgroundColor3 = Color3.fromRGB(0, 100, 200)
button.TextColor3 = Color3.new(1, 1, 1)
button.Text = "Submerge"
button.Font = Enum.Font.GothamBold


Comments

2
Log in to join the conversation. Login
ddorredore's profile picture
ddorredore2 years ago(edited)

Credit: Gio

1
sdfbuklfd's profile picture
sdfbuklfd2 years ago(edited)

cool script

1

More universal scripts

See all
Universal Script πŸ“Œ
41.9k
1.4M
Bumped 1 hour ago
Script hub
25.7k
163.4k
Bumped 1 hour ago
Universal Script πŸ“Œ
163
30
1 hour ago
High QualityΒ Offering
Universal Script πŸ“Œ
187
2.9k
Bumped 2 hours ago
Key System
Universal Script πŸ“Œ
10.4k
422
Bumped 3 hours ago
High QualityΒ Offering
Universal Script πŸ“Œ
8.5k
33.3k
Bumped 4 hours ago
Key System
Universal Script πŸ“Œ
1.4k
5.9k
Bumped 4 hours ago