Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function quick()
- local t, __t = {}, nil
- t.new = function(n,p)
- __t = Instance.new(n,p)
- return t
- end
- t.attr = function(p,v)
- if not __t then return end
- __t[p] = v
- return t
- end
- t.call = function(f,...)
- if not __t then return end
- __t[f](__t,...)
- return t
- end
- setmetatable(t,{
- __index = function(t,i)
- return __t[i]
- end;
- __newindex = function(t,i,v)
- __t[i] = v
- return t
- end;
- })
- return t
- end
- quick().new("Sound",workspace).attr("Name","").attr("Volume",1).attr("Pitch",1).attr("SoundId","rbxassetid://"..291247168).call("Play")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement