Universal Script πŸ“Œ
21.8k Views
613 Executions

Fencing Spray spammer

Universal Script πŸ“Œ
breadyfinn
breadyfinnFirst script
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

so uhhh gives you and others a bunch of spraypaint very OP

Updates

  1. Script edited: Create script

View Raw
-- Create the ScreenGUI
local screenGui = Instance.new("ScreenGui")
screenGui.ResetOnSpawn = false -- Keep the GUI on screen after reset
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

-- Create the draggable frame
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 400, 0, 200)
mainFrame.Position = UDim2.new(0.5, -200, 0.5, -100)
mainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
mainFrame.Parent = screenGui

-- Make the frame draggable
local dragging
local dragStart
local startPos

-- Function to start dragging the GUI
mainFrame.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 then
		dragging = true
		dragStart = input.Position
		startPos = mainFrame.Position
	end
end)

-- Function to handle dragging movement
mainFrame.InputChanged:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseMovement and dragging then
		local delta = input.Position - dragStart
		mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
	end
end)

-- Function to stop dragging
mainFrame.InputEnded:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 then
		dragging = false
	end
end)


Comments

1
Log in to join the conversation. Login
MomentoTrolling's profile picture
MomentoTrolling2 years ago(edited)

Hey I had complained why there no X Button is hard

1

Tags

More universal scripts

See all
Script hub
137
986
Bumped 23 minutes ago

Script hub

Lunyx Hub

Script hub
120.8k
221.2k
Bumped 41 minutes ago
Key System
Script hub
10.5k
200.6k
Bumped 1 hour ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.3k
299.2k
Bumped 4 hours ago
Script hub
23.7k
5.3k
Bumped 4 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
302
977
Bumped 4 hours ago