solidheadJoin Date: 2010-02-19 Post Count: 2745 |
A brick thats set to 1 tranparency and not cancollide (Able to walk through) and when you touch it it gives you the simple linked sword. Please tell me if its impossible.
|
|
solidheadJoin Date: 2010-02-19 Post Count: 2745 |
BUMP |
|
|
If you want something that simple.
EDIT A GIVER! |
|
solidheadJoin Date: 2010-02-19 Post Count: 2745 |
Tried, nope. |
|
|
|
im done, take it from my models. 2 things:
1. Put a Sword named "LinkedSword" in Lighting (click and drag it into lighting)
2. Edit the brick as you wish.
:) |
|
|
If you encounter any problems, let me know. I threw it together really quick and didnt test it because that script is really simple. |
|
solidheadJoin Date: 2010-02-19 Post Count: 2745 |
THanks ill try. |
|
shrimpoopJoin Date: 2008-09-28 Post Count: 1307 |
function Touching(SHRIMP)
if SHRIMP.Parent:FindFirstChild("Humanoid") then
game.Lighting.Sword:Clone().Parent = game.Players:GetPlayerFromCharacter(SHRIMP.Parent).Backpack
end
end
script.Parent.Touched:connect(Touching)
This should work! Put it in the brick and edit :) |
|
|
Nope, you have to put- if hit.Parent:findFirstChild("Humanoid") ~= nil then
You forgot the ~= nil part, although now that I think about it, do you really? B/c that's what I am used to using. |
|
|
No, that is not always neccesary. |
|
shrimpoopJoin Date: 2008-09-28 Post Count: 1307 |
Dark is right. FindFirstChild returns true if it is found so you could do what I did. |
|
|
i need to make a place but i cant find out max plaryers |
|
shrimpoopJoin Date: 2008-09-28 Post Count: 1307 |
Go to your players folder in studio or whatever you use and set the MaxPlayers Value to what you want. |
|