Universal Script 📌
19.1k Views
17 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
173.0k
1.5M
Bumped 24 minutes ago
Key System
Script hub
3.1M
734.0k
Bumped 26 minutes ago
Key System

Script hub

Hall of Fame #10

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script 📌
5.8k
20.9k
Bumped 2 hours ago
Key System
Script hub
27.0k
1.1k
Bumped 2 hours ago
Key System

Script hub

#1 today

Plak New

Universal Script 📌
47.8k
200.1k
Bumped 3 hours ago
Key System
Universal Script 📌
334.9k
47.6k
Bumped 3 hours ago