iOSdeveloper

Untitled

Mar 22nd, 2025
1,050
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.35 KB | None | 0 0
  1. -- script is open source dont skid yea if you want it give credit
  2. local player = game.Players.LocalPlayer
  3. local noclipEnabled = false
  4. local ownerUserId = 4539739448
  5. local RunService = game:GetService("RunService")
  6. local VirtualInputManager = game:GetService("VirtualInputManager")
  7.  
  8. local function sendNotification(title, text, duration)
  9. pcall(function()
  10. game.StarterGui:SetCore("SendNotification", {
  11. Title = title,
  12. Text = text,
  13. Duration = duration or 4
  14. })
  15. end)
  16. end
  17.  
  18. if player.UserId == ownerUserId then
  19. sendNotification("Welcome Owner", "Welcome " .. player.Name, 5)
  20. end
  21.  
  22. local function toggleNoclip(state)
  23. noclipEnabled = state or not noclipEnabled
  24. for _, part in pairs(player.Character:GetDescendants()) do
  25. if part:IsA("BasePart") then
  26. part.CanCollide = not noclipEnabled
  27. end
  28. end
  29. end
  30.  
  31. RunService.Stepped:Connect(function()
  32. if noclipEnabled and player.Character then
  33. for _, part in pairs(player.Character:GetDescendants()) do
  34. if part:IsA("BasePart") then
  35. part.CanCollide = false
  36. end
  37. end
  38. end
  39. end)
  40.  
  41. local success, library = pcall(function()
  42. return loadstring(game:HttpGet("https://raw.githubusercontent.com/liebertsx/Tora-Library/main/src/librarynew", true))()
  43. end)
  44.  
  45. if not success or not library then
  46. sendNotification("Error", "Failed to load Library", 5)
  47. return
  48. end
  49.  
  50. local window = library:CreateWindow("DEAD RAILS")
  51.  
  52. window:AddButton({
  53. text = "Bypass To End",
  54. callback = function()
  55. sendNotification("Spam Button If Not Teleported", "Keep clicking if teleport fails", 4)
  56. wait(1)
  57. player.Character:PivotTo(CFrame.new(-346, -69, -49060))
  58. end
  59. })
  60.  
  61. window:AddButton({
  62. text = "Toggle NoClip",
  63. callback = function()
  64. toggleNoclip()
  65. sendNotification("NoClip Status", "NoClip is now " .. (noclipEnabled and "Enabled" or "Disabled"), 4)
  66. end
  67. })
  68.  
  69. window:AddLabel({ text = "Credits: TOUKA", type = "label" })
  70. library:Init()
  71.  
  72. local function createTimerUI()
  73. local screenGui = Instance.new("ScreenGui", player.PlayerGui)
  74.  
  75. local timerFrame = Instance.new("Frame", screenGui)
  76. timerFrame.Size = UDim2.new(0, 220, 0, 60)
  77. timerFrame.Position = UDim2.new(0.5, -110, 0, 10)
  78. timerFrame.AnchorPoint = Vector2.new(0.5, 0)
  79. timerFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  80. timerFrame.BorderSizePixel = 2
  81. timerFrame.BorderColor3 = Color3.fromRGB(255, 85, 85)
  82.  
  83. local timerLabel = Instance.new("TextLabel", timerFrame)
  84. timerLabel.Size = UDim2.new(1, 0, 1, 0)
  85. timerLabel.Text = "10:00"
  86. timerLabel.TextColor3 = Color3.fromRGB(255, 85, 85)
  87. timerLabel.Font = Enum.Font.GothamBlack
  88. timerLabel.TextSize = 32
  89. timerLabel.BackgroundTransparency = 1
  90.  
  91. return timerLabel
  92. end
  93.  
  94. local timerLabel = createTimerUI()
  95.  
  96. local function startTimer(duration)
  97. local endTime = tick() + duration
  98. while tick() < endTime do
  99. local remaining = endTime - tick()
  100. timerLabel.Text = string.format("%02d:%02d", math.floor(remaining / 60), math.floor(remaining % 60))
  101. wait(0.1)
  102. end
  103. timerLabel.Text = "00:00"
  104. end
  105.  
  106. startTimer(600)
  107.  
  108. local function handleCommand(command)
  109. local args = {}
  110. for arg in command:gmatch("%S+") do table.insert(args, arg) end
  111.  
  112. if player.UserId == ownerUserId then
  113. if args[1] == "!kick" and args[2] then
  114. local targetPlayer = game.Players:FindFirstChild(args[2])
  115. if targetPlayer then
  116. targetPlayer:Kick("Kicked by Owner")
  117. else
  118. sendNotification("Error", "Player not found: " .. args[2], 5)
  119. end
  120. elseif args[1] == "!notify" then
  121. local message = table.concat(args, " ", 2)
  122. for _, plr in pairs(game.Players:GetPlayers()) do
  123. sendNotification("Notification", message, 5)
  124. end
  125. elseif args[1] == "!say" then
  126. local message = table.concat(args, " ", 2)
  127. VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Slash, false, game)
  128. wait(0.1)
  129. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(message, "All")
  130. end
  131. end
  132. end
  133.  
  134. player.Chatted:Connect(handleCommand)
Advertisement
Add Comment
Please, Sign In to add comment