Universal Script 📌
19.1k Views
23 Executions

Scaffolding Script

Universal Script 📌
ROZXINO_OFFICIAL
ROZXINO_OFFICIALPublished 25
3 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

<Scaffold For bedwars and other games>

Updates

  1. Script edited: Create script

View Raw
local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "CoreGui" ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local Frame = Instance.new("Frame") Frame.Name = "MainFrame" Frame.Parent = ScreenGui Frame.Active = true Frame.Draggable = true Frame.Size = UDim2.new(0, 300, 0, 200) Frame.Position = UDim2.new(0.5, -150, 0.5, -100) Frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50) Frame.BorderSizePixel = 0 Frame.AnchorPoint = Vector2.new(0.5, 0.5) local CornerRadius = 10 local FrameCorner = Instance.new("UICorner") FrameCorner.CornerRadius = UDim.new(0, CornerRadius) FrameCorner.Parent = Frame local TextLabel = Instance.new("TextLabel") TextLabel.Name = "TitleLabel" TextLabel.Parent = Frame TextLabel.Size = UDim2.new(1, 0, 0, 50) TextLabel.Position = UDim2.new(0, 0, 0, 0) TextLabel.BackgroundTransparency = 1 TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TextLabel.Font = Enum.Font.GothamBold TextLabel.TextSize = 24 TextLabel.Text = "Scaffold Gui" local Button = Instance.new("TextButton") Button.Name = "MyButton" Button.Parent = Frame Button.Size = UDim2.new(1, 0, 0, 100) Button.Position = UDim2.new(0, 0, 0, 50) Button.BackgroundColor3 = Color3.fromRGB(80, 80, 80) Button.BackgroundTransparency = 3 Button.BorderSizePixel = 0 Button.TextColor3 = Color3.fromRGB(255, 255, 255) Button.Font = Enum.Font.Gotham Button.TextSize = 18 Button.Text = "Scaffold"

Button.MouseButton1Click:Connect(function()
print('Scaffolding script')
local player = game.Players.LocalPlayer

local humanoid = player.Character:WaitForChild("Humanoid")

humanoid.StateChanged:Connect(function(oldState, newState)
    if newState == Enum.HumanoidStateType.Running or newState == Enum.HumanoidStateType.Jumping then
        local block = Instance.new("Part")
        block.Size = Vector3.new(4, 4, 4) -- Set the size of the block
        block.Position = humanoid.RootPart.Position + Vector3.new(0, -block.Size.Y / 2, 0) 
        block.BrickColor = Color3.fromRGB(36,36,36) -- Edit the color you like!
        block.Parent = workspace
    end
end)
end)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
53.6k
14.5k
Bumped 31 minutes ago
Key System
Paid
Script hub
174
460
Bumped 1 hour ago
Key System
Universal Script 📌
1.3M
592.0k
Bumped 3 hours ago
Script hub
2.5k
19.5k
Bumped 4 hours ago
Universal Script 📌
333
609
Approved 5 hours ago
Universal Script 📌
88
861
Approved 6 hours ago
Universal Script 📌
121
97
Approved 6 hours ago