Advertisement
Astrolunatic06

Roblox script: Add Accessory

May 21st, 2020
2,341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. local event = game.ReplicatedStorage.ChangeChar -- The location of the local event being fired
  2.  
  3. event.OnServerEvent:Connect(function(player) -- Using a function when the local event is fired
  4.     local b = game.ServerStorage.Delta1:Clone() -- cloning a accessory from server storage
  5.     player.Character.Humanoid:AddAccessory(b) -- adding the accessory to the player who fired the event
  6. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement