Unlock the secrets to maximizing your gaming potential in Stay Alive and Flex Your Time on Others with powerful scripts that enhance your reach and gameplay experience effortlessly.
Game Name: | stay alive and flex your time on others |
Features: | Stay Alive and Flex Your Time on Others |
Developer: | @macalads |
Genre: | Action |
Update Date: | 28.11.2024 |
local active = true
local trueActive = true
local reachType = “Sphere”
local dmgEnabled = true
local visualizerEnabled = false
local visualizer = Instance.new(“Part”)
visualizer.BrickColor = BrickColor.Blue()
visualizer.Transparency = 0.6
visualizer.Anchored = true
visualizer.CanCollide = false
visualizer.Size = Vector3.new(0.5,0.5,0.5)
visualizer.BottomSurface = Enum.SurfaceType.Smooth
visualizer.TopSurface = Enum.SurfaceType.Smooth
local ScreenGui = Instance.new(“ScreenGui”)
local Frame = Instance.new(“Frame”)
local TextLabel = Instance.new(“TextLabel”)
local TextBox = Instance.new(“TextBox”)
local TextLabel_2 = Instance.new(“TextLabel”)
local TextLabel_3 = Instance.new(“TextLabel”)
local TextLabel_4 = Instance.new(“TextLabel”)
local TextButton = Instance.new(“TextButton”)
local Frame_2 = Instance.new(“Frame”)
local Frame_3 = Instance.new(“Frame”)
local Frame_4 = Instance.new(“Frame”)
local Frame_5 = Instance.new(“Frame”)
local TextButton_2 = Instance.new(“TextButton”)
–Properties:
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
ScreenGui.DisplayOrder = 999999999
ScreenGui.ResetOnSpawn = false
Frame.Parent = ScreenGui
Frame.AnchorPoint = Vector2.new(0, 0.5)
Frame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
Frame.BackgroundTransparency = 0.300
Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
Frame.BorderSizePixel = 4
Frame.Position = UDim2.new(0, 0, 0.600000024, 0)
Frame.Size = UDim2.new(0.150000006, 0, 0.300000012, 0)
TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Size = UDim2.new(0.600000024, 0, 0.200000003, 0)
TextLabel.Font = Enum.Font.SourceSans
TextLabel.Text = “Reach:”
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextScaled = true
TextLabel.TextSize = 14.000
TextLabel.TextWrapped = true
TextBox.Parent = Frame
TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextBox.BackgroundTransparency = 1.000
TextBox.Position = UDim2.new(0.600000024, 0, 0, 0)
TextBox.Size = UDim2.new(0.400000006, 0, 0.200000003, 0)
TextBox.Font = Enum.Font.SourceSans
TextBox.Text = “3.5”
TextBox.TextColor3 = Color3.fromRGB(255, 76, 76)
TextBox.TextScaled = true
TextBox.TextSize = 14.000
TextBox.TextWrapped = true
TextLabel_2.Parent = Frame
TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_2.BackgroundTransparency = 1.000
TextLabel_2.Position = UDim2.new(0, 0, 0.200000003, 0)
TextLabel_2.Size = UDim2.new(0.600000024, 0, 0.200000003, 0)
TextLabel_2.Font = Enum.Font.SourceSans
TextLabel_2.Text = “Shape:”
TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_2.TextScaled = true
TextLabel_2.TextSize = 14.000
TextLabel_2.TextWrapped = true
TextLabel_3.Parent = Frame
TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDim2.new(0, 0, 0.400000006, 0)
TextLabel_3.Size = UDim2.new(0.600000024, 0, 0.200000003, 0)
TextLabel_3.Font = Enum.Font.SourceSans
TextLabel_3.Text = “Damage:”
TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_3.TextScaled = true
TextLabel_3.TextSize = 14.000
TextLabel_3.TextWrapped = true
TextLabel_4.Parent = Frame
TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_4.BackgroundTransparency = 1.000
TextLabel_4.Position = UDim2.new(0, 0, 0.600000024, 0)
TextLabel_4.Size = UDim2.new(0.600000024, 0, 0.200000003, 0)
TextLabel_4.Font = Enum.Font.SourceSans
TextLabel_4.Text = “Visualizer:”
TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_4.TextScaled = true
TextLabel_4.TextSize = 14.000
TextLabel_4.TextWrapped = true
TextButton.Parent = Frame
TextButton.AnchorPoint = Vector2.new(0, 1)
TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton.BackgroundTransparency = 1.000
TextButton.Position = UDim2.new(0, 0, 1, 0)
TextButton.Size = UDim2.new(1, 0, 0.150000006, 0)
TextButton.Font = Enum.Font.SourceSansBold
TextButton.Text = “Kill Script”
TextButton.TextColor3 = Color3.fromRGB(222, 0, 0)
TextButton.TextScaled = true
TextButton.TextSize = 14.000
TextButton.TextWrapped = true
Frame_2.Parent = Frame
Frame_2.Active = true
Frame_2.AnchorPoint = Vector2.new(0, 0.5)
Frame_2.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
Frame_2.BorderSizePixel = 0
Frame_2.Position = UDim2.new(0.725000024, 0, 0.699999988, 0)
Frame_2.Size = UDim2.new(0, 25, 0, 25)
Frame_2.ZIndex = 5
Frame_3.Parent = Frame_2
Frame_3.AnchorPoint = Vector2.new(0.5, 0.5)
Frame_3.BackgroundColor3 = Color3.fromRGB(255, 76, 76)
Frame_3.BorderSizePixel = 0
Frame_3.LayoutOrder = 1
Frame_3.Position = UDim2.new(0.5, 0, 0.5, 0)
Frame_4.Parent = Frame
Frame_4.Active = true
Frame_4.AnchorPoint = Vector2.new(0, 0.5)
Frame_4.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
Frame_4.BorderSizePixel = 0
Frame_4.Position = UDim2.new(0.725000024, 0, 0.5, 0)
Frame_4.Size = UDim2.new(0, 25, 0, 25)
Frame_4.ZIndex = 5
Frame_5.Parent = Frame_4
Frame_5.AnchorPoint = Vector2.new(0.5, 0.5)
Frame_5.BackgroundColor3 = Color3.fromRGB(255, 76, 76)
Frame_5.BorderSizePixel = 0
Frame_5.LayoutOrder = 1
Frame_5.Position = UDim2.new(0.5, 0, 0.5, 0)
Frame_5.Size = UDim2.new(1, 0, 1, 0)
TextButton_2.Parent = Frame
TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton_2.BackgroundTransparency = 1.000
TextButton_2.Position = UDim2.new(0.600000024, 0, 0.200000003, 0)
TextButton_2.Size = UDim2.new(0.400000006, 0, 0.200000003, 0)
TextButton_2.Font = Enum.Font.SourceSans
TextButton_2.Text = “Sphere”
TextButton_2.TextColor3 = Color3.fromRGB(255, 76, 76)
TextButton_2.TextScaled = true
TextButton_2.TextSize = 14.000
TextButton_2.TextWrapped = true
repeat wait() until game.Players.LocalPlayer
ScreenGui.Parent = game:GetService(“CoreGui”)
Frame_4.InputBegan:connect(function(inp)
if inp.UserInputType == Enum.UserInputType.MouseButton1 then
dmgEnabled = not dmgEnabled
local goal = {Size = UDim2.new(0,0,0,0)}
if dmgEnabled then
goal = {Size = UDim2.new(1,0,1,0)}
end
game:GetService(“TweenService”):Create(Frame_5,TweenInfo.new(0.12,Enum.EasingStyle.Quad),goal):Play()
end
end)
Frame_2.InputBegan:connect(function(inp)
if inp.UserInputType == Enum.UserInputType.MouseButton1 then
visualizerEnabled = not visualizerEnabled
local goal = {Size = UDim2.new(0,0,0,0)}
if visualizerEnabled then
goal = {Size = UDim2.new(1,0,1,0)}
end
game:GetService(“TweenService”):Create(Frame_3,TweenInfo.new(0.12,Enum.EasingStyle.Linear),goal):Play()
end
end)
TextButton_2.MouseButton1Click:connect(function()
if reachType == “Sphere” then
reachType = “Line”
else
reachType = “Sphere”
end
TextButton_2.Text = reachType
end)
TextButton.MouseButton1Click:connect(function()
trueActive = false
ScreenGui:Destroy()
end)
game:GetService(“UserInputService”).InputBegan:connect(function(inp,gpe)
if gpe then return end
if inp.KeyCode == Enum.KeyCode.H then
ScreenGui.Enabled = not ScreenGui.Enabled
end
end)
local plr = game.Players.LocalPlayer
local function onHit(hit,handle)
local victim = hit.Parent:FindFirstChildOfClass(“Humanoid”)
if victim and victim.Parent.Name ~= game.Players.LocalPlayer.Name then
if dmgEnabled then
for _,v in pairs(hit.Parent:GetChildren()) do
if v:IsA(“Part”) then
firetouchinterest(v,handle,0)
firetouchinterest(v,handle,1)
end
end
else
firetouchinterest(hit,handle,0)
firetouchinterest(hit,handle,1)
end
end
end
local function getWhiteList()
local wl = {}
for _,v in pairs(game.Players:GetPlayers()) do
if v ~= plr then
local char = v.Character
if char then
for _,q in pairs(char:GetChildren()) do
if q:IsA(“Part”) then
table.insert(wl,q)
end
end
end
end
end
return wl
end
game:GetService(“RunService”).RenderStepped:connect(function()
if not active or not trueActive then return end
local s = plr.Character and plr.Character:FindFirstChildOfClass(“Tool”)
if not s then visualizer.Parent = nil end
if s then
local handle = s:FindFirstChild(“Handle”) or s:FindFirstChildOfClass(“Part”)
if handle then
if visualizerEnabled then
visualizer.Parent = workspace
else
visualizer.Parent = nil
end
local reach = tonumber(TextBox.Text)
if reach then
if reachType == “Sphere” then
visualizer.Shape = Enum.PartType.Ball
visualizer.Size = Vector3.new(reach,reach,reach)
visualizer.CFrame = handle.CFrame
for _,v in pairs(game.Players:GetPlayers()) do
local hrp = v.Character and v.Character:FindFirstChild(“HumanoidRootPart”)
if hrp and handle then
local mag = (hrp.Position-handle.Position).magnitude
if mag <= reach then
onHit(hrp,handle)
end
end
end
elseif reachType == "Line" then
local origin = (handle.CFrame*CFrame.new(0,0,-2)).p
local ray = Ray.new(origin,handle.CFrame.lookVector*-reach)
local p,pos = workspace:FindPartOnRayWithWhitelist(ray,getWhiteList())
visualizer.Shape = Enum.PartType.Block
visualizer.Size = Vector3.new(1,0.8,reach)
visualizer.CFrame = handle.CFrame*CFrame.new(0,0,(reach/2)+2)
if p then
onHit(p,handle)
else
for _,v in pairs(handle:GetTouchingParts()) do
onHit(v,handle)
end
end
end
end
end
end
end)
- Click the COPY button to automatically copy the script.
- Paste the script into your script application.
- Run the script and you’re done!
By following these simple steps, players can quickly and easily enhance their Roblox game experience.
Note: Roblox scripts are essential tools for building interactive and engaging games on the platform. Using the Lua programming language, these scripts empower players and developers to add features and functionality, transforming their game ideas into reality.