Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game:GetService("Players").LocalPlayer
- local chara = player.Character
- local trans = 0
- script.Parent = player
- player.Chatted:connect(function(msg)
- if msg:sub(1,5) == "trans" then
- trans = msg:sub(7,msg:len())
- end
- end)
- game:GetService("RunService").RenderStepped:connect(function()
- for i,v in pairs(chara:GetDescendants()) do
- if v:IsA("BasePart") and v.Parent.Name ~= "FakeHeadM" and v.Name ~= "Head" and v.Parent:IsA("Accessory") == false then
- v.LocalTransparencyModifier = trans
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement