Safe place open source
Key Required

Safe place open source

Steal Ice Cream from Kids! 🍦1w691w69 2.8K views 92 executesUpdated Jul 19, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•177 lines (5195 chars)
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")

local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
gui.Name = "TeleportGui"
gui.ResetOnSpawn = false

local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 320, 0, 200)
frame.Position = UDim2.new(0.5, -160, 0.1, 0)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.BorderSizePixel = 0
frame.Active = true

local closeBtn = Instance.new("TextButton", frame)
closeBtn.Size = UDim2.new(0, 30, 0, 30)
closeBtn.Position = UDim2.new(1, -35, 0, 5)
closeBtn.Text = "❌"
closeBtn.Font = Enum.Font.SourceSansBold
closeBtn.TextSize = 20
closeBtn.TextColor3 = Color3.new(1, 1, 1)
closeBtn.BackgroundColor3 = Color3.fromRGB(100, 0, 0)

local discord = Instance.new("TextLabel", frame)
discord.Size = UDim2.new(0, 120, 0, 30)
discord.Position = UDim2.new(0, 5, 0, 5)
discord.Font = Enum.Font.SourceSansBold
discord.TextSize = 16
discord.TextColor3 = Color3.new(1, 1, 1)
discord.BackgroundTransparency = 1
discord.TextXAlignment = Enum.TextXAlignment.Left
discord.Text = "دسكورد 1w69"

local teleportBtn = Instance.new("TextButton", frame)
teleportBtn.Size = UDim2.new(1, -40, 0, 40)
teleportBtn.Position = UDim2.new(0, 20, 0, 50)
teleportBtn.Font = Enum.Font.SourceSansBold
teleportBtn.TextSize = 18
teleportBtn.BackgroundColor3 = Color3.fromRGB(0, 120, 180)
teleportBtn.TextColor3 = Color3.new(1, 1, 1)

local afkBtn = Instance.new("TextButton", frame)
afkBtn.Size = UDim2.new(1, -40, 0, 40)
afkBtn.Position = UDim2.new(0, 20, 0, 105)
afkBtn.Font = Enum.Font.SourceSansBold
afkBtn.TextSize = 16
afkBtn.Text = "Anti AFK"
afkBtn.BackgroundColor3 = Color3.fromRGB(30, 100, 30)
afkBtn.TextColor3 = Color3.new(1, 1, 1)

local langBtn = Instance.new("TextButton", frame)
langBtn.Size = UDim2.new(1, -40, 0, 30)
langBtn.Position = UDim2.new(0, 20, 0, 160)
langBtn.Font = Enum.Font.SourceSansBold
langBtn.TextSize = 16
langBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
langBtn.TextColor3 = Color3.new(1, 1, 1)

local currentLang = "ar"
local autoMoveActive = false

local translations = {
	ar = {
		autoBtnOn = "✔️ تشغيل الوضع الامن",
		autoBtnOff = "❌ إيقاف الوضع الامن",
		lang = "English",
		discord = "دسكورد 1w69"
	},
	en = {
		autoBtnOn = "✔️ safe mod ON",
		autoBtnOff = "❌ safe mod OFF",
		lang = "عربي",
		discord = "Discord 1w69"
	}
}

local function updateLang()
	local t = translations[currentLang]
	teleportBtn.Text = t.autoBtnOff
	langBtn.Text = t.lang
	discord.Text = t.discord
end

langBtn.MouseButton1Click:Connect(function()
	currentLang = (currentLang == "ar") and "en" or "ar"
	updateLang()
end)

local RunService = game:GetService("RunService")
local autoMoveConnection

teleportBtn.MouseButton1Click:Connect(function()
	autoMoveActive = not autoMoveActive
	local t = translations[currentLang]
	if autoMoveActive then
		teleportBtn.Text = t.autoBtnOn
		autoMoveConnection = RunService.Heartbeat:Connect(function()
			local char = player.Character
			if char then
				local root = char:FindFirstChild("HumanoidRootPart")
				if root then
					root.CFrame = CFrame.new(183.74, 112.39, 108.13)
				end
			end
		end)
	else
		teleportBtn.Text = t.autoBtnOff
		if autoMoveConnection then
			autoMoveConnection:Disconnect()
			autoMoveConnection = nil
		end
	end
end)

afkBtn.MouseButton1Click:Connect(function()
	local screenGui = Instance.new("ScreenGui")
	screenGui.Name = "AntiAFK_UI"
	screenGui.Parent = player:WaitForChild("PlayerGui")

	local label = Instance.new("TextLabel")
	label.Parent = screenGui
	label.Size = UDim2.new(0, 120, 0, 16)
	label.Position = UDim2.new(0, 5, 0, 5)
	label.BackgroundTransparency = 1
	label.Text = "ANTI-AFK: ON"
	label.TextColor3 = Color3.new(1,1,1)
	label.TextScaled = true
	label.Font = Enum.Font.GothamSemibold

	task.spawn(function()
		local char = player.Character or player.CharacterAdded:Wait()
		local humanoid = char:WaitForChild("Humanoid")
		while true do
			task.wait(5)
			if humanoid.MoveDirection.Magnitude == 0 then
				humanoid:Move(Vector3.new(0,0,-1), true)
				task.wait(0.3)
				humanoid:Move(Vector3.new(0,0,0), true)
			end
		end
	end)
end)

closeBtn.MouseButton1Click:Connect(function()
	gui:Destroy()
end)

local dragging, dragInput, dragStart, startPos
frame.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
		dragging = true
		dragStart = input.Position
		startPos = frame.Position
		input.Changed:Connect(function()
			if input.UserInputState == Enum.UserInputState.End then
				dragging = false
			end
		end)
	end
end)

frame.InputChanged:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
		dragInput = input
	end
end)

UserInputService.InputChanged:Connect(function(input)
	if input == dragInput and dragging then
		local delta = input.Position - dragStart
		frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
	end
end)

updateLang()

Features & Information

3 Buttons - Safe Place - Anti-Afk - Arabic to English Translation 🔐License: This script is open source. You are free to modify, improve, or use it in any project without restrictions.

Community Comments (0)

No comments yet for this script.

More Scripts for Steal Ice Cream from Kids! 🍦