
Key Required
Undermap Floating Script (ALSO WORKS IN YOU VS HOMER)
Lua Script•72 lines (1654 chars)
local player = game.Players.LocalPlayer
local char = player.Character
local oldpivot = char:GetPivot()
local input = game:GetService("UserInputService")
local key = "G"
if workspace:FindFirstChild("FLOATPART") then
workspace.FLOATPART:Destroy()
end
local part = Instance.new("Part", workspace)
part.Name = "FLOATPART"
part.Size = Vector3.new(7,1,7)
part.Transparency = .5
part.Anchored = true
part.CanCollide = false
local anchored = false
local pressing_e = false
local pressing_q = false
local part_y = 0
local run = game:GetService("RunService")
player.CharacterAdded:Connect(function(new)
char = new
anchored = false
part.Transparency = 1
end)
input.InputBegan:Connect(function(k)
if k.KeyCode == Enum.KeyCode[key] and char then
anchored = not anchored
if anchored then
part.Transparency = .5
part.CanCollide = true
oldpivot = char:GetPivot()
char:PivotTo(oldpivot * CFrame.new(0,30 + part_y,0))
else
part.Transparency = 1
part.CanCollide = false
--char:PivotTo(char:GetPivot() * CFrame.new(0,-20,0))
end
end
if k.KeyCode == Enum.KeyCode.E then
pressing_e = true
end
if k.KeyCode == Enum.KeyCode.Q then
pressing_q = true
end
end)
input.InputEnded:Connect(function(k)
if k.KeyCode == Enum.KeyCode.E then
pressing_e = false
end
if k.KeyCode == Enum.KeyCode.Q then
pressing_q = false
end
end)
run.RenderStepped:Connect(function()
if char then
local x = char:GetPivot().Position.X
local y = oldpivot.Position.Y + 25
local z = char:GetPivot().Position.Z
part.Position = Vector3.new(x,y+part_y,z)
if pressing_e then
part_y += .8
elseif pressing_q then
part_y -= .8
end
end
end)Features & Information
You will floating under map by G key
E - up
Q - down
W
I think the content is now deleted. patch it now