Advertisement
Denisgeniusvvv

Script the floor is lava

Mar 3rd, 2025 (edited)
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.39 KB | Gaming | 0 0
  1. local player = game.Players.LocalPlayer
  2. local char = player.Character or player.CharacterAdded:Wait()
  3. local hum = char:FindFirstChild("Humanoid")
  4. local root = char:FindFirstChild("HumanoidRootPart")
  5.  
  6. local infJump = false
  7. local buttonText = "Auto Farm: Off"
  8. local button3
  9.  
  10. local function sendLinkToChat()
  11.     local message = "https://t.me/RaptorcfScript"
  12.     game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(message, "All")
  13. end
  14.  
  15. local function toggleInfJump()
  16.     infJump = not infJump
  17.     buttonText = "Auto Farm: " .. (infJump and "On" or "Off")
  18.     if button3 then
  19.         button3.Text = buttonText
  20.     end
  21. end
  22.  
  23. local function jumpLoop()
  24.     while true do
  25.         if infJump and root then
  26.             root.Velocity = Vector3.new(root.Velocity.X, 100, root.Velocity.Z)
  27.         end
  28.         wait()
  29.     end
  30. end
  31.  
  32. local function textColorLoop(textLabel)
  33.     local red = Color3.new(1, 0, 0)
  34.     local black = Color3.new(0, 0, 0)
  35.     local t = 0
  36.  
  37.     while true do
  38.         t = t + 0.01
  39.         local currentColor = black:Lerp(red, math.abs(math.sin(t)))
  40.         textLabel.TextColor3 = currentColor
  41.         wait(0.01)
  42.     end
  43. end
  44.  
  45. local function rainbowLoop(frame)
  46.     while true do
  47.         for i = 0, 1, 0.01 do
  48.             local rainbowColor = Color3.fromHSV(i, 1, 1)
  49.             frame.BackgroundColor3 = rainbowColor
  50.             wait(0.01)
  51.         end
  52.     end
  53. end
  54.  
  55. local function menu()
  56.     local scr = Instance.new("ScreenGui")
  57.     scr.Name = "The Floor is Lava By Raptorcf"
  58.     scr.Parent = player.PlayerGui
  59.  
  60.     local frame = Instance.new("Frame")
  61.     frame.Size = UDim2.new(0, 200, 0, 100)
  62.     frame.Position = UDim2.new(0, 5, 0, 10)
  63.     frame.BackgroundColor3 = Color3.new(0.7, 0.7, 0.7)
  64.     frame.Parent = scr
  65.  
  66.     local title = Instance.new("TextLabel")
  67.     title.Size = UDim2.new(1, 0, 0.3, 0)
  68.     title.Position = UDim2.new(0, 0, 0, 0)
  69.     title.BackgroundColor3 = Color3.new(0, 0, 0)
  70.     title.BackgroundTransparency = 0
  71.     title.Text = "The Floor is Lava By Raptorcf"
  72.     title.TextColor3 = Color3.new(1, 1, 1)
  73.     title.TextScaled = true
  74.     title.Parent = frame
  75.  
  76.     spawn(function()
  77.         textColorLoop(title)
  78.     end)
  79.  
  80.     button3 = Instance.new("TextButton")
  81.     button3.Size = UDim2.new(0.48, 0, 0.35, 0)
  82.     button3.Position = UDim2.new(0, 0, 0.3, 0)
  83.     button3.Text = buttonText
  84.     button3.BackgroundColor3 = Color3.new(1, 1, 1)
  85.     button3.TextColor3 = Color3.new(0, 0, 0)
  86.     button3.Parent = frame
  87.     button3.MouseButton1Click:Connect(toggleInfJump)
  88.  
  89.     spawn(function()
  90.         rainbowLoop(button3)
  91.     end)
  92.  
  93.     local button4 = Instance.new("TextButton")
  94.     button4.Size = UDim2.new(0.48, 0, 0.35, 0)
  95.     button4.Position = UDim2.new(0.52, 0, 0.3, 0)
  96.     button4.Text = "Join Community"
  97.     button4.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  98.     button4.TextColor3 = Color3.new(1, 1, 1)
  99.     button4.Parent = frame
  100.     button4.MouseButton1Click:Connect(function()
  101.         setclipboard("https://t.me/RaptorcfScript")
  102.     end)
  103.  
  104.     if hum and root then
  105.       spawn(jumpLoop)
  106.     end
  107. end
  108.  
  109. local function onCharacterAdded(character)
  110.     char = character
  111.     hum = char:FindFirstChild("Humanoid")
  112.     root = char:FindFirstChild("HumanoidRootPart")
  113.     if hum and root then
  114.         spawn(jumpLoop)
  115.     end
  116. end
  117.  
  118. menu()
  119. player.CharacterAdded:Connect(onCharacterAdded)
  120.  
  121. sendLinkToChat()
  122.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement