#Help
59 messages · Page 1 of 1 (latest)
touched touchended etc
We can't make scripts for you
you so lazy
@sweet dagger
local part = script.Parent
local sword = game.ServerStorage:FindFirstChild("Sword") or game.ReplicatedStorage:FindFirstChild("Sword")
part.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player and sword then
local backpack = player:FindFirstChild("Backpack")
if backpack then
local swordClone = sword:Clone()
swordClone.Parent = backpack
end
end
end
end)
just put this script insdie of the part you want the player to touch
and also place your sword tool inside serverstorage
what do you mean
i want it to be like when they enter the arena
they get an sword
Same things just use postion insted of touch
Yeah so just make the part they are touching cover the entire arena
He already spoon fed you the other stuff
i just started doing this like last week
can you show me an picture to were i copy n paste the script at
@sweet dagger
** You are now Level 13! **
I'm on phone btw
oh ok
But it's pretty self explanatory
You don't gotta be smart; he literally gave it to you lmao
oml you dont understand what im saying
You can just put a part that covers the whole area
And make its collision to off
And transparency to off aswell
I can't see the script and things
For some reason
I see the collisions and stuff
How new are you to roblox studio?
Wym
@lyric meadow
You think I'm not new?
Dang
Yea
Read son!
So we're do I find the thing
At this point just watch a tutorial about the roblox studio basics
This is why you guide them, not spoonfeed xD
Go to view
** You are now Level 6! **
And then press on explorer snd proprities
Ok did
Ok now place a part in workspace
Hover your mosue over workspace and press the plus button then search for part and click on it