i_Ja
|
  |
| Joined: 06 Apr 2014 |
| Total Posts: 9297 |
|
|
| 01 May 2017 10:47 AM |
| How would I clone something from ReplicatedStorage to a players backpack? Or should I be using serverstorage when cloning from the server? |
|
|
| Report Abuse |
|
|
NilLogic
|
  |
| Joined: 08 Apr 2016 |
| Total Posts: 1369 |
|
|
| 01 May 2017 10:48 AM |
I hope that the link(s) below will help answer your question. wiki.roblox.com/index.php?title=FilteringEnabled
I even did a google search for you! http://devforum.roblox.com/t/improving-the-safety-of-our-community/33201?page=2
I am just a friendly bot trying to help you, I will get smarter! Feel free to suggest links, the current config can be found on pastebin: aiudMAhN Join the fan group: https://www.roblox.com/My/Groups.aspx?gid=3201548 |
|
|
| Report Abuse |
|
|
i_Ja
|
  |
| Joined: 06 Apr 2014 |
| Total Posts: 9297 |
|
| |
|
|
| 01 May 2017 11:01 AM |
gameRep = game:GetService("ReplicatedStorage")
gameRep.(tool):Clone().Parent = player.Backpack |
|
|
| Report Abuse |
|
|
|
| 01 May 2017 11:02 AM |
| btw the google searches are the best from that bot lmao |
|
|
| Report Abuse |
|
|
i_Ja
|
  |
| Joined: 06 Apr 2014 |
| Total Posts: 9297 |
|
|
| 01 May 2017 11:03 AM |
| Wat can you user serverstorage and use a server script? |
|
|
| Report Abuse |
|
|
|
| 01 May 2017 11:04 AM |
| I think so, just change the service you're getting to 'ServerStorage' |
|
|
| Report Abuse |
|
|
i_Ja
|
  |
| Joined: 06 Apr 2014 |
| Total Posts: 9297 |
|
|
| 01 May 2017 11:05 AM |
| Thought so. I wasn't trying to get replicated from the server lol oops |
|
|
| Report Abuse |
|
|
i_Ja
|
  |
| Joined: 06 Apr 2014 |
| Total Posts: 9297 |
|
| |
|
|
| 01 May 2017 11:06 AM |
Oh lmao, check back if you're having any more troubles Figured it out myself yesterday you can't use game.ReplicatedStorage.[whatever] |
|
|
| Report Abuse |
|
|
i_Ja
|
  |
| Joined: 06 Apr 2014 |
| Total Posts: 9297 |
|
| |
|
|
| 01 May 2017 11:58 AM |
Heres a pretty neat example
【Local Script】--put in player local rep = game.ReplicatedStorage local tool = game.ReplicatedStorage.Tools.Sword:Clone() --have tool here game.ReplicatedStorage.Equip:FireServer(tool)--Have A Remote Event name Equip in rep.
【Global Script】-- Put this in ServiceScriptService (Organize) rep = game.ReplicatedStorage rep:FindFirstChild("Equip").OnServerEvent:connect(function(player, Tool) tool.Parent = player.Backpack end) --Just add a Remote Event here and name it Equip
|
|
|
| Report Abuse |
|
|
i_Ja
|
  |
| Joined: 06 Apr 2014 |
| Total Posts: 9297 |
|
| |
|