Mr_3242

Molyn invisibility

Jun 3rd, 2026
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.64 KB | None | 0 0
  1. --[[
  2. MOLYN INVISIBILITY
  3. © MOLYN DEVELOPMENT
  4. ]]
  5.  
  6. -- MOLYN Configuration
  7. local CONFIG = {
  8. TOGGLE_KEY = Enum.KeyCode.X,
  9. DEFAULT_SPEED = 16,
  10. BOOSTED_SPEED = 48,
  11. INVISIBILITY_POSITION = Vector3.new(-25.95, 84, 3537.55),
  12. -- MOLYN Theme Colors
  13. BACKGROUND = Color3.fromRGB(10, 10, 10),
  14. SURFACE = Color3.fromRGB(25, 25, 25),
  15. PRIMARY = Color3.fromRGB(255, 50, 50),
  16. ACCENT = Color3.fromRGB(255, 80, 80),
  17. SUCCESS = Color3.fromRGB(50, 255, 50),
  18. DANGER = Color3.fromRGB(255, 50, 50),
  19. TEXT = Color3.fromRGB(255, 255, 255),
  20. TEXT_SECONDARY = Color3.fromRGB(200, 200, 200),
  21. }
  22.  
  23. -- Services
  24. local Players = game:GetService("Players")
  25. local UserInputService = game:GetService("UserInputService")
  26. local TweenService = game:GetService("TweenService")
  27. local RunService = game:GetService("RunService")
  28.  
  29. -- Variables
  30. local player = Players.LocalPlayer
  31. local playerState = {
  32. isInvisible = false,
  33. isSpeedBoosted = false,
  34. isNoclip = false,
  35. isInfJump = false,
  36. originalSpeed = CONFIG.DEFAULT_SPEED,
  37. }
  38.  
  39. -- GUI Elements
  40. local screenGui: ScreenGui
  41. local mainFrame: Frame
  42. local toggleButton: TextButton
  43. local speedButton: TextButton
  44. local noclipButton: TextButton
  45. local infJumpButton: TextButton
  46. local closeButton: TextButton
  47. local statusLabel: TextLabel
  48. local statusCircle: Frame
  49.  
  50. -- Utility Functions
  51. local function setCharacterTransparency(character: Model, transparency: number): ()
  52. for _, descendant in character:GetDescendants() do
  53. if descendant:IsA("BasePart") or descendant:IsA("Decal") then
  54. descendant.Transparency = transparency
  55. end
  56. end
  57. end
  58.  
  59. local function getHumanoid(): Humanoid?
  60. local character = player.Character
  61. return character and character:FindFirstChild("Humanoid") :: Humanoid?
  62. end
  63.  
  64. local function updateStatusUI()
  65. if not statusLabel or not statusCircle then return end
  66. if playerState.isInvisible then
  67. statusLabel.Text = "STATUS: ACTIVE"
  68. TweenService:Create(statusCircle, TweenInfo.new(0.3), {BackgroundColor3 = CONFIG.SUCCESS}):Play()
  69. TweenService:Create(statusCircle:FindFirstChild("UIStroke"), TweenInfo.new(0.3), {Color = CONFIG.SUCCESS, Transparency = 0.3}):Play()
  70. else
  71. statusLabel.Text = "STATUS: INACTIVE"
  72. TweenService:Create(statusCircle, TweenInfo.new(0.3), {BackgroundColor3 = CONFIG.DANGER}):Play()
  73. TweenService:Create(statusCircle:FindFirstChild("UIStroke"), TweenInfo.new(0.3), {Color = CONFIG.DANGER, Transparency = 0.3}):Play()
  74. end
  75. end
  76.  
  77. -- Core Logic Functions
  78. local function toggleInvisibility()
  79. if not player.Character then return end
  80. playerState.isInvisible = not playerState.isInvisible
  81. if playerState.isInvisible then
  82. local hrp = player.Character:FindFirstChild("HumanoidRootPart") :: BasePart?
  83. if not hrp then return end
  84. local savedPosition = hrp.CFrame
  85. player.Character:MoveTo(CONFIG.INVISIBILITY_POSITION)
  86. task.wait(0.15)
  87. local seat = Instance.new("Seat")
  88. seat.Name = "invischair"
  89. seat.Anchored = false; seat.CanCollide = false; seat.Transparency = 1
  90. seat.Position = CONFIG.INVISIBILITY_POSITION
  91. seat.Parent = workspace
  92. local weld = Instance.new("Weld")
  93. weld.Part0 = seat
  94. weld.Part1 = player.Character:FindFirstChild("Torso") or player.Character:FindFirstChild("UpperTorso")
  95. weld.Parent = seat
  96. task.wait()
  97. seat.CFrame = savedPosition
  98. setCharacterTransparency(player.Character, 0.5)
  99. toggleButton.Text = "🔴 VISIBLE"
  100. TweenService:Create(toggleButton, TweenInfo.new(0.3), {BackgroundColor3 = CONFIG.DANGER}):Play()
  101. else
  102. local invisChair = workspace:FindFirstChild("invischair")
  103. if invisChair then invisChair:Destroy() end
  104. if player.Character then setCharacterTransparency(player.Character, 0) end
  105. toggleButton.Text = "👻 INVISIBLE"
  106. TweenService:Create(toggleButton, TweenInfo.new(0.3), {BackgroundColor3 = CONFIG.SURFACE}):Play()
  107. end
  108. updateStatusUI()
  109. end
  110.  
  111. local function toggleSpeedBoost()
  112. local humanoid = getHumanoid()
  113. if not humanoid then return end
  114. playerState.isSpeedBoosted = not playerState.isSpeedBoosted
  115. if playerState.isSpeedBoosted then
  116. humanoid.WalkSpeed = CONFIG.BOOSTED_SPEED
  117. speedButton.Text = "⚡ SPEED: ON"
  118. TweenService:Create(speedButton, TweenInfo.new(0.3), {BackgroundColor3 = CONFIG.SUCCESS}):Play()
  119. else
  120. humanoid.WalkSpeed = playerState.originalSpeed
  121. speedButton.Text = "⚡ SPEED BOOST"
  122. TweenService:Create(speedButton, TweenInfo.new(0.3), {BackgroundColor3 = CONFIG.SURFACE}):Play()
  123. end
  124. end
  125.  
  126. local function toggleNoclip()
  127. playerState.isNoclip = not playerState.isNoclip
  128. if playerState.isNoclip then
  129. noclipButton.Text = "🚫 NOCLIP: ON"
  130. TweenService:Create(noclipButton, TweenInfo.new(0.3), {BackgroundColor3 = CONFIG.SUCCESS}):Play()
  131. else
  132. noclipButton.Text = "🚫 NOCLIP"
  133. TweenService:Create(noclipButton, TweenInfo.new(0.3), {BackgroundColor3 = CONFIG.SURFACE}):Play()
  134. end
  135. end
  136.  
  137. local function toggleInfJump()
  138. playerState.isInfJump = not playerState.isInfJump
  139. if playerState.isInfJump then
  140. infJumpButton.Text = "🦘 INF JUMP: ON"
  141. TweenService:Create(infJumpButton, TweenInfo.new(0.3), {BackgroundColor3 = CONFIG.SUCCESS}):Play()
  142. else
  143. infJumpButton.Text = "🦘 INFINITE JUMP"
  144. TweenService:Create(infJumpButton, TweenInfo.new(0.3), {BackgroundColor3 = CONFIG.SURFACE}):Play()
  145. end
  146. end
  147.  
  148. -- GUI Creation
  149. local function createGUI()
  150. screenGui = Instance.new("ScreenGui")
  151. screenGui.Name = "MOLYN_FE_Invisibility"
  152. screenGui.ResetOnSpawn = false
  153. screenGui.Parent = player:WaitForChild("PlayerGui")
  154.  
  155. mainFrame = Instance.new("Frame")
  156. mainFrame.Size = UDim2.new(0, 220, 0, 320)
  157. mainFrame.Position = UDim2.new(0.5, -110, 0, -350)
  158. mainFrame.BackgroundColor3 = CONFIG.BACKGROUND
  159. mainFrame.BorderSizePixel = 0
  160. mainFrame.Active = true
  161. mainFrame.Draggable = true
  162. mainFrame.Parent = screenGui
  163.  
  164. Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 16)
  165. local mStroke = Instance.new("UIStroke", mainFrame)
  166. mStroke.Color = CONFIG.PRIMARY
  167. mStroke.Transparency = 0.5
  168. mStroke.Thickness = 2
  169.  
  170. -- Entrance Animation
  171. TweenService:Create(mainFrame, TweenInfo.new(0.8, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
  172. Position = UDim2.new(0.5, -110, 0.5, -160)
  173. }):Play()
  174.  
  175. -- Header with Logo
  176. local header = Instance.new("Frame")
  177. header.Size = UDim2.new(1, 0, 0, 60)
  178. header.BackgroundColor3 = CONFIG.SURFACE
  179. header.BorderSizePixel = 0
  180. header.Parent = mainFrame
  181.  
  182. local headerCorner = Instance.new("UICorner", header)
  183. headerCorner.CornerRadius = UDim.new(0, 16)
  184.  
  185. local headerFix = Instance.new("Frame")
  186. headerFix.Size = UDim2.new(1, 0, 0, 20)
  187. headerFix.Position = UDim2.new(0, 0, 1, -20)
  188. headerFix.BackgroundColor3 = CONFIG.SURFACE
  189. headerFix.BorderSizePixel = 0
  190. headerFix.Parent = header
  191.  
  192. -- Logo
  193. local logo = Instance.new("ImageLabel")
  194. logo.Size = UDim2.new(0, 40, 0, 40)
  195. logo.Position = UDim2.new(0, 15, 0.5, -20)
  196. logo.BackgroundColor3 = CONFIG.SURFACE
  197. logo.Image = "rbxassetid://109421193232034"
  198. logo.ScaleType = Enum.ScaleType.Fit
  199. logo.Parent = header
  200.  
  201. local logoCorner = Instance.new("UICorner", logo)
  202. logoCorner.CornerRadius = UDim.new(0, 8)
  203.  
  204. -- Title
  205. local titleLabel = Instance.new("TextLabel")
  206. titleLabel.Size = UDim2.new(1, -120, 1, 0)
  207. titleLabel.Position = UDim2.new(0, 60, 0, 0)
  208. titleLabel.Text = "MOLYN INVISIBILITY"
  209. titleLabel.BackgroundTransparency = 1
  210. titleLabel.TextColor3 = CONFIG.TEXT
  211. titleLabel.Font = Enum.Font.GothamBold
  212. titleLabel.TextSize = 18
  213. titleLabel.TextXAlignment = Enum.TextXAlignment.Left
  214. titleLabel.Parent = header
  215.  
  216. local subtitle = Instance.new("TextLabel")
  217. subtitle.Size = UDim2.new(1, -120, 0, 15)
  218. subtitle.Position = UDim2.new(0, 60, 0, 32)
  219. subtitle.Text = "Invisibility Panel"
  220. subtitle.BackgroundTransparency = 1
  221. subtitle.TextColor3 = CONFIG.TEXT_SECONDARY
  222. subtitle.Font = Enum.Font.Gotham
  223. subtitle.TextSize = 11
  224. subtitle.TextXAlignment = Enum.TextXAlignment.Left
  225. subtitle.Parent = header
  226.  
  227. -- Modern Button Styling
  228. local function style(btn: TextButton)
  229. Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 12)
  230. local s = Instance.new("UIStroke", btn)
  231. s.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  232. s.Color = CONFIG.PRIMARY
  233. s.Transparency = 0.7
  234. s.Thickness = 1.5
  235.  
  236. -- Hover Animation
  237. btn.MouseEnter:Connect(function()
  238. TweenService:Create(s, TweenInfo.new(0.2), {Transparency = 0.3}):Play()
  239. TweenService:Create(btn, TweenInfo.new(0.2), {BackgroundColor3 = CONFIG.ACCENT}):Play()
  240. end)
  241. btn.MouseLeave:Connect(function()
  242. if not btn.Text:find(":") then
  243. TweenService:Create(s, TweenInfo.new(0.2), {Transparency = 0.7}):Play()
  244. TweenService:Create(btn, TweenInfo.new(0.2), {BackgroundColor3 = CONFIG.SURFACE}):Play()
  245. end
  246. end)
  247.  
  248. -- Click Animation
  249. btn.MouseButton1Down:Connect(function()
  250. TweenService:Create(btn, TweenInfo.new(0.1, Enum.EasingStyle.Quad), {
  251. Size = UDim2.new(1, -32, 0, 42)
  252. }):Play()
  253. end)
  254. btn.MouseButton1Up:Connect(function()
  255. TweenService:Create(btn, TweenInfo.new(0.2, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
  256. Size = UDim2.new(1, -28, 0, 45)
  257. }):Play()
  258. end)
  259. end
  260.  
  261. -- Buttons
  262. toggleButton = Instance.new("TextButton")
  263. toggleButton.Size = UDim2.new(1, -28, 0, 45)
  264. toggleButton.Position = UDim2.new(0, 14, 0, 75)
  265. toggleButton.Text = "👻 INVISIBLE"
  266. toggleButton.BackgroundColor3 = CONFIG.SURFACE
  267. toggleButton.TextColor3 = CONFIG.TEXT
  268. toggleButton.Font = Enum.Font.GothamBold
  269. toggleButton.TextSize = 13
  270. toggleButton.AutoButtonColor = false
  271. toggleButton.Parent = mainFrame
  272. style(toggleButton)
  273.  
  274. speedButton = Instance.new("TextButton")
  275. speedButton.Size = UDim2.new(1, -28, 0, 45)
  276. speedButton.Position = UDim2.new(0, 14, 0, 128)
  277. speedButton.Text = "⚡ SPEED BOOST"
  278. speedButton.BackgroundColor3 = CONFIG.SURFACE
  279. speedButton.TextColor3 = CONFIG.TEXT
  280. speedButton.Font = Enum.Font.GothamBold
  281. speedButton.TextSize = 13
  282. speedButton.AutoButtonColor = false
  283. speedButton.Parent = mainFrame
  284. style(speedButton)
  285.  
  286. noclipButton = Instance.new("TextButton")
  287. noclipButton.Size = UDim2.new(1, -28, 0, 45)
  288. noclipButton.Position = UDim2.new(0, 14, 0, 181)
  289. noclipButton.Text = "🚫 NOCLIP"
  290. noclipButton.BackgroundColor3 = CONFIG.SURFACE
  291. noclipButton.TextColor3 = CONFIG.TEXT
  292. noclipButton.Font = Enum.Font.GothamBold
  293. noclipButton.TextSize = 13
  294. noclipButton.AutoButtonColor = false
  295. noclipButton.Parent = mainFrame
  296. style(noclipButton)
  297.  
  298. infJumpButton = Instance.new("TextButton")
  299. infJumpButton.Size = UDim2.new(1, -28, 0, 45)
  300. infJumpButton.Position = UDim2.new(0, 14, 0, 234)
  301. infJumpButton.Text = "🦘 INFINITE JUMP"
  302. infJumpButton.BackgroundColor3 = CONFIG.SURFACE
  303. infJumpButton.TextColor3 = CONFIG.TEXT
  304. infJumpButton.Font = Enum.Font.GothamBold
  305. infJumpButton.TextSize = 13
  306. infJumpButton.AutoButtonColor = false
  307. infJumpButton.Parent = mainFrame
  308. style(infJumpButton)
  309.  
  310. -- Status Indicator
  311. statusCircle = Instance.new("Frame")
  312. statusCircle.Size = UDim2.new(0, 8, 0, 8)
  313. statusCircle.Position = UDim2.new(0, 14, 0, 290)
  314. statusCircle.BackgroundColor3 = CONFIG.DANGER
  315. statusCircle.Parent = mainFrame
  316.  
  317. Instance.new("UICorner", statusCircle).CornerRadius = UDim.new(1, 0)
  318. local glowCircle = Instance.new("UIStroke", statusCircle)
  319. glowCircle.Thickness = 3
  320. glowCircle.Color = CONFIG.DANGER
  321. glowCircle.Transparency = 0.3
  322.  
  323. statusLabel = Instance.new("TextLabel")
  324. statusLabel.Size = UDim2.new(1, -30, 0, 18)
  325. statusLabel.Position = UDim2.new(0, 28, 0, 287)
  326. statusLabel.Text = "STATUS: INACTIVE"
  327. statusLabel.BackgroundTransparency = 1
  328. statusLabel.TextColor3 = CONFIG.TEXT_SECONDARY
  329. statusLabel.Font = Enum.Font.GothamBold
  330. statusLabel.TextSize = 10
  331. statusLabel.TextXAlignment = Enum.TextXAlignment.Left
  332. statusLabel.Parent = mainFrame
  333.  
  334. -- Footer
  335. local footer = Instance.new("TextLabel")
  336. footer.Size = UDim2.new(1, 0, 0, 20)
  337. footer.Position = UDim2.new(0, 0, 1, -8)
  338. footer.Text = "© MOLYN DEVELOPMENT"
  339. footer.BackgroundTransparency = 1
  340. footer.TextColor3 = CONFIG.PRIMARY
  341. footer.Font = Enum.Font.GothamBold
  342. footer.TextSize = 9
  343. footer.Parent = mainFrame
  344.  
  345. -- Close Button
  346. closeButton = Instance.new("TextButton")
  347. closeButton.Size = UDim2.new(0, 30, 0, 30)
  348. closeButton.Position = UDim2.new(1, -40, 0, 15)
  349. closeButton.Text = "✕"
  350. closeButton.BackgroundColor3 = CONFIG.DANGER
  351. closeButton.TextColor3 = CONFIG.TEXT
  352. closeButton.Font = Enum.Font.GothamBold
  353. closeButton.TextSize = 18
  354. closeButton.Parent = mainFrame
  355.  
  356. local closeCorner = Instance.new("UICorner", closeButton)
  357. closeCorner.CornerRadius = UDim.new(0, 8)
  358.  
  359. closeButton.MouseButton1Click:Connect(function()
  360. local exitTween = TweenService:Create(mainFrame, TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.In), {
  361. Position = UDim2.new(0.5, -110, 0, -350)
  362. })
  363. exitTween:Play()
  364. exitTween.Completed:Connect(function()
  365. screenGui:Destroy()
  366. end)
  367. end)
  368. end
  369.  
  370. -- Initialization
  371. createGUI()
  372. toggleButton.MouseButton1Click:Connect(toggleInvisibility)
  373. speedButton.MouseButton1Click:Connect(toggleSpeedBoost)
  374. noclipButton.MouseButton1Click:Connect(toggleNoclip)
  375. infJumpButton.MouseButton1Click:Connect(toggleInfJump)
  376.  
  377. UserInputService.InputBegan:Connect(function(input, processed)
  378. if not processed and input.KeyCode == CONFIG.TOGGLE_KEY then toggleInvisibility() end
  379. end)
  380.  
  381. -- Feature Loops
  382. RunService.Stepped:Connect(function()
  383. if playerState.isNoclip and player.Character then
  384. for _, part in pairs(player.Character:GetDescendants()) do
  385. if part:IsA("BasePart") and part.CanCollide then
  386. part.CanCollide = false
  387. end
  388. end
  389. end
  390. end)
  391.  
  392. UserInputService.JumpRequest:Connect(function()
  393. if playerState.isInfJump and player.Character then
  394. local hum = player.Character:FindFirstChild("Humanoid") :: Humanoid?
  395. if hum then
  396. hum:ChangeState(Enum.HumanoidStateType.Jumping)
  397. end
  398. end
  399. end)
Add Comment
Please, Sign In to add comment