#AsadrithIsntHere's Dialogue System Help

10 messages · Page 1 of 1 (latest)

buoyant kernel
#

The important lines:

Line 112:
Exec = { givePickaxeExec = { -- Key name can be descriptive Function = givePickaxe, -- Reference the pickaxe-giving function ExecuteContent = "Pickaxe" -- This matches the ReplyName in the dialogue }

Line 7:
local function givePickaxe() local pickaxe = workspace:FindFirstChild("Wooden Pickaxe"):Clone() pickaxe.Parent = game.Players.LocalPlayer.Backpack end

subtle yoke
#

because you cloned it on the client

#

client side tools does not replicates to the server

buoyant kernel
#

Hm alright

twilit iglooBOT
#

studio** You are now Level 1! **studio

buoyant kernel
#

I haven't used modulescripts much and his documentation implied that it could make changes to the server

#

so should I make the function run an event that is handled by some server script then?

subtle yoke
#

yes

#

remote events should work