Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
|
| 29 Jul 2014 11:19 PM |
i've been on roblox for quite a while
and i still don't know how to script
is there anything/anyone that can help me |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
|
| 29 Jul 2014 11:32 PM |
is this a good way to start
print('help') |
|
|
| Report Abuse |
|
|
| |
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
| |
|
|
| 29 Jul 2014 11:36 PM |
value = "Yes! Yes!"
print(value)
value = "No! No!"
print(value)
value = "20"
print(value + 1) |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
|
| 29 Jul 2014 11:36 PM |
| is there anything else i can try |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2014 11:37 PM |
value = "Yes! Yes!" -- starts off with Yes, twice =D
print(value) -- oh mah gerd "Yes! Yes!" is in the OUTPUT :O
value = "No! No!" -- no pls go back to yes, Sets value to well "No! No!" in string
print(value) -- y u print "No! No!" in the output
value = "20" -- Number in string
print(value + 1) -- omg 21! in teh output |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
| |
|
|
| 29 Jul 2014 11:39 PM |
um
yeah
function calculate(Arguementone, Arguementtwo) -- issues function, with 2 args print(Arguementone..Arguementtwo)-- prints both args return nil, nil -- makes sure that it sets them to nothing end -- the end
calculate("Oh my god", " I made a sentence with two strings")-- self explanatory |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2014 11:40 PM |
I can only do so much
check the scripting tutorials in
wiki.roblox.com |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
| |
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
|
| 29 Jul 2014 11:41 PM |
local function hello()
end
lol |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
|
| 29 Jul 2014 11:46 PM |
this is complicated!
X = Instance.new("Explosion", game.Workspace)
did i do it right |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2014 11:48 PM |
Yeah. You might want to position it tho
Caaaactus. Prov 3:5: Trust in the LORD with all your heart and lean not on your own understanding. |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
| |
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
|
| 29 Jul 2014 11:50 PM |
X = Instance.new("Explosion", game.Workspace)
game.Workspace.Explosion.Position = Vector3.new(1, 2, 3)
end
did i do it right |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2014 11:53 PM |
Yes, just remove the "end". You could use something such as, X.Position = Vector3.new(X,Y,Z) |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
| |
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
|
| 29 Jul 2014 11:55 PM |
im gonna go now
thank you for your help everyone! |
|
|
| Report Abuse |
|
|