|
| 12 Feb 2016 04:42 PM |
function onClicked(click) if script.Parent.Parent.Owner.Value ~= nil then if click.Name == script.Parent.Parent.Owner.Value.Name then local owner = script.Parent.Parent.Owner.Value.Name local player = game.Players:FindFirstChild(owner) local gui = player.PlayerGui:FindFirstChild("BuyGui") local thing = script.Parent.Parent.Owner:Clone() thing.Parent = gui gui.Findy.Value = script.Parent gui.Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1, true) elseif click.Name ~= script.Parent.Parent.Owner.Value.Name then print("A non-owner tried to buy an item!") elseif script.Parent.Parent.Owner.Value == nil then print("This tycoon isn't owned!") end end end script.Parent.ClickDetector.MouseClick:connect(onClicked)
how does line ten (tweening) call a userdata value?
RAP:1,900,748|R$114,595/100,000|#thissiteisboring. |
|
|
| Report Abuse |
|
|
AzureAres
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 7280 |
|
| |
|
|
| 12 Feb 2016 04:43 PM |
no it isnt kid
RAP:1,900,650|R$114,595/100,000|#thissiteisboring. |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Feb 2016 04:44 PM |
@josh im not that good at scripting but im getting there
all im wondering is how tf is tweening == userdata
RAP:1,900,650|R$114,595/100,000|#thissiteisboring. |
|
|
| Report Abuse |
|
|
Metology
|
  |
| Joined: 06 Oct 2014 |
| Total Posts: 3255 |
|
|
| 12 Feb 2016 04:45 PM |
change your siggy it doesnt make sense
Current Robux: R$5,160 ooga booga http://www.roblox.com/Drake-item?id=349356638 http://www.roblox.com/That-ass-though-item?id=335044766 Can you see the difference? |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 12 Feb 2016 04:45 PM |
"local player = game.Players:FindFirstChild(owner)"
wtf is this
http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$2,270 Tx633 (づ ゚ ³ ゚)づ |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2016 04:46 PM |
are you mentally challenged
batl me you goobr gopr snopr popr i dun wana nokm sokm rokm flokm tokm mokm rokm iokm wokm ded ( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2016 04:47 PM |
that script is wrong i so many ways >uses tween >uses 'click' and not clicked >doesn't know how to call a userdata value
batl me you goobr gopr snopr popr i dun wana nokm sokm rokm flokm tokm mokm rokm iokm wokm ded ( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2016 04:48 PM |
who DOESNT use tween
RAP:1,900,792|R$114,595/100,000|#thissiteisboring. |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2016 04:50 PM |
better scripters
batl me you goobr gopr snopr popr i dun wana nokm sokm rokm flokm tokm mokm rokm iokm wokm ded ( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 12 Feb 2016 04:50 PM |
u defined player wrong
http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$2,270 Tx633 (づ ゚ ³ ゚)づ |
|
|
| Report Abuse |
|
|
Metology
|
  |
| Joined: 06 Oct 2014 |
| Total Posts: 3255 |
|
|
| 12 Feb 2016 04:51 PM |
but you use tween all the time
Current Robux: R$5,160 ooga booga http://www.roblox.com/Drake-item?id=349356638 http://www.roblox.com/That-ass-though-item?id=335044766 Can you see the difference? |
|
|
| Report Abuse |
|
|
Metology
|
  |
| Joined: 06 Oct 2014 |
| Total Posts: 3255 |
|
|
| 12 Feb 2016 04:51 PM |
fd
Current Robux: R$5,160 Current Tix: Tx3 ooga booga http://www.roblox.com/Drake-item?id=349356638 http://www.roblox.com/That-ass-though-item?id=335044766 Can you see the difference? |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Feb 2016 04:52 PM |
local player = game.Players.LocalPlayer
|
|
|
| Report Abuse |
|
|
|
| 12 Feb 2016 04:52 PM |
@pick i dont do tht
btw if i wanted this to be ugly i could just set it to visible=false and have this make it visible=true but
RAP:1,900,115|R$114,595/100,000|#thissiteisboring. |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2016 04:54 PM |
@umad thanks for telling me how to fix rather than insulting me
works now
RAP:1,900,115|R$114,595/100,000|#thissiteisboring. |
|
|
| Report Abuse |
|
|
Metology
|
  |
| Joined: 06 Oct 2014 |
| Total Posts: 3255 |
|
|
| 12 Feb 2016 05:14 PM |
uy
RAP: 18,333 Current Robux: R$5,160 Current Tix: Tx18 ooga booga http://www.roblox.com/Drake-item?id=349356638 http://www.roblox.com/That-ass-though-item?id=335044766 Can you see the difference? |
|
|
| Report Abuse |
|
|