Fix issues with corescripts and replace URLs with banland.xyz
This commit is contained in:
parent
44d7683349
commit
a3ff27357c
|
|
@ -59,7 +59,7 @@ smallScreenThreshold = 450
|
||||||
|
|
||||||
-- user facing images
|
-- user facing images
|
||||||
assetUrls = {}
|
assetUrls = {}
|
||||||
assetUrl = (str) -> "http://www.roblox.com/Asset/?id=#{str}"
|
assetUrl = (str) -> "http://banland.xyz/asset/?id=#{str}"
|
||||||
errorImageUrl = assetUrl "42557901"
|
errorImageUrl = assetUrl "42557901"
|
||||||
table.insert assetUrls, errorImageUrl
|
table.insert assetUrls, errorImageUrl
|
||||||
buyImageUrl = assetUrl "104651457"
|
buyImageUrl = assetUrl "104651457"
|
||||||
|
|
@ -648,7 +648,7 @@ startSpinner = ->
|
||||||
pos = 0
|
pos = 0
|
||||||
|
|
||||||
while pos < 8
|
while pos < 8
|
||||||
spinnerIcons[pos + 1].Image = "http://www.roblox.com/Asset/?id=" ..
|
spinnerIcons[pos + 1].Image = "http://banland.xyz/asset/?id=" ..
|
||||||
if pos == spinPos or pos == (spinPos + 1) % 8
|
if pos == spinPos or pos == (spinPos + 1) % 8
|
||||||
"45880668"
|
"45880668"
|
||||||
else
|
else
|
||||||
|
|
@ -799,7 +799,7 @@ createSpinner = (size, position, parent) ->
|
||||||
)
|
)
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
ZIndex: 10
|
ZIndex: 10
|
||||||
Image: "http://www.roblox.com/Asset/?id=45880710"
|
Image: "http://banland.xyz/asset/?id=45880710"
|
||||||
Parent: spinnerFrame
|
Parent: spinnerFrame
|
||||||
|
|
||||||
spinnerIcons[spinnerNum] = spinnerImage
|
spinnerIcons[spinnerNum] = spinnerImage
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ initializeDeveloperConsole = ->
|
||||||
Position: UDim2.new 0, 6, 0, 6
|
Position: UDim2.new 0, 6, 0, 6
|
||||||
Size: UDim2.new 0.8, 0, 0.8, 0
|
Size: UDim2.new 0.8, 0, 0.8, 0
|
||||||
Rotation: 135
|
Rotation: 135
|
||||||
Image: "http://www.roblox.com/Asset?id=151205813"
|
Image: "http://banland.xyz/asset?id=151205813"
|
||||||
|
|
||||||
* New "TextButton", "LocalConsole"
|
* New "TextButton", "LocalConsole"
|
||||||
BackgroundColor3: Color3.new 0, 0, 0
|
BackgroundColor3: Color3.new 0, 0, 0
|
||||||
|
|
@ -248,7 +248,7 @@ initializeDeveloperConsole = ->
|
||||||
Position: UDim2.new 0, 3, 0, 3
|
Position: UDim2.new 0, 3, 0, 3
|
||||||
Size: UDim2.new 0, 14, 0, 14
|
Size: UDim2.new 0, 14, 0, 14
|
||||||
Rotation: 180
|
Rotation: 180
|
||||||
Image: "http://www.roblox.com/Asset?id=151205813"
|
Image: "http://banland.xyz/asset?id=151205813"
|
||||||
|
|
||||||
* New "ImageButton", "Up"
|
* New "ImageButton", "Up"
|
||||||
BackgroundColor3: Color3.new 0, 0, 0
|
BackgroundColor3: Color3.new 0, 0, 0
|
||||||
|
|
@ -260,7 +260,7 @@ initializeDeveloperConsole = ->
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Position: UDim2.new 0, 3, 0, 3
|
Position: UDim2.new 0, 3, 0, 3
|
||||||
Size: UDim2.new 0, 14, 0, 14
|
Size: UDim2.new 0, 14, 0, 14
|
||||||
Image: "http://www.roblox.com/Asset?id=151205813"
|
Image: "http://banland.xyz/asset?id=151205813"
|
||||||
|
|
||||||
Dev_ScrollArea = New "Frame", "ScrollArea"
|
Dev_ScrollArea = New "Frame", "ScrollArea"
|
||||||
Parent: Dev_ScrollBar
|
Parent: Dev_ScrollBar
|
||||||
|
|
@ -279,7 +279,7 @@ initializeDeveloperConsole = ->
|
||||||
Position: UDim2.new 0, 0, 0.5, -8
|
Position: UDim2.new 0, 0, 0.5, -8
|
||||||
Rotation: 180
|
Rotation: 180
|
||||||
Size: UDim2.new 1, 0, 0, 16
|
Size: UDim2.new 1, 0, 0, 16
|
||||||
Image: "http://www.roblox.com/Asset?id=151205881"
|
Image: "http://banland.xyz/asset?id=151205881"
|
||||||
|
|
||||||
|
|
||||||
Dev_TextBox = New "Frame", "TextBox"
|
Dev_TextBox = New "Frame", "TextBox"
|
||||||
|
|
@ -308,7 +308,7 @@ initializeDeveloperConsole = ->
|
||||||
Position: UDim2.new 0, 0, 0, 0
|
Position: UDim2.new 0, 0, 0, 0
|
||||||
Size: UDim2.new 1, 0, 1, 0
|
Size: UDim2.new 1, 0, 1, 0
|
||||||
Rotation: 0
|
Rotation: 0
|
||||||
Image: "http://www.roblox.com/Asset?id=152093917"
|
Image: "http://banland.xyz/asset?id=152093917"
|
||||||
|
|
||||||
Dev_TitleBar = New "Frame", "TitleBar"
|
Dev_TitleBar = New "Frame", "TitleBar"
|
||||||
Parent: Dev_Container
|
Parent: Dev_Container
|
||||||
|
|
@ -328,7 +328,7 @@ initializeDeveloperConsole = ->
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Position: UDim2.new 0, 3, 0, 3
|
Position: UDim2.new 0, 3, 0, 3
|
||||||
Size: UDim2.new 0, 14, 0, 14
|
Size: UDim2.new 0, 14, 0, 14
|
||||||
Image: "http://www.roblox.com/Asset?id=151205852"
|
Image: "http://banland.xyz/asset?id=151205852"
|
||||||
|
|
||||||
* New "TextButton", "TextButton"
|
* New "TextButton", "TextButton"
|
||||||
BackgroundColor3: Color3.new 0, 0, 0
|
BackgroundColor3: Color3.new 0, 0, 0
|
||||||
|
|
|
||||||
115
yue/45284430.yue
115
yue/45284430.yue
|
|
@ -166,13 +166,13 @@ t.CreateStyledMessageDialog = (title, message, style, buttons) ->
|
||||||
|
|
||||||
if style == "error" or style == "Error"
|
if style == "error" or style == "Error"
|
||||||
styleImage.Size = UDim2.new 0, 71, 0, 71
|
styleImage.Size = UDim2.new 0, 71, 0, 71
|
||||||
styleImage.Image = "http://www.roblox.com/asset?id=42565285"
|
styleImage.Image = "http://banland.xyz/asset?id=42565285"
|
||||||
elseif style == "notify" or style == "Notify"
|
elseif style == "notify" or style == "Notify"
|
||||||
styleImage.Size = UDim2.new 0, 71, 0, 71
|
styleImage.Size = UDim2.new 0, 71, 0, 71
|
||||||
styleImage.Image = "http://www.roblox.com/asset?id=42604978"
|
styleImage.Image = "http://banland.xyz/asset?id=42604978"
|
||||||
elseif style == "confirm" or style == "Confirm"
|
elseif style == "confirm" or style == "Confirm"
|
||||||
styleImage.Size = UDim2.new 0, 74, 0, 76
|
styleImage.Size = UDim2.new 0, 74, 0, 76
|
||||||
styleImage.Image = "http://www.roblox.com/asset?id=42557901"
|
styleImage.Image = "http://banland.xyz/asset?id=42557901"
|
||||||
else
|
else
|
||||||
return t.CreateMessageDialog title, message, buttons
|
return t.CreateMessageDialog title, message, buttons
|
||||||
|
|
||||||
|
|
@ -243,7 +243,7 @@ t.CreateDropDownMenu = (items, onSelect, forRoblox) ->
|
||||||
|
|
||||||
* New "ImageLabel", "Icon"
|
* New "ImageLabel", "Icon"
|
||||||
Active: false
|
Active: false
|
||||||
Image: "http://www.roblox.com/asset/?id=45732894"
|
Image: "http://banland.xyz/asset/?id=45732894"
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Size: UDim2.new 0, 11, 0, 6
|
Size: UDim2.new 0, 11, 0, 6
|
||||||
Position: UDim2.new 1, -11, 0.5, -2
|
Position: UDim2.new 1, -11, 0.5, -2
|
||||||
|
|
@ -279,10 +279,10 @@ t.CreateDropDownMenu = (items, onSelect, forRoblox) ->
|
||||||
BackgroundColor3: Color3.new 1, 1, 1
|
BackgroundColor3: Color3.new 1, 1, 1
|
||||||
Font: Enum.Font.Arial
|
Font: Enum.Font.Arial
|
||||||
FontSize: Enum.FontSize.Size18
|
FontSize: Enum.FontSize.Size18
|
||||||
Size: if useScrollButtons
|
Size: UDim2.new 1, if useScrollButtons
|
||||||
UDim2.new 1, -13, 0.8 / ((dropDownItemCount + 1) * 0.8), 0
|
-13, 0.8 / ((dropDownItemCount + 1) * 0.8), 0
|
||||||
else
|
else
|
||||||
UDim2.new 1, 0, 0.8 / ((dropDownItemCount + 1) * 0.8), 0
|
0, 0.8 / ((dropDownItemCount + 1) * 0.8), 0
|
||||||
|
|
||||||
TextWrap: true
|
TextWrap: true
|
||||||
ZIndex: 2
|
ZIndex: 2
|
||||||
|
|
@ -663,7 +663,7 @@ t.LayoutGuiObjects = (frame, guiObjects, settingsTable) ->
|
||||||
frame.Changed\connect (prop) ->
|
frame.Changed\connect (prop) ->
|
||||||
if prop == "AbsoluteSize"
|
if prop == "AbsoluteSize"
|
||||||
--Wait a heartbeat for it to sync in
|
--Wait a heartbeat for it to sync in
|
||||||
recalculate nil
|
recalculate!
|
||||||
|
|
||||||
|
|
||||||
frame.AncestryChanged\connect recalculate
|
frame.AncestryChanged\connect recalculate
|
||||||
|
|
@ -703,10 +703,10 @@ t.CreateSlider = (steps, width, position) ->
|
||||||
Text: ""
|
Text: ""
|
||||||
AutoButtonColor: false
|
AutoButtonColor: false
|
||||||
BackgroundColor3: Color3.new 0, 0, 0
|
BackgroundColor3: Color3.new 0, 0, 0
|
||||||
Size: if type(width) == "number"
|
Size: UDim2.new 0, if type(width) == "number"
|
||||||
UDim2.new 0, width, 0, 5
|
width, 0, 5
|
||||||
else
|
else
|
||||||
UDim2.new 0, 200, 0, 5
|
200, 0, 5
|
||||||
|
|
||||||
BorderColor3: Color3.new 95 / 255, 95 / 255, 95 / 255
|
BorderColor3: Color3.new 95 / 255, 95 / 255, 95 / 255
|
||||||
ZIndex: 2
|
ZIndex: 2
|
||||||
|
|
@ -800,7 +800,7 @@ t.CreateTrueScrollingFrame = ->
|
||||||
ControlFrame: controlFrame
|
ControlFrame: controlFrame
|
||||||
ControlFrame:
|
ControlFrame:
|
||||||
ScrollBottom: scrollBottom
|
ScrollBottom: scrollBottom
|
||||||
ScrollUp: scrollUp
|
ScrollUp: scrollUpBool
|
||||||
ScrollUpButton: scrollUpButton
|
ScrollUpButton: scrollUpButton
|
||||||
} = scrollingFrame
|
} = scrollingFrame
|
||||||
|
|
||||||
|
|
@ -929,13 +929,13 @@ t.CreateTrueScrollingFrame = ->
|
||||||
if newScaleYPos + relativeSize > 1
|
if newScaleYPos + relativeSize > 1
|
||||||
newScaleYPos = 1 - relativeSize
|
newScaleYPos = 1 - relativeSize
|
||||||
scrollBottom.Value = true
|
scrollBottom.Value = true
|
||||||
scrollUp.Value = false
|
scrollUpBool.Value = false
|
||||||
elseif newScaleYPos <= 0
|
elseif newScaleYPos <= 0
|
||||||
newScaleYPos = 0
|
newScaleYPos = 0
|
||||||
scrollUp.Value = true
|
scrollUpBool.Value = true
|
||||||
scrollBottom.Value = false
|
scrollBottom.Value = false
|
||||||
else
|
else
|
||||||
scrollUp.Value = false
|
scrollUpBool.Value = false
|
||||||
scrollBottom.Value = false
|
scrollBottom.Value = false
|
||||||
|
|
||||||
scrollbar.Position = UDim2.new scrollbar.Position.X.Scale, scrollbar.Position.X.Offset, newScaleYPos, 0
|
scrollbar.Position = UDim2.new scrollbar.Position.X.Scale, scrollbar.Position.X.Offset, newScaleYPos, 0
|
||||||
|
|
@ -1263,7 +1263,7 @@ t.CreateScrollingFrame = (orderList, scrollStyle) ->
|
||||||
scrollStamp = 0
|
scrollStamp = 0
|
||||||
|
|
||||||
scrollDrag = New "ImageButton", "ScrollDrag"
|
scrollDrag = New "ImageButton", "ScrollDrag"
|
||||||
Image: "http://www.roblox.com/asset/?id=61367186"
|
Image: "http://banland.xyz/asset/?id=61367186"
|
||||||
Size: UDim2.new 1, 0, 0, 16
|
Size: UDim2.new 1, 0, 0, 16
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Active: true
|
Active: true
|
||||||
|
|
@ -1592,12 +1592,12 @@ t.CreateScrollingFrame = (orderList, scrollStyle) ->
|
||||||
if scrollPosition < 1
|
if scrollPosition < 1
|
||||||
scrollPosition = 1
|
scrollPosition = 1
|
||||||
|
|
||||||
recalculate nil
|
recalculate!
|
||||||
|
|
||||||
|
|
||||||
doScrollDown = ->
|
doScrollDown = ->
|
||||||
scrollPosition += rowSize
|
scrollPosition += rowSize
|
||||||
recalculate nil
|
recalculate!
|
||||||
|
|
||||||
|
|
||||||
scrollUp = (mouseYPos) ->
|
scrollUp = (mouseYPos) ->
|
||||||
|
|
@ -1691,7 +1691,7 @@ t.CreateScrollingFrame = (orderList, scrollStyle) ->
|
||||||
|
|
||||||
|
|
||||||
scrollPosition = newScrollPosition
|
scrollPosition = newScrollPosition
|
||||||
recalculate nil
|
recalculate!
|
||||||
|
|
||||||
upCon = mouseDrag.MouseButton1Up\connect ->
|
upCon = mouseDrag.MouseButton1Up\connect ->
|
||||||
scrollStamp = tick!
|
scrollStamp = tick!
|
||||||
|
|
@ -1706,18 +1706,10 @@ t.CreateScrollingFrame = (orderList, scrollStyle) ->
|
||||||
|
|
||||||
scrollMouseCount = 0
|
scrollMouseCount = 0
|
||||||
|
|
||||||
scrollUpButton.MouseButton1Down\connect ->
|
scrollUpButton.MouseButton1Down\connect -> scrollUp!
|
||||||
scrollUp!
|
scrollUpButton.MouseButton1Up\connect -> scrollStamp = tick!
|
||||||
|
scrollDownButton.MouseButton1Up\connect -> scrollStamp = tick!
|
||||||
scrollUpButton.MouseButton1Up\connect ->
|
scrollDownButton.MouseButton1Down\connect -> scrollDown!
|
||||||
scrollStamp = tick!
|
|
||||||
|
|
||||||
|
|
||||||
scrollDownButton.MouseButton1Up\connect ->
|
|
||||||
scrollStamp = tick!
|
|
||||||
|
|
||||||
scrollDownButton.MouseButton1Down\connect ->
|
|
||||||
scrollDown!
|
|
||||||
|
|
||||||
|
|
||||||
scrollbar.MouseButton1Up\connect ->
|
scrollbar.MouseButton1Up\connect ->
|
||||||
|
|
@ -1730,22 +1722,18 @@ t.CreateScrollingFrame = (orderList, scrollStyle) ->
|
||||||
scrollUp y
|
scrollUp y
|
||||||
|
|
||||||
|
|
||||||
frame.ChildAdded\connect ->
|
frame.ChildAdded\connect -> recalculate!
|
||||||
recalculate nil
|
frame.ChildRemoved\connect -> recalculate!
|
||||||
|
|
||||||
|
|
||||||
frame.ChildRemoved\connect ->
|
|
||||||
recalculate nil
|
|
||||||
|
|
||||||
|
|
||||||
frame.Changed\connect (prop) ->
|
frame.Changed\connect (prop) ->
|
||||||
if prop == "AbsoluteSize"
|
if prop == "AbsoluteSize"
|
||||||
--Wait a heartbeat for it to sync in
|
--Wait a heartbeat for it to sync in
|
||||||
recalculate nil
|
recalculate!
|
||||||
|
|
||||||
|
|
||||||
frame.AncestryChanged\connect ->
|
frame.AncestryChanged\connect ->
|
||||||
recalculate nil
|
recalculate!
|
||||||
|
|
||||||
|
|
||||||
return frame, scrollUpButton, scrollDownButton, recalculate, scrollbar
|
return frame, scrollUpButton, scrollDownButton, recalculate, scrollbar
|
||||||
|
|
@ -1887,7 +1875,6 @@ t.AutoTruncateTextObject = (textLabel) ->
|
||||||
fullLabel.Text = text
|
fullLabel.Text = text
|
||||||
checkForResize!
|
checkForResize!
|
||||||
|
|
||||||
|
|
||||||
textLabel, changeText
|
textLabel, changeText
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1933,8 +1920,6 @@ TransitionTutorialPages = (fromPage, toPage, transitionFrame, currentPageValue)
|
||||||
if toPage
|
if toPage
|
||||||
toPage.Visible = true
|
toPage.Visible = true
|
||||||
currentPageValue.Value = toPage
|
currentPageValue.Value = toPage
|
||||||
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -2285,11 +2270,11 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
||||||
BaseUrl = game\GetService"ContentProvider".BaseUrl\lower!
|
BaseUrl = game\GetService"ContentProvider".BaseUrl\lower!
|
||||||
|
|
||||||
if useAssetVersionId
|
if useAssetVersionId
|
||||||
LargeThumbnailUrl = BaseUrl .. "Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=420&ht=420&assetversionid="
|
LargeThumbnailUrl = BaseUrl .. "game/tools/thumbnailasset?fmt=png&wd=420&ht=420&assetversionid="
|
||||||
SmallThumbnailUrl = BaseUrl .. "Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&assetversionid="
|
SmallThumbnailUrl = BaseUrl .. "game/tools/thumbnailasset?fmt=png&wd=75&ht=75&assetversionid="
|
||||||
else
|
else
|
||||||
LargeThumbnailUrl = BaseUrl .. "Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=420&ht=420&aid="
|
LargeThumbnailUrl = BaseUrl .. "game/tools/thumbnailasset?fmt=png&wd=420&ht=420&aid="
|
||||||
SmallThumbnailUrl = BaseUrl .. "Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid="
|
SmallThumbnailUrl = BaseUrl .. "game/tools/thumbnailasset?fmt=png&wd=75&ht=75&aid="
|
||||||
|
|
||||||
|
|
||||||
drillDownSetZIndex = (parent, index) ->
|
drillDownSetZIndex = (parent, index) ->
|
||||||
|
|
@ -2385,7 +2370,7 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
||||||
|
|
||||||
* New "ImageLabel", "CancelImage"
|
* New "ImageLabel", "CancelImage"
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Image: "http://www.roblox.com/asset?id=54135717"
|
Image: "http://banland.xyz/asset?id=54135717"
|
||||||
Position: UDim2.new 0, -2, 0, -2
|
Position: UDim2.new 0, -2, 0, -2
|
||||||
Size: UDim2.new 0, 16, 0, 16
|
Size: UDim2.new 0, 16, 0, 16
|
||||||
ZIndex: 6
|
ZIndex: 6
|
||||||
|
|
@ -2500,7 +2485,6 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
||||||
else
|
else
|
||||||
setButtons[i - numSkipped] = buildSetButton sets[i].Name, sets[i].CategoryId, sets[i].ImageAssetId, i - numSkipped, #sets
|
setButtons[i - numSkipped] = buildSetButton sets[i].Name, sets[i].CategoryId, sets[i].ImageAssetId, i - numSkipped, #sets
|
||||||
|
|
||||||
|
|
||||||
setButtons
|
setButtons
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -2610,7 +2594,6 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
||||||
|
|
||||||
selectTerrainShape terrainShapeMap[dropDownTextButton.Text]
|
selectTerrainShape terrainShapeMap[dropDownTextButton.Text]
|
||||||
|
|
||||||
|
|
||||||
dropDownTextButton
|
dropDownTextButton
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -2636,7 +2619,7 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
||||||
|
|
||||||
createDropDownMenuButton = (parent) ->
|
createDropDownMenuButton = (parent) ->
|
||||||
dropDownButton = New "ImageButton", "DropDownButton"
|
dropDownButton = New "ImageButton", "DropDownButton"
|
||||||
Image: "http://www.roblox.com/asset/?id=67581509"
|
Image: "http://banland.xyz/asset/?id=67581509"
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Size: UDim2.new 0, 16, 0, 16
|
Size: UDim2.new 0, 16, 0, 16
|
||||||
Position: UDim2.new 1, -24, 0, 6
|
Position: UDim2.new 1, -24, 0, 6
|
||||||
|
|
@ -2685,10 +2668,14 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
||||||
|
|
||||||
|
|
||||||
setInsertButtonImageBehavior = (insertFrame, visible, name, assetId) ->
|
setInsertButtonImageBehavior = (insertFrame, visible, name, assetId) ->
|
||||||
|
return if not insertFrame.Button
|
||||||
|
|
||||||
if visible
|
if visible
|
||||||
insertFrame.AssetName.Value = name
|
insertFrame.AssetName.Value = name
|
||||||
insertFrame.AssetId.Value = assetId
|
insertFrame.AssetId.Value = assetId
|
||||||
newImageUrl = SmallThumbnailUrl .. assetId
|
newImageUrl = SmallThumbnailUrl .. assetId
|
||||||
|
|
||||||
|
|
||||||
if newImageUrl ~= insertFrame.Button.ButtonImage.Image
|
if newImageUrl ~= insertFrame.Button.ButtonImage.Image
|
||||||
delay 0, ->
|
delay 0, ->
|
||||||
game\GetService"ContentProvider"\Preload SmallThumbnailUrl .. assetId
|
game\GetService"ContentProvider"\Preload SmallThumbnailUrl .. assetId
|
||||||
|
|
@ -2702,12 +2689,10 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
||||||
isWaterSelected = (name == "Water") and
|
isWaterSelected = (name == "Water") and
|
||||||
(Data.Category[Data.CurrentCategory].SetName == "High Scalability")
|
(Data.Category[Data.CurrentCategory].SetName == "High Scalability")
|
||||||
waterGui.Visible = isWaterSelected
|
waterGui.Visible = isWaterSelected
|
||||||
if isWaterSelected
|
objectSelected name, if isWaterSelected
|
||||||
objectSelected name, tonumber assetId, nil
|
tonumber assetId, nil
|
||||||
else
|
else
|
||||||
objectSelected name, tonumber assetId
|
tonumber assetId
|
||||||
|
|
||||||
|
|
||||||
)
|
)
|
||||||
insertFrame.Visible = true
|
insertFrame.Visible = true
|
||||||
else
|
else
|
||||||
|
|
@ -3052,7 +3037,7 @@ t.CreateTerrainMaterialSelector = (size, position) ->
|
||||||
-- we so need a better way to do this
|
-- we so need a better way to do this
|
||||||
for _, v in pairs materialNames
|
for _, v in pairs materialNames
|
||||||
materialToImageMap[v] = {}
|
materialToImageMap[v] = {}
|
||||||
materialToImageMap[v].Regular = "http://www.roblox.com/asset/?id=" ..
|
materialToImageMap[v].Regular = "http://banland.xyz/asset/?id=" ..
|
||||||
switch v
|
switch v
|
||||||
when "Grass" then "56563112"
|
when "Grass" then "56563112"
|
||||||
when "Sand" then "62356652"
|
when "Sand" then "62356652"
|
||||||
|
|
@ -3074,18 +3059,18 @@ t.CreateTerrainMaterialSelector = (size, position) ->
|
||||||
else "66887593" -- fill in the rest here!!
|
else "66887593" -- fill in the rest here!!
|
||||||
|
|
||||||
|
|
||||||
scrollFrame, scrollUp, scrollDown, recalculateScroll = t.CreateScrollingFrame nil, "grid"
|
scrollFrame, scrollUpB, scrollDownB, recalculateScroll = t.CreateScrollingFrame nil, "grid"
|
||||||
scrollFrame.Size = UDim2.new 0.85, 0, 1, 0
|
scrollFrame.Size = UDim2.new 0.85, 0, 1, 0
|
||||||
scrollFrame.Position = UDim2.new 0, 0, 0, 0
|
scrollFrame.Position = UDim2.new 0, 0, 0, 0
|
||||||
scrollFrame.Parent = frame
|
scrollFrame.Parent = frame
|
||||||
|
|
||||||
scrollUp.Parent = frame
|
scrollUpB.Parent = frame
|
||||||
scrollUp.Visible = true
|
scrollUpB.Visible = true
|
||||||
scrollUp.Position = UDim2.new 1, -19, 0, 0
|
scrollUpB.Position = UDim2.new 1, -19, 0, 0
|
||||||
|
|
||||||
scrollDown.Parent = frame
|
scrollDownB.Parent = frame
|
||||||
scrollDown.Visible = true
|
scrollDownB.Visible = true
|
||||||
scrollDown.Position = UDim2.new 1, -19, 1, -17
|
scrollDownB.Position = UDim2.new 1, -19, 1, -17
|
||||||
|
|
||||||
goToNewMaterial = (buttonWrap, materialName) ->
|
goToNewMaterial = (buttonWrap, materialName) ->
|
||||||
updateMaterialChoice materialName
|
updateMaterialChoice materialName
|
||||||
|
|
@ -3170,7 +3155,7 @@ t.CreateTerrainMaterialSelector = (size, position) ->
|
||||||
|
|
||||||
|
|
||||||
t.CreateLoadingFrame = (name, size, position) ->
|
t.CreateLoadingFrame = (name, size, position) ->
|
||||||
game\GetService"ContentProvider"\Preload "http://www.roblox.com/asset/?id=35238053"
|
game\GetService"ContentProvider"\Preload "http://banland.xyz/asset/?id=35238053"
|
||||||
|
|
||||||
loadingFrame = New "Frame", "LoadingFrame"
|
loadingFrame = New "Frame", "LoadingFrame"
|
||||||
Style: Enum.FrameStyle.RobloxRound
|
Style: Enum.FrameStyle.RobloxRound
|
||||||
|
|
@ -3196,7 +3181,7 @@ t.CreateLoadingFrame = (name, size, position) ->
|
||||||
Parent: loadingFrame
|
Parent: loadingFrame
|
||||||
|
|
||||||
loadingGreenBar = New "ImageLabel", "LoadingGreenBar"
|
loadingGreenBar = New "ImageLabel", "LoadingGreenBar"
|
||||||
Image: "http://www.roblox.com/asset/?id=35238053"
|
Image: "http://banland.xyz/asset/?id=35238053"
|
||||||
Position: UDim2.new 0, 0, 0, 0
|
Position: UDim2.new 0, 0, 0, 0
|
||||||
Size: UDim2.new 0, 0, 1, 0
|
Size: UDim2.new 0, 0, 1, 0
|
||||||
Visible: false
|
Visible: false
|
||||||
|
|
|
||||||
|
|
@ -45,8 +45,8 @@ local updateCameraDropDownSelection
|
||||||
local updateVideoCaptureDropDownSelection
|
local updateVideoCaptureDropDownSelection
|
||||||
tweenTime = 0.2
|
tweenTime = 0.2
|
||||||
|
|
||||||
mouseLockLookScreenUrl = "http://www.roblox.com/asset?id=54071825"
|
mouseLockLookScreenUrl = "http://banland.xyz/asset?id=54071825"
|
||||||
classicLookScreenUrl = "http://www.roblox.com/Asset?id=45915798"
|
classicLookScreenUrl = "http://banland.xyz/asset?id=45915798"
|
||||||
|
|
||||||
hasGraphicsSlider = game\GetService"CoreGui".Version >= 5
|
hasGraphicsSlider = game\GetService"CoreGui".Version >= 5
|
||||||
GraphicsQualityLevels = 10 -- how many levels we allow on graphics slider
|
GraphicsQualityLevels = 10 -- how many levels we allow on graphics slider
|
||||||
|
|
@ -378,17 +378,17 @@ createHelpDialog = (baseZIndex) ->
|
||||||
buttons[2] = {}
|
buttons[2] = {}
|
||||||
buttons[2].Text = "Move"
|
buttons[2].Text = "Move"
|
||||||
buttons[2].Function = ->
|
buttons[2].Function = ->
|
||||||
image.Image = "http://www.roblox.com/Asset?id=45915811"
|
image.Image = "http://banland.xyz/asset?id=45915811"
|
||||||
|
|
||||||
buttons[3] = {}
|
buttons[3] = {}
|
||||||
buttons[3].Text = "Gear"
|
buttons[3].Text = "Gear"
|
||||||
buttons[3].Function = ->
|
buttons[3].Function = ->
|
||||||
image.Image = "http://www.roblox.com/Asset?id=45917596"
|
image.Image = "http://banland.xyz/asset?id=45917596"
|
||||||
|
|
||||||
buttons[4] = {}
|
buttons[4] = {}
|
||||||
buttons[4].Text = "Zoom"
|
buttons[4].Text = "Zoom"
|
||||||
buttons[4].Function = ->
|
buttons[4].Function = ->
|
||||||
image.Image = "http://www.roblox.com/Asset?id=45915825"
|
image.Image = "http://banland.xyz/asset?id=45915825"
|
||||||
|
|
||||||
|
|
||||||
CreateTextButtons buttonRow, buttons, UDim.new(0, 0), UDim.new 1, 0
|
CreateTextButtons buttonRow, buttons, UDim.new(0, 0), UDim.new 1, 0
|
||||||
|
|
@ -1716,7 +1716,7 @@ if LoadLibrary
|
||||||
-8
|
-8
|
||||||
)
|
)
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Image: "http://www.roblox.com/Asset?id=45880710"
|
Image: "http://banland.xyz/asset?id=45880710"
|
||||||
Parent: spinnerFrame
|
Parent: spinnerFrame
|
||||||
|
|
||||||
spinnerIcons[spinnerNum] = spinnerImage
|
spinnerIcons[spinnerNum] = spinnerImage
|
||||||
|
|
@ -1737,9 +1737,9 @@ if LoadLibrary
|
||||||
|
|
||||||
while pos < 8
|
while pos < 8
|
||||||
spinnerIcons[pos + 1].Image = if pos == spinPos or pos == ((spinPos + 1) % 8)
|
spinnerIcons[pos + 1].Image = if pos == spinPos or pos == ((spinPos + 1) % 8)
|
||||||
"http://www.roblox.com/Asset?id=45880668"
|
"http://banland.xyz/asset?id=45880668"
|
||||||
else
|
else
|
||||||
"http://www.roblox.com/Asset?id=45880710"
|
"http://banland.xyz/asset?id=45880710"
|
||||||
|
|
||||||
pos += 1
|
pos += 1
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ $load $FILE
|
||||||
iltalumi: 1
|
iltalumi: 1
|
||||||
inventx: 1
|
inventx: 1
|
||||||
jackssmirkingrevenge: 1
|
jackssmirkingrevenge: 1
|
||||||
jeditkacheff: 'http://www.roblox.com/asset/?id=134032333'
|
jeditkacheff: 'http://banland.xyz/asset/?id=134032333'
|
||||||
kbux: 1
|
kbux: 1
|
||||||
keith: 1
|
keith: 1
|
||||||
limon: 1
|
limon: 1
|
||||||
|
|
@ -89,14 +89,14 @@ $load $FILE
|
||||||
screenme: 1
|
screenme: 1
|
||||||
scubasomething: 1
|
scubasomething: 1
|
||||||
seanthornton: 1
|
seanthornton: 1
|
||||||
shedletsky: 'http://www.roblox.com/asset/?id=105897927'
|
shedletsky: 'http://banland.xyz/asset/?id=105897927'
|
||||||
sickenedmonkey: 1
|
sickenedmonkey: 1
|
||||||
slingshotjunkie: 1
|
slingshotjunkie: 1
|
||||||
smeaferblox: 1
|
smeaferblox: 1
|
||||||
soggoth: 1
|
soggoth: 1
|
||||||
solarcrane: 1
|
solarcrane: 1
|
||||||
sooraya: 1
|
sooraya: 1
|
||||||
sorcus: 'http://www.roblox.com/asset/?id=113059239'
|
sorcus: 'http://banland.xyz/asset/?id=113059239'
|
||||||
squidcod: 1
|
squidcod: 1
|
||||||
stickmasterluke: 1
|
stickmasterluke: 1
|
||||||
stuball: 1
|
stuball: 1
|
||||||
|
|
@ -127,9 +127,9 @@ $load $FILE
|
||||||
ADMINS =
|
ADMINS =
|
||||||
taskmanager: 1
|
taskmanager: 1
|
||||||
Heliodex: 1
|
Heliodex: 1
|
||||||
multako: "http://www.roblox.com/asset/?id=6923328292"
|
multako: "http://banland.xyz/asset/?id=6923328292"
|
||||||
mercury: 1
|
mercury: 1
|
||||||
pizzaboxer: "http://www.roblox.com/asset/?id=6917566633"
|
pizzaboxer: "http://banland.xyz/asset/?id=6917566633"
|
||||||
|
|
||||||
Images =
|
Images =
|
||||||
bottomDark: "94691904"
|
bottomDark: "94691904"
|
||||||
|
|
@ -203,7 +203,7 @@ Color3I = (r, g, b) -> Color3.new r / 255, g / 255, b / 255
|
||||||
getMembershipTypeIcon = (membershipType, playerName) ->
|
getMembershipTypeIcon = (membershipType, playerName) ->
|
||||||
if ADMINS[string.lower playerName]?
|
if ADMINS[string.lower playerName]?
|
||||||
if ADMINS[string.lower playerName] == 1
|
if ADMINS[string.lower playerName] == 1
|
||||||
"http://www.roblox.com/asset/?id=6923330951"
|
"http://banland.xyz/asset/?id=6923330951"
|
||||||
else
|
else
|
||||||
ADMINS[string.lower playerName]
|
ADMINS[string.lower playerName]
|
||||||
|
|
||||||
|
|
@ -223,11 +223,11 @@ getFriendStatusIcon = (friendStatus) ->
|
||||||
if friendStatus == Enum.FriendStatus.Unknown or friendStatus == Enum.FriendStatus.NotFriend
|
if friendStatus == Enum.FriendStatus.Unknown or friendStatus == Enum.FriendStatus.NotFriend
|
||||||
""
|
""
|
||||||
elseif friendStatus == Enum.FriendStatus.Friend
|
elseif friendStatus == Enum.FriendStatus.Friend
|
||||||
"http://www.roblox.com/asset/?id=99749771"
|
"http://banland.xyz/asset/?id=99749771"
|
||||||
elseif friendStatus == Enum.FriendStatus.FriendRequestSent
|
elseif friendStatus == Enum.FriendStatus.FriendRequestSent
|
||||||
"http://www.roblox.com/asset/?id=99776888"
|
"http://banland.xyz/asset/?id=99776888"
|
||||||
elseif friendStatus == Enum.FriendStatus.FriendRequestReceived
|
elseif friendStatus == Enum.FriendStatus.FriendRequestReceived
|
||||||
"http://www.roblox.com/asset/?id=99776838"
|
"http://banland.xyz/asset/?id=99776838"
|
||||||
else
|
else
|
||||||
error "Unknown FriendStatus: #{friendStatus}"
|
error "Unknown FriendStatus: #{friendStatus}"
|
||||||
|
|
||||||
|
|
@ -260,7 +260,7 @@ MakePopupButton = (nparent, ntext, index, last) ->
|
||||||
TextStrokeTransparency: 1
|
TextStrokeTransparency: 1
|
||||||
ZIndex: 7
|
ZIndex: 7
|
||||||
|
|
||||||
tobj.Image = "http://www.roblox.com/asset/?id=" .. if index == 0
|
tobj.Image = "http://banland.xyz/asset/?id=" .. if index == 0
|
||||||
"97108784"
|
"97108784"
|
||||||
elseif last
|
elseif last
|
||||||
if index % 2 == 1
|
if index % 2 == 1
|
||||||
|
|
@ -339,7 +339,7 @@ HeaderFrame = New "Frame", "Header"
|
||||||
Size: UDim2.new 1, 0, 0.07, 0
|
Size: UDim2.new 1, 0, 0.07, 0
|
||||||
Parent: MainFrame
|
Parent: MainFrame
|
||||||
|
|
||||||
* MakeBackgroundGuiObj "http://www.roblox.com/asset/?id=94692054"
|
* MakeBackgroundGuiObj "http://banland.xyz/asset/?id=94692054"
|
||||||
|
|
||||||
HeaderFrameHeight = HeaderFrame.Size.Y.Scale
|
HeaderFrameHeight = HeaderFrame.Size.Y.Scale
|
||||||
MaximizeButton = New "ImageButton", "MaximizeButton"
|
MaximizeButton = New "ImageButton", "MaximizeButton"
|
||||||
|
|
@ -394,7 +394,7 @@ BottomFrame = New "Frame", "Bottom"
|
||||||
Size: UDim2.new 1, 0, 0.03, 0
|
Size: UDim2.new 1, 0, 0.03, 0
|
||||||
Parent: BottomShiftFrame
|
Parent: BottomShiftFrame
|
||||||
|
|
||||||
* MakeBackgroundGuiObj "http://www.roblox.com/asset/?id=94754966"
|
* MakeBackgroundGuiObj "http://banland.xyz/asset/?id=94754966"
|
||||||
|
|
||||||
ExtendButton = New "ImageButton", "bigbutton"
|
ExtendButton = New "ImageButton", "bigbutton"
|
||||||
Active: true
|
Active: true
|
||||||
|
|
@ -407,7 +407,7 @@ ExtendButton = New "ImageButton", "bigbutton"
|
||||||
ExtendTab = New "ImageButton", "extendTab"
|
ExtendTab = New "ImageButton", "extendTab"
|
||||||
Active: true
|
Active: true
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Image: "http://www.roblox.com/asset/?id=94692731"
|
Image: "http://banland.xyz/asset/?id=94692731"
|
||||||
Position: UDim2.new 0.608, 0, 0.3, 0
|
Position: UDim2.new 0.608, 0, 0.3, 0
|
||||||
Size: UDim2.new 0.3, 0, 0.7, 0
|
Size: UDim2.new 0.3, 0, 0.7, 0
|
||||||
Parent: BottomFrame
|
Parent: BottomFrame
|
||||||
|
|
@ -542,7 +542,7 @@ MiddleBGTemplate = New "Frame", "MidBGTemplate"
|
||||||
Position: UDim2.new 100, 0, 0.07, 0
|
Position: UDim2.new 100, 0, 0.07, 0
|
||||||
Size: UDim2.new 0.5, 0, 0.025, 0 --UDim2.new 1, 0, .03, 0
|
Size: UDim2.new 0.5, 0, 0.025, 0 --UDim2.new 1, 0, .03, 0
|
||||||
|
|
||||||
* MakeBackgroundGuiObj "http://www.roblox.com/asset/?id=94692025"
|
* MakeBackgroundGuiObj "http://banland.xyz/asset/?id=94692025"
|
||||||
|
|
||||||
-- REPORT ABUSE OBJECTS
|
-- REPORT ABUSE OBJECTS
|
||||||
|
|
||||||
|
|
@ -570,7 +570,7 @@ AbuseSettingsFrame = New "Frame", "ReportAbuseStyle"
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Parent: ReportAbuseFrame
|
Parent: ReportAbuseFrame
|
||||||
|
|
||||||
* MakeBackgroundGuiObj "http://www.roblox.com/asset/?id=96488767" -- 96480351"
|
* MakeBackgroundGuiObj "http://banland.xyz/asset/?id=96488767" -- 96480351"
|
||||||
|
|
||||||
* New "TextLabel", "Title"
|
* New "TextLabel", "Title"
|
||||||
Text: "Report Abuse"
|
Text: "Report Abuse"
|
||||||
|
|
@ -639,7 +639,7 @@ SubmitReportButton = New "ImageButton", "SubmitReportBtn"
|
||||||
Position: UDim2.new 0.5, -200, 1, -80
|
Position: UDim2.new 0.5, -200, 1, -80
|
||||||
Size: UDim2.new 0, 150, 0, 50
|
Size: UDim2.new 0, 150, 0, 50
|
||||||
AutoButtonColor: false
|
AutoButtonColor: false
|
||||||
Image: "http://www.roblox.com/asset/?id=96502438" -- 96501119'
|
Image: "http://banland.xyz/asset/?id=96502438" -- 96501119'
|
||||||
Parent: AbuseSettingsFrame
|
Parent: AbuseSettingsFrame
|
||||||
|
|
||||||
CancelReportButton = New "ImageButton", "CancelBtn"
|
CancelReportButton = New "ImageButton", "CancelBtn"
|
||||||
|
|
@ -647,7 +647,7 @@ CancelReportButton = New "ImageButton", "CancelBtn"
|
||||||
Position: UDim2.new 0.5, 50, 1, -80
|
Position: UDim2.new 0.5, 50, 1, -80
|
||||||
Size: UDim2.new 0, 150, 0, 50
|
Size: UDim2.new 0, 150, 0, 50
|
||||||
AutoButtonColor: true
|
AutoButtonColor: true
|
||||||
Image: "http://www.roblox.com/asset/?id=96500683"
|
Image: "http://banland.xyz/asset/?id=96500683"
|
||||||
Parent: AbuseSettingsFrame
|
Parent: AbuseSettingsFrame
|
||||||
|
|
||||||
AbuseDescriptionWrapper = New "Frame", "AbuseDescriptionWrapper"
|
AbuseDescriptionWrapper = New "Frame", "AbuseDescriptionWrapper"
|
||||||
|
|
@ -678,7 +678,7 @@ CalmingAbuseBox = New "Frame", "AbuseFeedbackBox"
|
||||||
Position: UDim2.new 0.25, 0, 0.3, 0
|
Position: UDim2.new 0.25, 0, 0.3, 0
|
||||||
Size: UDim2.new 0.5, 0, 0.37, 0
|
Size: UDim2.new 0.5, 0, 0.37, 0
|
||||||
|
|
||||||
* MakeBackgroundGuiObj "http://www.roblox.com/asset/?id=96506233"
|
* MakeBackgroundGuiObj "http://banland.xyz/asset/?id=96506233"
|
||||||
|
|
||||||
* New "TextLabel", "Header",
|
* New "TextLabel", "Header",
|
||||||
Position: UDim2.new 0, 10, 0.05, 0
|
Position: UDim2.new 0, 10, 0.05, 0
|
||||||
|
|
@ -709,14 +709,14 @@ CalmingAbuseBox = New "Frame", "AbuseFeedbackBox"
|
||||||
Position: UDim2.new 0.5, -75, 1, -80,
|
Position: UDim2.new 0.5, -75, 1, -80,
|
||||||
Size: UDim2.new 0, 150, 0, 50,
|
Size: UDim2.new 0, 150, 0, 50,
|
||||||
AutoButtonColor: true,
|
AutoButtonColor: true,
|
||||||
Image: "http://www.roblox.com/asset/?id=96507959",
|
Image: "http://banland.xyz/asset/?id=96507959",
|
||||||
|
|
||||||
NormalAbuseBox = New "Frame", "AbuseFeedbackBox"
|
NormalAbuseBox = New "Frame", "AbuseFeedbackBox"
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Position: UDim2.new 0.25, 0, 0.300000012, 0
|
Position: UDim2.new 0.25, 0, 0.300000012, 0
|
||||||
Size: UDim2.new 0.5, 0, 0.370000005, 0
|
Size: UDim2.new 0.5, 0, 0.370000005, 0
|
||||||
|
|
||||||
* MakeBackgroundGuiObj "http://www.roblox.com/asset/?id=96506233"
|
* MakeBackgroundGuiObj "http://banland.xyz/asset/?id=96506233"
|
||||||
|
|
||||||
* New "TextLabel", "Header"
|
* New "TextLabel", "Header"
|
||||||
Position: UDim2.new 0, 10, 0.05, 0
|
Position: UDim2.new 0, 10, 0.05, 0
|
||||||
|
|
@ -747,7 +747,7 @@ NormalAbuseBox = New "Frame", "AbuseFeedbackBox"
|
||||||
Position: UDim2.new 0.5, -75, 1, -80
|
Position: UDim2.new 0.5, -75, 1, -80
|
||||||
Size: UDim2.new 0, 150, 0, 50
|
Size: UDim2.new 0, 150, 0, 50
|
||||||
AutoButtonColor: true
|
AutoButtonColor: true
|
||||||
Image: "http://www.roblox.com/asset/?id=96507959"
|
Image: "http://banland.xyz/asset/?id=96507959"
|
||||||
|
|
||||||
BigButton = New "ImageButton"
|
BigButton = New "ImageButton"
|
||||||
Size: UDim2.new 1, 0, 1, 0
|
Size: UDim2.new 1, 0, 1, 0
|
||||||
|
|
@ -765,7 +765,7 @@ debugFrame = New "Frame", "debugframe"
|
||||||
Position: UDim2.new 0.25, 0, 0.3, 0
|
Position: UDim2.new 0.25, 0, 0.3, 0
|
||||||
Size: UDim2.new 0.5, 0, 0.37, 0
|
Size: UDim2.new 0.5, 0, 0.37, 0
|
||||||
|
|
||||||
* MakeBackgroundGuiObj "http://www.roblox.com/asset/?id=96506233"
|
* MakeBackgroundGuiObj "http://banland.xyz/asset/?id=96506233"
|
||||||
|
|
||||||
debugplayers = New "TextLabel"
|
debugplayers = New "TextLabel"
|
||||||
BackgroundTransparency: 0.8
|
BackgroundTransparency: 0.8
|
||||||
|
|
@ -806,7 +806,7 @@ RbxGui = assert LoadLibrary "RbxGui"
|
||||||
DefaultEntriesOnScreen = 8
|
DefaultEntriesOnScreen = 8
|
||||||
|
|
||||||
for _, i in pairs Images
|
for _, i in pairs Images
|
||||||
Game\GetService"ContentProvider"\Preload "http://www.roblox.com/asset/?id=#{i}"
|
Game\GetService"ContentProvider"\Preload "http://banland.xyz/asset/?id=#{i}"
|
||||||
|
|
||||||
|
|
||||||
-- ordered array of 'score data', each entry has:
|
-- ordered array of 'score data', each entry has:
|
||||||
|
|
@ -1043,7 +1043,7 @@ SetPrivilegeRank = (player, nrank) ->
|
||||||
while player.PersonalServerRank > nrank
|
while player.PersonalServerRank > nrank
|
||||||
game\GetService"PersonalServerService"\Demote player
|
game\GetService"PersonalServerService"\Demote player
|
||||||
|
|
||||||
assetid = "http://www.roblox.com/asset/?id="
|
assetid = "http://banland.xyz/asset/?id="
|
||||||
--[[
|
--[[
|
||||||
Highlights current rank of this player in the popup menu
|
Highlights current rank of this player in the popup menu
|
||||||
@Args:
|
@Args:
|
||||||
|
|
@ -1085,7 +1085,7 @@ OnPrivilegeLevelSelect = (player, nlevel, BanPlayerButton, VisitorButton, Member
|
||||||
CloseAbuseDialog = ->
|
CloseAbuseDialog = ->
|
||||||
AbuseName = nil
|
AbuseName = nil
|
||||||
SubmitReportButton.Active = false
|
SubmitReportButton.Active = false
|
||||||
SubmitReportButton.Image = "http://www.roblox.com/asset/?id=96502438" -- 96501119'
|
SubmitReportButton.Image = "http://banland.xyz/asset/?id=96502438" -- 96501119'
|
||||||
AbuseDescriptionBox\Destroy!
|
AbuseDescriptionBox\Destroy!
|
||||||
CalmingAbuseBox.Parent = nil
|
CalmingAbuseBox.Parent = nil
|
||||||
NormalAbuseBox.Parent = nil
|
NormalAbuseBox.Parent = nil
|
||||||
|
|
@ -1141,7 +1141,7 @@ InitReportAbuse = ->
|
||||||
AbuseName = abuseText
|
AbuseName = abuseText
|
||||||
if AbuseName and SelectedPlayer
|
if AbuseName and SelectedPlayer
|
||||||
SubmitReportButton.Active = true
|
SubmitReportButton.Active = true
|
||||||
SubmitReportButton.Image = "http://www.roblox.com/asset/?id=96501119"
|
SubmitReportButton.Image = "http://banland.xyz/asset/?id=96501119"
|
||||||
|
|
||||||
AbuseDropDown, _ = RbxGui.CreateDropDownMenu Abuses, UpdateAbuseFunction, true
|
AbuseDropDown, _ = RbxGui.CreateDropDownMenu Abuses, UpdateAbuseFunction, true
|
||||||
AbuseDropDown.Name = "AbuseComboBox"
|
AbuseDropDown.Name = "AbuseComboBox"
|
||||||
|
|
@ -1663,7 +1663,7 @@ UpdateMinimize = ->
|
||||||
BottomClipFrame\TweenPosition UDim2.new(0, 0, -1, 0), "Out", "Linear", BASE_TWEEN * 1.2, true
|
BottomClipFrame\TweenPosition UDim2.new(0, 0, -1, 0), "Out", "Linear", BASE_TWEEN * 1.2, true
|
||||||
BottomFrame\TweenPosition UDim2.new(0, 0, 0, 0), "Out", "Linear", BASE_TWEEN * 1.2, true
|
BottomFrame\TweenPosition UDim2.new(0, 0, 0, 0), "Out", "Linear", BASE_TWEEN * 1.2, true
|
||||||
FocusFrame.Size = UDim2.new 1, 0, HeaderFrameHeight, 0
|
FocusFrame.Size = UDim2.new 1, 0, HeaderFrameHeight, 0
|
||||||
ExtendTab.Image = "http://www.roblox.com/asset/?id=94692731"
|
ExtendTab.Image = "http://banland.xyz/asset/?id=94692731"
|
||||||
else
|
else
|
||||||
if not IsMaximized.Value
|
if not IsMaximized.Value
|
||||||
MainFrame\TweenSizeAndPosition NormalBounds, NormalPosition, "Out", "Linear", BASE_TWEEN * 1.2, true
|
MainFrame\TweenSizeAndPosition NormalBounds, NormalPosition, "Out", "Linear", BASE_TWEEN * 1.2, true
|
||||||
|
|
@ -1676,7 +1676,7 @@ UpdateMinimize = ->
|
||||||
bottomPositon = DefaultBottomClipPos + BottomClipFrame.Size.Y.Scale
|
bottomPositon = DefaultBottomClipPos + BottomClipFrame.Size.Y.Scale
|
||||||
BottomFrame.Position = UDim2.new 0, 0, bottomPositon, 0
|
BottomFrame.Position = UDim2.new 0, 0, bottomPositon, 0
|
||||||
FocusFrame.Size = UDim2.new 1, 0, bottomPositon + HeaderFrameHeight, 0
|
FocusFrame.Size = UDim2.new 1, 0, bottomPositon + HeaderFrameHeight, 0
|
||||||
ExtendTab.Image = "http://www.roblox.com/asset/?id=94825585"
|
ExtendTab.Image = "http://banland.xyz/asset/?id=94825585"
|
||||||
|
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
|
|
@ -1716,10 +1716,10 @@ UpdateMaximize = ->
|
||||||
BASE_TWEEN * 1.2,
|
BASE_TWEEN * 1.2,
|
||||||
true
|
true
|
||||||
)
|
)
|
||||||
HeaderFrame.Background.Image = "http://www.roblox.com/asset/?id=" .. Images["LargeHeader"]
|
HeaderFrame.Background.Image = "http://banland.xyz/asset/?id=" .. Images["LargeHeader"]
|
||||||
BottomFrame.Background.Image = "http://www.roblox.com/asset/?id=" .. Images["LargeBottom"]
|
BottomFrame.Background.Image = "http://banland.xyz/asset/?id=" .. Images["LargeBottom"]
|
||||||
for index, i in ipairs MiddleFrameBackgrounds
|
for index, i in ipairs MiddleFrameBackgrounds
|
||||||
i.Background.Image = "http://www.roblox.com/asset/?id=" .. if index % 2 ~= 1
|
i.Background.Image = "http://banland.xyz/asset/?id=" .. if index % 2 ~= 1
|
||||||
Images["LargeDark"]
|
Images["LargeDark"]
|
||||||
else
|
else
|
||||||
Images["LargeLight"]
|
Images["LargeLight"]
|
||||||
|
|
@ -1770,10 +1770,10 @@ UpdateMaximize = ->
|
||||||
BASE_TWEEN * 1.2,
|
BASE_TWEEN * 1.2,
|
||||||
true
|
true
|
||||||
)
|
)
|
||||||
HeaderFrame.Background.Image = "http://www.roblox.com/asset/?id=" .. Images["NormalHeader"]
|
HeaderFrame.Background.Image = "http://banland.xyz/asset/?id=" .. Images["NormalHeader"]
|
||||||
BottomFrame.Background.Image = "http://www.roblox.com/asset/?id=" .. Images["NormalBottom"]
|
BottomFrame.Background.Image = "http://banland.xyz/asset/?id=" .. Images["NormalBottom"]
|
||||||
for index, i in ipairs MiddleFrameBackgrounds
|
for index, i in ipairs MiddleFrameBackgrounds
|
||||||
i.Background.Image = "http://www.roblox.com/asset/?id=" .. if index % 2 ~= 1
|
i.Background.Image = "http://banland.xyz/asset/?id=" .. if index % 2 ~= 1
|
||||||
Images["midDark"]
|
Images["midDark"]
|
||||||
else
|
else
|
||||||
Images["midLight"]
|
Images["midLight"]
|
||||||
|
|
@ -2124,7 +2124,7 @@ MaximizeButton.MouseButton2Click\connect ->
|
||||||
AddMiddleBGFrame = ->
|
AddMiddleBGFrame = ->
|
||||||
nBGFrame = MiddleBGTemplate\Clone!
|
nBGFrame = MiddleBGTemplate\Clone!
|
||||||
nBGFrame.Position = UDim2.new 0.5, 0, (#MiddleFrameBackgrounds * nBGFrame.Size.Y.Scale), 0
|
nBGFrame.Position = UDim2.new 0.5, 0, (#MiddleFrameBackgrounds * nBGFrame.Size.Y.Scale), 0
|
||||||
nBGFrame.Background.Image = "http://www.roblox.com/asset/?id=" .. if (#MiddleFrameBackgrounds + 1) % 2 ~= 1
|
nBGFrame.Background.Image = "http://banland.xyz/asset/?id=" .. if (#MiddleFrameBackgrounds + 1) % 2 ~= 1
|
||||||
if IsMaximized.Value
|
if IsMaximized.Value
|
||||||
Images["LargeDark"]
|
Images["LargeDark"]
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ popupFrame = New "Frame", "Popup"
|
||||||
* New "ImageLabel", "Backing"
|
* New "ImageLabel", "Backing"
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Size: UDim2.new 1, 0, 1, 0
|
Size: UDim2.new 1, 0, 1, 0
|
||||||
Image: "http://www.roblox.com/asset/?id=47574181"
|
Image: "http://banland.xyz/asset/?id=47574181"
|
||||||
ZIndex: 2
|
ZIndex: 2
|
||||||
|
|
||||||
:AcceptButton = popupFrame
|
:AcceptButton = popupFrame
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ CurrentLoadout = New "Frame", "CurrentLoadout"
|
||||||
|
|
||||||
* New "ImageLabel", "Background"
|
* New "ImageLabel", "Background"
|
||||||
Size: UDim2.new 1.2, 0, 1.2, 0
|
Size: UDim2.new 1.2, 0, 1.2, 0
|
||||||
Image: "http://www.roblox.com/asset/?id=96536002"
|
Image: "http://banland.xyz/asset/?id=96536002"
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Position: UDim2.new -0.1, 0, -0.1, 0
|
Position: UDim2.new -0.1, 0, -0.1, 0
|
||||||
ZIndex: 0.0
|
ZIndex: 0.0
|
||||||
|
|
@ -78,7 +78,7 @@ CurrentLoadout = New "Frame", "CurrentLoadout"
|
||||||
* New "ImageLabel"
|
* New "ImageLabel"
|
||||||
Size: UDim2.new 1, 0, 0.025, 1
|
Size: UDim2.new 1, 0, 0.025, 1
|
||||||
Position: UDim2.new 0, 0, 0, 0
|
Position: UDim2.new 0, 0, 0, 0
|
||||||
Image: "http://www.roblox.com/asset/?id=97662207"
|
Image: "http://banland.xyz/asset/?id=97662207"
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
|
|
||||||
waitForChild gui, "ControlFrame"
|
waitForChild gui, "ControlFrame"
|
||||||
|
|
@ -86,7 +86,7 @@ New "ImageButton", "BackpackButton"
|
||||||
RobloxLocked: true
|
RobloxLocked: true
|
||||||
Visible: false
|
Visible: false
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Image: "http://www.roblox.com/asset/?id=97617958"
|
Image: "http://banland.xyz/asset/?id=97617958"
|
||||||
Position: UDim2.new 0.5, -60, 1, -108
|
Position: UDim2.new 0.5, -60, 1, -108
|
||||||
Size: UDim2.new 0, 120, 0, 18
|
Size: UDim2.new 0, 120, 0, 18
|
||||||
Parent: gui.ControlFrame
|
Parent: gui.ControlFrame
|
||||||
|
|
@ -131,7 +131,7 @@ TempSlot = New "ImageButton", "TempSlot"
|
||||||
|
|
||||||
* New "ImageLabel", "Background"
|
* New "ImageLabel", "Background"
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Image: "http://www.roblox.com/asset/?id=97613075"
|
Image: "http://banland.xyz/asset/?id=97613075"
|
||||||
Size: UDim2.new 1, 0, 1, 0
|
Size: UDim2.new 1, 0, 1, 0
|
||||||
|
|
||||||
* New "ObjectValue", "GearReference"
|
* New "ObjectValue", "GearReference"
|
||||||
|
|
@ -139,7 +139,7 @@ TempSlot = New "ImageButton", "TempSlot"
|
||||||
|
|
||||||
-- * New "ImageLabel", "Highlight"
|
-- * New "ImageLabel", "Highlight"
|
||||||
-- BackgroundTransparency: 1
|
-- BackgroundTransparency: 1
|
||||||
-- Image: "http://www.roblox.com/asset/?id=97643886"
|
-- Image: "http://banland.xyz/asset/?id=97643886"
|
||||||
-- Size: UDim2.new 1, 0, 1, 0
|
-- Size: UDim2.new 1, 0, 1, 0
|
||||||
-- Visible: false
|
-- Visible: false
|
||||||
|
|
||||||
|
|
@ -324,8 +324,8 @@ Tabs = New "Frame", "Tabs"
|
||||||
* New "ImageLabel", "XImage"
|
* New "ImageLabel", "XImage"
|
||||||
RobloxLocked: true
|
RobloxLocked: true
|
||||||
Image: (->
|
Image: (->
|
||||||
game\GetService"ContentProvider"\Preload "http://www.roblox.com/asset/?id=75547445"
|
game\GetService"ContentProvider"\Preload "http://banland.xyz/asset/?id=75547445"
|
||||||
"http://www.roblox.com/asset/?id=75547445"
|
"http://banland.xyz/asset/?id=75547445"
|
||||||
)! --TODO: move to rbxasset
|
)! --TODO: move to rbxasset
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Position: UDim2.new -0.25, -1, -0.25, -1
|
Position: UDim2.new -0.25, -1, -0.25, -1
|
||||||
|
|
@ -377,7 +377,7 @@ Gear = New "Frame", "Gear"
|
||||||
|
|
||||||
* New "ImageLabel", "Background"
|
* New "ImageLabel", "Background"
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Image: "http://www.roblox.com/asset/?id=97613075"
|
Image: "http://banland.xyz/asset/?id=97613075"
|
||||||
Size: UDim2.new 1, 0, 1, 0
|
Size: UDim2.new 1, 0, 1, 0
|
||||||
|
|
||||||
* New "ObjectValue", "GearReference"
|
* New "ObjectValue", "GearReference"
|
||||||
|
|
@ -686,10 +686,10 @@ CharacterPane = New "Frame", "CharacterPane"
|
||||||
|
|
||||||
--CharacterPane Children
|
--CharacterPane Children
|
||||||
FaceFrame = makeCharFrame "FacesFrame", CharacterPane
|
FaceFrame = makeCharFrame "FacesFrame", CharacterPane
|
||||||
game\GetService"ContentProvider"\Preload "http://www.roblox.com/asset/?id=75460621"
|
game\GetService"ContentProvider"\Preload "http://banland.xyz/asset/?id=75460621"
|
||||||
makeZone(
|
makeZone(
|
||||||
"FaceZone",
|
"FaceZone",
|
||||||
"http://www.roblox.com/asset/?id=75460621",
|
"http://banland.xyz/asset/?id=75460621",
|
||||||
UDim2.new(0, 157, 0, 137),
|
UDim2.new(0, 157, 0, 137),
|
||||||
UDim2.new(0.5, -78, 0.5, -68),
|
UDim2.new(0.5, -78, 0.5, -68),
|
||||||
FaceFrame
|
FaceFrame
|
||||||
|
|
@ -699,7 +699,7 @@ makeStyledButton "Face", UDim2.new(0, 64, 0, 64), UDim2.new(0.5, -32, 0.5, -135)
|
||||||
HeadFrame = makeCharFrame "HeadsFrame", CharacterPane
|
HeadFrame = makeCharFrame "HeadsFrame", CharacterPane
|
||||||
makeZone(
|
makeZone(
|
||||||
"FaceZone",
|
"FaceZone",
|
||||||
"http://www.roblox.com/asset/?id=75460621",
|
"http://banland.xyz/asset/?id=75460621",
|
||||||
UDim2.new(0, 157, 0, 137),
|
UDim2.new(0, 157, 0, 137),
|
||||||
UDim2.new(0.5, -78, 0.5, -68),
|
UDim2.new(0.5, -78, 0.5, -68),
|
||||||
HeadFrame
|
HeadFrame
|
||||||
|
|
@ -707,10 +707,10 @@ makeZone(
|
||||||
makeStyledButton "Head", UDim2.new(0, 64, 0, 64), UDim2.new(0.5, -32, 0.5, -135), HeadFrame
|
makeStyledButton "Head", UDim2.new(0, 64, 0, 64), UDim2.new(0.5, -32, 0.5, -135), HeadFrame
|
||||||
|
|
||||||
HatsFrame = makeCharFrame "HatsFrame", CharacterPane
|
HatsFrame = makeCharFrame "HatsFrame", CharacterPane
|
||||||
game\GetService"ContentProvider"\Preload "http://www.roblox.com/asset/?id=75457888"
|
game\GetService"ContentProvider"\Preload "http://banland.xyz/asset/?id=75457888"
|
||||||
HatsZone = makeZone(
|
HatsZone = makeZone(
|
||||||
"HatsZone",
|
"HatsZone",
|
||||||
"http://www.roblox.com/asset/?id=75457888",
|
"http://banland.xyz/asset/?id=75457888",
|
||||||
UDim2.new(0, 186, 0, 184),
|
UDim2.new(0, 186, 0, 184),
|
||||||
UDim2.new(0.5, -93, 0.5, -100),
|
UDim2.new(0.5, -93, 0.5, -100),
|
||||||
HatsFrame
|
HatsFrame
|
||||||
|
|
@ -738,10 +738,10 @@ makeStyledButton(
|
||||||
)
|
)
|
||||||
|
|
||||||
PantsFrame = makeCharFrame "PantsFrame", CharacterPane
|
PantsFrame = makeCharFrame "PantsFrame", CharacterPane
|
||||||
game\GetService"ContentProvider"\Preload "http://www.roblox.com/asset/?id=75457920"
|
game\GetService"ContentProvider"\Preload "http://banland.xyz/asset/?id=75457920"
|
||||||
makeZone(
|
makeZone(
|
||||||
"PantsZone",
|
"PantsZone",
|
||||||
"http://www.roblox.com/asset/?id=75457920",
|
"http://banland.xyz/asset/?id=75457920",
|
||||||
UDim2.new(0, 121, 0, 99),
|
UDim2.new(0, 121, 0, 99),
|
||||||
UDim2.new(0.5, -60, 0.5, -100),
|
UDim2.new(0.5, -60, 0.5, -100),
|
||||||
PantsFrame
|
PantsFrame
|
||||||
|
|
@ -811,10 +811,10 @@ leftArmButton = makeStyledButton(
|
||||||
makeTextLabel "LeftArmLabel", "Left Arm", UDim2.new(0.5, -16, 0, -25), leftArmButton
|
makeTextLabel "LeftArmLabel", "Left Arm", UDim2.new(0.5, -16, 0, -25), leftArmButton
|
||||||
|
|
||||||
TShirtFrame = makeCharFrame "T-ShirtsFrame", CharacterPane
|
TShirtFrame = makeCharFrame "T-ShirtsFrame", CharacterPane
|
||||||
game\GetService"ContentProvider"\Preload "http://www.roblox.com/asset/?id=75460642"
|
game\GetService"ContentProvider"\Preload "http://banland.xyz/asset/?id=75460642"
|
||||||
makeZone(
|
makeZone(
|
||||||
"TShirtZone",
|
"TShirtZone",
|
||||||
"http://www.roblox.com/asset/?id=75460642",
|
"http://banland.xyz/asset/?id=75460642",
|
||||||
UDim2.new(0, 121, 0, 154),
|
UDim2.new(0, 121, 0, 154),
|
||||||
UDim2.new(0.5, -60, 0.5, -100),
|
UDim2.new(0.5, -60, 0.5, -100),
|
||||||
TShirtFrame
|
TShirtFrame
|
||||||
|
|
@ -824,7 +824,7 @@ makeStyledButton "TShirtButton", UDim2.new(0, 64, 0, 64), UDim2.new(0.5, -32, 0.
|
||||||
ShirtFrame = makeCharFrame "ShirtsFrame", CharacterPane
|
ShirtFrame = makeCharFrame "ShirtsFrame", CharacterPane
|
||||||
makeZone(
|
makeZone(
|
||||||
"ShirtZone",
|
"ShirtZone",
|
||||||
"http://www.roblox.com/asset/?id=75460642",
|
"http://banland.xyz/asset/?id=75460642",
|
||||||
UDim2.new(0, 121, 0, 154),
|
UDim2.new(0, 121, 0, 154),
|
||||||
UDim2.new(0.5, -60, 0.5, -100),
|
UDim2.new(0.5, -60, 0.5, -100),
|
||||||
ShirtFrame
|
ShirtFrame
|
||||||
|
|
@ -832,10 +832,10 @@ makeZone(
|
||||||
makeStyledButton "ShirtButton", UDim2.new(0, 64, 0, 64), UDim2.new(0.5, -32, 0.5, -64), ShirtFrame
|
makeStyledButton "ShirtButton", UDim2.new(0, 64, 0, 64), UDim2.new(0.5, -32, 0.5, -64), ShirtFrame
|
||||||
|
|
||||||
ColorFrame = makeCharFrame "ColorFrame", CharacterPane
|
ColorFrame = makeCharFrame "ColorFrame", CharacterPane
|
||||||
game\GetService"ContentProvider"\Preload "http://www.roblox.com/asset/?id=76049888"
|
game\GetService"ContentProvider"\Preload "http://banland.xyz/asset/?id=76049888"
|
||||||
ColorZone = makeZone(
|
ColorZone = makeZone(
|
||||||
"ColorZone",
|
"ColorZone",
|
||||||
"http://www.roblox.com/asset/?id=76049888",
|
"http://banland.xyz/asset/?id=76049888",
|
||||||
UDim2.new(0, 120, 0, 150),
|
UDim2.new(0, 120, 0, 150),
|
||||||
UDim2.new(0.5, -60, 0.5, -100),
|
UDim2.new(0.5, -60, 0.5, -100),
|
||||||
ColorFrame
|
ColorFrame
|
||||||
|
|
|
||||||
|
|
@ -53,9 +53,9 @@ PlaneIntersection = (vectorPos) ->
|
||||||
startEndDot = normal\Dot endPos - startPos
|
startEndDot = normal\Dot endPos - startPos
|
||||||
cellPos = vectorPos
|
cellPos = vectorPos
|
||||||
if startEndDot ~= 0
|
if startEndDot ~= 0
|
||||||
t = normal\Dot(p3 - startPos) / startEndDot
|
t1 = normal\Dot(p3 - startPos) / startEndDot
|
||||||
if t >= 0 and t <= 1
|
if t1 >= 0 and t1 <= 1
|
||||||
intersection = ((endPos - startPos) * t) + startPos
|
intersection = ((endPos - startPos) * t1) + startPos
|
||||||
cellPos = game.Workspace.Terrain\WorldToCell intersection
|
cellPos = game.Workspace.Terrain\WorldToCell intersection
|
||||||
hit = true
|
hit = true
|
||||||
|
|
||||||
|
|
@ -703,7 +703,7 @@ t.GetStampModel = (assetId, terrainShape, useAssetVersionId) ->
|
||||||
if cellType == 3
|
if cellType == 3
|
||||||
New "SpecialMesh"
|
New "SpecialMesh"
|
||||||
MeshType: "FileMesh"
|
MeshType: "FileMesh"
|
||||||
MeshId: "http://www.roblox.com/asset?id=66832495"
|
MeshId: "http://banland.xyz/asset?id=66832495"
|
||||||
Scale: Vector3.new 2, 2, 2
|
Scale: Vector3.new 2, 2, 2
|
||||||
Parent: newTerrainPiece
|
Parent: newTerrainPiece
|
||||||
|
|
||||||
|
|
@ -2211,7 +2211,7 @@ t.SetupStamperDragger = (modelToStamp, Mouse, StampInModel, AllowedStampRegion,
|
||||||
stampData.Dragger = Instance.new "Dragger"
|
stampData.Dragger = Instance.new "Dragger"
|
||||||
|
|
||||||
--Begin a movement by faking a MouseDown signal
|
--Begin a movement by faking a MouseDown signal
|
||||||
stampData.Dragger\MouseDown parts[1], Vector3.new 0, 0, 0, parts
|
stampData.Dragger\MouseDown parts[1], Vector3.new(0, 0, 0), parts
|
||||||
stampData.Dragger\MouseUp!
|
stampData.Dragger\MouseUp!
|
||||||
|
|
||||||
DoStamperMouseMove Mouse
|
DoStamperMouseMove Mouse
|
||||||
|
|
|
||||||
|
|
@ -181,7 +181,7 @@ showBackpack = ->
|
||||||
backpackOpenEvent\Fire currentTab
|
backpackOpenEvent\Fire currentTab
|
||||||
canToggle = true
|
canToggle = true
|
||||||
readyForNextEvent = true
|
readyForNextEvent = true
|
||||||
backpackButton.Image = "http://www.roblox.com/asset/?id=97644093"
|
backpackButton.Image = "http://banland.xyz/asset/?id=97644093"
|
||||||
backpackButton.Position = UDim2.new 0.5, -60, 1, -backpackSize.Y.Offset - 103
|
backpackButton.Position = UDim2.new 0.5, -60, 1, -backpackSize.Y.Offset - 103
|
||||||
|
|
||||||
toggleBackpack = ->
|
toggleBackpack = ->
|
||||||
|
|
@ -197,7 +197,7 @@ toggleBackpack = ->
|
||||||
|
|
||||||
if backpackIsOpen
|
if backpackIsOpen
|
||||||
with loadoutBackground
|
with loadoutBackground
|
||||||
.Image = "http://www.roblox.com/asset/?id=97623721"
|
.Image = "http://banland.xyz/asset/?id=97623721"
|
||||||
.Position = UDim2.new -0.03, 0, -0.17, 0
|
.Position = UDim2.new -0.03, 0, -0.17, 0
|
||||||
.Size = UDim2.new 1.05, 0, 1.25, 0
|
.Size = UDim2.new 1.05, 0, 1.25, 0
|
||||||
.ZIndex = 2.0
|
.ZIndex = 2.0
|
||||||
|
|
@ -207,8 +207,8 @@ toggleBackpack = ->
|
||||||
backpackButton.Position = UDim2.new 0.5, -60, 1, -44
|
backpackButton.Position = UDim2.new 0.5, -60, 1, -44
|
||||||
loadoutBackground.Visible = false
|
loadoutBackground.Visible = false
|
||||||
backpackButton.Selected = false
|
backpackButton.Selected = false
|
||||||
backpackButton.Image = "http://www.roblox.com/asset/?id=97617958"
|
backpackButton.Image = "http://banland.xyz/asset/?id=97617958"
|
||||||
loadoutBackground.Image = "http://www.roblox.com/asset/?id=96536002"
|
loadoutBackground.Image = "http://banland.xyz/asset/?id=96536002"
|
||||||
loadoutBackground.Position = UDim2.new -0.1, 0, -0.1, 0
|
loadoutBackground.Position = UDim2.new -0.1, 0, -0.1, 0
|
||||||
loadoutBackground.Size = UDim2.new 1.2, 0, 1.2, 0
|
loadoutBackground.Size = UDim2.new 1.2, 0, 1.2, 0
|
||||||
hideBackpack!
|
hideBackpack!
|
||||||
|
|
|
||||||
|
|
@ -1358,7 +1358,7 @@ Chat.CreateSafeChatGui ==>
|
||||||
Size: UDim2.new 0, 44, 0, 31
|
Size: UDim2.new 0, 44, 0, 31
|
||||||
Position: UDim2.new 0, 1, 0.35, 0
|
Position: UDim2.new 0, 1, 0.35, 0
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Image: "http://www.roblox.com/asset/?id=97080365"
|
Image: "http://banland.xyz/asset/?id=97080365"
|
||||||
|
|
||||||
@SafeChatButton = @SafeChatFrame.SafeChatButton
|
@SafeChatButton = @SafeChatFrame.SafeChatButton
|
||||||
-- safe chat button is the root of this tree
|
-- safe chat button is the root of this tree
|
||||||
|
|
@ -1394,7 +1394,7 @@ Chat.CreateTouchButton ==>
|
||||||
Size: UDim2.new 1, 0, 1, 0
|
Size: UDim2.new 1, 0, 1, 0
|
||||||
Position: UDim2.new 0, 0, 0, 0
|
Position: UDim2.new 0, 0, 0, 0
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
Image: "http://www.roblox.com/asset/?id=97078724"
|
Image: "http://banland.xyz/asset/?id=97078724"
|
||||||
|
|
||||||
@TapToChatLabel = @ChatTouchFrame.ChatLabel
|
@TapToChatLabel = @ChatTouchFrame.ChatLabel
|
||||||
@TouchLabelBackground = @ChatTouchFrame.Background
|
@TouchLabelBackground = @ChatTouchFrame.Background
|
||||||
|
|
@ -1479,7 +1479,7 @@ Chat.CreateGui ==>
|
||||||
Active: false
|
Active: false
|
||||||
|
|
||||||
* New "ImageLabel", "Background"
|
* New "ImageLabel", "Background"
|
||||||
Image: "http://www.roblox.com/asset/?id=97120937" --96551212'
|
Image: "http://banland.xyz/asset/?id=97120937" --96551212'
|
||||||
Size: UDim2.new 1.3, 0, 1.64, 0
|
Size: UDim2.new 1.3, 0, 1.64, 0
|
||||||
Position: UDim2.new 0, 0, 0, 0
|
Position: UDim2.new 0, 0, 0, 0
|
||||||
BackgroundTransparency: 1
|
BackgroundTransparency: 1
|
||||||
|
|
|
||||||
|
|
@ -114,9 +114,9 @@ if url?
|
||||||
game\GetService"BadgeService"\SetIsBadgeLegalUrl ""
|
game\GetService"BadgeService"\SetIsBadgeLegalUrl ""
|
||||||
|
|
||||||
with game\GetService "InsertService"
|
with game\GetService "InsertService"
|
||||||
\SetBaseSetsUrl "#{url}/Game/Tools/InsertAsset.ashx?nsets=10&type=base"
|
\SetBaseSetsUrl "#{url}/game/tools/insertasset?nsets=10&type=base"
|
||||||
\SetUserSetsUrl "#{url}/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d"
|
\SetUserSetsUrl "#{url}/game/tools/insertasset?nsets=20&type=user&userid=%d"
|
||||||
\SetCollectionUrl "#{url}/Game/Tools/InsertAsset.ashx?sid=%d"
|
\SetCollectionUrl "#{url}/game/tools/insertasset?sid=%d"
|
||||||
\SetAssetUrl "#{url}/Asset/?id=%d"
|
\SetAssetUrl "#{url}/Asset/?id=%d"
|
||||||
\SetAssetVersionUrl "#{url}/Asset/?assetversionid=%d"
|
\SetAssetVersionUrl "#{url}/Asset/?assetversionid=%d"
|
||||||
|
|
||||||
|
|
|
||||||
10
yue/join.yue
10
yue/join.yue
|
|
@ -41,11 +41,11 @@ game\GetService"ChangeHistoryService"\SetEnabled false
|
||||||
game\GetService"ContentProvider"\SetThreadPool 16
|
game\GetService"ContentProvider"\SetThreadPool 16
|
||||||
|
|
||||||
with game\GetService "InsertService"
|
with game\GetService "InsertService"
|
||||||
\SetBaseSetsUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?nsets=10&type=base"
|
\SetBaseSetsUrl "http://banland.xyz/game/tools/insertasset?nsets=10&type=base"
|
||||||
\SetUserSetsUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d"
|
\SetUserSetsUrl "http://banland.xyz/game/tools/insertasset?nsets=20&type=user&userid=%d"
|
||||||
\SetCollectionUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?sid=%d"
|
\SetCollectionUrl "http://banland.xyz/game/tools/insertasset?sid=%d"
|
||||||
\SetAssetUrl "http://banland.xyz/Asset/?id=%d"
|
\SetAssetUrl "http://banland.xyz/Asset/?id=%d"
|
||||||
\SetAssetVersionUrl "http://www.roblox.com/Asset/?assetversionid=%d"
|
\SetAssetVersionUrl "http://banland.xyz/asset/?assetversionid=%d"
|
||||||
|
|
||||||
with game\GetService "SocialService"
|
with game\GetService "SocialService"
|
||||||
try
|
try
|
||||||
|
|
@ -264,6 +264,6 @@ if not test
|
||||||
try
|
try
|
||||||
game\SetScreenshotInfo ""
|
game\SetScreenshotInfo ""
|
||||||
try
|
try
|
||||||
game\SetVideoInfo '<?xml version="1.0"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:yt="http://gdata.youtube.com/schemas/2007"><media:group><media:title type="plain"><![CDATA[ROBLOX Place]]></media:title><media:description type="plain"><![CDATA[ For more games visit http://www.roblox.com]]></media:description><media:category scheme="http://gdata.youtube.com/schemas/2007/categories.cat">Games</media:category><media:keywords>ROBLOX, video, free game, online virtual world</media:keywords></media:group></entry>'
|
game\SetVideoInfo '<?xml version="1.0"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:yt="http://gdata.youtube.com/schemas/2007"><media:group><media:title type="plain"><![CDATA[ROBLOX Place]]></media:title><media:description type="plain"><![CDATA[ For more games visit http://banland.xyz]]></media:description><media:category scheme="http://gdata.youtube.com/schemas/2007/categories.cat">Games</media:category><media:keywords>ROBLOX, video, free game, online virtual world</media:keywords></media:group></entry>'
|
||||||
|
|
||||||
-- use single quotes here because the video info string may have unescaped double quotes
|
-- use single quotes here because the video info string may have unescaped double quotes
|
||||||
|
|
|
||||||
|
|
@ -3,16 +3,16 @@ print "[Mercury]: Loaded Studio corescript"
|
||||||
|
|
||||||
with game\GetService "InsertService"
|
with game\GetService "InsertService"
|
||||||
try
|
try
|
||||||
\SetFreeModelUrl "http://banland.xyz/Game/Tools/InsertAsset.ashx?type=fm&q=%s&pg=%d&rs=%d"
|
\SetFreeModelUrl "http://banland.xyz/game/tools/insertasset?type=fm&q=%s&pg=%d&rs=%d"
|
||||||
try
|
try
|
||||||
\SetFreeDecalUrl "http://banland.xyz/Game/Tools/InsertAsset.ashx?type=fd&q=%s&pg=%d&rs=%d"
|
\SetFreeDecalUrl "http://banland.xyz/game/tools/insertasset?type=fd&q=%s&pg=%d&rs=%d"
|
||||||
|
|
||||||
game\GetService"ScriptInformationProvider"\SetAssetUrl "http://banland.xyz/Asset/"
|
game\GetService"ScriptInformationProvider"\SetAssetUrl "http://banland.xyz/Asset/"
|
||||||
\SetBaseSetsUrl "http://banland.xyz/Game/Tools/InsertAsset.ashx?nsets=10&type=base"
|
\SetBaseSetsUrl "http://banland.xyz/game/tools/insertasset?nsets=10&type=base"
|
||||||
\SetUserSetsUrl "http://banland.xyz/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d"
|
\SetUserSetsUrl "http://banland.xyz/game/tools/insertasset?nsets=20&type=user&userid=%d"
|
||||||
\SetCollectionUrl "http://banland.xyz/Game/Tools/InsertAsset.ashx?sid=%d"
|
\SetCollectionUrl "http://banland.xyz/game/tools/insertasset?sid=%d"
|
||||||
\SetAssetUrl "http://banland.xyz/Asset/?id=%d"
|
\SetAssetUrl "http://banland.xyz/Asset/?id=%d"
|
||||||
\SetAssetVersionUrl "http://www.roblox.com/Asset/?assetversionid=%d"
|
\SetAssetVersionUrl "http://banland.xyz/asset/?assetversionid=%d"
|
||||||
\SetTrustLevel 0
|
\SetTrustLevel 0
|
||||||
|
|
||||||
with game\GetService "SocialService"
|
with game\GetService "SocialService"
|
||||||
|
|
|
||||||
|
|
@ -18,20 +18,20 @@ message.archivable = false
|
||||||
game\GetService"ScriptInformationProvider"\SetAssetUrl "http://banland.xyz/Asset/"
|
game\GetService"ScriptInformationProvider"\SetAssetUrl "http://banland.xyz/Asset/"
|
||||||
game\GetService"ContentProvider"\SetThreadPool 16
|
game\GetService"ContentProvider"\SetThreadPool 16
|
||||||
try
|
try
|
||||||
game\GetService"InsertService"\SetFreeModelUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?type=fm&q=%s&pg=%d&rs=%d"
|
game\GetService"InsertService"\SetFreeModelUrl "http://banland.xyz/game/tools/insertasset?type=fm&q=%s&pg=%d&rs=%d"
|
||||||
-- Used for free model search (insert tool)
|
-- Used for free model search (insert tool)
|
||||||
try
|
try
|
||||||
game\GetService"InsertService"\SetFreeDecalUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?type=fd&q=%s&pg=%d&rs=%d"
|
game\GetService"InsertService"\SetFreeDecalUrl "http://banland.xyz/game/tools/insertasset?type=fd&q=%s&pg=%d&rs=%d"
|
||||||
-- Used for free decal search (insert tool)
|
-- Used for free decal search (insert tool)
|
||||||
|
|
||||||
settings!.Diagnostics\LegacyScriptMode!
|
settings!.Diagnostics\LegacyScriptMode!
|
||||||
|
|
||||||
with game\GetService "InsertService"
|
with game\GetService "InsertService"
|
||||||
\SetBaseSetsUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?nsets=10&type=base"
|
\SetBaseSetsUrl "http://banland.xyz/game/tools/insertasset?nsets=10&type=base"
|
||||||
\SetUserSetsUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d"
|
\SetUserSetsUrl "http://banland.xyz/game/tools/insertasset?nsets=20&type=user&userid=%d"
|
||||||
\SetCollectionUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?sid=%d"
|
\SetCollectionUrl "http://banland.xyz/game/tools/insertasset?sid=%d"
|
||||||
\SetAssetUrl "http://banland.xyz/Asset/?id=%d"
|
\SetAssetUrl "http://banland.xyz/Asset/?id=%d"
|
||||||
\SetAssetVersionUrl "http://www.roblox.com/Asset/?assetversionid=%d"
|
\SetAssetVersionUrl "http://banland.xyz/asset/?assetversionid=%d"
|
||||||
|
|
||||||
with game\GetService "SocialService"
|
with game\GetService "SocialService"
|
||||||
try
|
try
|
||||||
|
|
@ -111,7 +111,7 @@ doVisit = ->
|
||||||
|
|
||||||
if false
|
if false
|
||||||
message.Text = "Setting Ping"
|
message.Text = "Setting Ping"
|
||||||
visit\SetPing "http://banland.xyz/Game/ClientPresence.ashx?version=old&PlaceID=_PLACE_ID", 300
|
visit\SetPing "http://banland.xyz/game/clientpresence?version=old&PlaceID=_PLACE_ID", 300
|
||||||
|
|
||||||
message.Text = "Sending Stats"
|
message.Text = "Sending Stats"
|
||||||
game\HttpGet ""
|
game\HttpGet ""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue