|
| 29 Dec 2014 08:10 PM |
I don't want to have to do any more of this: -- function reportButtonGui() sg = Instance.new("ScreenGui") sg.Name = "ReportButton" b = Instance.new("TextButton", sg) b.Name = "Diamond" b.BackgroundColor3 = Color3.new(0, 0, 0) b.BackgroundTransparency = .3 b.BorderColor3 = Color3.new(1, 1, 1) b.BorderSizePixel = 10 b.Name = "Diamond" b.Position = UDim2.new(1, -120, 1, -120) b.Rotation = 45 b.Size = UDim2.new(0, 50, 0, 50) t = Instance.new("TextLabel", b) t.BackgroundTransparency = 1 t.Font = "SourceSansBold" t.FontSize = "Size48" t.Text = "R" t.TextColor3 = Color3.new(1, 1, 1) t.Rotation = -45 t.Size = UDim2.new(1, 0, 1, 0) return sg end -- Any methods of transferring and loading strings into objects and objects into strings? |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Dec 2014 08:28 PM |
1 - Use local variables.
2 - Use tostring where you need it.
3 - Why do you even need what you are talking about in the script you gave? |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2014 08:50 PM |
| Thanks for the effort, but you don't know what you're talking about. |
|
|
| Report Abuse |
|
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 29 Dec 2014 08:56 PM |
What you're trying to do makes no sense. That function you posted is something you do once, and call many. What do you mean by: 'I don't want to have to do any more of this' if when converted into a string somehow (properties dumped into a table, then jsonified) how would that make it any different since you would also have to use that string to create the object every time? |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2014 09:08 PM |
You don't know the situation and I don't feel like explaining it. I thought of my own solution. |
|
|
| Report Abuse |
|
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 29 Dec 2014 09:13 PM |
| We don't feel like helping so, i hope your solution works |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2014 09:14 PM |
@ii Screw off. I've been foruming in Scripting Helpers long before you. |
|
|
| Report Abuse |
|
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 29 Dec 2014 09:15 PM |
Only if such thing still existed
I've been on SH for 2 years btw, this isn't my first account scrub |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2014 09:16 PM |
| have a template to clone from serverstorage |
|
|
| Report Abuse |
|
|
Seranok
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 11083 |
|
|
| 29 Dec 2014 09:23 PM |
Several plugins were made for this, but that was a while ago. Here are some recent ones:
http://www.roblox.com/v0-4-1-Model-to-Script-M2S-item?id=142330578 http://www.roblox.com/O2S-Object-to-Script-V1-02-item?id=145644202 |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2014 09:39 PM |
| Thank you, Seranok. That will save me a lot of time... |
|
|
| Report Abuse |
|
|