|
I am very good at building not to brag, but my games are never complete without scripting. Im very new to scripting and only know wha SOME of the words mean, nothing else, so if someone could volunteer to help me in some way it would be very appreciated!:D
Also, please do not post stuff telling me to learn it myself. Reply with ways for me to learn, or post that you can teach me. Or atleast be polite please... |
|
|
sebsaJoin Date: 2008-10-17 Post Count: 2771 |
I learned by watching some videos on YouTube. Maybe someone like StickMasterLuke or Friaza Hyuga. |
|
|
|
Yeah i am watching videos about it but its like learning a languange. without being full on dropped into it you only become fluent, not fully able to speak.
(if you know what i mean)
basically i need teaching. you can let this thread be ignored until i learned the basics and can script a little. that is when i will need most help
BTW thx |
|
TweldJoin Date: 2012-09-06 Post Count: 1860 |
i would suggest lualearners but they shut down D:
R.I.P. LuaLearners D: |
|
|
LuaLearners was bad anyways. The wiki and lua.org provided more than enough information. Of course this follows the delusion "If you make all the mistakes I do, and learn everything I learned then you'll be as successful as I am". So maybe people somehow found LuaLearners helpful. I didn't however. |
|
|
ok so basics apparently are super easy but i cant get this to work.
can someone check it?
Console:
17:38:57.211 - Workspace.Script:5: attempt to call global 'Print' (a nil value)
17:38:57.212 - Stack Begin
17:38:57.213 - Script 'Workspace.Script', Line 5
17:38:57.213 - Stack End
Blockoo's CFrame Plugin Loaded Successfully!
17:38:57.387 - Successfully opened file - C:/Users/davey/AppData/Local/Roblox/visit.rbxl
17:38:59.601 - httpGet http://www.roblox.com/asset/?id=100808216&serverplaceid=0&clientinsert=0 failed. Trying again. Error: Asset is not trusted for this place. Elapsed time: 0.173031
17:38:59.602 - httpGet failed. Trying again. Elapsed time: 0.173031
17:38:59.648 - Content failed for http://www.roblox.com/Asset/?id=100808216&serverplaceid=0&clientinsert=0 because Asset is not trusted for this place
17:38:59.649 - Content failed because Asset is not trusted for this place
My script:
local BaseplateHealth = 9
if BaseplateHealth < 10 then
Print 'BaseplateDestroyed' -- shouldn't it be printing this?
end
|
|
|
FidgetingJoin Date: 2014-02-08 Post Count: 1193 |
If you use apostrophes, atleast connect them to print. |
|
FidgetingJoin Date: 2014-02-08 Post Count: 1193 |
woops nvm |
|
|
|
ok i lowercased print nothing happened... the script shows no errors so idk what to do.
heres the edit
local BaseplateHealth = 9
if BaseplateHealth < 10 then
print 'BaseplateDestroyed' -- shouldn't it be printing this?
end
|
|
|
So youre name's Davey *winky face |
|
|
instead of ' '
use ( ) instead and if that won't work use ("") |
|
|
@sensei uh yeah but HOW THE CAP DID YA KNOW THAT!?!!?
and il try all ur suggestions |
|
|
Actually, either the parenthesis or quotation mark method would work. |
|
RelegatedJoin Date: 2011-10-24 Post Count: 9592 |
Apparently you haven't been dropped into english either.
""Where is my eight key" - Raven" - sbk28 |
|
|
It worked when i tried it
local BaseplateHealth = 9
if BaseplateHealth < 10 then
print 'BaseplateDestroyed' -- shouldn't it be printing this?
end |
|
|
Unless the conditions aren't been fulfilled. |
|
|
Ok so i got it fixed thanks to you guys and i started on an rpg, but the hats will not work, they stay in their place, and the monster is invincible when i set its health to 25. anyone got an idea? i will turn off my place's copylock if u wana try. |
|
|
Now in studio i can't even move the npcs with my mouse... |
|
|
UPDATE:
can't move anything without move tool |
|
|
List of issues is getting longer:
1: i cant move stuff without the move tool
2: the Monster named Selawarecode will not respawn with his hat on correctly
3: idk if the stuff not listed here even works, please take a look at my place and if you can fix it up a bit. |
|
|
I know because you posted this from output
17:38:57.387 - Successfully opened file - C:/Users/davey/AppData/Local/Roblox/visit.rbxl |
|