~~~~~~~~~~~~~~~~~ ***> `So, I know some lines of scripting. Such as: game.workspace.elitegirl10.head:Destroy()
And I know wait() and all the little things, but I just can't find a site that works well. I don't understand most site's, I've tried Wiki, I've tried Stickmasterluke's vid's, I've tried LuaLearners, I've tried Pigman. So yeah, anywhere else. (I got StickMasterLuke's) the most, but he makes vid's an that was in 2011.`* **~~~~~~~~~~~~~~~~~
I learned by looking at scripts inside freemodels and learned the basic syntax. Then, I saw how to use "if then" statements, built in functions, setting properties, variables, etc.
Then once you get to the point of writing your own script, I suggest using the wiki, furthering your knowledge.
That's just what I did, along with the help of the ROBLOX Scripting Helpers forum. (I wish this existed at the time.)
Just apply some time and effort, and you can learn from already made scripts. :)
http://wiki.roblox.com/index.php?title=Cookbook Use the wiki.
On another note, since you've tried the wiki already, I suggest you find a mentor to ask questions, because while they may send you a wiki link, they can also clarify any questions you have or even completely re-explain something.
Well i tried having someone teach me at first, but it didn't do much. I hate to say it, but the best way to learn is to just do it yourself. You need to learn how to use the wiki and be really focused on trying to learn. You can use DingDong272's Lua tutorials and they're pretty good. I also recommend LuaLearners, although its not much use to me, its great for newbies. Feel free to ask me about any scripting question!
I first started scripting when someone bullied me. its kinda silly but we both had admin and he always did to me Game.Players.TroytheDestroyer:Remove()
after a while, I typed my first script. it was
Game.Players.goodlogan56:Remove()
. And when I did it, POOF!! He was gone. So I started research and all that. So let's make a script. It will be a script to kick players once they see a message on their screen. First, we need to make a message:
m = Instance.new("Message")
that makes a message named "m". But where is it? Lets put it in the Workspace
.
m.Parent = game.Workspace
Ok, now that we have it in the workspace, it needs to say something. So we do this:
m.Text = "Kicking player"
now we have a message saying "Kicking player". But we want it to have some kind of animation. Here is how you do that:
wait(2) m.Text = "Kicking player."
keep cloning the above and each time add another period once you added 3 periods, it is time to kick the player. so we do
wait(2) m:Remove() -- you can do :Remove() or :Destroy(). But I like to use :Remove().
Now, we need to make it kick all players from the server. Here's how you do that:
game.Players:ClearAllChildren() print'All players kicked.'
now that we finished, PM me on anything else you would like to know. But don't make it too complicated like "How do you script a gun?" or anything like that, because I am a little new also. Please accept if this answers your question! Thanks!