View difference between Paste ID: YQu1YyWz and c75paXp5
SHOW: | | - or go back to the newest paste.
1
-- made by ginja (on v3rm)
2
-- 🍉🍉🍉🍉 
3
4
-- objects 🍉
5
6
local teamchange = Instance.new("ScreenGui")
7
local scriptframe = Instance.new("Frame")
8
local inmate = Instance.new("TextButton")
9
local guards = Instance.new("TextButton")
10
local neutral = Instance.new("TextButton")
11
local criminals = Instance.new("TextButton")
12
13
-- properties 🍉
14
15
teamchange.Name = "teamchange"
16
teamchange.Parent = game.CoreGui
17
teamchange.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
18
19
scriptframe.Name = "scriptframe"
20
scriptframe.Parent = teamchange
21
scriptframe.Active = true
22
scriptframe.BackgroundColor3 = Color3.new(1, 1, 1)
23
scriptframe.Position = UDim2.new(0.788416088, 0, 0.89641434, 0)
24
scriptframe.Selectable = true
25
scriptframe.Size = UDim2.new(0, 166, 0, 41)
26
scriptframe.Draggable = true
27
28
inmate.Name = "inmate"
29
inmate.Parent = scriptframe
30
inmate.BackgroundColor3 = Color3.new(0.854902, 0.521569, 0.254902)
31
inmate.BorderColor3 = Color3.new(0.854902, 0.521569, 0.254902)
32
inmate.Position = UDim2.new(0.0740599111, 0, 0.231707215, 0)
33
inmate.Size = UDim2.new(0, 25, 0, 21)
34
inmate.Font = Enum.Font.SourceSans
35
inmate.Text = ""
36
inmate.TextColor3 = Color3.new(0, 0, 0)
37
inmate.TextSize = 14
38
inmate.MouseButton1Click:connect(function()
39
	Workspace.Remote.TeamEvent:FireServer("Bright orange")
40
end)
41
42
guards.Name = "guards"
43
guards.Parent = scriptframe
44
guards.BackgroundColor3 = Color3.new(0.0509804, 0.411765, 0.67451)
45
guards.BorderColor3 = Color3.new(0.0509804, 0.411765, 0.67451)
46
guards.Position = UDim2.new(0.296951473, 0, 0.231707215, 0)
47
guards.Size = UDim2.new(0, 25, 0, 21)
48
guards.Font = Enum.Font.SourceSans
49
guards.Text = ""
50
guards.TextColor3 = Color3.new(0, 0, 0)
51
guards.TextSize = 14
52
guards.MouseButton1Click:connect(function()
53
	Workspace.Remote.TeamEvent:FireServer("Bright blue")
54
end)
55
56
neutral.Name = "neutral"
57
neutral.Parent = scriptframe
58
neutral.BorderColor3 = Color3.new(0.639216, 0.635294, 0.647059)
59
neutral.Position = UDim2.new(0.531891227, 0, 0.231707215, 0)
60
neutral.Size = UDim2.new(0, 25, 0, 21)
61
neutral.Font = Enum.Font.SourceSans
62
neutral.Text = ""
63
neutral.TextColor3 = Color3.new(0, 0, 0)
64
neutral.TextSize = 14
65
neutral.MouseButton1Click:connect(function()
66
	Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
67
end)
68
69
criminals.Name = "criminals"
70
criminals.Parent = scriptframe
71
criminals.BackgroundColor3 = Color3.new(1, 0, 0)
72
criminals.BorderColor3 = Color3.new(1, 0, 0)
73
criminals.Position = UDim2.new(0.760806918, 0, 0.231707215, 0)
74
criminals.Size = UDim2.new(0, 25, 0, 21)
75
criminals.Font = Enum.Font.SourceSans
76
criminals.Text = ""
77
criminals.TextColor3 = Color3.new(0, 0, 0)
78
criminals.TextSize = 14
79
criminals.MouseButton1Click:connect(function()
80
	weld02 = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
81
    game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-919.958, 95.327, 2138.189)
82
    wait(0.075)
83
    game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(weld02)
84
end)