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
|
||||
assetUrls = {}
|
||||
assetUrl = (str) -> "http://www.roblox.com/Asset/?id=#{str}"
|
||||
assetUrl = (str) -> "http://banland.xyz/asset/?id=#{str}"
|
||||
errorImageUrl = assetUrl "42557901"
|
||||
table.insert assetUrls, errorImageUrl
|
||||
buyImageUrl = assetUrl "104651457"
|
||||
|
|
@ -648,7 +648,7 @@ startSpinner = ->
|
|||
pos = 0
|
||||
|
||||
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
|
||||
"45880668"
|
||||
else
|
||||
|
|
@ -799,7 +799,7 @@ createSpinner = (size, position, parent) ->
|
|||
)
|
||||
BackgroundTransparency: 1
|
||||
ZIndex: 10
|
||||
Image: "http://www.roblox.com/Asset/?id=45880710"
|
||||
Image: "http://banland.xyz/asset/?id=45880710"
|
||||
Parent: spinnerFrame
|
||||
|
||||
spinnerIcons[spinnerNum] = spinnerImage
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ initializeDeveloperConsole = ->
|
|||
Position: UDim2.new 0, 6, 0, 6
|
||||
Size: UDim2.new 0.8, 0, 0.8, 0
|
||||
Rotation: 135
|
||||
Image: "http://www.roblox.com/Asset?id=151205813"
|
||||
Image: "http://banland.xyz/asset?id=151205813"
|
||||
|
||||
* New "TextButton", "LocalConsole"
|
||||
BackgroundColor3: Color3.new 0, 0, 0
|
||||
|
|
@ -248,7 +248,7 @@ initializeDeveloperConsole = ->
|
|||
Position: UDim2.new 0, 3, 0, 3
|
||||
Size: UDim2.new 0, 14, 0, 14
|
||||
Rotation: 180
|
||||
Image: "http://www.roblox.com/Asset?id=151205813"
|
||||
Image: "http://banland.xyz/asset?id=151205813"
|
||||
|
||||
* New "ImageButton", "Up"
|
||||
BackgroundColor3: Color3.new 0, 0, 0
|
||||
|
|
@ -260,7 +260,7 @@ initializeDeveloperConsole = ->
|
|||
BackgroundTransparency: 1
|
||||
Position: UDim2.new 0, 3, 0, 3
|
||||
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"
|
||||
Parent: Dev_ScrollBar
|
||||
|
|
@ -279,7 +279,7 @@ initializeDeveloperConsole = ->
|
|||
Position: UDim2.new 0, 0, 0.5, -8
|
||||
Rotation: 180
|
||||
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"
|
||||
|
|
@ -308,7 +308,7 @@ initializeDeveloperConsole = ->
|
|||
Position: UDim2.new 0, 0, 0, 0
|
||||
Size: UDim2.new 1, 0, 1, 0
|
||||
Rotation: 0
|
||||
Image: "http://www.roblox.com/Asset?id=152093917"
|
||||
Image: "http://banland.xyz/asset?id=152093917"
|
||||
|
||||
Dev_TitleBar = New "Frame", "TitleBar"
|
||||
Parent: Dev_Container
|
||||
|
|
@ -328,7 +328,7 @@ initializeDeveloperConsole = ->
|
|||
BackgroundTransparency: 1
|
||||
Position: UDim2.new 0, 3, 0, 3
|
||||
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"
|
||||
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"
|
||||
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"
|
||||
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"
|
||||
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
|
||||
return t.CreateMessageDialog title, message, buttons
|
||||
|
||||
|
|
@ -243,7 +243,7 @@ t.CreateDropDownMenu = (items, onSelect, forRoblox) ->
|
|||
|
||||
* New "ImageLabel", "Icon"
|
||||
Active: false
|
||||
Image: "http://www.roblox.com/asset/?id=45732894"
|
||||
Image: "http://banland.xyz/asset/?id=45732894"
|
||||
BackgroundTransparency: 1
|
||||
Size: UDim2.new 0, 11, 0, 6
|
||||
Position: UDim2.new 1, -11, 0.5, -2
|
||||
|
|
@ -279,10 +279,10 @@ t.CreateDropDownMenu = (items, onSelect, forRoblox) ->
|
|||
BackgroundColor3: Color3.new 1, 1, 1
|
||||
Font: Enum.Font.Arial
|
||||
FontSize: Enum.FontSize.Size18
|
||||
Size: if useScrollButtons
|
||||
UDim2.new 1, -13, 0.8 / ((dropDownItemCount + 1) * 0.8), 0
|
||||
Size: UDim2.new 1, if useScrollButtons
|
||||
-13, 0.8 / ((dropDownItemCount + 1) * 0.8), 0
|
||||
else
|
||||
UDim2.new 1, 0, 0.8 / ((dropDownItemCount + 1) * 0.8), 0
|
||||
0, 0.8 / ((dropDownItemCount + 1) * 0.8), 0
|
||||
|
||||
TextWrap: true
|
||||
ZIndex: 2
|
||||
|
|
@ -663,7 +663,7 @@ t.LayoutGuiObjects = (frame, guiObjects, settingsTable) ->
|
|||
frame.Changed\connect (prop) ->
|
||||
if prop == "AbsoluteSize"
|
||||
--Wait a heartbeat for it to sync in
|
||||
recalculate nil
|
||||
recalculate!
|
||||
|
||||
|
||||
frame.AncestryChanged\connect recalculate
|
||||
|
|
@ -703,10 +703,10 @@ t.CreateSlider = (steps, width, position) ->
|
|||
Text: ""
|
||||
AutoButtonColor: false
|
||||
BackgroundColor3: Color3.new 0, 0, 0
|
||||
Size: if type(width) == "number"
|
||||
UDim2.new 0, width, 0, 5
|
||||
Size: UDim2.new 0, if type(width) == "number"
|
||||
width, 0, 5
|
||||
else
|
||||
UDim2.new 0, 200, 0, 5
|
||||
200, 0, 5
|
||||
|
||||
BorderColor3: Color3.new 95 / 255, 95 / 255, 95 / 255
|
||||
ZIndex: 2
|
||||
|
|
@ -800,7 +800,7 @@ t.CreateTrueScrollingFrame = ->
|
|||
ControlFrame: controlFrame
|
||||
ControlFrame:
|
||||
ScrollBottom: scrollBottom
|
||||
ScrollUp: scrollUp
|
||||
ScrollUp: scrollUpBool
|
||||
ScrollUpButton: scrollUpButton
|
||||
} = scrollingFrame
|
||||
|
||||
|
|
@ -929,13 +929,13 @@ t.CreateTrueScrollingFrame = ->
|
|||
if newScaleYPos + relativeSize > 1
|
||||
newScaleYPos = 1 - relativeSize
|
||||
scrollBottom.Value = true
|
||||
scrollUp.Value = false
|
||||
scrollUpBool.Value = false
|
||||
elseif newScaleYPos <= 0
|
||||
newScaleYPos = 0
|
||||
scrollUp.Value = true
|
||||
scrollUpBool.Value = true
|
||||
scrollBottom.Value = false
|
||||
else
|
||||
scrollUp.Value = false
|
||||
scrollUpBool.Value = false
|
||||
scrollBottom.Value = false
|
||||
|
||||
scrollbar.Position = UDim2.new scrollbar.Position.X.Scale, scrollbar.Position.X.Offset, newScaleYPos, 0
|
||||
|
|
@ -1263,7 +1263,7 @@ t.CreateScrollingFrame = (orderList, scrollStyle) ->
|
|||
scrollStamp = 0
|
||||
|
||||
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
|
||||
BackgroundTransparency: 1
|
||||
Active: true
|
||||
|
|
@ -1592,12 +1592,12 @@ t.CreateScrollingFrame = (orderList, scrollStyle) ->
|
|||
if scrollPosition < 1
|
||||
scrollPosition = 1
|
||||
|
||||
recalculate nil
|
||||
recalculate!
|
||||
|
||||
|
||||
doScrollDown = ->
|
||||
scrollPosition += rowSize
|
||||
recalculate nil
|
||||
recalculate!
|
||||
|
||||
|
||||
scrollUp = (mouseYPos) ->
|
||||
|
|
@ -1691,7 +1691,7 @@ t.CreateScrollingFrame = (orderList, scrollStyle) ->
|
|||
|
||||
|
||||
scrollPosition = newScrollPosition
|
||||
recalculate nil
|
||||
recalculate!
|
||||
|
||||
upCon = mouseDrag.MouseButton1Up\connect ->
|
||||
scrollStamp = tick!
|
||||
|
|
@ -1706,18 +1706,10 @@ t.CreateScrollingFrame = (orderList, scrollStyle) ->
|
|||
|
||||
scrollMouseCount = 0
|
||||
|
||||
scrollUpButton.MouseButton1Down\connect ->
|
||||
scrollUp!
|
||||
|
||||
scrollUpButton.MouseButton1Up\connect ->
|
||||
scrollStamp = tick!
|
||||
|
||||
|
||||
scrollDownButton.MouseButton1Up\connect ->
|
||||
scrollStamp = tick!
|
||||
|
||||
scrollDownButton.MouseButton1Down\connect ->
|
||||
scrollDown!
|
||||
scrollUpButton.MouseButton1Down\connect -> scrollUp!
|
||||
scrollUpButton.MouseButton1Up\connect -> scrollStamp = tick!
|
||||
scrollDownButton.MouseButton1Up\connect -> scrollStamp = tick!
|
||||
scrollDownButton.MouseButton1Down\connect -> scrollDown!
|
||||
|
||||
|
||||
scrollbar.MouseButton1Up\connect ->
|
||||
|
|
@ -1730,22 +1722,18 @@ t.CreateScrollingFrame = (orderList, scrollStyle) ->
|
|||
scrollUp y
|
||||
|
||||
|
||||
frame.ChildAdded\connect ->
|
||||
recalculate nil
|
||||
|
||||
|
||||
frame.ChildRemoved\connect ->
|
||||
recalculate nil
|
||||
frame.ChildAdded\connect -> recalculate!
|
||||
frame.ChildRemoved\connect -> recalculate!
|
||||
|
||||
|
||||
frame.Changed\connect (prop) ->
|
||||
if prop == "AbsoluteSize"
|
||||
--Wait a heartbeat for it to sync in
|
||||
recalculate nil
|
||||
recalculate!
|
||||
|
||||
|
||||
frame.AncestryChanged\connect ->
|
||||
recalculate nil
|
||||
recalculate!
|
||||
|
||||
|
||||
return frame, scrollUpButton, scrollDownButton, recalculate, scrollbar
|
||||
|
|
@ -1887,7 +1875,6 @@ t.AutoTruncateTextObject = (textLabel) ->
|
|||
fullLabel.Text = text
|
||||
checkForResize!
|
||||
|
||||
|
||||
textLabel, changeText
|
||||
|
||||
|
||||
|
|
@ -1933,8 +1920,6 @@ TransitionTutorialPages = (fromPage, toPage, transitionFrame, currentPageValue)
|
|||
if toPage
|
||||
toPage.Visible = true
|
||||
currentPageValue.Value = toPage
|
||||
|
||||
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -2285,11 +2270,11 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
|||
BaseUrl = game\GetService"ContentProvider".BaseUrl\lower!
|
||||
|
||||
if useAssetVersionId
|
||||
LargeThumbnailUrl = BaseUrl .. "Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=420&ht=420&assetversionid="
|
||||
SmallThumbnailUrl = BaseUrl .. "Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&assetversionid="
|
||||
LargeThumbnailUrl = BaseUrl .. "game/tools/thumbnailasset?fmt=png&wd=420&ht=420&assetversionid="
|
||||
SmallThumbnailUrl = BaseUrl .. "game/tools/thumbnailasset?fmt=png&wd=75&ht=75&assetversionid="
|
||||
else
|
||||
LargeThumbnailUrl = BaseUrl .. "Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=420&ht=420&aid="
|
||||
SmallThumbnailUrl = BaseUrl .. "Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid="
|
||||
LargeThumbnailUrl = BaseUrl .. "game/tools/thumbnailasset?fmt=png&wd=420&ht=420&aid="
|
||||
SmallThumbnailUrl = BaseUrl .. "game/tools/thumbnailasset?fmt=png&wd=75&ht=75&aid="
|
||||
|
||||
|
||||
drillDownSetZIndex = (parent, index) ->
|
||||
|
|
@ -2385,7 +2370,7 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
|||
|
||||
* New "ImageLabel", "CancelImage"
|
||||
BackgroundTransparency: 1
|
||||
Image: "http://www.roblox.com/asset?id=54135717"
|
||||
Image: "http://banland.xyz/asset?id=54135717"
|
||||
Position: UDim2.new 0, -2, 0, -2
|
||||
Size: UDim2.new 0, 16, 0, 16
|
||||
ZIndex: 6
|
||||
|
|
@ -2500,7 +2485,6 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
|||
else
|
||||
setButtons[i - numSkipped] = buildSetButton sets[i].Name, sets[i].CategoryId, sets[i].ImageAssetId, i - numSkipped, #sets
|
||||
|
||||
|
||||
setButtons
|
||||
|
||||
|
||||
|
|
@ -2610,7 +2594,6 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
|||
|
||||
selectTerrainShape terrainShapeMap[dropDownTextButton.Text]
|
||||
|
||||
|
||||
dropDownTextButton
|
||||
|
||||
|
||||
|
|
@ -2636,7 +2619,7 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
|||
|
||||
createDropDownMenuButton = (parent) ->
|
||||
dropDownButton = New "ImageButton", "DropDownButton"
|
||||
Image: "http://www.roblox.com/asset/?id=67581509"
|
||||
Image: "http://banland.xyz/asset/?id=67581509"
|
||||
BackgroundTransparency: 1
|
||||
Size: UDim2.new 0, 16, 0, 16
|
||||
Position: UDim2.new 1, -24, 0, 6
|
||||
|
|
@ -2685,10 +2668,14 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
|||
|
||||
|
||||
setInsertButtonImageBehavior = (insertFrame, visible, name, assetId) ->
|
||||
return if not insertFrame.Button
|
||||
|
||||
if visible
|
||||
insertFrame.AssetName.Value = name
|
||||
insertFrame.AssetId.Value = assetId
|
||||
newImageUrl = SmallThumbnailUrl .. assetId
|
||||
|
||||
|
||||
if newImageUrl ~= insertFrame.Button.ButtonImage.Image
|
||||
delay 0, ->
|
||||
game\GetService"ContentProvider"\Preload SmallThumbnailUrl .. assetId
|
||||
|
|
@ -2702,12 +2689,10 @@ t.CreateSetPanel = (userIdsForSets, objectSelected, dialogClosed, size, position
|
|||
isWaterSelected = (name == "Water") and
|
||||
(Data.Category[Data.CurrentCategory].SetName == "High Scalability")
|
||||
waterGui.Visible = isWaterSelected
|
||||
if isWaterSelected
|
||||
objectSelected name, tonumber assetId, nil
|
||||
objectSelected name, if isWaterSelected
|
||||
tonumber assetId, nil
|
||||
else
|
||||
objectSelected name, tonumber assetId
|
||||
|
||||
|
||||
tonumber assetId
|
||||
)
|
||||
insertFrame.Visible = true
|
||||
else
|
||||
|
|
@ -3052,7 +3037,7 @@ t.CreateTerrainMaterialSelector = (size, position) ->
|
|||
-- we so need a better way to do this
|
||||
for _, v in pairs materialNames
|
||||
materialToImageMap[v] = {}
|
||||
materialToImageMap[v].Regular = "http://www.roblox.com/asset/?id=" ..
|
||||
materialToImageMap[v].Regular = "http://banland.xyz/asset/?id=" ..
|
||||
switch v
|
||||
when "Grass" then "56563112"
|
||||
when "Sand" then "62356652"
|
||||
|
|
@ -3074,18 +3059,18 @@ t.CreateTerrainMaterialSelector = (size, position) ->
|
|||
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.Position = UDim2.new 0, 0, 0, 0
|
||||
scrollFrame.Parent = frame
|
||||
|
||||
scrollUp.Parent = frame
|
||||
scrollUp.Visible = true
|
||||
scrollUp.Position = UDim2.new 1, -19, 0, 0
|
||||
scrollUpB.Parent = frame
|
||||
scrollUpB.Visible = true
|
||||
scrollUpB.Position = UDim2.new 1, -19, 0, 0
|
||||
|
||||
scrollDown.Parent = frame
|
||||
scrollDown.Visible = true
|
||||
scrollDown.Position = UDim2.new 1, -19, 1, -17
|
||||
scrollDownB.Parent = frame
|
||||
scrollDownB.Visible = true
|
||||
scrollDownB.Position = UDim2.new 1, -19, 1, -17
|
||||
|
||||
goToNewMaterial = (buttonWrap, materialName) ->
|
||||
updateMaterialChoice materialName
|
||||
|
|
@ -3170,7 +3155,7 @@ t.CreateTerrainMaterialSelector = (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"
|
||||
Style: Enum.FrameStyle.RobloxRound
|
||||
|
|
@ -3196,7 +3181,7 @@ t.CreateLoadingFrame = (name, size, position) ->
|
|||
Parent: loadingFrame
|
||||
|
||||
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
|
||||
Size: UDim2.new 0, 0, 1, 0
|
||||
Visible: false
|
||||
|
|
|
|||
|
|
@ -45,8 +45,8 @@ local updateCameraDropDownSelection
|
|||
local updateVideoCaptureDropDownSelection
|
||||
tweenTime = 0.2
|
||||
|
||||
mouseLockLookScreenUrl = "http://www.roblox.com/asset?id=54071825"
|
||||
classicLookScreenUrl = "http://www.roblox.com/Asset?id=45915798"
|
||||
mouseLockLookScreenUrl = "http://banland.xyz/asset?id=54071825"
|
||||
classicLookScreenUrl = "http://banland.xyz/asset?id=45915798"
|
||||
|
||||
hasGraphicsSlider = game\GetService"CoreGui".Version >= 5
|
||||
GraphicsQualityLevels = 10 -- how many levels we allow on graphics slider
|
||||
|
|
@ -378,17 +378,17 @@ createHelpDialog = (baseZIndex) ->
|
|||
buttons[2] = {}
|
||||
buttons[2].Text = "Move"
|
||||
buttons[2].Function = ->
|
||||
image.Image = "http://www.roblox.com/Asset?id=45915811"
|
||||
image.Image = "http://banland.xyz/asset?id=45915811"
|
||||
|
||||
buttons[3] = {}
|
||||
buttons[3].Text = "Gear"
|
||||
buttons[3].Function = ->
|
||||
image.Image = "http://www.roblox.com/Asset?id=45917596"
|
||||
image.Image = "http://banland.xyz/asset?id=45917596"
|
||||
|
||||
buttons[4] = {}
|
||||
buttons[4].Text = "Zoom"
|
||||
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
|
||||
|
|
@ -1716,7 +1716,7 @@ if LoadLibrary
|
|||
-8
|
||||
)
|
||||
BackgroundTransparency: 1
|
||||
Image: "http://www.roblox.com/Asset?id=45880710"
|
||||
Image: "http://banland.xyz/asset?id=45880710"
|
||||
Parent: spinnerFrame
|
||||
|
||||
spinnerIcons[spinnerNum] = spinnerImage
|
||||
|
|
@ -1737,9 +1737,9 @@ if LoadLibrary
|
|||
|
||||
while pos < 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
|
||||
"http://www.roblox.com/Asset?id=45880710"
|
||||
"http://banland.xyz/asset?id=45880710"
|
||||
|
||||
pos += 1
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ $load $FILE
|
|||
iltalumi: 1
|
||||
inventx: 1
|
||||
jackssmirkingrevenge: 1
|
||||
jeditkacheff: 'http://www.roblox.com/asset/?id=134032333'
|
||||
jeditkacheff: 'http://banland.xyz/asset/?id=134032333'
|
||||
kbux: 1
|
||||
keith: 1
|
||||
limon: 1
|
||||
|
|
@ -89,14 +89,14 @@ $load $FILE
|
|||
screenme: 1
|
||||
scubasomething: 1
|
||||
seanthornton: 1
|
||||
shedletsky: 'http://www.roblox.com/asset/?id=105897927'
|
||||
shedletsky: 'http://banland.xyz/asset/?id=105897927'
|
||||
sickenedmonkey: 1
|
||||
slingshotjunkie: 1
|
||||
smeaferblox: 1
|
||||
soggoth: 1
|
||||
solarcrane: 1
|
||||
sooraya: 1
|
||||
sorcus: 'http://www.roblox.com/asset/?id=113059239'
|
||||
sorcus: 'http://banland.xyz/asset/?id=113059239'
|
||||
squidcod: 1
|
||||
stickmasterluke: 1
|
||||
stuball: 1
|
||||
|
|
@ -127,9 +127,9 @@ $load $FILE
|
|||
ADMINS =
|
||||
taskmanager: 1
|
||||
Heliodex: 1
|
||||
multako: "http://www.roblox.com/asset/?id=6923328292"
|
||||
multako: "http://banland.xyz/asset/?id=6923328292"
|
||||
mercury: 1
|
||||
pizzaboxer: "http://www.roblox.com/asset/?id=6917566633"
|
||||
pizzaboxer: "http://banland.xyz/asset/?id=6917566633"
|
||||
|
||||
Images =
|
||||
bottomDark: "94691904"
|
||||
|
|
@ -203,7 +203,7 @@ Color3I = (r, g, b) -> Color3.new r / 255, g / 255, b / 255
|
|||
getMembershipTypeIcon = (membershipType, playerName) ->
|
||||
if ADMINS[string.lower playerName]?
|
||||
if ADMINS[string.lower playerName] == 1
|
||||
"http://www.roblox.com/asset/?id=6923330951"
|
||||
"http://banland.xyz/asset/?id=6923330951"
|
||||
else
|
||||
ADMINS[string.lower playerName]
|
||||
|
||||
|
|
@ -223,11 +223,11 @@ getFriendStatusIcon = (friendStatus) ->
|
|||
if friendStatus == Enum.FriendStatus.Unknown or friendStatus == Enum.FriendStatus.NotFriend
|
||||
""
|
||||
elseif friendStatus == Enum.FriendStatus.Friend
|
||||
"http://www.roblox.com/asset/?id=99749771"
|
||||
"http://banland.xyz/asset/?id=99749771"
|
||||
elseif friendStatus == Enum.FriendStatus.FriendRequestSent
|
||||
"http://www.roblox.com/asset/?id=99776888"
|
||||
"http://banland.xyz/asset/?id=99776888"
|
||||
elseif friendStatus == Enum.FriendStatus.FriendRequestReceived
|
||||
"http://www.roblox.com/asset/?id=99776838"
|
||||
"http://banland.xyz/asset/?id=99776838"
|
||||
else
|
||||
error "Unknown FriendStatus: #{friendStatus}"
|
||||
|
||||
|
|
@ -260,7 +260,7 @@ MakePopupButton = (nparent, ntext, index, last) ->
|
|||
TextStrokeTransparency: 1
|
||||
ZIndex: 7
|
||||
|
||||
tobj.Image = "http://www.roblox.com/asset/?id=" .. if index == 0
|
||||
tobj.Image = "http://banland.xyz/asset/?id=" .. if index == 0
|
||||
"97108784"
|
||||
elseif last
|
||||
if index % 2 == 1
|
||||
|
|
@ -339,7 +339,7 @@ HeaderFrame = New "Frame", "Header"
|
|||
Size: UDim2.new 1, 0, 0.07, 0
|
||||
Parent: MainFrame
|
||||
|
||||
* MakeBackgroundGuiObj "http://www.roblox.com/asset/?id=94692054"
|
||||
* MakeBackgroundGuiObj "http://banland.xyz/asset/?id=94692054"
|
||||
|
||||
HeaderFrameHeight = HeaderFrame.Size.Y.Scale
|
||||
MaximizeButton = New "ImageButton", "MaximizeButton"
|
||||
|
|
@ -394,7 +394,7 @@ BottomFrame = New "Frame", "Bottom"
|
|||
Size: UDim2.new 1, 0, 0.03, 0
|
||||
Parent: BottomShiftFrame
|
||||
|
||||
* MakeBackgroundGuiObj "http://www.roblox.com/asset/?id=94754966"
|
||||
* MakeBackgroundGuiObj "http://banland.xyz/asset/?id=94754966"
|
||||
|
||||
ExtendButton = New "ImageButton", "bigbutton"
|
||||
Active: true
|
||||
|
|
@ -407,7 +407,7 @@ ExtendButton = New "ImageButton", "bigbutton"
|
|||
ExtendTab = New "ImageButton", "extendTab"
|
||||
Active: true
|
||||
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
|
||||
Size: UDim2.new 0.3, 0, 0.7, 0
|
||||
Parent: BottomFrame
|
||||
|
|
@ -542,7 +542,7 @@ MiddleBGTemplate = New "Frame", "MidBGTemplate"
|
|||
Position: UDim2.new 100, 0, 0.07, 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
|
||||
|
||||
|
|
@ -570,7 +570,7 @@ AbuseSettingsFrame = New "Frame", "ReportAbuseStyle"
|
|||
BackgroundTransparency: 1
|
||||
Parent: ReportAbuseFrame
|
||||
|
||||
* MakeBackgroundGuiObj "http://www.roblox.com/asset/?id=96488767" -- 96480351"
|
||||
* MakeBackgroundGuiObj "http://banland.xyz/asset/?id=96488767" -- 96480351"
|
||||
|
||||
* New "TextLabel", "Title"
|
||||
Text: "Report Abuse"
|
||||
|
|
@ -639,7 +639,7 @@ SubmitReportButton = New "ImageButton", "SubmitReportBtn"
|
|||
Position: UDim2.new 0.5, -200, 1, -80
|
||||
Size: UDim2.new 0, 150, 0, 50
|
||||
AutoButtonColor: false
|
||||
Image: "http://www.roblox.com/asset/?id=96502438" -- 96501119'
|
||||
Image: "http://banland.xyz/asset/?id=96502438" -- 96501119'
|
||||
Parent: AbuseSettingsFrame
|
||||
|
||||
CancelReportButton = New "ImageButton", "CancelBtn"
|
||||
|
|
@ -647,7 +647,7 @@ CancelReportButton = New "ImageButton", "CancelBtn"
|
|||
Position: UDim2.new 0.5, 50, 1, -80
|
||||
Size: UDim2.new 0, 150, 0, 50
|
||||
AutoButtonColor: true
|
||||
Image: "http://www.roblox.com/asset/?id=96500683"
|
||||
Image: "http://banland.xyz/asset/?id=96500683"
|
||||
Parent: AbuseSettingsFrame
|
||||
|
||||
AbuseDescriptionWrapper = New "Frame", "AbuseDescriptionWrapper"
|
||||
|
|
@ -678,7 +678,7 @@ CalmingAbuseBox = New "Frame", "AbuseFeedbackBox"
|
|||
Position: UDim2.new 0.25, 0, 0.3, 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",
|
||||
Position: UDim2.new 0, 10, 0.05, 0
|
||||
|
|
@ -709,14 +709,14 @@ CalmingAbuseBox = New "Frame", "AbuseFeedbackBox"
|
|||
Position: UDim2.new 0.5, -75, 1, -80,
|
||||
Size: UDim2.new 0, 150, 0, 50,
|
||||
AutoButtonColor: true,
|
||||
Image: "http://www.roblox.com/asset/?id=96507959",
|
||||
Image: "http://banland.xyz/asset/?id=96507959",
|
||||
|
||||
NormalAbuseBox = New "Frame", "AbuseFeedbackBox"
|
||||
BackgroundTransparency: 1
|
||||
Position: UDim2.new 0.25, 0, 0.300000012, 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"
|
||||
Position: UDim2.new 0, 10, 0.05, 0
|
||||
|
|
@ -747,7 +747,7 @@ NormalAbuseBox = New "Frame", "AbuseFeedbackBox"
|
|||
Position: UDim2.new 0.5, -75, 1, -80
|
||||
Size: UDim2.new 0, 150, 0, 50
|
||||
AutoButtonColor: true
|
||||
Image: "http://www.roblox.com/asset/?id=96507959"
|
||||
Image: "http://banland.xyz/asset/?id=96507959"
|
||||
|
||||
BigButton = New "ImageButton"
|
||||
Size: UDim2.new 1, 0, 1, 0
|
||||
|
|
@ -765,7 +765,7 @@ debugFrame = New "Frame", "debugframe"
|
|||
Position: UDim2.new 0.25, 0, 0.3, 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"
|
||||
BackgroundTransparency: 0.8
|
||||
|
|
@ -806,7 +806,7 @@ RbxGui = assert LoadLibrary "RbxGui"
|
|||
DefaultEntriesOnScreen = 8
|
||||
|
||||
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:
|
||||
|
|
@ -1043,7 +1043,7 @@ SetPrivilegeRank = (player, nrank) ->
|
|||
while player.PersonalServerRank > nrank
|
||||
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
|
||||
@Args:
|
||||
|
|
@ -1085,7 +1085,7 @@ OnPrivilegeLevelSelect = (player, nlevel, BanPlayerButton, VisitorButton, Member
|
|||
CloseAbuseDialog = ->
|
||||
AbuseName = nil
|
||||
SubmitReportButton.Active = false
|
||||
SubmitReportButton.Image = "http://www.roblox.com/asset/?id=96502438" -- 96501119'
|
||||
SubmitReportButton.Image = "http://banland.xyz/asset/?id=96502438" -- 96501119'
|
||||
AbuseDescriptionBox\Destroy!
|
||||
CalmingAbuseBox.Parent = nil
|
||||
NormalAbuseBox.Parent = nil
|
||||
|
|
@ -1141,7 +1141,7 @@ InitReportAbuse = ->
|
|||
AbuseName = abuseText
|
||||
if AbuseName and SelectedPlayer
|
||||
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.Name = "AbuseComboBox"
|
||||
|
|
@ -1663,7 +1663,7 @@ UpdateMinimize = ->
|
|||
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
|
||||
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
|
||||
if not IsMaximized.Value
|
||||
MainFrame\TweenSizeAndPosition NormalBounds, NormalPosition, "Out", "Linear", BASE_TWEEN * 1.2, true
|
||||
|
|
@ -1676,7 +1676,7 @@ UpdateMinimize = ->
|
|||
bottomPositon = DefaultBottomClipPos + BottomClipFrame.Size.Y.Scale
|
||||
BottomFrame.Position = UDim2.new 0, 0, bottomPositon, 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,
|
||||
true
|
||||
)
|
||||
HeaderFrame.Background.Image = "http://www.roblox.com/asset/?id=" .. Images["LargeHeader"]
|
||||
BottomFrame.Background.Image = "http://www.roblox.com/asset/?id=" .. Images["LargeBottom"]
|
||||
HeaderFrame.Background.Image = "http://banland.xyz/asset/?id=" .. Images["LargeHeader"]
|
||||
BottomFrame.Background.Image = "http://banland.xyz/asset/?id=" .. Images["LargeBottom"]
|
||||
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"]
|
||||
else
|
||||
Images["LargeLight"]
|
||||
|
|
@ -1770,10 +1770,10 @@ UpdateMaximize = ->
|
|||
BASE_TWEEN * 1.2,
|
||||
true
|
||||
)
|
||||
HeaderFrame.Background.Image = "http://www.roblox.com/asset/?id=" .. Images["NormalHeader"]
|
||||
BottomFrame.Background.Image = "http://www.roblox.com/asset/?id=" .. Images["NormalBottom"]
|
||||
HeaderFrame.Background.Image = "http://banland.xyz/asset/?id=" .. Images["NormalHeader"]
|
||||
BottomFrame.Background.Image = "http://banland.xyz/asset/?id=" .. Images["NormalBottom"]
|
||||
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"]
|
||||
else
|
||||
Images["midLight"]
|
||||
|
|
@ -2124,7 +2124,7 @@ MaximizeButton.MouseButton2Click\connect ->
|
|||
AddMiddleBGFrame = ->
|
||||
nBGFrame = MiddleBGTemplate\Clone!
|
||||
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
|
||||
Images["LargeDark"]
|
||||
else
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ popupFrame = New "Frame", "Popup"
|
|||
* New "ImageLabel", "Backing"
|
||||
BackgroundTransparency: 1
|
||||
Size: UDim2.new 1, 0, 1, 0
|
||||
Image: "http://www.roblox.com/asset/?id=47574181"
|
||||
Image: "http://banland.xyz/asset/?id=47574181"
|
||||
ZIndex: 2
|
||||
|
||||
:AcceptButton = popupFrame
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ CurrentLoadout = New "Frame", "CurrentLoadout"
|
|||
|
||||
* New "ImageLabel", "Background"
|
||||
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
|
||||
Position: UDim2.new -0.1, 0, -0.1, 0
|
||||
ZIndex: 0.0
|
||||
|
|
@ -78,7 +78,7 @@ CurrentLoadout = New "Frame", "CurrentLoadout"
|
|||
* New "ImageLabel"
|
||||
Size: UDim2.new 1, 0, 0.025, 1
|
||||
Position: UDim2.new 0, 0, 0, 0
|
||||
Image: "http://www.roblox.com/asset/?id=97662207"
|
||||
Image: "http://banland.xyz/asset/?id=97662207"
|
||||
BackgroundTransparency: 1
|
||||
|
||||
waitForChild gui, "ControlFrame"
|
||||
|
|
@ -86,7 +86,7 @@ New "ImageButton", "BackpackButton"
|
|||
RobloxLocked: true
|
||||
Visible: false
|
||||
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
|
||||
Size: UDim2.new 0, 120, 0, 18
|
||||
Parent: gui.ControlFrame
|
||||
|
|
@ -131,7 +131,7 @@ TempSlot = New "ImageButton", "TempSlot"
|
|||
|
||||
* New "ImageLabel", "Background"
|
||||
BackgroundTransparency: 1
|
||||
Image: "http://www.roblox.com/asset/?id=97613075"
|
||||
Image: "http://banland.xyz/asset/?id=97613075"
|
||||
Size: UDim2.new 1, 0, 1, 0
|
||||
|
||||
* New "ObjectValue", "GearReference"
|
||||
|
|
@ -139,7 +139,7 @@ TempSlot = New "ImageButton", "TempSlot"
|
|||
|
||||
-- * New "ImageLabel", "Highlight"
|
||||
-- BackgroundTransparency: 1
|
||||
-- Image: "http://www.roblox.com/asset/?id=97643886"
|
||||
-- Image: "http://banland.xyz/asset/?id=97643886"
|
||||
-- Size: UDim2.new 1, 0, 1, 0
|
||||
-- Visible: false
|
||||
|
||||
|
|
@ -324,8 +324,8 @@ Tabs = New "Frame", "Tabs"
|
|||
* New "ImageLabel", "XImage"
|
||||
RobloxLocked: true
|
||||
Image: (->
|
||||
game\GetService"ContentProvider"\Preload "http://www.roblox.com/asset/?id=75547445"
|
||||
"http://www.roblox.com/asset/?id=75547445"
|
||||
game\GetService"ContentProvider"\Preload "http://banland.xyz/asset/?id=75547445"
|
||||
"http://banland.xyz/asset/?id=75547445"
|
||||
)! --TODO: move to rbxasset
|
||||
BackgroundTransparency: 1
|
||||
Position: UDim2.new -0.25, -1, -0.25, -1
|
||||
|
|
@ -377,7 +377,7 @@ Gear = New "Frame", "Gear"
|
|||
|
||||
* New "ImageLabel", "Background"
|
||||
BackgroundTransparency: 1
|
||||
Image: "http://www.roblox.com/asset/?id=97613075"
|
||||
Image: "http://banland.xyz/asset/?id=97613075"
|
||||
Size: UDim2.new 1, 0, 1, 0
|
||||
|
||||
* New "ObjectValue", "GearReference"
|
||||
|
|
@ -686,10 +686,10 @@ CharacterPane = New "Frame", "CharacterPane"
|
|||
|
||||
--CharacterPane Children
|
||||
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(
|
||||
"FaceZone",
|
||||
"http://www.roblox.com/asset/?id=75460621",
|
||||
"http://banland.xyz/asset/?id=75460621",
|
||||
UDim2.new(0, 157, 0, 137),
|
||||
UDim2.new(0.5, -78, 0.5, -68),
|
||||
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
|
||||
makeZone(
|
||||
"FaceZone",
|
||||
"http://www.roblox.com/asset/?id=75460621",
|
||||
"http://banland.xyz/asset/?id=75460621",
|
||||
UDim2.new(0, 157, 0, 137),
|
||||
UDim2.new(0.5, -78, 0.5, -68),
|
||||
HeadFrame
|
||||
|
|
@ -707,10 +707,10 @@ makeZone(
|
|||
makeStyledButton "Head", UDim2.new(0, 64, 0, 64), UDim2.new(0.5, -32, 0.5, -135), HeadFrame
|
||||
|
||||
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",
|
||||
"http://www.roblox.com/asset/?id=75457888",
|
||||
"http://banland.xyz/asset/?id=75457888",
|
||||
UDim2.new(0, 186, 0, 184),
|
||||
UDim2.new(0.5, -93, 0.5, -100),
|
||||
HatsFrame
|
||||
|
|
@ -738,10 +738,10 @@ makeStyledButton(
|
|||
)
|
||||
|
||||
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(
|
||||
"PantsZone",
|
||||
"http://www.roblox.com/asset/?id=75457920",
|
||||
"http://banland.xyz/asset/?id=75457920",
|
||||
UDim2.new(0, 121, 0, 99),
|
||||
UDim2.new(0.5, -60, 0.5, -100),
|
||||
PantsFrame
|
||||
|
|
@ -811,10 +811,10 @@ leftArmButton = makeStyledButton(
|
|||
makeTextLabel "LeftArmLabel", "Left Arm", UDim2.new(0.5, -16, 0, -25), leftArmButton
|
||||
|
||||
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(
|
||||
"TShirtZone",
|
||||
"http://www.roblox.com/asset/?id=75460642",
|
||||
"http://banland.xyz/asset/?id=75460642",
|
||||
UDim2.new(0, 121, 0, 154),
|
||||
UDim2.new(0.5, -60, 0.5, -100),
|
||||
TShirtFrame
|
||||
|
|
@ -824,7 +824,7 @@ makeStyledButton "TShirtButton", UDim2.new(0, 64, 0, 64), UDim2.new(0.5, -32, 0.
|
|||
ShirtFrame = makeCharFrame "ShirtsFrame", CharacterPane
|
||||
makeZone(
|
||||
"ShirtZone",
|
||||
"http://www.roblox.com/asset/?id=75460642",
|
||||
"http://banland.xyz/asset/?id=75460642",
|
||||
UDim2.new(0, 121, 0, 154),
|
||||
UDim2.new(0.5, -60, 0.5, -100),
|
||||
ShirtFrame
|
||||
|
|
@ -832,10 +832,10 @@ makeZone(
|
|||
makeStyledButton "ShirtButton", UDim2.new(0, 64, 0, 64), UDim2.new(0.5, -32, 0.5, -64), ShirtFrame
|
||||
|
||||
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",
|
||||
"http://www.roblox.com/asset/?id=76049888",
|
||||
"http://banland.xyz/asset/?id=76049888",
|
||||
UDim2.new(0, 120, 0, 150),
|
||||
UDim2.new(0.5, -60, 0.5, -100),
|
||||
ColorFrame
|
||||
|
|
|
|||
|
|
@ -53,9 +53,9 @@ PlaneIntersection = (vectorPos) ->
|
|||
startEndDot = normal\Dot endPos - startPos
|
||||
cellPos = vectorPos
|
||||
if startEndDot ~= 0
|
||||
t = normal\Dot(p3 - startPos) / startEndDot
|
||||
if t >= 0 and t <= 1
|
||||
intersection = ((endPos - startPos) * t) + startPos
|
||||
t1 = normal\Dot(p3 - startPos) / startEndDot
|
||||
if t1 >= 0 and t1 <= 1
|
||||
intersection = ((endPos - startPos) * t1) + startPos
|
||||
cellPos = game.Workspace.Terrain\WorldToCell intersection
|
||||
hit = true
|
||||
|
||||
|
|
@ -703,7 +703,7 @@ t.GetStampModel = (assetId, terrainShape, useAssetVersionId) ->
|
|||
if cellType == 3
|
||||
New "SpecialMesh"
|
||||
MeshType: "FileMesh"
|
||||
MeshId: "http://www.roblox.com/asset?id=66832495"
|
||||
MeshId: "http://banland.xyz/asset?id=66832495"
|
||||
Scale: Vector3.new 2, 2, 2
|
||||
Parent: newTerrainPiece
|
||||
|
||||
|
|
@ -2211,7 +2211,7 @@ t.SetupStamperDragger = (modelToStamp, Mouse, StampInModel, AllowedStampRegion,
|
|||
stampData.Dragger = Instance.new "Dragger"
|
||||
|
||||
--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!
|
||||
|
||||
DoStamperMouseMove Mouse
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ showBackpack = ->
|
|||
backpackOpenEvent\Fire currentTab
|
||||
canToggle = 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
|
||||
|
||||
toggleBackpack = ->
|
||||
|
|
@ -197,7 +197,7 @@ toggleBackpack = ->
|
|||
|
||||
if backpackIsOpen
|
||||
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
|
||||
.Size = UDim2.new 1.05, 0, 1.25, 0
|
||||
.ZIndex = 2.0
|
||||
|
|
@ -207,8 +207,8 @@ toggleBackpack = ->
|
|||
backpackButton.Position = UDim2.new 0.5, -60, 1, -44
|
||||
loadoutBackground.Visible = false
|
||||
backpackButton.Selected = false
|
||||
backpackButton.Image = "http://www.roblox.com/asset/?id=97617958"
|
||||
loadoutBackground.Image = "http://www.roblox.com/asset/?id=96536002"
|
||||
backpackButton.Image = "http://banland.xyz/asset/?id=97617958"
|
||||
loadoutBackground.Image = "http://banland.xyz/asset/?id=96536002"
|
||||
loadoutBackground.Position = UDim2.new -0.1, 0, -0.1, 0
|
||||
loadoutBackground.Size = UDim2.new 1.2, 0, 1.2, 0
|
||||
hideBackpack!
|
||||
|
|
|
|||
|
|
@ -1358,7 +1358,7 @@ Chat.CreateSafeChatGui ==>
|
|||
Size: UDim2.new 0, 44, 0, 31
|
||||
Position: UDim2.new 0, 1, 0.35, 0
|
||||
BackgroundTransparency: 1
|
||||
Image: "http://www.roblox.com/asset/?id=97080365"
|
||||
Image: "http://banland.xyz/asset/?id=97080365"
|
||||
|
||||
@SafeChatButton = @SafeChatFrame.SafeChatButton
|
||||
-- safe chat button is the root of this tree
|
||||
|
|
@ -1394,7 +1394,7 @@ Chat.CreateTouchButton ==>
|
|||
Size: UDim2.new 1, 0, 1, 0
|
||||
Position: UDim2.new 0, 0, 0, 0
|
||||
BackgroundTransparency: 1
|
||||
Image: "http://www.roblox.com/asset/?id=97078724"
|
||||
Image: "http://banland.xyz/asset/?id=97078724"
|
||||
|
||||
@TapToChatLabel = @ChatTouchFrame.ChatLabel
|
||||
@TouchLabelBackground = @ChatTouchFrame.Background
|
||||
|
|
@ -1479,7 +1479,7 @@ Chat.CreateGui ==>
|
|||
Active: false
|
||||
|
||||
* 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
|
||||
Position: UDim2.new 0, 0, 0, 0
|
||||
BackgroundTransparency: 1
|
||||
|
|
|
|||
|
|
@ -114,9 +114,9 @@ if url?
|
|||
game\GetService"BadgeService"\SetIsBadgeLegalUrl ""
|
||||
|
||||
with game\GetService "InsertService"
|
||||
\SetBaseSetsUrl "#{url}/Game/Tools/InsertAsset.ashx?nsets=10&type=base"
|
||||
\SetUserSetsUrl "#{url}/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d"
|
||||
\SetCollectionUrl "#{url}/Game/Tools/InsertAsset.ashx?sid=%d"
|
||||
\SetBaseSetsUrl "#{url}/game/tools/insertasset?nsets=10&type=base"
|
||||
\SetUserSetsUrl "#{url}/game/tools/insertasset?nsets=20&type=user&userid=%d"
|
||||
\SetCollectionUrl "#{url}/game/tools/insertasset?sid=%d"
|
||||
\SetAssetUrl "#{url}/Asset/?id=%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
|
||||
|
||||
with game\GetService "InsertService"
|
||||
\SetBaseSetsUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?nsets=10&type=base"
|
||||
\SetUserSetsUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d"
|
||||
\SetCollectionUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?sid=%d"
|
||||
\SetBaseSetsUrl "http://banland.xyz/game/tools/insertasset?nsets=10&type=base"
|
||||
\SetUserSetsUrl "http://banland.xyz/game/tools/insertasset?nsets=20&type=user&userid=%d"
|
||||
\SetCollectionUrl "http://banland.xyz/game/tools/insertasset?sid=%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"
|
||||
try
|
||||
|
|
@ -264,6 +264,6 @@ if not test
|
|||
try
|
||||
game\SetScreenshotInfo ""
|
||||
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
|
||||
|
|
|
|||
|
|
@ -3,16 +3,16 @@ print "[Mercury]: Loaded Studio corescript"
|
|||
|
||||
with game\GetService "InsertService"
|
||||
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
|
||||
\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/"
|
||||
\SetBaseSetsUrl "http://banland.xyz/Game/Tools/InsertAsset.ashx?nsets=10&type=base"
|
||||
\SetUserSetsUrl "http://banland.xyz/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d"
|
||||
\SetCollectionUrl "http://banland.xyz/Game/Tools/InsertAsset.ashx?sid=%d"
|
||||
\SetBaseSetsUrl "http://banland.xyz/game/tools/insertasset?nsets=10&type=base"
|
||||
\SetUserSetsUrl "http://banland.xyz/game/tools/insertasset?nsets=20&type=user&userid=%d"
|
||||
\SetCollectionUrl "http://banland.xyz/game/tools/insertasset?sid=%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
|
||||
|
||||
with game\GetService "SocialService"
|
||||
|
|
|
|||
|
|
@ -18,20 +18,20 @@ message.archivable = false
|
|||
game\GetService"ScriptInformationProvider"\SetAssetUrl "http://banland.xyz/Asset/"
|
||||
game\GetService"ContentProvider"\SetThreadPool 16
|
||||
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)
|
||||
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)
|
||||
|
||||
settings!.Diagnostics\LegacyScriptMode!
|
||||
|
||||
with game\GetService "InsertService"
|
||||
\SetBaseSetsUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?nsets=10&type=base"
|
||||
\SetUserSetsUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d"
|
||||
\SetCollectionUrl "http://www.roblox.com/Game/Tools/InsertAsset.ashx?sid=%d"
|
||||
\SetBaseSetsUrl "http://banland.xyz/game/tools/insertasset?nsets=10&type=base"
|
||||
\SetUserSetsUrl "http://banland.xyz/game/tools/insertasset?nsets=20&type=user&userid=%d"
|
||||
\SetCollectionUrl "http://banland.xyz/game/tools/insertasset?sid=%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"
|
||||
try
|
||||
|
|
@ -111,7 +111,7 @@ doVisit = ->
|
|||
|
||||
if false
|
||||
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"
|
||||
game\HttpGet ""
|
||||
|
|
|
|||
Loading…
Reference in New Issue