|
GUIButtonPathHere.MouseButton1Click:connect(function()
print("You clicked the GUI!")
end) |
|
|
game.Workspace.Model:MoveTo(Vector3PositionHere) |
|
|
Yes, when you're using those you have to use Vector3.new(), an example would be,
Part.Position = Vector3.new() |
|
|
I appreciate your compliments however, I would consider myself just a rather average scripter when it comes to roblox, I still have plenty of things to work on learning in Lua however otherwise I personally enjoy spending scripting. |
|
|
Try placing the sound in the PlayerGui. |
|
|
|
|
game.Players.PlayerAdded:connect(function(Player)
Player.Chatted:connect(function(Message)
if Message == "/Kill" then
for _,v in pairs(Workspace.Model:GetChildren()) do
if v.Name == "Seat" then
v.Touched:connect(function(Toucher)
if Toucher.Parent and game.Players:FindFirstChild(Toucher.Parent.Name) then
Toucher:Destroy()
end
end)
end
end
end)
end) |
|
|
How do you want this "command" to be activated?. |
|
|
Vortex, it works either way. |
|
|
Are you asking for a Developer Product to skip the stage?. |
|
|
Remove the true from FindFirstChild() |
|
|
Please explain on what you want for a "Command Line". |
|
|
For the "Customize Boat" button.
GuiButtonPathHere.MouseButton1Click:connect(function()
end)
As for locking the camera on the boat, you'll need to get the player's camera,
Camera = game.Workspace.CurrentCamera
Place this within a LocalScript and place the LocalScript in somewhere from there such as,
StarterPack
Afterwards, you could use something such as
Camera.CoordinateFrame = CFrame.new()
Here's an article on "Camera Manipulation" to help you.
http://wiki.roblox.com/index.php?title=Camera_ma... |
|
|
while wait() do
for _,v in pairs(game.Workspace.Model:GetChildren()) do
if v.Name == "Seat" then
v.Touched:connect(function(Toucher)
if Toucher.Parent and game.Players:FindFirstChild(Toucher.Parent.Name) then
Toucher.Parent.Humanoid.Health = 0
end
end)
end
end
end |
|
|
That would depend, how far do you want to advance this "Customizing"?. |
|
|
Then, I would suggest you start pre-creating boat models first,afterwards try creating an upgrade system using one of the many types of values,
here's a link to help you.
http://wiki.roblox.com/index.php?title=Value_%28Property%29
BoatValue = Instance.new("StringValue")
BoatValue.Value = "One"
I would suggest structing the values based on something like,
game.Players.PlayerAdded:connect(function(Player)
BoatValue.Parent = Player
--More conditions and ideas here
end)
And as for using gamepasses,
... |
|
|
while wait() do
for _,v in pairs(game.Workspace.Model:GetChildren()) do
if v.Name == "Seat" then
v.Touched:connect(function(Toucher)
if Toucher.Parent and game.Players:FindFirstChild(Toucher.Parent.Name) then
if KillSpeed == WreckSpeed then
Toucher.Parent.Humanoid.Health = 0
end
end
end)
end
end
end
|
|
|
There's many sources for a tutorial however it's not necessarily the tutorial itself, it's how you choose to utilize and interpret that tutorial that affects your perspective and what you acquire from it. Basically, the Roblox Wiki isn't perfect however it's the best resource when it comes to check functions and such, each guide is written by different users and therefore have different explanations, alternatively, you could just go on YouTube as there's some good video creators there however, o... |
|
|
You could also just add the mesh parts within the limbs of the player as soon as their Character is added to workspace. |
|
|
Try something like,
ClassSelected = 0
--Conditions Here
ClassSelected = 1
Add a check for this before you add any of the ClassData into the script. |
|
|
An example would be,
Player.Character["Left Arm"].BrickColor = BrickColor.Random() |
|
|
|
Add the wait(1) and then everything else under it all within the same function. |
|
|
I doubt it.
You can use TouchTap:connect(function()
end)
Instead though, you can use that. |
|