Killing a player:
1st.Find the player
game.Workspace.RoboTestGear
2nd.Go inside them and change there health
game.Workspace.RoboTestGear.Humanoid.Health = 0
script
game.Workspace.RoboTestGear.Humanoid.Health = 0
Function:
while true do --Makes loop
game.Workspace.RoboTestGear.Humanoid.Health = 0
end --Ends loop
Creating a brick:
function robo()
local brick = Instance.new("Part") --Makes brick
brick.Parent = workspace --Sends brick to workspace
brick.Name = "RoboTestGear" --Changes name of brick
brick.Transparency = 0.5 --Changes the transparency
end
robo()
Appearance:
BrickColor
Material
Reflectance
Transparency
Data:
Name
Position
RotVelocity
Velocity
Behavior:
Anchored
CanCollide
Locked
Part:
Elasticity
Friction
Shape
formFactor
Surface Inputs:
BackParamA
BackParamB
BackSurfaceInput
BottemParamA
BottemParamB
BottemSurfaceInput
FrontParamA
FrontParamB
FrontSurfaceInput
LeftParamA
LeftParamB
LeftSurfaceInput
RightParamA
RightParamB
RightSurfaceInput
TopParamA
TopParamB
TopSurfaceInput
Surface:
BackSurface
BottemSurface
FrontSurface
LeftSurface
RightSurface
TopSurface
Cframe:
game.Workspace.ROBO.CFrame = game.Workspace.ROBO.CFrame * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
--These few things should help you out. :> |