View difference between Paste ID: UuS0mQFu and hWbdCA3L
SHOW: | | - or go back to the newest paste.
1
--[[
2
	Omega 1.0 Script injector by 28nard ;)	
3
	Please do not change the following code as this script might not if done so. Only change if you are an intermediate scripter.-
4
]] 
5
6
7
8
---          functions         ---
9
10
local udim = function(p1,p2,p3,p4)
11
	return UDim2.new(p1,p2,p3,p4)
12
end
13
14
local color3 = function(p1,p2,p3)
15
	return Color3.new(p1,p2,p3)
16
end
17
18
-------------   Declarations  ---------------
19
20
local me = game.Players.LocalPlayer
21
local localgui = me:WaitForChild("PlayerGui")
22
local gui = Instance.new("ScreenGui",localgui)
23
local frame = Instance.new("Frame",gui)
24
25
frame.Size = udim(0.282,0,0.354,0)
26
frame.Position = udim(-0.0001,0,0.002,0)
27
frame.Style = "RobloxRound"
28
29
local scriptData = Instance.new("TextBox",frame)
30
31
scriptData.TextScaled = true
32
scriptData.BackgroundTransparency = 1
33
scriptData.TextColor3 = color3(255,255,255)
34
scriptData.Position = udim(0.149,0,0.212,0)
35
scriptData.Size = udim(0,200,0,50)
36
scriptData.Text = "Press this to enter a script."
37
38
local button = Instance.new("TextButton",frame)
39
40
button.Style = "RobloxRoundButton"
41
button.Position = udim(0.261,0,0.781,0)
42
button.Size = udim(0.465,0,0.127,0)
43
button.Text = "Execute Script"
44
45
button.MouseButton1Click:connect(function()
46
	local data = scriptData.Text
47
	local code = loadstring(data)
48
	code()	
49
end)
50
51
--------------------------------------------