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

Tycoon remove script problem?

Asked by
Bulvyte 388 Moderation Voter
9 years ago

The thing is the script makes the button remove 1 part only in its model but not all of it's parts. So how do i make it remove all of it's children in the model instead of 1 ?

01BuySound = game.Players.LocalPlayer
02 
03objects = {}
04config = script.Parent.Parent.Parent.Configuration
05wait(1)
06 
07script.Parent:WaitForChild("ButtonsRemove")
08for i,v in pairs(script.Parent.ButtonsRemove:GetChildren()) do
09    if v:FindFirstChild("Head") then
10 
11        local object = script.Parent.Removes:FindFirstChild(v.Object.Value)
12        if object ~= nil then
13        end
14 
15        if v:FindFirstChild("Dependency") then
View all 91 lines...

this script is too long so paste it in ur roblox script, then read it

0
Post your question here... Perci1 4988 — 9y
0
If i put it here no one won't answer and will ignore the thread, because they think it's "FREE MODELISH" Bulvyte 388 — 9y
0
Well, are you getting any answers with your current strategy? Doesn't look like it. Perci1 4988 — 9y
View all comments (2 more)
0
-rep... really Bulvyte 388 — 9y
0
what did i tell you... No answer... XD Bulvyte 388 — 9y

1 answer

Log in to vote
-3
Answered by
hiccup111 231 Moderation Voter
9 years ago

I haven't read this post, but maybe a video can help you out.

Try this

0
what is this.... the script i scripted is mine not berezaa's he doesn't explain anything about removing. Bulvyte 388 — 9y
Ad

Answer this question