KEMBAR78
Message | PDF | Text
0% found this document useful (0 votes)
56 views2 pages

Message

The document contains a Lua script for a Roblox GUI that includes a frame with a toggle button and a label. The button allows users to enable or disable a 'fling' feature, which modifies the player's velocity. The frame is draggable and designed to be displayed in the player's GUI.

Uploaded by

shalaf431
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views2 pages

Message

The document contains a Lua script for a Roblox GUI that includes a frame with a toggle button and a label. The button allows users to enable or disable a 'fling' feature, which modifies the player's velocity. The frame is draggable and designed to be displayed in the player's GUI.

Uploaded by

shalaf431
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

local ScreenGui = Instance.

new("ScreenGui")
local Frame = Instance.new("Frame")
local TextButton = Instance.new("TextButton")
local TextLabel = Instance.new("TextLabel")

--Properties:

ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
ScreenGui.ResetOnSpawn = false

Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Frame.BorderColor3 = Color3.fromRGB(255, 255, 255)
Frame.BorderSizePixel = 2
Frame.Position = UDim2.new(0.341826946, 0, 0.367763907, 0)
Frame.Size = UDim2.new(0, 148, 0, 106)

TextButton.Parent = Frame
TextButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
TextButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
TextButton.BorderSizePixel = 2
TextButton.Position = UDim2.new(0.0835492909, 0, 0.552504063, 0)
TextButton.Size = UDim2.new(0, 124, 0, 37)
TextButton.Font = Enum.Font.SourceSans
TextButton.Text = "OFF"
TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton.TextSize = 41.000

TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextLabel.BorderSizePixel = 0
TextLabel.Position = UDim2.new(0.0649713054, 0, 0.0727680102, 0)
TextLabel.Size = UDim2.new(0, 128, 0, 39)
TextLabel.Font = Enum.Font.SourceSans
TextLabel.Text = "Touch Fling"
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextSize = 34.000

-- Scripts:

local function CTIKC_fake_script() -- TextButton.LocalScript


local script = Instance.new('LocalScript', TextButton)

local ReplicatedStorage = game:GetService("ReplicatedStorage")


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

local toggleButton = script.Parent


local hiddenfling = false

if not ReplicatedStorage:FindFirstChild("juisdfj0i32i0eidsuf0iok") then


local detection = Instance.new("Decal")
detection.Name = "juisdfj0i32i0eidsuf0iok"
detection.Parent = ReplicatedStorage
end
local function fling()
local hrp, c, vel, movel = nil, nil, nil, 0.1
local lp = Players.LocalPlayer

while true do
RunService.Heartbeat:Wait()
if hiddenfling then
while hiddenfling and not (c and c.Parent and hrp and
hrp.Parent) do
RunService.Heartbeat:Wait()
c = lp.Character
hrp = c and c:FindFirstChild("HumanoidRootPart")
end

if hiddenfling then
vel = hrp.Velocity
hrp.Velocity = vel * 10000 + Vector3.new(0, 10000, 0)
RunService.RenderStepped:Wait()
if c and c.Parent and hrp and hrp.Parent then
hrp.Velocity = vel
end
RunService.Stepped:Wait()
if c and c.Parent and hrp and hrp.Parent then
hrp.Velocity = vel + Vector3.new(0, movel, 0)
movel = movel * -1
end
end
end
end
end

toggleButton.MouseButton1Click:Connect(function()
hiddenfling = not hiddenfling
if hiddenfling then
toggleButton.Text = "ON"
else
toggleButton.Text = "OFF"
end
end)

fling()

end
coroutine.wrap(CTIKC_fake_script)()
local function FFJFK_fake_script() -- Frame.LocalScript
local script = Instance.new('LocalScript', Frame)

script.Parent.Active = true
script.Parent.Draggable = true
end
coroutine.wrap(FFJFK_fake_script)()

You might also like