|
| 28 Apr 2013 11:01 PM |
No output. Everything works except when I call on the tween function[notifyT]
Any suggestions?
ThyTrainers = {} group = 293482 groupin = "T.D." Players = game:GetService("Players")
function notifyT(player,text) notify = player.PlayerGui:FindFirstChild("Notification")["Frame"] notify:TweenPosition(UDim2.new(0.400000006, 0, 0, 0), "In", "Quad", 2.2, true) notify["TextLabel"].Text = text for transparency = 0, 1, .01 do notify["TextLabel"].TextTransparency = transparency wait(.01) end wait(3.3) for transparency2 = 1,0,-.01 do notify["TextLabel"].TextTransparency = transparency2 wait(.01) end wait(1) notify:TweenPosition(UDim2.new(0.400000006, 0, -.6, 0), "Out", "Quad", 2.2) end
Spawn(function() while wait(5)do pcall(function() for _,v in pairs(Workspace:GetChildren()) do if v:IsA("Hat") then v:Remove() end end end) end end)
game.Players.PlayerAdded:connect(function(p) RANKY = p:GetRoleInGroup(group) if p:GetRankInGroup(group) >= 8 then table.insert(ThyTrainers, p.Name) p.TeamColor = game.Teams["Trainers"].TeamColor p.Chatted:connect(function(steve) if string.sub(steve,1,3) == "Tr/" then local player = Players:FindFirstchild(string.sub(steve, 4)) if player then player.TeamColor = BrickColor.new("Black") elseif not player then notifyT(p, "Player Not Found...") elseif p:GetRankInGroup(group) <= 14 then bg = Instance.new("BillboardGui") bg.Parent = p.Character["Head"] bg.Adornee = p.Character["Head"] bg.Size = UDim2.new(4, 0, 2, 0) bg.StudsOffset = Vector3.new(0, 2.5, 0) tg = Instance.new("TextLabel") tg.Size = UDim2.new(1, 0, 1, 0) tg.BackgroundTransparency = 1 tg.TextColor3 = Color3.new(1, 1, 1) tg.TextStrokeTransparency = 0 tg.TextTransparency = 0 tg.FontSize = 'Size8' --Person = p.Name tg.Text = "[" .. groupin .. "]" .. " " .. RANKY tg.Parent = bg elseif not p:IsInGroup(group) then RANKY = "Guest" end end end) end end)
~One must risk everything to find the truth. Even if the truth isn't what you want it to be, it is better than living a lie.~ |
|
|
| Report Abuse |
|
|
|
| 28 Apr 2013 11:46 PM |
erm
~One must risk everything to find the truth. Even if the truth isn't what you want it to be, it is better than living a lie.~ |
|
|
| Report Abuse |
|
|
|
| 29 Apr 2013 06:36 PM |
hi
~One must risk everything to find the truth. Even if the truth isn't what you want it to be, it is better than living a lie.~ |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
| |
|
|
| 29 Apr 2013 06:45 PM |
plz no say hi plz halp instead meanie
~One must risk everything to find the truth. Even if the truth isn't what you want it to be, it is better than living a lie.~ |
|
|
| Report Abuse |
|
|
UnBuild
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 29 Apr 2013 06:50 PM |
cant
im busy making this a useless script |
|
|
| Report Abuse |
|
|
|
| 29 Apr 2013 07:16 PM |
| Is it just not doing anything? Also what is the exact effect you are going for? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Bobb1118
|
  |
| Joined: 03 Oct 2008 |
| Total Posts: 476 |
|
|
| 30 Apr 2013 09:43 PM |
if you arent getting an output, the first thing to try if to put "print 'text' " lines at every step in the function. (at if /elseif's)
roblox is finicky and if your script is entirely correct but you have the wrong if/elseif variables, it just wont fire because it ignores them and therefore no error and no output. |
|
|
| Report Abuse |
|
|