What code can i put in this script to make it also give items?
01 | Places = { Vector 3. new( 383.4 , 254 , - 630.8 ), Vector 3. new( 384.4 , 254 , - 675.6 ), Vector 3. new( 328.6 , 254 , - 813.4 ), Vector 3. new( 248.4 , 254 , - 788 ), Vector 3. new( 257 , 254 , - 655 ), Vector 3. new( 380.2 , 254 , - 791.8 ) } |
02 | local Player = script.Parent.Parent.Parent.Parent |
05 | Player.Character:MoveTo(Places [ math.random( 1 ,#Places) ] ) |
07 | script.Parent.Parent = game.StarterGui |
10 | game:GetService( 'Players' ).LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson |
13 | script.Parent.MouseButton 1 Down:connect(Click) |
What code and where can I put it to make it give items when the button is clicked?
Please help me!
Thx
~Nanaluk01