Run it
Copy the script and paste it into your executor.
targetName = .Players.LocalPlayer.Name
player = .Players:(targetName)
(part, frontF, backF, topF, bottomF, leftF, rightF, className)
faces = {, , , , , }
i,f (faces)
decal = .(className, part)
i == decal.Texture = frontF decal.Name = f
i == decal.Texture = backF frontF decal.Name = f
i == decal.Texture = topF frontF decal.Name = f
i == decal.Texture = bottomF frontF decal.Name = f
i == decal.Texture = leftF frontF decal.Name = f
i == decal.Texture = rightF frontF decal.Name = f
decal.Face = f
part
(position, size, color, transparency, parent)
label = .(, parent)
label.Text =
label.BorderSizePixel =
label.BackgroundTransparency = transparency
label.Position = position
label.Size = size
label.BackgroundColor3 = color
(position, image)
playerGui = player:()
playerGui
gui = playerGui:() .(, playerGui)
gui.Name =
slot = .(, gui)
slot.Position = position
slot.Size = .(, , , )
slot.BackgroundTransparency =
slot.ImageTransparency =
slot.Image = image
slot.ZIndex =
(.(, , , ), .(, , , ),
.(/, /, /), , slot)
(.(, , , ), .(, , , ),
.(/, /, /), , slot)
(.(, , , ), .(, , , ),
.(/, /, /), , slot)
(.(, -, , -), .(, , , ),
.(/, /, /), , slot)
(.(, -, , -), .(, , , ),
.(/, /, /), , slot)
(.(, , , ), .(, , , ),
.(/, /, /), , slot)
(.(, , , ), .(, , , ),
.(/, /, /), , slot)
(.(, -, , -), .(, , , ),
.(/, /, /), , slot)
(.(, , , -), .(, , , ),
.(/, /, /), , slot)
(.(, -, , ), .(, , , ),
.(/, /, /), , slot)
(.(, -, , -), .(, , , ),
.(/, /, /), , slot)
(x, d)
x ~= d ~=
x/d
x
(v1, v2)
.((.(.(v2.X - v1.X), .(v2.Y - v1.Y), .(v2.Z - v1.Z))).Magnitude)
(x)
x% ~=
.(x+)
x-
(part1, part2)
weld = .(, part1)
weld.Part0 = part1
weld.Part1 = part2
(velocity)
.(velocity.X) + .(velocity.Z)
(block, cFPos)
blockPlaced = .(, )
blockPlaced.Material =
blockPlaced.Anchored =
blockPlaced.Size = block.size
blockPlaced.CFrame = cFPos
(blockPlaced, block.frontTex, block.backTex,
block.topTex, block.bottomTex, block.leftTex, block.rightTex, )
blockPlaced
toolBar = {
Dirt = {
size = .(, , ),
frontTex = ,
backTex = ,
topTex = ,
bottomTex = ,
leftTex = ,
rightTex =
},
Grass = {
size = .(, , ),
frontTex = ,
backTex = ,
topTex = ,
bottomTex = ,
leftTex = ,
rightTex =
},
Stone = {
size = .(, , ),
frontTex = ,
backTex = ,
topTex = ,
bottomTex = ,
leftTex = ,
rightTex =
},
Diamond_Ore = {
size = .(, , ),
frontTex = ,
backTex = ,
topTex = ,
bottomTex = ,
leftTex = ,
rightTex =
},
Diamond_Block = {
size = .(, , ),
frontTex = ,
backTex = ,
topTex = ,
bottomTex = ,
leftTex = ,
rightTex =
},
Wood_Planks = {
size = .(, , ),
frontTex = ,
backTex = ,
topTex = ,
bottomTex = ,
leftTex = ,
rightTex =
},
Oak_Log = {
size = .(, , ),
frontTex = ,
backTex = ,
topTex = ,
bottomTex = ,
leftTex = ,
rightTex =
}
}
player
char = player.Character
char
_,cM (char:())
cM.ClassName == cM:()
gui = player.PlayerGui:() .(, player.PlayerGui)
gui.Name =
(.(, -, , -), .(, , , ),
.(/, /, /), , gui)
blocks = {, , , , , , }
i = ,
toolBar[blocks[i]] ~=
(.(, - + ((i-)*), , -), toolBar[blocks[i]].frontTex)
(.(, - + ((i-)*), , -), )
humRootPart = char:()
head = char:()
torso = char:()
lArm = char:()
rArm = char:()
lLeg = char:()
rLeg = char:()
head.Size = .(, , )
(head, , ,
, ,
, , )
head:():()
head:():()
torso.Size = .(, , )
(torso, , ,
, ,
, , )
lArm.Size = .(, , )
(lArm, , ,
, ,
, , )
rArm.Size = .(, , )
(rArm, , ,
, ,
, , )
lLeg.Size = .(, , )
(lLeg, , ,
, ,
, , )
rLeg.Size = .(, , )
(rLeg, , ,
, ,
, , )
char.Humanoid:()
char.Animate:()
.(, torso)
.(, lArm)
.(, rArm)
.(, lLeg)
.(, rLeg)
camera = .Camera
camPart = .(, camera)
camPart.Size = .(, , )
camPart.CFrame = camera.CFrame
camPart.Transparency =
humanoid = char:()
humanoid.HipHeight =
rootJoint = .(, torso)
rootJoint.Name =
rootJoint.Part0 = humRootPart
rootJoint.Part1 = torso
rootJoint.C1 = .(, , )
neck = .(, torso)
neck.Name =
neck.Part0 = head
neck.Part1 = torso
lS = .(, torso)
lS.Name =
lS.Part0 = lArm
lS.Part1 = torso
lS.C0 = .(-, , ) * .(, , )
lS.C1 = .(, , )
rS = .(, torso)
rS.Name =
rS.Part0 = rArm
rS.Part1 = torso
rS.C0 = .(-, , ) * .(, , )
rS.C1 = .(-, , ) * .(, -.(), )
lH = .(, torso)
lH.Name =
lH.Part0 = lLeg
lH.Part1 = torso
lH.C0 = .(, , )
lH.C1 = .(, -, ) * .(, , )
rH = .(, torso)
rH.Name =
rH.Part0 = rLeg
rH.Part1 = torso
rH.C0 = .(, , )
rH.C1 = .(-, -, ) * .(, -.(), )
_,p (char:())
p.Name ~= p.ClassName ==
hit = .(, char)
hit.Name =
hit.BrickColor = BrickColor.()
hit.Material =
hit.Transparency =
hit.Size = .(p.Size.X + , p.Size.Y + , p.Size.Z + )
hit.CanCollide =
(hit, p)
ticks =
times =
walkAnim =
increaseWalkAnim =
idleAnimRotX =
idleAnimRotZ =
sneaking =
RS = :().RenderStepped
Mouse = player:()
oldHP = humanoid.Health
damageTime =
punchRotX =
punchRotY =
punchRotZ =
punchSpeed =
punching =
selectedBlock =
punchEnded =
itemOnHand =
handItem = .(, char)
handItem.Name =
handItem.Size = .(, , )
handItem.Transparency =
handItem.CanCollide =
handItemWeld = .(, char)
handItemWeld.Part0 = handItem
handItemWeld.Part1 = lArm
handItemWeld.C1 = .(, -, -) * .(.(-), .(), )
sound = .(, char)
sound.Name =
sound.Volume =
sound.SoundId =
facesToResize = {, , , , , }
Mouse.Button1Down:(()
punchEnded == punching =
Mouse.Target
(head.CFrame.p, Mouse.Hit.p) <=
humanoid = Mouse.Target.Parent:()
humanoid
humanoid.Health = humanoid.Health -
parts = Mouse.Target.Parent:()
_,p (parts)
p.ClassName ==
p.Velocity = .(p.Velocity.X + (head.CFrame.lookVector.X * ), p.Velocity.Y + (head.CFrame.lookVector.Y * ) + , p.Velocity.Z + (head.CFrame.lookVector.Z * ))
x = Mouse.Target.CFrame.p.X
y = Mouse.Target.CFrame.p.Y
z = Mouse.Target.CFrame.p.Z
Mouse.TargetSurface.Name == x = x +
Mouse.TargetSurface.Name == x = x -
Mouse.TargetSurface.Name == y = y +
Mouse.TargetSurface.Name == y = y -
Mouse.TargetSurface.Name == z = z +
Mouse.TargetSurface.Name == z = z -
Mouse.Target.Size.X > Mouse.Target.Size.Y > Mouse.Target.Size.Z >
x = Mouse.Hit.p.X
y = Mouse.Hit.p.Y
z = Mouse.Hit.p.Z
selectedBlock ==
blk = (toolBar.Dirt, .(x, y, z))
_,f (facesToResize)
blk:(f).StudsPerTileU =
blk:(f).StudsPerTileV =
selectedBlock ==
blk = (toolBar.Grass, .(x, y, z))
_,f (facesToResize)
blk:(f).StudsPerTileU =
blk:(f).StudsPerTileV =
selectedBlock ==
blk = (toolBar.Stone, .(x, y, z))
_,f (facesToResize)
blk:(f).StudsPerTileU =
blk:(f).StudsPerTileV =
selectedBlock ==
blk = (toolBar.Diamond_Ore, .(x, y, z))
_,f (facesToResize)
blk:(f).StudsPerTileU =
blk:(f).StudsPerTileV =
selectedBlock ==
blk = (toolBar.Diamond_Block, .(x, y, z))
_,f (facesToResize)
blk:(f).StudsPerTileU =
blk:(f).StudsPerTileV =
selectedBlock ==
blk = (toolBar.Wood_Planks, .(x, y, z))
_,f (facesToResize)
blk:(f).StudsPerTileU =
blk:(f).StudsPerTileV =
selectedBlock ==
blk = (toolBar.Oak_Log, .(x, y, z))
_,f (facesToResize)
blk:(f).StudsPerTileU =
blk:(f).StudsPerTileV =
selectedBlock == selectedBlock ==
Mouse.Target.Size.X <= Mouse.Target.Size.Y <= Mouse.Target.Size.Z <=
Mouse.Target.Parent =
)
hasItemOnHand =
hi =
selectLabel = .(, gui)
selectLabel.Size = .(, , , )
selectLabel.Position = .(, - + (selectedBlock*), , -)
selectLabel.BackgroundTransparency =
selectLabel.BackgroundColor3 = .(, , )
selectLabel.BorderSizePixel =
selectLabel.Text =
selectLabel.ZIndex =
Mouse.KeyDown:((key)
key ==
sneaking =
humanoid.WalkSpeed = humanoid.WalkSpeed /
rootJoint.C1 = .(, , ) * .(.(sneaking*), , )
lH.C0 = .(, , ) * .(-.(sneaking*), , )
rH.C0 = .(, , ) * .(.(sneaking*), , )
key ==
selectedBlock =
itemOnHand =
_,d (handItem:())
d:()
hasItemOnHand == hi =
key ==
selectedBlock =
itemOnHand =
_,d (handItem:())
d:()
hasItemOnHand == hi =
key ==
selectedBlock =
itemOnHand = toolBar.Dirt
_,d (handItem:())
d:()
(handItem, itemOnHand.frontTex, itemOnHand.backTex,
itemOnHand.topTex, itemOnHand.bottomTex,
itemOnHand.leftTex, itemOnHand.rightTex, )
_,f (facesToResize)
handItem:(f).StudsPerTileU =
handItem:(f).StudsPerTileV =
key ==
selectedBlock =
itemOnHand = toolBar.Grass
_,d (handItem:())
d:()
(handItem, itemOnHand.frontTex, itemOnHand.backTex,
itemOnHand.topTex, itemOnHand.bottomTex,
itemOnHand.leftTex, itemOnHand.rightTex, )
_,f (facesToResize)
handItem:(f).StudsPerTileU =
handItem:(f).StudsPerTileV =
key ==
selectedBlock =
itemOnHand = toolBar.Stone
_,d (handItem:())
d:()
(handItem, itemOnHand.frontTex, itemOnHand.backTex,
itemOnHand.topTex, itemOnHand.bottomTex,
itemOnHand.leftTex, itemOnHand.rightTex, )
_,f (facesToResize)
handItem:(f).StudsPerTileU =
handItem:(f).StudsPerTileV =
key ==
selectedBlock =
itemOnHand = toolBar.Diamond_Ore
_,d (handItem:())
d:()
(handItem, itemOnHand.frontTex, itemOnHand.backTex,
itemOnHand.topTex, itemOnHand.bottomTex,
itemOnHand.leftTex, itemOnHand.rightTex, )
_,f (facesToResize)
handItem:(f).StudsPerTileU =
handItem:(f).StudsPerTileV =
key ==
selectedBlock =
itemOnHand = toolBar.Diamond_Block
_,d (handItem:())
d:()
(handItem, itemOnHand.frontTex, itemOnHand.backTex,
itemOnHand.topTex, itemOnHand.bottomTex,
itemOnHand.leftTex, itemOnHand.rightTex, )
_,f (facesToResize)
handItem:(f).StudsPerTileU =
handItem:(f).StudsPerTileV =
key ==
selectedBlock =
itemOnHand = toolBar.Wood_Planks
_,d (handItem:())
d:()
(handItem, itemOnHand.frontTex, itemOnHand.backTex,
itemOnHand.topTex, itemOnHand.bottomTex,
itemOnHand.leftTex, itemOnHand.rightTex, )
_,f (facesToResize)
handItem:(f).StudsPerTileU =
handItem:(f).StudsPerTileV =
key ==
selectedBlock =
itemOnHand = toolBar.Oak_Log
_,d (handItem:())
d:()
(handItem, itemOnHand.frontTex, itemOnHand.backTex,
itemOnHand.topTex, itemOnHand.bottomTex,
itemOnHand.leftTex, itemOnHand.rightTex, )
_,f (facesToResize)
handItem:(f).StudsPerTileU =
handItem:(f).StudsPerTileV =
(key == key == key ==
key == key == key ==
key == key == ) hasItemOnHand == hi =
selectLabel.Position = .(, - + ((selectedBlock)*), , -)
)
Mouse.KeyUp:((key)
key ==
sneaking =
humanoid.WalkSpeed = humanoid.WalkSpeed *
rootJoint.C1 = .(, , ) * .(, , )
lH.C0 = .(, , ) * .(, , )
rH.C0 = .(, , ) * .(, , )
)
RS:()
itemOnHand ~=
hasItemOnHand =
handItem.Transparency =
hasItemOnHand =
handItem.Transparency =
humanoid.Health < oldHP
damageTime =
sound:()
oldHP = humanoid.Health
damageTime > humanoid.Health >
_,p (char:())
p.Name ~= p.ClassName ==
p.Name ==
p.Transparency =
damageTime = damageTime -
damageTime <=
_,p (char:())
p.Name ~= p.ClassName ==
p.Name ==
p.Transparency =
camPart.CFrame = camera.CFrame
neck.C1 = .(, , ) * .(.(sneaking*), .(camPart.Orientation.Y - torso.Orientation.Y), )
neck.C0 = .(, -, ) * .(-.(camPart.Orientation.X - torso.Orientation.X - (sneaking*)), , )
(torso.Velocity) >
walkAnim >=
increaseWalkAnim = -
walkAnim <= -
increaseWalkAnim =
walkAnim = walkAnim + (increaseWalkAnim/(+(sneaking*)))
walkAnim =
lH.C0 = lH.C0:(.(, , ) * .(-.(sneaking*) + .(damageTime*) + .(walkAnim*(torso.Velocity)*/(+sneaking)), , ), )
rH.C0 = rH.C0:(.(, , ) * .(.(sneaking*) + .(damageTime*) + .(walkAnim*(torso.Velocity)*/(+sneaking)), , ), )
rootJoint.C1 = rootJoint.C1:(.(, , ) * .(.(sneaking*), .(punchRotY), ), )
lS.C0 = lS.C0:(.(-, , ) * .(idleAnimRotX/ + .(-hasItemOnHand*) + .(punchRotX) + .(damageTime*) + .(walkAnim*(torso.Velocity)*/(+sneaking)), , .(punchRotZ) + idleAnimRotZ/), +(.(, (torso.Velocity))/) + (punchSpeed, ) + hi)
rS.C0 = rS.C0:(.(-, , ) * .(idleAnimRotX/ + .(damageTime*) + .(walkAnim*(torso.Velocity)*/(+sneaking)), , idleAnimRotZ/), +(.(, (torso.Velocity))/))
punching == punchEnded ==
punching =
coPunch = .(()
punchEnded =
punchSpeed =
punchRotX = -
punchRotY = -
punchRotZ = -
()
punchSpeed =
punchRotX = -
punchRotY =
punchRotZ =
()
punchSpeed =
punchRotX = -
punchRotZ =
()
punchSpeed =
punchRotX =
punchRotY =
punchRotZ =
punchEnded =
()
punchSpeed =
)
()
ticks >
ticks =
times ==
times = times +
idleAnimRotX = -
idleAnimRotZ =
times ==
times = times +
idleAnimRotX = -
idleAnimRotZ = -
times ==
times = times +
idleAnimRotX =
idleAnimRotZ = -
times ==
times = times +
idleAnimRotX =
idleAnimRotZ = -
times ==
times = times +
idleAnimRotX =
idleAnimRotZ =
times ==
times = times +
idleAnimRotX =
idleAnimRotZ =
times ==
times = times +
idleAnimRotX =
idleAnimRotZ =
times ==
times =
idleAnimRotX = -
idleAnimRotZ =
hi == hi =
ticks = ticks +
Idk put here

Universal