I'm trying to send this simple table
local function TakeOff(player) print("Called the remote event") local wand = player.Character:FindFirstChild("Magic") print(wand.Parent.Name) local Energy = player.Backpack.Energy local ArchFolder = wand:WaitForChild("Effects") local person = wand.Parent local Power = wand.Power.Value local Playerfolder = game.Players:GetPlayerFromCharacter(wand.Parent) local c = wand.Parent.Humanoid:LoadAnimation(wand.TakeOff) c:play() ------------------------------------------------------------- local newfold = Instance.new("Folder") newfold.Parent = Playerfolder.Backpack newfold.Name = "ParticleDitch" local Character = wand.Parent local s = Instance.new("Sound") s.Name = "Takeoff" s.Pitch = 1.4 s.SoundId = "http://www.roblox.com/asset/?id=858508159" s.Volume = 5 s.Looped = false s.archivable = false s.Parent = wand.Parent.UpperTorso s:play() local original = {} for i,c in next, wand.Parent:GetDescendants() do if c:IsA'BasePart' then local smokestuff = ArchFolder.FlightEnterExit:Clone() smokestuff.Parent = c smokestuff.Enabled = true wait(0.05) original[c] = { Transparency = c.Transparency } c.Transparency = 1 smokestuff.Enabled = false else if c:IsA'Decal' then local smokestuff = ArchFolder.FlightEnterExit:Clone() smokestuff.Parent = c smokestuff.Enabled = true original[c] = { Transparency = c.Transparency } smokestuff.Enabled = false c.Transparency = 1 end end end Routetofly:FireClient(player, original) wait(2) s:remove() end
through a remote Event, and It keeps breaking because it cannot fire it through the event. How do i properly send it through?
thanks
error output--
Cannot convert mixed or non-array tables: keys must be strings