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

How come this Creative Block Inventory Work? (solved)

Asked by 8 years ago
Edited 8 years ago

I was working on my script There was no errors but it does not create any of the Buttons! Why doesn't it work? (i have only included the part of the script that errors) EDIT: I included the full Script

001--[[--[[--[[--[[
002Setup Everything
003--]]--]]--]]--]]
004local mouse = game:GetService('Players').LocalPlayer:GetMouse()
005local HotbarItems = {'Grass','Stone','Dirt','Sand','TorchWall','MoltenRock','Netherrack','Water','Lava'}
006local ItemList = {'SpawnZombie','Fire','NetherPortal','Grass','Dirt','Stone','Bedrock','DiamondOre','CopperOre','IronOre','EmeraldOre','GoldOre','RedstoneOre','MoltenRock','Bricks','Leaves','WoolDarkGray','WoolOrange','WoolGray','WoolBrown','WoolDarkGreen','WoolLightGreen','WoolGreen','WoolBlue','WoolLightBlue','WoolLightYellow','SpruceWood','OakWood','DarkOakWood','AcaciaWood','AcaciaWoodPlanks','DarkOakWoodPlanks','OakWoodPlanks','SpruceWoodPlanks','Concrete','Cobblestone','Sand','Gravel','Netherrack','WoolRed','Water','Lava'}
007local Selected = 1
008local SpecialPlayers = {[148430515]='Co-Founder',[34929389]='Founder/Lead Developer'}
009local PlayerColors = {[148430515]=Color3.new(255,170,0),[34929389]=Color3.new(255,0,0)}
010game:GetService('Players').LocalPlayer.CharacterAdded:connect(function()
011    game:GetService('Players').LocalPlayer.Character:WaitForChild('Humanoid')
012    PunchAnim = game:GetService('Players').LocalPlayer.Character.Humanoid:LoadAnimation(script.Punch)
013    PlaceAnim = game:GetService('Players').LocalPlayer.Character.Humanoid:LoadAnimation(script.Place)
014end)
015--[[--[[
View all 118 lines...
0
Could you narrow it dwn because this is too much to read through. Meltdown81 309 — 8y
0
We requested in the community chat for him to post the full script. TheeDeathCaster 2368 — 8y
0
Even though it may have said it wasn't correct, maybe studio misinterpreted your script for something else? brickzay 0 — 8y
0
i figured out the problem, the size of the button was using the Scale not the offset Thegrimdeathzombie 40 — 8y

Answer this question