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

how to put a script be parented by the Instance.new(part, workspace) ?

Asked by 2 years ago
local part = Instance.new(part, workspace)

""" want to put a script be parented by the part"""
0
script.Parent = part? greatneil80 2647 — 2y

1 answer

Log in to vote
0
Answered by 2 years ago
local Script = script --Get the script

Script.Parent = game:GetService("Workspace") --Parent the script
Ad

Answer this question