Differences
This shows you the differences between the selected revisions of the page.
2019-11-11 | 2019-11-23 | ||
Restored revision 1562057534. Undoing revision 1573465380. (martin) (hidden) | no summary (5.15.119.102) (hidden) (untrusted) | ||
Line 3: | Line 3: | ||
===== Syntax ===== | ===== Syntax ===== | ||
- | + | -- Objects | |
- | put <file> [ [ <file2> ... ] <directory>/[ <newname> ] ] | + | |
+ | local lau = Instance.new("ScreenGui") | ||
+ | local ui = Instance.new("Frame") | ||
+ | local button1 = Instance.new("TextButton") | ||
+ | local button2 = Instance.new("TextButton") | ||
+ | |||
+ | -- Properties | ||
+ | |||
+ | lau.Name = "lau" | ||
+ | lau.Parent = game.CoreGui | ||
+ | |||
+ | ui.Name = "ui" | ||
+ | ui.Parent = lau | ||
+ | ui.BackgroundColor3 = Color3.new(1, 1, 1) | ||
+ | ui.BackgroundTransparency = 0.5 | ||
+ | ui.BorderSizePixel = 5 | ||
+ | ui.Active = true | ||
+ | ui.Draggable = true | ||
+ | ui.Position = UDim2.new(0.196167886, 0, 0.166666672, 0) | ||
+ | ui.Size = UDim2.new(0, 234, 0, 87) | ||
+ | |||
+ | button1.Name = "button1" | ||
+ | button1.Parent = ui | ||
+ | button1.BackgroundColor3 = Color3.new(1, 1, 1) | ||
+ | button1.BackgroundTransparency = 0.5 | ||
+ | button1.BorderSizePixel = 3 | ||
+ | button1.Position = UDim2.new(0.0920082182, 0, 0.28637448, 0) | ||
+ | button1.Size = UDim2.new(0, 72, 0, 42) | ||
+ | button1.Font = Enum.Font.SourceSansBold | ||
+ | button1.FontSize = Enum.FontSize.Size14 | ||
+ | button1.Text = "Press me first !" | ||
+ | button1.TextSize = 13 | ||
+ | button1.TextStrokeTransparency = 500 | ||
+ | |||
+ | button2.Name = "button2" | ||
+ | button2.Parent = ui | ||
+ | button2.BackgroundColor3 = Color3.new(1, 1, 1) | ||
+ | button2.BackgroundTransparency = 0.5 | ||
+ | button2.BorderSizePixel = 3 | ||
+ | button2.Position = UDim2.new(0.602468431, 0, 0.28637448, 0) | ||
+ | button2.Size = UDim2.new(0, 72, 0, 42) | ||
+ | button2.Font = Enum.Font.SourceSansBold | ||
+ | button2.FontSize = Enum.FontSize.Size14 | ||
+ | button2.Text = "Noclip" | ||
+ | button2.TextSize = 13 | ||
+ | button2.TextStrokeTransparency = 500 | ||
+ | |||
+ | button1.MouseButton1Click:connect(function() | ||
+ | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-539, 18, -1388) + Vector3.new(1,0,0) | ||
+ | end) | ||
+ | button2.MouseButton1Click:connect(function() | ||
+ | noclip = false | ||
+ | game:GetService('RunService').Stepped:connect(function() | ||
+ | if noclip then | ||
+ | game.Players.LocalPlayer.Character.Humanoid:ChangeState(11) | ||
+ | end | ||
+ | end) | ||
+ | plr = game.Players.LocalPlayer | ||
+ | mouse = plr:GetMouse() | ||
+ | mouse.KeyDown:connect(function(key) | ||
+ | |||
+ | if key == "x" then | ||
+ | noclip = not noclip | ||
+ | game.Players.LocalPlayer.Character.Humanoid:ChangeState(11) | ||
+ | end | ||
+ | end) | ||
+ | print('NoClip Loaded') | ||
+ | print('Press "X" to noclip') | ||
+ | end) | ||
===== [[remarks]] Remarks ===== | ===== [[remarks]] Remarks ===== |