Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make the Frame GUI to switch different colors randomly like fast?

Asked by
Zequew 0 Donator
8 years ago

local bloxyColaId = 372051683 -- Put the "ID" of you're "Item" that you want to sell. local player = game.Players.LocalPlayer function onClick() Game:GetService("MarketplaceService"):PromptPurchase(player, bloxyColaId) end script.Parent.MouseButton1Click:connect(onClick) end while true do wait(.1) script.Parent.BorderColor3 = Color3.new(85, 0, 127) wait(.1) script.Parent.BorderColor3 = Color3.new(0, 85, 255) wait(.1) script.Parent.BorderColor3 = Color3.new(0, 170, 0) wait(.1) script.Parent.BorderColor3 = Color3.new(255, 255, 0) wait(.1) script.Parent.BorderColor3 = Color3.new(255, 85, 0) wait(.1) script.Parent.BorderColor3 = Color3.new(255, 0, 0) end

Is thier anything wrong?

http://prntscr.com/a8l69h

0
Local why? Zequew 0 — 8y
0
Ik there should not be a "end" on line 9, FiredDusk 1466 — 8y
0
Looks like this isn't the whole script... Because of line 9 there must be more on top. However, if this is the whole script. PreyStar's right. User#11440 120 — 8y
0
Can you tell me the correct why of making this script work ;c Zequew 0 — 8y

2 answers

Log in to vote
1
Answered by 8 years ago

Is this script in the LocalScript or ?

0
Ik there should not be a "end" on line 9, FiredDusk 1466 — 8y
0
Can you help me? ;c Zequew 0 — 8y
Ad
Log in to vote
0
Answered by
Zequew 0 Donator
8 years ago

local

Answer this question