I felt like I hit some sort of barrier

I want to improve me lua skills but I dont know how. I have a decent grasp on a lot of things that take decent knowledge, but I want to become more advance, like making a survival game, if you guys have anything that would help dont be afraid to share it to me, thanks.

1 Like

I feel the same way; though I would suggest maybe you put this in the discussions area, since this isn’t for coding help! I don’t want you to get reported. If you make a new link let me know and I would love to reply!

Explain the difference between an Array and a Map

An Array is an object that stores a list of objects all of which have a number key, starting from 1. A Map is like an array, but it uses a string key.

How can I make a script where I can get a part and then spawn it at the same location?

I am trying to make a script where I can get a part and then spawn it at the same location. I have a script that I got from the internet, but it doesn’t work. local player = game.Players.LocalPlayer local mouse = player:GetMouse() local part = script.Parent part.Touched:connect(function(hit) local function GetPart (mouse) local target = mouse.Target if target ~= nil and target.Parent ~= nil then if target.Parent:IsA"Model" then if target.Name == “Part” then local p = Instance.new(“Part”) p.Parent = workspace p.Size = target.Size p.CFrame = target.CFrame p.Material = target.Material else script.Parent.Parent = target else script.Parent.Parent = workspace end end end end) GetPart(mouse) end)

Can anyone teach me how to make a simple script for a game?

I’m trying to make a game and I don’t really know how to script anything. So I need help. I need a script where when you spawn, you will go to a team. I’m trying to make a Military game and I don’t really know how to do much.

What is the best way to gain script points as I have a lot of scripts?

What is the best way to gain script points as I have a lot of scripts

I need help with a script!

In my game, I have a script where if you press the button, the person will be teleported to the top of the game. The problem is that if I press the button again it will glitch through the floor and I need to figure out a way to fix this. I’ve been trying to fix this for a while now but I can’t find a solution. Here is the script: script.Parent.MouseButton1Down:connect(function() game.Players.LocalPlayer.Character.HumanoidRootPart.