Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- ParticleEmitter0 = Instance.new("ParticleEmitter")
- ParticleEmitter1 = Instance.new("ParticleEmitter")
- ParticleEmitter2 = Instance.new("ParticleEmitter")
- ParticleEmitter3 = Instance.new("ParticleEmitter")
- Tool4 = Instance.new("Tool")
- BillboardGui5 = Instance.new("BillboardGui")
- TextLabel6 = Instance.new("TextLabel")
- ParticleEmitter7 = Instance.new("ParticleEmitter")
- Script8 = Instance.new("Script")
- LocalScript9 = Instance.new("LocalScript")
- IntValue10 = Instance.new("IntValue")
- Sound11 = Instance.new("Sound")
- Tool12 = Instance.new("Tool")
- Part13 = Instance.new("Part")
- ManualWeld14 = Instance.new("ManualWeld")
- ManualWeld15 = Instance.new("ManualWeld")
- ManualWeld16 = Instance.new("ManualWeld")
- Part17 = Instance.new("Part")
- CylinderMesh18 = Instance.new("CylinderMesh")
- ManualWeld19 = Instance.new("ManualWeld")
- ManualWeld20 = Instance.new("ManualWeld")
- Script21 = Instance.new("Script")
- Script22 = Instance.new("Script")
- LocalScript23 = Instance.new("LocalScript")
- RemoteEvent24 = Instance.new("RemoteEvent")
- Part25 = Instance.new("Part")
- ManualWeld26 = Instance.new("ManualWeld")
- ParticleEmitter27 = Instance.new("ParticleEmitter")
- ParticleEmitter28 = Instance.new("ParticleEmitter")
- ParticleEmitter29 = Instance.new("ParticleEmitter")
- PointLight30 = Instance.new("PointLight")
- ParticleEmitter31 = Instance.new("ParticleEmitter")
- Tool32 = Instance.new("Tool")
- Part33 = Instance.new("Part")
- Model34 = Instance.new("Model")
- ManualWeld35 = Instance.new("ManualWeld")
- ManualWeld36 = Instance.new("ManualWeld")
- Part37 = Instance.new("Part")
- ManualWeld38 = Instance.new("ManualWeld")
- ManualWeld39 = Instance.new("ManualWeld")
- ManualWeld40 = Instance.new("ManualWeld")
- ParticleEmitter41 = Instance.new("ParticleEmitter")
- ParticleEmitter42 = Instance.new("ParticleEmitter")
- PointLight43 = Instance.new("PointLight")
- ParticleEmitter44 = Instance.new("ParticleEmitter")
- ManualWeld45 = Instance.new("ManualWeld")
- Script46 = Instance.new("Script")
- Script47 = Instance.new("Script")
- LocalScript48 = Instance.new("LocalScript")
- RemoteEvent49 = Instance.new("RemoteEvent")
- Tool50 = Instance.new("Tool")
- Part51 = Instance.new("Part")
- Script52 = Instance.new("Script")
- Script53 = Instance.new("Script")
- LocalScript54 = Instance.new("LocalScript")
- RemoteEvent55 = Instance.new("RemoteEvent")
- ManualWeld56 = Instance.new("ManualWeld")
- ManualWeld57 = Instance.new("ManualWeld")
- ManualWeld58 = Instance.new("ManualWeld")
- ManualWeld59 = Instance.new("ManualWeld")
- ManualWeld60 = Instance.new("ManualWeld")
- PointLight61 = Instance.new("PointLight")
- ParticleEmitter62 = Instance.new("ParticleEmitter")
- ParticleEmitter63 = Instance.new("ParticleEmitter")
- ManualWeld64 = Instance.new("ManualWeld")
- Tool65 = Instance.new("Tool")
- Script66 = Instance.new("Script")
- Part67 = Instance.new("Part")
- ManualWeld68 = Instance.new("ManualWeld")
- Script69 = Instance.new("Script")
- Model70 = Instance.new("Model")
- ManualWeld71 = Instance.new("ManualWeld")
- ManualWeld72 = Instance.new("ManualWeld")
- ManualWeld73 = Instance.new("ManualWeld")
- ManualWeld74 = Instance.new("ManualWeld")
- ManualWeld75 = Instance.new("ManualWeld")
- Part76 = Instance.new("Part")
- ManualWeld77 = Instance.new("ManualWeld")
- ManualWeld78 = Instance.new("ManualWeld")
- ManualWeld79 = Instance.new("ManualWeld")
- ManualWeld80 = Instance.new("ManualWeld")
- ManualWeld81 = Instance.new("ManualWeld")
- ManualWeld82 = Instance.new("ManualWeld")
- ManualWeld83 = Instance.new("ManualWeld")
- ManualWeld84 = Instance.new("ManualWeld")
- ManualWeld85 = Instance.new("ManualWeld")
- ManualWeld86 = Instance.new("ManualWeld")
- ManualWeld87 = Instance.new("ManualWeld")
- Model88 = Instance.new("Model")
- ManualWeld89 = Instance.new("ManualWeld")
- Part90 = Instance.new("Part")
- ManualWeld91 = Instance.new("ManualWeld")
- Part92 = Instance.new("Part")
- ManualWeld93 = Instance.new("ManualWeld")
- Part94 = Instance.new("Part")
- SpecialMesh95 = Instance.new("SpecialMesh")
- ManualWeld96 = Instance.new("ManualWeld")
- ManualWeld97 = Instance.new("ManualWeld")
- ManualWeld98 = Instance.new("ManualWeld")
- ScreenGui99 = Instance.new("ScreenGui")
- Frame100 = Instance.new("Frame")
- ImageLabel101 = Instance.new("ImageLabel")
- Frame102 = Instance.new("Frame")
- TextButton103 = Instance.new("TextButton")
- TextLabel104 = Instance.new("TextLabel")
- Frame105 = Instance.new("Frame")
- TextButton106 = Instance.new("TextButton")
- TextButton107 = Instance.new("TextButton")
- TextButton108 = Instance.new("TextButton")
- TextButton109 = Instance.new("TextButton")
- Frame110 = Instance.new("Frame")
- LocalScript111 = Instance.new("LocalScript")
- LocalScript112 = Instance.new("LocalScript")
- RemoteEvent113 = Instance.new("RemoteEvent")
- Script114 = Instance.new("Script")
- Script115 = Instance.new("Script")
- StringValue116 = Instance.new("StringValue")
- LocalScript117 = Instance.new("LocalScript")
- StringValue118 = Instance.new("StringValue")
- BoolValue119 = Instance.new("BoolValue")
- StringValue120 = Instance.new("StringValue")
- Script121 = Instance.new("Script")
- LocalScript122 = Instance.new("LocalScript")
- LocalScript123 = Instance.new("LocalScript")
- Frame124 = Instance.new("Frame")
- Frame125 = Instance.new("Frame")
- Frame126 = Instance.new("Frame")
- TextButton127 = Instance.new("TextButton")
- ScrollingFrame128 = Instance.new("ScrollingFrame")
- TextBox129 = Instance.new("TextBox")
- ScrollingFrame130 = Instance.new("ScrollingFrame")
- LocalScript131 = Instance.new("LocalScript")
- ScrollingFrame132 = Instance.new("ScrollingFrame")
- Frame133 = Instance.new("Frame")
- TextLabel134 = Instance.new("TextLabel")
- TextLabel135 = Instance.new("TextLabel")
- ImageButton136 = Instance.new("ImageButton")
- Frame137 = Instance.new("Frame")
- TextButton138 = Instance.new("TextButton")
- ScrollingFrame139 = Instance.new("ScrollingFrame")
- TextBox140 = Instance.new("TextBox")
- ScrollingFrame141 = Instance.new("ScrollingFrame")
- LocalScript142 = Instance.new("LocalScript")
- Frame143 = Instance.new("Frame")
- ScrollingFrame144 = Instance.new("ScrollingFrame")
- Frame145 = Instance.new("Frame")
- TextLabel146 = Instance.new("TextLabel")
- TextLabel147 = Instance.new("TextLabel")
- TextLabel148 = Instance.new("TextLabel")
- Frame149 = Instance.new("Frame")
- TextLabel150 = Instance.new("TextLabel")
- TextLabel151 = Instance.new("TextLabel")
- TextLabel152 = Instance.new("TextLabel")
- TextButton153 = Instance.new("TextButton")
- TextLabel154 = Instance.new("TextLabel")
- TextLabel155 = Instance.new("TextLabel")
- TextButton156 = Instance.new("TextButton")
- TextButton157 = Instance.new("TextButton")
- Frame158 = Instance.new("Frame")
- TextLabel159 = Instance.new("TextLabel")
- TextLabel160 = Instance.new("TextLabel")
- TextLabel161 = Instance.new("TextLabel")
- TextLabel162 = Instance.new("TextLabel")
- TextLabel163 = Instance.new("TextLabel")
- TextLabel164 = Instance.new("TextLabel")
- TextLabel165 = Instance.new("TextLabel")
- Frame166 = Instance.new("Frame")
- TextButton167 = Instance.new("TextButton")
- TextButton168 = Instance.new("TextButton")
- TextButton169 = Instance.new("TextButton")
- Frame170 = Instance.new("Frame")
- LocalScript171 = Instance.new("LocalScript")
- Frame172 = Instance.new("Frame")
- Frame173 = Instance.new("Frame")
- TextLabel174 = Instance.new("TextLabel")
- TextButton175 = Instance.new("TextButton")
- ScrollingFrame176 = Instance.new("ScrollingFrame")
- ImageLabel177 = Instance.new("ImageLabel")
- ScrollingFrame178 = Instance.new("ScrollingFrame")
- LocalScript179 = Instance.new("LocalScript")
- RemoteFunction180 = Instance.new("RemoteFunction")
- TextButton181 = Instance.new("TextButton")
- Frame182 = Instance.new("Frame")
- TextLabel183 = Instance.new("TextLabel")
- TextLabel184 = Instance.new("TextLabel")
- ParticleEmitter185 = Instance.new("ParticleEmitter")
- ParticleEmitter186 = Instance.new("ParticleEmitter")
- ParticleEmitter187 = Instance.new("ParticleEmitter")
- ParticleEmitter188 = Instance.new("ParticleEmitter")
- Tool189 = Instance.new("Tool")
- Part190 = Instance.new("Part")
- ManualWeld191 = Instance.new("ManualWeld")
- ManualWeld192 = Instance.new("ManualWeld")
- ManualWeld193 = Instance.new("ManualWeld")
- Part194 = Instance.new("Part")
- CylinderMesh195 = Instance.new("CylinderMesh")
- ManualWeld196 = Instance.new("ManualWeld")
- ManualWeld197 = Instance.new("ManualWeld")
- Script198 = Instance.new("Script")
- Script199 = Instance.new("Script")
- LocalScript200 = Instance.new("LocalScript")
- RemoteEvent201 = Instance.new("RemoteEvent")
- Part202 = Instance.new("Part")
- ManualWeld203 = Instance.new("ManualWeld")
- ParticleEmitter204 = Instance.new("ParticleEmitter")
- ParticleEmitter205 = Instance.new("ParticleEmitter")
- ParticleEmitter206 = Instance.new("ParticleEmitter")
- PointLight207 = Instance.new("PointLight")
- ParticleEmitter208 = Instance.new("ParticleEmitter")
- Tool209 = Instance.new("Tool")
- BillboardGui210 = Instance.new("BillboardGui")
- TextLabel211 = Instance.new("TextLabel")
- ParticleEmitter212 = Instance.new("ParticleEmitter")
- Script213 = Instance.new("Script")
- LocalScript214 = Instance.new("LocalScript")
- IntValue215 = Instance.new("IntValue")
- Sound216 = Instance.new("Sound")
- Tool217 = Instance.new("Tool")
- Part218 = Instance.new("Part")
- Model219 = Instance.new("Model")
- ManualWeld220 = Instance.new("ManualWeld")
- ManualWeld221 = Instance.new("ManualWeld")
- Part222 = Instance.new("Part")
- ManualWeld223 = Instance.new("ManualWeld")
- ManualWeld224 = Instance.new("ManualWeld")
- ManualWeld225 = Instance.new("ManualWeld")
- ParticleEmitter226 = Instance.new("ParticleEmitter")
- ParticleEmitter227 = Instance.new("ParticleEmitter")
- PointLight228 = Instance.new("PointLight")
- ParticleEmitter229 = Instance.new("ParticleEmitter")
- ManualWeld230 = Instance.new("ManualWeld")
- Script231 = Instance.new("Script")
- Script232 = Instance.new("Script")
- LocalScript233 = Instance.new("LocalScript")
- RemoteEvent234 = Instance.new("RemoteEvent")
- Tool235 = Instance.new("Tool")
- Part236 = Instance.new("Part")
- Script237 = Instance.new("Script")
- Script238 = Instance.new("Script")
- LocalScript239 = Instance.new("LocalScript")
- RemoteEvent240 = Instance.new("RemoteEvent")
- ManualWeld241 = Instance.new("ManualWeld")
- ManualWeld242 = Instance.new("ManualWeld")
- ManualWeld243 = Instance.new("ManualWeld")
- ManualWeld244 = Instance.new("ManualWeld")
- ManualWeld245 = Instance.new("ManualWeld")
- PointLight246 = Instance.new("PointLight")
- ParticleEmitter247 = Instance.new("ParticleEmitter")
- ParticleEmitter248 = Instance.new("ParticleEmitter")
- ManualWeld249 = Instance.new("ManualWeld")
- Tool250 = Instance.new("Tool")
- Script251 = Instance.new("Script")
- Part252 = Instance.new("Part")
- ManualWeld253 = Instance.new("ManualWeld")
- Script254 = Instance.new("Script")
- Model255 = Instance.new("Model")
- ManualWeld256 = Instance.new("ManualWeld")
- ManualWeld257 = Instance.new("ManualWeld")
- ManualWeld258 = Instance.new("ManualWeld")
- ManualWeld259 = Instance.new("ManualWeld")
- ManualWeld260 = Instance.new("ManualWeld")
- Part261 = Instance.new("Part")
- ManualWeld262 = Instance.new("ManualWeld")
- ManualWeld263 = Instance.new("ManualWeld")
- ManualWeld264 = Instance.new("ManualWeld")
- ManualWeld265 = Instance.new("ManualWeld")
- ManualWeld266 = Instance.new("ManualWeld")
- ManualWeld267 = Instance.new("ManualWeld")
- ManualWeld268 = Instance.new("ManualWeld")
- ManualWeld269 = Instance.new("ManualWeld")
- ManualWeld270 = Instance.new("ManualWeld")
- ManualWeld271 = Instance.new("ManualWeld")
- ManualWeld272 = Instance.new("ManualWeld")
- Model273 = Instance.new("Model")
- ManualWeld274 = Instance.new("ManualWeld")
- Part275 = Instance.new("Part")
- ManualWeld276 = Instance.new("ManualWeld")
- Part277 = Instance.new("Part")
- ManualWeld278 = Instance.new("ManualWeld")
- Part279 = Instance.new("Part")
- SpecialMesh280 = Instance.new("SpecialMesh")
- ManualWeld281 = Instance.new("ManualWeld")
- ManualWeld282 = Instance.new("ManualWeld")
- ManualWeld283 = Instance.new("ManualWeld")
- ScreenGui284 = Instance.new("ScreenGui")
- Frame285 = Instance.new("Frame")
- ImageLabel286 = Instance.new("ImageLabel")
- Frame287 = Instance.new("Frame")
- TextButton288 = Instance.new("TextButton")
- TextLabel289 = Instance.new("TextLabel")
- Frame290 = Instance.new("Frame")
- TextButton291 = Instance.new("TextButton")
- TextButton292 = Instance.new("TextButton")
- TextButton293 = Instance.new("TextButton")
- TextButton294 = Instance.new("TextButton")
- Frame295 = Instance.new("Frame")
- LocalScript296 = Instance.new("LocalScript")
- LocalScript297 = Instance.new("LocalScript")
- RemoteEvent298 = Instance.new("RemoteEvent")
- Script299 = Instance.new("Script")
- Script300 = Instance.new("Script")
- StringValue301 = Instance.new("StringValue")
- LocalScript302 = Instance.new("LocalScript")
- StringValue303 = Instance.new("StringValue")
- BoolValue304 = Instance.new("BoolValue")
- StringValue305 = Instance.new("StringValue")
- Script306 = Instance.new("Script")
- LocalScript307 = Instance.new("LocalScript")
- LocalScript308 = Instance.new("LocalScript")
- Frame309 = Instance.new("Frame")
- Frame310 = Instance.new("Frame")
- Frame311 = Instance.new("Frame")
- TextButton312 = Instance.new("TextButton")
- ScrollingFrame313 = Instance.new("ScrollingFrame")
- TextBox314 = Instance.new("TextBox")
- ScrollingFrame315 = Instance.new("ScrollingFrame")
- LocalScript316 = Instance.new("LocalScript")
- ScrollingFrame317 = Instance.new("ScrollingFrame")
- Frame318 = Instance.new("Frame")
- TextLabel319 = Instance.new("TextLabel")
- TextLabel320 = Instance.new("TextLabel")
- ImageButton321 = Instance.new("ImageButton")
- Frame322 = Instance.new("Frame")
- TextButton323 = Instance.new("TextButton")
- ScrollingFrame324 = Instance.new("ScrollingFrame")
- TextBox325 = Instance.new("TextBox")
- ScrollingFrame326 = Instance.new("ScrollingFrame")
- LocalScript327 = Instance.new("LocalScript")
- Frame328 = Instance.new("Frame")
- ScrollingFrame329 = Instance.new("ScrollingFrame")
- Frame330 = Instance.new("Frame")
- TextLabel331 = Instance.new("TextLabel")
- TextLabel332 = Instance.new("TextLabel")
- TextLabel333 = Instance.new("TextLabel")
- Frame334 = Instance.new("Frame")
- TextLabel335 = Instance.new("TextLabel")
- TextLabel336 = Instance.new("TextLabel")
- TextLabel337 = Instance.new("TextLabel")
- TextButton338 = Instance.new("TextButton")
- TextLabel339 = Instance.new("TextLabel")
- TextLabel340 = Instance.new("TextLabel")
- TextButton341 = Instance.new("TextButton")
- TextButton342 = Instance.new("TextButton")
- Frame343 = Instance.new("Frame")
- TextLabel344 = Instance.new("TextLabel")
- TextLabel345 = Instance.new("TextLabel")
- TextLabel346 = Instance.new("TextLabel")
- TextLabel347 = Instance.new("TextLabel")
- TextLabel348 = Instance.new("TextLabel")
- TextLabel349 = Instance.new("TextLabel")
- TextLabel350 = Instance.new("TextLabel")
- Frame351 = Instance.new("Frame")
- TextButton352 = Instance.new("TextButton")
- TextButton353 = Instance.new("TextButton")
- TextButton354 = Instance.new("TextButton")
- Frame355 = Instance.new("Frame")
- LocalScript356 = Instance.new("LocalScript")
- Frame357 = Instance.new("Frame")
- Frame358 = Instance.new("Frame")
- TextLabel359 = Instance.new("TextLabel")
- TextButton360 = Instance.new("TextButton")
- ScrollingFrame361 = Instance.new("ScrollingFrame")
- ImageLabel362 = Instance.new("ImageLabel")
- ScrollingFrame363 = Instance.new("ScrollingFrame")
- LocalScript364 = Instance.new("LocalScript")
- RemoteFunction365 = Instance.new("RemoteFunction")
- TextButton366 = Instance.new("TextButton")
- Frame367 = Instance.new("Frame")
- TextLabel368 = Instance.new("TextLabel")
- TextLabel369 = Instance.new("TextLabel")
- Script370 = Instance.new("Script")
- Script371 = Instance.new("Script")
- StringValue372 = Instance.new("StringValue")
- LocalScript373 = Instance.new("LocalScript")
- StringValue374 = Instance.new("StringValue")
- BoolValue375 = Instance.new("BoolValue")
- StringValue376 = Instance.new("StringValue")
- Script377 = Instance.new("Script")
- LocalScript378 = Instance.new("LocalScript")
- LocalScript379 = Instance.new("LocalScript")
- RemoteFunction380 = Instance.new("RemoteFunction")
- LocalScript381 = Instance.new("LocalScript")
- RemoteEvent382 = Instance.new("RemoteEvent")
- Frame383 = Instance.new("Frame")
- Frame384 = Instance.new("Frame")
- Frame385 = Instance.new("Frame")
- TextButton386 = Instance.new("TextButton")
- ScrollingFrame387 = Instance.new("ScrollingFrame")
- TextBox388 = Instance.new("TextBox")
- ScrollingFrame389 = Instance.new("ScrollingFrame")
- LocalScript390 = Instance.new("LocalScript")
- ScrollingFrame391 = Instance.new("ScrollingFrame")
- Frame392 = Instance.new("Frame")
- TextLabel393 = Instance.new("TextLabel")
- TextLabel394 = Instance.new("TextLabel")
- ImageButton395 = Instance.new("ImageButton")
- Frame396 = Instance.new("Frame")
- TextButton397 = Instance.new("TextButton")
- ScrollingFrame398 = Instance.new("ScrollingFrame")
- TextBox399 = Instance.new("TextBox")
- ScrollingFrame400 = Instance.new("ScrollingFrame")
- LocalScript401 = Instance.new("LocalScript")
- Frame402 = Instance.new("Frame")
- ScrollingFrame403 = Instance.new("ScrollingFrame")
- Frame404 = Instance.new("Frame")
- TextLabel405 = Instance.new("TextLabel")
- TextLabel406 = Instance.new("TextLabel")
- TextLabel407 = Instance.new("TextLabel")
- Frame408 = Instance.new("Frame")
- TextLabel409 = Instance.new("TextLabel")
- TextLabel410 = Instance.new("TextLabel")
- TextLabel411 = Instance.new("TextLabel")
- TextButton412 = Instance.new("TextButton")
- TextLabel413 = Instance.new("TextLabel")
- TextLabel414 = Instance.new("TextLabel")
- TextButton415 = Instance.new("TextButton")
- TextButton416 = Instance.new("TextButton")
- Frame417 = Instance.new("Frame")
- TextLabel418 = Instance.new("TextLabel")
- TextLabel419 = Instance.new("TextLabel")
- TextLabel420 = Instance.new("TextLabel")
- TextLabel421 = Instance.new("TextLabel")
- TextLabel422 = Instance.new("TextLabel")
- TextLabel423 = Instance.new("TextLabel")
- TextLabel424 = Instance.new("TextLabel")
- Frame425 = Instance.new("Frame")
- TextButton426 = Instance.new("TextButton")
- TextButton427 = Instance.new("TextButton")
- TextButton428 = Instance.new("TextButton")
- Frame429 = Instance.new("Frame")
- LocalScript430 = Instance.new("LocalScript")
- Frame431 = Instance.new("Frame")
- Frame432 = Instance.new("Frame")
- TextLabel433 = Instance.new("TextLabel")
- TextButton434 = Instance.new("TextButton")
- ScrollingFrame435 = Instance.new("ScrollingFrame")
- ImageLabel436 = Instance.new("ImageLabel")
- ScrollingFrame437 = Instance.new("ScrollingFrame")
- LocalScript438 = Instance.new("LocalScript")
- Frame439 = Instance.new("Frame")
- ImageLabel440 = Instance.new("ImageLabel")
- Frame441 = Instance.new("Frame")
- TextButton442 = Instance.new("TextButton")
- TextLabel443 = Instance.new("TextLabel")
- Frame444 = Instance.new("Frame")
- TextButton445 = Instance.new("TextButton")
- TextButton446 = Instance.new("TextButton")
- TextButton447 = Instance.new("TextButton")
- TextButton448 = Instance.new("TextButton")
- Frame449 = Instance.new("Frame")
- LocalScript450 = Instance.new("LocalScript")
- TextButton451 = Instance.new("TextButton")
- Frame452 = Instance.new("Frame")
- TextLabel453 = Instance.new("TextLabel")
- TextLabel454 = Instance.new("TextLabel")
- ParticleEmitter185.Name = "Aether1"
- ParticleEmitter185.Parent = mas
- ParticleEmitter185.Transparency = NumberSequence.new(1,0,1)
- ParticleEmitter185.Rotation = NumberRange.new(0, 360)
- ParticleEmitter185.Size = NumberSequence.new(0.875,1.5625)
- ParticleEmitter185.Color = ColorSequence.new(Color3.new(1, 0.933333, 0.541176),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter185.Enabled = false
- ParticleEmitter185.LightEmission = 0.20000000298023
- ParticleEmitter185.Texture = "http://www.roblox.com/asset/?id=445231898"
- ParticleEmitter185.Lifetime = NumberRange.new(2, 4)
- ParticleEmitter185.Rate = 80
- ParticleEmitter185.RotSpeed = NumberRange.new(-20, 20)
- ParticleEmitter185.Speed = NumberRange.new(0.20000000298023, 0.20000000298023)
- ParticleEmitter185.VelocitySpread = 360
- ParticleEmitter185.Color = ColorSequence.new(Color3.new(1, 0.933333, 0.541176),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter186.Name = "Aether2"
- ParticleEmitter186.Parent = mas
- ParticleEmitter186.Transparency = NumberSequence.new(1,0,1)
- ParticleEmitter186.Rotation = NumberRange.new(0, 360)
- ParticleEmitter186.Size = NumberSequence.new(0.875,1.5625)
- ParticleEmitter186.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter186.Enabled = false
- ParticleEmitter186.LightEmission = 0.20000000298023
- ParticleEmitter186.Texture = "http://www.roblox.com/asset/?id=445231746"
- ParticleEmitter186.Lifetime = NumberRange.new(2, 3)
- ParticleEmitter186.Rate = 80
- ParticleEmitter186.RotSpeed = NumberRange.new(-20, 20)
- ParticleEmitter186.Speed = NumberRange.new(0.20000000298023, 0.20000000298023)
- ParticleEmitter186.VelocitySpread = 360
- ParticleEmitter186.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter187.Name = "Aether3"
- ParticleEmitter187.Parent = mas
- ParticleEmitter187.Transparency = NumberSequence.new(1,0,0,1)
- ParticleEmitter187.Rotation = NumberRange.new(0, 360)
- ParticleEmitter187.Size = NumberSequence.new(2,2)
- ParticleEmitter187.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.662745),Color3.new(0.996078, 0.796078, 1),Color3.new(1, 0.992157, 0.886275))
- ParticleEmitter187.Enabled = false
- ParticleEmitter187.LightEmission = 1
- ParticleEmitter187.Texture = "http://www.roblox.com/asset/?id=398285173"
- ParticleEmitter187.ZOffset = 2
- ParticleEmitter187.Lifetime = NumberRange.new(2, 4)
- ParticleEmitter187.Rate = 120
- ParticleEmitter187.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter187.VelocitySpread = 360
- ParticleEmitter187.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.662745),Color3.new(0.996078, 0.796078, 1),Color3.new(1, 0.992157, 0.886275))
- ParticleEmitter188.Name = "Aether4"
- ParticleEmitter188.Parent = mas
- ParticleEmitter188.Transparency = NumberSequence.new(0.96100002527237,0.88749998807907,0.98000001907349)
- ParticleEmitter188.Size = NumberSequence.new(0.44444400072098,3.8125,5.3125,2.375)
- ParticleEmitter188.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.831373),Color3.new(1, 0.984314, 0.882353))
- ParticleEmitter188.Enabled = false
- ParticleEmitter188.LightEmission = 1
- ParticleEmitter188.Texture = "http://www.roblox.com/asset/?id=217245118"
- ParticleEmitter188.ZOffset = 3
- ParticleEmitter188.Lifetime = NumberRange.new(0.5, 0.5)
- ParticleEmitter188.Rate = 100
- ParticleEmitter188.Speed = NumberRange.new(0, 0)
- ParticleEmitter188.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.831373),Color3.new(1, 0.984314, 0.882353))
- Tool209.Name = "Conch"
- Tool209.Parent = mas
- Tool209.GripForward = Vector3.new(-0, 0.98480773, -0.173648193)
- Tool209.GripPos = Vector3.new(0, -0.542477846, 0.0603880882)
- Tool209.GripRight = Vector3.new(0.866025388, 0.0868240967, 0.492403865)
- Tool209.GripUp = Vector3.new(-0.5, 0.150383741, 0.852868497)
- BillboardGui210.Name = "G"
- BillboardGui210.Parent = mas
- BillboardGui210.Size = UDim2.new(4, 0, 1, 0)
- BillboardGui210.Enabled = false
- BillboardGui210.AlwaysOnTop = true
- BillboardGui210.StudsOffset = Vector3.new(0, 2, 0)
- TextLabel211.Name = "L"
- TextLabel211.Parent = BillboardGui210
- TextLabel211.Transparency = 1
- TextLabel211.Size = UDim2.new(1, 0, 1, 0)
- TextLabel211.Text = "Nothing."
- TextLabel211.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel211.BackgroundTransparency = 1
- TextLabel211.TextColor3 = Color3.new(0.490196, 0.407843, 0.729412)
- TextLabel211.TextScaled = true
- TextLabel211.TextStrokeColor3 = Color3.new(1, 0.847059, 0.45098)
- TextLabel211.TextStrokeTransparency = 0.40000000596046
- TextLabel211.TextWrapped = true
- TextLabel211.TextYAlignment = Enum.TextYAlignment.Bottom
- ParticleEmitter212.Name = "E"
- ParticleEmitter212.Parent = mas
- ParticleEmitter212.Transparency = NumberSequence.new(1,0,1)
- ParticleEmitter212.Rotation = NumberRange.new(0, 360)
- ParticleEmitter212.Size = NumberSequence.new(0.875,1.5625)
- ParticleEmitter212.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter212.Enabled = false
- ParticleEmitter212.LightEmission = 0.20000000298023
- ParticleEmitter212.Texture = "http://www.roblox.com/asset/?id=445231746"
- ParticleEmitter212.Lifetime = NumberRange.new(2, 3)
- ParticleEmitter212.Rate = 80
- ParticleEmitter212.RotSpeed = NumberRange.new(-20, 20)
- ParticleEmitter212.Speed = NumberRange.new(0.20000000298023, 0.20000000298023)
- ParticleEmitter212.VelocitySpread = 360
- ParticleEmitter212.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- Script213.Parent = Tool209
- table.insert(cors,sandbox(Script213,function()
- local ev=Instance.new("RemoteEvent",script.Parent)
- ev.Name="Conch"
- local function ConchEvent(p,number)
- script.Parent.Type.Value=number
- end
- ev.OnServerEvent:connect(ConchEvent)
- local Tool=script.Parent
- local Gui=Tool.Handle:WaitForChild("G")
- local L=Gui:WaitForChild("L")
- local SoundsIds={
- {448352003,"No."},
- {147760112,"Nothing."},
- {483414191,"Try asking again."},
- {483414204,"I don't think so."},
- {483972159,"Maybe some day."},
- {483977329,"Yes."}
- }
- local Cooldown=false
- local function Activate()
- if not Cooldown then
- Cooldown=true
- local rand=Tool.Type.Value
- local S=Instance.new("Sound",Tool.Handle)
- S.SoundId="rbxassetid://"..SoundsIds[rand][1]
- S.Volume=1
- S:Play()
- spawn(function()
- wait(3)
- S:Destroy()
- end)
- L.Text=SoundsIds[rand][2]
- Gui.Enabled=true
- Tool.Handle.E:Emit(10)
- wait(3)
- Gui.Enabled=false
- wait(.5)
- Cooldown=false
- end
- end
- Tool.Activated:connect(Activate)
- end))
- LocalScript214.Parent = Tool209
- table.insert(cors,sandbox(LocalScript214,function()
- local plr=game.Players.LocalPlayer
- local Input=game:GetService("UserInputService")
- Input.InputBegan:connect(function(input)
- if input.KeyCode==Enum.KeyCode.U and Input:GetFocusedTextBox()==nil then
- script.Parent.Conch:FireServer("1")
- end
- if input.KeyCode==Enum.KeyCode.I and Input:GetFocusedTextBox()==nil then
- script.Parent.Conch:FireServer("2")
- end
- if input.KeyCode==Enum.KeyCode.O and Input:GetFocusedTextBox()==nil then
- script.Parent.Conch:FireServer("3")
- end
- if input.KeyCode==Enum.KeyCode.P and Input:GetFocusedTextBox()==nil then
- script.Parent.Conch:FireServer("4")
- end
- if input.KeyCode==Enum.KeyCode.LeftBracket and Input:GetFocusedTextBox()==nil then
- script.Parent.Conch:FireServer("5")
- end
- if input.KeyCode==Enum.KeyCode.RightBracket and Input:GetFocusedTextBox()==nil then
- script.Parent.Conch:FireServer("6")
- end
- end)
- end))
- IntValue215.Name = "Type"
- IntValue215.Parent = Tool209
- IntValue215.Value = 1
- Sound216.Parent = Tool209
- Tool189.Name = "Olivia"
- Tool189.Parent = mas
- Tool189.TextureId = "rbxassetid://236599083"
- Tool189.GripForward = Vector3.new(1, 0, 0)
- Tool189.GripPos = Vector3.new(0, 2, 0)
- Tool189.GripRight = Vector3.new(0, 0, -1)
- Tool189.GripUp = Vector3.new(0, -1, 0)
- Tool189.ToolTip = "OathKeeper"
- Tool189.CanBeDropped = false
- Part190.Name = "Handle"
- Part190.Parent = Tool189
- Part190.BrickColor = BrickColor.new("Dark stone grey")
- Part190.Reflectance = 0.40000000596046
- Part190.Transparency = 1
- Part190.Rotation = Vector3.new(-90, 0, 0)
- Part190.CanCollide = false
- Part190.FormFactor = Enum.FormFactor.Custom
- Part190.Size = Vector3.new(0.638599575, 6.67512226, 0.894040227)
- Part190.CFrame = CFrame.new(2.280689, 4.09103489, 30.2925091, 1, 0, -3.11913445e-15, -3.11913445e-15, 0, 1, 0, -1, 0)
- Part190.BottomSurface = Enum.SurfaceType.Smooth
- Part190.TopSurface = Enum.SurfaceType.Smooth
- Part190.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part190.Position = Vector3.new(2.280689, 4.09103489, 30.2925091)
- Part190.Orientation = Vector3.new(-90, 0, 0)
- Part190.Color = Color3.new(0.388235, 0.372549, 0.384314)
- ManualWeld191.Name = "Weld"
- ManualWeld191.Parent = Part190
- ManualWeld191.C0 = CFrame.new(0, 0, 0, 1, -3.11913445e-15, 0, 0, 0, -1, -3.11913445e-15, 1, 0)
- ManualWeld191.C1 = CFrame.new(-0.0213336945, -1.9965806, -0.0587976575, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
- ManualWeld191.Part0 = Part190
- ManualWeld191.Part1 = Part194
- ManualWeld192.Name = "Weld"
- ManualWeld192.Parent = mas
- ManualWeld192.C0 = CFrame.new(0, 0, 0, 8.9408033e-08, 1, 3.6135458e-07, -3.725292e-07, -3.61354523e-07, 1, 1, -8.9408168e-08, 3.72529172e-07)
- ManualWeld192.C1 = CFrame.new(-0.009765625, -0.902000904, 1.1920929e-07, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
- ManualWeld192.Part0 = nil
- ManualWeld192.Part1 = Part194
- ManualWeld193.Name = "Weld"
- ManualWeld193.Parent = mas
- ManualWeld193.C0 = CFrame.new(0, 0, 0, -3.725292e-07, -1.48504768e-07, 1, 8.9408104e-08, 1, 1.48504796e-07, -1, 8.94081609e-08, -3.72529172e-07)
- ManualWeld193.C1 = CFrame.new(0.0011882782, -3.0788312, -0.00642350316, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
- ManualWeld193.Part0 = nil
- ManualWeld193.Part1 = Part194
- Part194.Name = "CylinderMesh1.0"
- Part194.Parent = Tool189
- Part194.Material = Enum.Material.Granite
- Part194.BrickColor = BrickColor.new("Pink")
- Part194.Rotation = Vector3.new(-90, 0, 0)
- Part194.CanCollide = false
- Part194.FormFactor = Enum.FormFactor.Custom
- Part194.Size = Vector3.new(0.200000003, 1.14180911, 0.200000003)
- Part194.CFrame = CFrame.new(2.30202341, 4.14983273, 28.295929, 1, 3.725292e-07, 8.94094825e-08, -8.94095464e-08, 1.55955462e-07, 1, 3.72529172e-07, -1, 1.5595549e-07)
- Part194.BottomSurface = Enum.SurfaceType.Smooth
- Part194.TopSurface = Enum.SurfaceType.Smooth
- Part194.Color = Color3.new(1, 0.4, 0.8)
- Part194.Position = Vector3.new(2.30202341, 4.14983273, 28.295929)
- Part194.Orientation = Vector3.new(-90, 0, 0)
- Part194.Color = Color3.new(1, 0.4, 0.8)
- CylinderMesh195.Parent = Part194
- ManualWeld196.Name = "Weld"
- ManualWeld196.Parent = mas
- ManualWeld196.C0 = CFrame.new(0, 0, 0, -1, 8.94095464e-08, -3.72529172e-07, 8.94094114e-08, 1, 3.6135458e-07, 3.725292e-07, 3.61354523e-07, -1)
- ManualWeld196.C1 = CFrame.new(0, 0.632318974, 3.87430191e-06, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
- ManualWeld196.Part0 = nil
- ManualWeld196.Part1 = Part194
- ManualWeld197.Name = "Weld"
- ManualWeld197.Parent = mas
- ManualWeld197.C0 = CFrame.new(0, 0, 0, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 3.61354523e-07, -1, 8.94094114e-08, 1, 3.6135458e-07)
- ManualWeld197.C1 = CFrame.new(0, -0.59699297, 0.00163406134, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
- ManualWeld197.Part0 = nil
- ManualWeld197.Part1 = Part194
- Script198.Name = "CharacterWeld"
- Script198.Parent = Tool189
- table.insert(cors,sandbox(Script198,function()
- -- Tool References
- local Tool = script.Parent
- local Player = script.Parent.Parent.Parent
- local Model = nil
- -- When the tool is unequipped
- Tool.Unequipped:connect(function()
- -- Define Character
- local Character = Player.Character
- -- Create the welded model
- Model = Instance.new("Model", Character)
- Model.Name = Tool.Name.."Weld"
- -- Weld all parts to the handle
- local Handle = Tool.Handle:Clone()
- Handle.Name = "Part"
- Handle.CanCollide = false
- Handle.Parent = Model
- for _,Item in pairs(Tool:GetChildren()) do
- if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
- if Item.Name ~= "Handle" then
- local Part = Item:Clone()
- Part.Name = "Part"
- local Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Part
- Weld.Part1 = Handle
- Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
- Part.Parent = Model
- end
- end
- end
- -- CFrame model to side
- local Weld = Instance.new("Weld")
- Weld.Parent = Handle
- Weld.Part0 = Handle
- Weld.Part1 = Player.Character.Torso
- Weld.C0 = CFrame.new(0, 0, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(40))
- end)
- -- When the tool is equipped
- Tool.Equipped:connect(function()
- -- Remove the tool when they re-equip sword
- if Model ~= nil then
- Model:Destroy()
- end
- end)
- end))
- Script199.Name = "SwordScript"
- Script199.Parent = Tool189
- table.insert(cors,sandbox(Script199,function()
- --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
- r = game:service("RunService")
- local damage = 5
- local slash_damage = 10
- local lunge_damage = 30
- sword = script.Parent.Handle
- Tool = script.Parent
- local fxToggled = false
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = sword
- SlashSound.Volume = .7
- local LungeSound = Instance.new("Sound")
- LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
- LungeSound.Parent = sword
- LungeSound.Volume = .6
- local UnsheathSound = Instance.new("Sound")
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Parent = sword
- UnsheathSound.Volume = 1
- function blow(hit)
- if (hit.Parent == nil) then return end
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid")
- if humanoid and humanoid ~= hum and hum then
- -- final check, make sure sword is in-hand
- local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
- if guygettingsliced then --If he's a player
- --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- --end
- else --If he's not a player (AI, shop, etc)
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- end
- --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- local fx=script.Parent:FindFirstChild("FX")
- local fx2=fx:FindFirstChild("Stroke")
- function lunge()
- damage = lunge_damage
- LungeSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Lunge"
- anim.Parent = Tool
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,10,0)
- force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
- force.Parent = Tool.Parent.Torso
- if fx and fx2 and fxToggled then fx2.Enabled=true end
- wait(.25)
- swordOut()
- wait(.25)
- force.Parent = nil
- wait(.5)
- swordUp()
- if fx and fx2 then fx2.Enabled=false end
- damage = slash_damage
- end
- function swordUp()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(0, -1, 0)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(-20, -1, 0)
- end
- function swordAcross()
- -- parry
- end
- Tool.Enabled = true
- local last_attack = 0
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local t = r.Stepped:wait()
- if (t - last_attack < .2) then
- lunge()
- else
- attack()
- end
- last_attack = t
- --wait(.5)
- Tool.Enabled = true
- end
- function onEquipped()
- UnsheathSound:play()
- end
- script.Parent.Effects.OnServerEvent:connect(function(p,toggle)
- local ch=script.Parent.FX:GetChildren()
- for i=1,#ch do
- if ch[i].ClassName=="ParticleEmitter" or ch[i].ClassName=="PointLight" then
- ch[i].Enabled=toggle
- end
- end
- spawn(function()
- wait(.5)
- script.Parent.FX.Stroke.Enabled=false
- end)
- fxToggled=toggle
- if not toggle then
- script.Parent.Blade.Material=Enum.Material.Metal
- script.Parent.Blade.BrickColor=BrickColor.new("Black")
- damage=5
- slash_damage=10
- lunge_damage=30
- else
- script.Parent.Blade.Material=Enum.Material.Neon
- script.Parent.Blade.BrickColor=BrickColor.new("Buttermilk")
- damage=5
- slash_damage=10
- lunge_damage=30
- end
- end)
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- connection = sword.Touched:connect(blow)
- end))
- LocalScript200.Parent = Tool189
- table.insert(cors,sandbox(LocalScript200,function()
- repeat wait() until game.Players.LocalPlayer.Character~=nil
- local plr=game.Players.LocalPlayer
- local chr=plr.Character
- local KeyPress=game:GetService("UserInputService")
- local Tool=script.Parent
- local ToolEquipped=false
- local fx=false
- KeyPress.InputBegan:connect(function(Key)
- if Key.KeyCode==Enum.KeyCode.E and ToolEquipped then
- fx = not fx
- script.Parent.Effects:FireServer(fx)
- end
- end)
- Tool.Equipped:connect(function()
- ToolEquipped=true
- end)
- Tool.Unequipped:connect(function()
- ToolEquipped=false
- end)
- end))
- RemoteEvent201.Name = "Effects"
- RemoteEvent201.Parent = Tool189
- Part202.Name = "FX"
- Part202.Parent = Tool189
- Part202.BrickColor = BrickColor.new("Dark stone grey")
- Part202.Reflectance = 0.40000000596046
- Part202.Transparency = 1
- Part202.Rotation = Vector3.new(-90, 0, 0)
- Part202.CanCollide = false
- Part202.FormFactor = Enum.FormFactor.Custom
- Part202.Size = Vector3.new(0.638599575, 4.47512245, 0.200000003)
- Part202.CFrame = CFrame.new(2.28068852, 4.14401436, 31.3925095, 1, 1.4477809e-14, -7.10542736e-15, -7.10542736e-15, 0, 1, -1.4477809e-14, -1, 0)
- Part202.BottomSurface = Enum.SurfaceType.Smooth
- Part202.TopSurface = Enum.SurfaceType.Smooth
- Part202.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part202.Position = Vector3.new(2.28068852, 4.14401436, 31.3925095)
- Part202.Orientation = Vector3.new(-90, 0, 0)
- Part202.Color = Color3.new(0.388235, 0.372549, 0.384314)
- ManualWeld203.Name = "Weld"
- ManualWeld203.Parent = Part202
- ManualWeld203.C0 = CFrame.new(0, 0, 0, 1, -3.11913445e-15, 0, 0, 0, -1, -3.11913445e-15, 1, 0)
- ManualWeld203.C1 = CFrame.new(-0.0213336945, -3.09658098, -0.00581765175, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
- ManualWeld203.Part0 = Part202
- ManualWeld203.Part1 = Part194
- ParticleEmitter204.Name = "Lightning1"
- ParticleEmitter204.Parent = Part202
- ParticleEmitter204.Transparency = NumberSequence.new(1,0.77777802944183,0.98000001907349)
- ParticleEmitter204.Rotation = NumberRange.new(0, 360)
- ParticleEmitter204.Size = NumberSequence.new(0.3125,0.5625,0.60509598255157,0.5,0.3821650147438)
- ParticleEmitter204.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
- ParticleEmitter204.Enabled = false
- ParticleEmitter204.LightEmission = 0.60000002384186
- ParticleEmitter204.Texture = "rbxassetid://203216563"
- ParticleEmitter204.Lifetime = NumberRange.new(1, 3)
- ParticleEmitter204.Rate = 40
- ParticleEmitter204.RotSpeed = NumberRange.new(-500, 500)
- ParticleEmitter204.Speed = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter204.VelocitySpread = 360
- ParticleEmitter204.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
- ParticleEmitter205.Name = "Lightning2"
- ParticleEmitter205.Parent = Part202
- ParticleEmitter205.Transparency = NumberSequence.new(0,0.46857100725174,0.77777802944183,0.98000001907349)
- ParticleEmitter205.Rotation = NumberRange.new(0, 360)
- ParticleEmitter205.Size = NumberSequence.new(0.15923599898815,0.35031899809837)
- ParticleEmitter205.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
- ParticleEmitter205.Enabled = false
- ParticleEmitter205.LightEmission = 0.60000002384186
- ParticleEmitter205.Texture = "http://www.roblox.com/asset/?id=296659257"
- ParticleEmitter205.Lifetime = NumberRange.new(2, 3)
- ParticleEmitter205.Rate = 80
- ParticleEmitter205.RotSpeed = NumberRange.new(-30, 30)
- ParticleEmitter205.Speed = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter205.VelocitySpread = 360
- ParticleEmitter205.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
- ParticleEmitter206.Name = "Lightning3"
- ParticleEmitter206.Parent = Part202
- ParticleEmitter206.Transparency = NumberSequence.new(1,0,0,0,0,0.98000001907349)
- ParticleEmitter206.Rotation = NumberRange.new(0, 360)
- ParticleEmitter206.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter206.Color = ColorSequence.new(Color3.new(1, 0.898039, 0.490196),Color3.new(0.701961, 0.223529, 1))
- ParticleEmitter206.Enabled = false
- ParticleEmitter206.LightEmission = 0.69999998807907
- ParticleEmitter206.Texture = "rbxassetid://289770974"
- ParticleEmitter206.Acceleration = Vector3.new(0, -1, 1)
- ParticleEmitter206.Lifetime = NumberRange.new(2, 3)
- ParticleEmitter206.RotSpeed = NumberRange.new(-30, 30)
- ParticleEmitter206.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter206.VelocitySpread = 360
- ParticleEmitter206.Color = ColorSequence.new(Color3.new(1, 0.898039, 0.490196),Color3.new(0.701961, 0.223529, 1))
- PointLight207.Parent = Part202
- PointLight207.Color = Color3.new(1, 0.647059, 0.964706)
- PointLight207.Enabled = false
- PointLight207.Color = Color3.new(1, 0.647059, 0.964706)
- ParticleEmitter208.Name = "Stroke"
- ParticleEmitter208.Parent = Part202
- ParticleEmitter208.Transparency = NumberSequence.new(0.20454500615597,1)
- ParticleEmitter208.Rotation = NumberRange.new(0, 360)
- ParticleEmitter208.Size = NumberSequence.new(1.125,0.8125,2.3333299160004)
- ParticleEmitter208.Color = ColorSequence.new(Color3.new(0.945098, 0.537255, 0.980392),Color3.new(0, 0, 0))
- ParticleEmitter208.Enabled = false
- ParticleEmitter208.LightEmission = 0.20000000298023
- ParticleEmitter208.Texture = "http://www.roblox.com/asset/?id=296659257"
- ParticleEmitter208.Acceleration = Vector3.new(0, 0, 0.100000001)
- ParticleEmitter208.Lifetime = NumberRange.new(1, 2)
- ParticleEmitter208.Rate = 200
- ParticleEmitter208.RotSpeed = NumberRange.new(-25, 25)
- ParticleEmitter208.Speed = NumberRange.new(0, 0.10000000149012)
- ParticleEmitter208.Color = ColorSequence.new(Color3.new(0.945098, 0.537255, 0.980392),Color3.new(0, 0, 0))
- Tool217.Name = "Saber"
- Tool217.Parent = mas
- Tool217.GripForward = Vector3.new(1, 0, 0)
- Tool217.GripPos = Vector3.new(0, 2, 0)
- Tool217.GripRight = Vector3.new(0, 0, -1)
- Tool217.GripUp = Vector3.new(0, -1, 0)
- Tool217.ToolTip = "Whalers' Officer Sword"
- Tool217.CanBeDropped = false
- Part218.Name = "Handle"
- Part218.Parent = Tool217
- Part218.BrickColor = BrickColor.new("Dark stone grey")
- Part218.Reflectance = 0.40000000596046
- Part218.Transparency = 1
- Part218.Rotation = Vector3.new(180, 0, 0)
- Part218.CanCollide = false
- Part218.FormFactor = Enum.FormFactor.Custom
- Part218.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
- Part218.CFrame = CFrame.new(2.58068109, 12.5142584, 36.8965454, 1, -1.60071464e-22, 6.23826806e-15, 2.11758237e-22, -1, -5.96046377e-08, 6.23826806e-15, 5.96046377e-08, -1)
- Part218.BottomSurface = Enum.SurfaceType.Smooth
- Part218.TopSurface = Enum.SurfaceType.Smooth
- Part218.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part218.Position = Vector3.new(2.58068109, 12.5142584, 36.8965454)
- Part218.Orientation = Vector3.new(0, 180, 180)
- Part218.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Model219.Name = "Sheath"
- Model219.Parent = Tool217
- ManualWeld220.Name = "Weld"
- ManualWeld220.Parent = mas
- ManualWeld220.C0 = CFrame.new(0, 0, 0, -1, -1.53841295e-32, 6.46234854e-27, -6.46234854e-27, -5.5719318e-15, 1, 1.53369319e-32, 1, -5.5719318e-15)
- ManualWeld220.C1 = CFrame.new(-0.0213623047, -0.000297546387, 1.8490715, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld220.Part0 = nil
- ManualWeld220.Part1 = nil
- ManualWeld221.Name = "Weld"
- ManualWeld221.Parent = mas
- ManualWeld221.C0 = CFrame.new(0, 0, 0, -1, -1.53841295e-32, 6.46234854e-27, -6.46234854e-27, -5.5719318e-15, 1, 1.53369319e-32, 1, -5.5719318e-15)
- ManualWeld221.C1 = CFrame.new(0.00109481812, -0.000293731689, -1.53172398, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld221.Part0 = nil
- ManualWeld221.Part1 = nil
- Part222.Name = "Handle"
- Part222.Parent = Model219
- Part222.BrickColor = BrickColor.new("Dark stone grey")
- Part222.Reflectance = 0.40000000596046
- Part222.Transparency = 1
- Part222.Rotation = Vector3.new(180, 0, 0)
- Part222.CanCollide = false
- Part222.FormFactor = Enum.FormFactor.Custom
- Part222.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
- Part222.CFrame = CFrame.new(2.58068109, 12.5142584, 36.8965454, 1, -1.60071464e-22, 6.23826806e-15, 2.11758237e-22, -1, -5.96046377e-08, 6.23826806e-15, 5.96046377e-08, -1)
- Part222.BottomSurface = Enum.SurfaceType.Smooth
- Part222.TopSurface = Enum.SurfaceType.Smooth
- Part222.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part222.Position = Vector3.new(2.58068109, 12.5142584, 36.8965454)
- Part222.Orientation = Vector3.new(0, 180, 180)
- Part222.Color = Color3.new(0.388235, 0.372549, 0.384314)
- ManualWeld223.Name = "Weld"
- ManualWeld223.Parent = Part222
- ManualWeld223.C0 = CFrame.new(0, 0, 0, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld223.C1 = CFrame.new(-0.0770301819, 0.0458289385, -0.344614983, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld223.Part0 = Part222
- ManualWeld223.Part1 = nil
- ManualWeld224.Name = "Weld"
- ManualWeld224.Parent = mas
- ManualWeld224.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld224.C1 = CFrame.new(-0.0816249847, 1.77062011, 0.062302351, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld224.Part0 = nil
- ManualWeld224.Part1 = Part218
- ManualWeld225.Name = "Weld"
- ManualWeld225.Parent = mas
- ManualWeld225.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld225.C1 = CFrame.new(-0.0652732849, -0.336987495, 0.0498373508, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld225.Part0 = nil
- ManualWeld225.Part1 = Part218
- ParticleEmitter226.Name = "ASD1"
- ParticleEmitter226.Parent = mas
- ParticleEmitter226.Transparency = NumberSequence.new(0.96100002527237,0.90643298625946,0.98000001907349)
- ParticleEmitter226.Size = NumberSequence.new(0.44444400072098,3.8125,0.73248398303986,2.375)
- ParticleEmitter226.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
- ParticleEmitter226.Enabled = false
- ParticleEmitter226.LightEmission = 1
- ParticleEmitter226.Texture = "http://www.roblox.com/asset/?id=217245118"
- ParticleEmitter226.ZOffset = 1.2000000476837
- ParticleEmitter226.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter226.Rate = 50
- ParticleEmitter226.Speed = NumberRange.new(0, 0)
- ParticleEmitter226.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
- ParticleEmitter227.Name = "ASD2"
- ParticleEmitter227.Parent = mas
- ParticleEmitter227.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter227.Rotation = NumberRange.new(0, 360)
- ParticleEmitter227.Size = NumberSequence.new(2,2)
- ParticleEmitter227.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
- ParticleEmitter227.Enabled = false
- ParticleEmitter227.LightEmission = 1
- ParticleEmitter227.Texture = "http://www.roblox.com/asset/?id=398285173"
- ParticleEmitter227.ZOffset = 1
- ParticleEmitter227.Acceleration = Vector3.new(0, 0.5, 0)
- ParticleEmitter227.Lifetime = NumberRange.new(1, 3)
- ParticleEmitter227.Rate = 30
- ParticleEmitter227.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter227.VelocitySpread = 360
- ParticleEmitter227.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
- PointLight228.Parent = mas
- PointLight228.Color = Color3.new(1, 0.85098, 0.00392157)
- PointLight228.Enabled = false
- PointLight228.Range = 10
- PointLight228.Color = Color3.new(1, 0.85098, 0.00392157)
- ParticleEmitter229.Name = "Stroke"
- ParticleEmitter229.Parent = mas
- ParticleEmitter229.Transparency = NumberSequence.new(0.20454500615597,1)
- ParticleEmitter229.Rotation = NumberRange.new(0, 360)
- ParticleEmitter229.Size = NumberSequence.new(1.6013100147247,0.8125,1.7647099494934,3.0718998908997)
- ParticleEmitter229.Color = ColorSequence.new(Color3.new(0.980392, 0.921569, 0.588235),Color3.new(1, 1, 1))
- ParticleEmitter229.Enabled = false
- ParticleEmitter229.LightEmission = 0.20000000298023
- ParticleEmitter229.Texture = "http://www.roblox.com/asset/?id=296659257"
- ParticleEmitter229.Acceleration = Vector3.new(0, 0, 0.200000003)
- ParticleEmitter229.Lifetime = NumberRange.new(1, 3)
- ParticleEmitter229.Rate = 300
- ParticleEmitter229.RotSpeed = NumberRange.new(-25, 25)
- ParticleEmitter229.Speed = NumberRange.new(0, 0.10000000149012)
- ParticleEmitter229.Color = ColorSequence.new(Color3.new(0.980392, 0.921569, 0.588235),Color3.new(1, 1, 1))
- ManualWeld230.Name = "Weld"
- ManualWeld230.Parent = mas
- ManualWeld230.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld230.C1 = CFrame.new(-0.0854969025, 1.76604128, -0.13350749, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld230.Part0 = nil
- ManualWeld230.Part1 = Part218
- Script231.Name = "CharacterWeld"
- Script231.Parent = Tool217
- table.insert(cors,sandbox(Script231,function()
- -- Tool References
- local Tool = script.Parent
- local Player = script.Parent.Parent.Parent
- local Model = nil
- -- When the tool is unequipped
- local weldTypes={
- [Enum.HumanoidRigType.R6]={CFrame.new(0, 0, 0, 0.0547484495, -0.865400016, -0.498081446, 0.0722314417, 0.500955105, -0.862453759, 0.99588418, 0.0112408586, 0.0899356306),CFrame.new(-1.15534592, -1.66430891, 0.736231804, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)},
- [Enum.HumanoidRigType.R15]={CFrame.new(0, 0, 0, -0.99588418, -0.0112408306, -0.0899356827, -0.0722315013, -0.500955224, 0.862453759, -0.0547484495, 0.865400255, 0.498081446),CFrame.new(-1.10471725, -0.766994357, 0.76199913, 1, 2.1789784e-020, 0, 2.17897872e-020, 0.999999881, 0, 0, 0, 1)}
- }
- local part1Attachment={
- [Enum.HumanoidRigType.R6]="Torso",
- [Enum.HumanoidRigType.R15]="LowerTorso"
- }
- Tool.Unequipped:connect(function()
- -- Define Character
- local Character = Player.Character
- -- Create the welded model
- Model = Instance.new("Model", Character)
- Model.Name = Tool.Name.."Weld"
- -- Weld all parts to the handle
- local Handle = Tool.Handle:Clone()
- Handle.Name = "Part"
- Handle.CanCollide = false
- Handle.Parent = Model
- for _,Item in pairs(Tool:GetChildren()) do
- if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
- if Item.Name ~= "Handle" then
- local Part = Item:Clone()
- Part.Name = "Part"
- local Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Part
- Weld.Part1 = Handle
- Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
- Part.Parent = Model
- end
- end
- end
- -- CFrame model to side
- local Weld = Instance.new("Weld")
- Weld.Parent = Handle
- Weld.Part0 = Handle
- Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]--Player.Character.Torso
- Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
- Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
- end)
- -- When the tool is equipped
- Tool.Equipped:connect(function()
- -- Remove the tool when they re-equip sword
- if not Player.Character:FindFirstChild("Sheath") then
- local SheathModel=script.Parent.Sheath
- SheathModel.Parent=Player.Character
- local Weld = Instance.new("Weld")
- Weld.Parent = SheathModel.Handle
- Weld.Part0 = SheathModel.Handle
- Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]
- Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
- Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
- end
- if Model ~= nil then
- Model:Destroy()
- end
- end)
- end))
- Script232.Name = "SwordScript"
- Script232.Parent = Tool217
- table.insert(cors,sandbox(Script232,function()
- --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
- r = game:service("RunService")
- local damage = 5
- local slash_damage = 10
- local lunge_damage = 30
- sword = script.Parent.Handle
- Tool = script.Parent
- local fxToggled = false
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = sword
- SlashSound.Volume = .7
- local LungeSound = Instance.new("Sound")
- LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
- LungeSound.Parent = sword
- LungeSound.Volume = .6
- local UnsheathSound = Instance.new("Sound")
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Parent = sword
- UnsheathSound.Volume = 1
- function blow(hit)
- if (hit.Parent == nil) then return end
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid")
- if humanoid and humanoid ~= hum and hum then
- -- final check, make sure sword is in-hand
- local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
- if guygettingsliced then --If he's a player
- --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- --end
- else --If he's not a player (AI, shop, etc)
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- end
- --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- local fx=script.Parent:FindFirstChild("Blade")
- local fx2=script.Parent.Blade:FindFirstChild("Stroke")
- function lunge()
- damage = lunge_damage
- LungeSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Lunge"
- anim.Parent = Tool
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,10,0)
- force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
- force.Parent = Tool.Parent.Torso
- if fx and fx2 and fxToggled then fx2.Enabled=true end
- wait(.25)
- swordOut()
- wait(.25)
- force.Parent = nil
- wait(.5)
- swordUp()
- if fx and fx2 then fx2.Enabled=false end
- damage = slash_damage
- end
- function swordUp()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(0, -1, 0)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(-20, -1, 0)
- end
- function swordAcross()
- -- parry
- end
- Tool.Enabled = true
- local last_attack = 0
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local t = r.Stepped:wait()
- if (t - last_attack < .2) then
- lunge()
- else
- attack()
- end
- last_attack = t
- --wait(.5)
- Tool.Enabled = true
- end
- function onEquipped()
- UnsheathSound:play()
- end
- script.Parent.Effects.OnServerEvent:connect(function(p,toggle)
- local ch=script.Parent.Blade:GetChildren()
- for i=1,#ch do
- if ch[i].ClassName=="ParticleEmitter" or ch[i].ClassName=="PointLight" then
- ch[i].Enabled=toggle
- end
- end
- spawn(function()
- wait(.5)
- script.Parent.Blade.Stroke.Enabled=false
- end)
- fxToggled=toggle
- if not toggle then
- script.Parent.Blade.Material=Enum.Material.Metal
- script.Parent.Blade.BrickColor=BrickColor.new("Institutional white")
- damage=5
- slash_damage=10
- lunge_damage=30
- else
- script.Parent.Blade.Material=Enum.Material.Neon
- script.Parent.Blade.BrickColor=BrickColor.new("Cool yellow")
- damage=15
- slash_damage=20
- lunge_damage=50
- end
- end)
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- connection = sword.Touched:connect(blow)
- end))
- LocalScript233.Parent = Tool217
- table.insert(cors,sandbox(LocalScript233,function()
- repeat wait() until game.Players.LocalPlayer.Character~=nil
- local plr=game.Players.LocalPlayer
- local chr=plr.Character
- local KeyPress=game:GetService("UserInputService")
- local Tool=script.Parent
- local ToolEquipped=false
- local fx=false
- KeyPress.InputBegan:connect(function(Key)
- if Key.KeyCode==Enum.KeyCode.E and ToolEquipped then
- fx = not fx
- script.Parent.Effects:FireServer(fx)
- end
- end)
- Tool.Equipped:connect(function()
- ToolEquipped=true
- end)
- Tool.Unequipped:connect(function()
- ToolEquipped=false
- end)
- end))
- RemoteEvent234.Name = "Effects"
- RemoteEvent234.Parent = Tool217
- Tool235.Name = "Stars"
- Tool235.Parent = mas
- Tool235.GripForward = Vector3.new(1, 0, 0)
- Tool235.GripPos = Vector3.new(0, 2, 0)
- Tool235.GripRight = Vector3.new(0, 0, -1)
- Tool235.GripUp = Vector3.new(0, -1, 0)
- Tool235.ToolTip = "Whalers' Officer Sword"
- Tool235.CanBeDropped = false
- Part236.Name = "Handle"
- Part236.Parent = Tool235
- Part236.BrickColor = BrickColor.new("Dark stone grey")
- Part236.Reflectance = 0.40000000596046
- Part236.Transparency = 1
- Part236.Rotation = Vector3.new(180, 0, 0)
- Part236.CanCollide = false
- Part236.FormFactor = Enum.FormFactor.Custom
- Part236.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
- Part236.CFrame = CFrame.new(51.3806801, 9.38865376, 545.796448, 1.00000083, -1.00867403e-22, 7.02134494e-15, -4.43255605e-29, -1.00000083, -5.96046803e-08, 2.54677142e-15, 5.96046519e-08, -1)
- Part236.BottomSurface = Enum.SurfaceType.Smooth
- Part236.TopSurface = Enum.SurfaceType.Smooth
- Part236.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part236.Position = Vector3.new(51.3806801, 9.38865376, 545.796448)
- Part236.Orientation = Vector3.new(0, 180, -180)
- Part236.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script237.Name = "CharacterWeld"
- Script237.Parent = Tool235
- table.insert(cors,sandbox(Script237,function()
- -- Tool References
- local Tool = script.Parent
- local Player = script.Parent.Parent.Parent
- local Model = nil
- -- When the tool is unequipped
- local weldTypes={
- [Enum.HumanoidRigType.R6]={CFrame.new(0, 0, 0, 0.0547484495, -0.865400016, -0.498081446, 0.0722314417, 0.500955105, -0.862453759, 0.99588418, 0.0112408586, 0.0899356306),CFrame.new(-1.15534592, -1.66430891, 0.736231804, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)},
- [Enum.HumanoidRigType.R15]={CFrame.new(0, 0, 0, -0.99588418, -0.0112408306, -0.0899356827, -0.0722315013, -0.500955224, 0.862453759, -0.0547484495, 0.865400255, 0.498081446),CFrame.new(-1.10471725, -0.766994357, 0.76199913, 1, 2.1789784e-020, 0, 2.17897872e-020, 0.999999881, 0, 0, 0, 1)}
- }
- local part1Attachment={
- [Enum.HumanoidRigType.R6]="Torso",
- [Enum.HumanoidRigType.R15]="LowerTorso"
- }
- Tool.Unequipped:connect(function()
- -- Define Character
- local Character = Player.Character
- -- Create the welded model
- Model = Instance.new("Model", Character)
- Model.Name = Tool.Name.."Weld"
- -- Weld all parts to the handle
- local Handle = Tool.Handle:Clone()
- Handle.Name = "Part"
- Handle.CanCollide = false
- Handle.Parent = Model
- for _,Item in pairs(Tool:GetChildren()) do
- if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
- if Item.Name ~= "Handle" then
- local Part = Item:Clone()
- Part.Name = "Part"
- local Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Part
- Weld.Part1 = Handle
- Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
- Part.Parent = Model
- end
- end
- end
- -- CFrame model to side
- local Weld = Instance.new("Weld")
- Weld.Parent = Handle
- Weld.Part0 = Handle
- Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]--Player.Character.Torso
- Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
- Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
- end)
- -- When the tool is equipped
- Tool.Equipped:connect(function()
- -- Remove the tool when they re-equip sword
- if Model ~= nil then
- Model:Destroy()
- end
- end)
- end))
- Script238.Name = "SwordScript"
- Script238.Parent = Tool235
- table.insert(cors,sandbox(Script238,function()
- --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
- r = game:service("RunService")
- local damage = 5
- local slash_damage = 10
- local lunge_damage = 30
- sword = script.Parent.Handle
- Tool = script.Parent
- local fxToggled = false
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = sword
- SlashSound.Volume = .7
- local LungeSound = Instance.new("Sound")
- LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
- LungeSound.Parent = sword
- LungeSound.Volume = .6
- local UnsheathSound = Instance.new("Sound")
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Parent = sword
- UnsheathSound.Volume = 1
- function blow(hit)
- if (hit.Parent == nil) then return end
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid")
- if humanoid and humanoid ~= hum and hum then
- -- final check, make sure sword is in-hand
- local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
- if guygettingsliced then --If he's a player
- --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- --end
- else --If he's not a player (AI, shop, etc)
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- end
- --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- local fx=script.Parent:FindFirstChild("Blade")
- local fx2=script.Parent.Blade:FindFirstChild("Stroke")
- function lunge()
- damage = lunge_damage
- LungeSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Lunge"
- anim.Parent = Tool
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,10,0)
- force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
- force.Parent = Tool.Parent.Torso
- if fx and fx2 and fxToggled then fx2.Enabled=true end
- wait(.25)
- swordOut()
- wait(.25)
- force.Parent = nil
- wait(.5)
- swordUp()
- if fx and fx2 then fx2.Enabled=false end
- damage = slash_damage
- end
- function swordUp()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(0, -1, 0)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(-20, -1, 0)
- end
- function swordAcross()
- -- parry
- end
- Tool.Enabled = true
- local last_attack = 0
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local t = r.Stepped:wait()
- if (t - last_attack < .2) then
- lunge()
- else
- attack()
- end
- last_attack = t
- --wait(.5)
- Tool.Enabled = true
- end
- function onEquipped()
- UnsheathSound:play()
- end
- script.Parent.Effects.OnServerEvent:connect(function(p,toggle)
- local ch=script.Parent.Blade:GetChildren()
- for i=1,#ch do
- if ch[i].ClassName=="ParticleEmitter" then
- ch[i].Enabled=toggle
- end
- end
- spawn(function()
- wait(.5)
- script.Parent.Blade.Stroke.Enabled=false
- end)
- fxToggled=toggle
- if not toggle then
- script.Parent.Neon.Material=Enum.Material.Metal
- script.Parent.Neon.BrickColor=BrickColor.new("Cool yellow")
- script.Parent.NeonBlade.Material=Enum.Material.Metal
- script.Parent.NeonBlade.BrickColor=BrickColor.new("Medium stone grey")
- damage=5
- slash_damage=10
- lunge_damage=30
- else
- script.Parent.Neon.Material=Enum.Material.Neon
- script.Parent.Neon.BrickColor=BrickColor.new("Cool yellow")
- script.Parent.NeonBlade.Material=Enum.Material.Neon
- script.Parent.NeonBlade.BrickColor=BrickColor.new("Cork")
- damage=15
- slash_damage=20
- lunge_damage=50
- end
- end)
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- connection = sword.Touched:connect(blow)
- end))
- LocalScript239.Parent = Tool235
- table.insert(cors,sandbox(LocalScript239,function()
- repeat wait() until game.Players.LocalPlayer.Character~=nil
- local plr=game.Players.LocalPlayer
- local chr=plr.Character
- local KeyPress=game:GetService("UserInputService")
- local Tool=script.Parent
- local ToolEquipped=false
- local fx=false
- KeyPress.InputBegan:connect(function(Key)
- if Key.KeyCode==Enum.KeyCode.E and ToolEquipped then
- fx = not fx
- script.Parent.Effects:FireServer(fx)
- end
- end)
- Tool.Equipped:connect(function()
- ToolEquipped=true
- end)
- Tool.Unequipped:connect(function()
- ToolEquipped=false
- end)
- end))
- RemoteEvent240.Name = "Effects"
- RemoteEvent240.Parent = Tool235
- ManualWeld241.Name = "Weld"
- ManualWeld241.Parent = mas
- ManualWeld241.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
- ManualWeld241.C1 = CFrame.new(-0.111595154, -0.181357384, 0.0515365601, 1.00000012, 0, 6.23826806e-15, 0, -1.00000012, 5.96046377e-08, 7.10542736e-15, -5.96046412e-08, -1)
- ManualWeld241.Part0 = nil
- ManualWeld241.Part1 = Part236
- ManualWeld242.Name = "Weld"
- ManualWeld242.Parent = mas
- ManualWeld242.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
- ManualWeld242.C1 = CFrame.new(-0.157051086, 1.47907066, 0.0514755249, 1.00000012, 0, 6.23826806e-15, 0, -1.00000012, 5.96046377e-08, 7.10542736e-15, -5.96046412e-08, -1)
- ManualWeld242.Part0 = nil
- ManualWeld242.Part1 = Part236
- ManualWeld243.Name = "Weld"
- ManualWeld243.Parent = mas
- ManualWeld243.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
- ManualWeld243.C1 = CFrame.new(-0.0959625244, -0.409609795, 0.0515365601, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld243.Part0 = nil
- ManualWeld243.Part1 = Part236
- ManualWeld244.Name = "Weld"
- ManualWeld244.Parent = mas
- ManualWeld244.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
- ManualWeld244.C1 = CFrame.new(-0.0471954346, 2.07928133, 0.0489425659, 1.00000012, 0, 6.23826806e-15, 0, -1.00000012, 5.96046377e-08, 7.10542736e-15, -5.96046412e-08, -1)
- ManualWeld244.Part0 = nil
- ManualWeld244.Part1 = Part236
- ManualWeld245.Name = "Weld"
- ManualWeld245.Parent = mas
- ManualWeld245.C0 = CFrame.new(0, 0, 0, 0.342137009, -0.0113129998, 0.93958199, 0.665296674, 0.709051788, -0.233722121, -0.663568139, 0.705065727, 0.250119299)
- ManualWeld245.C1 = CFrame.new(-0.0302352905, -0.740633965, 0.103126526, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld245.Part0 = nil
- ManualWeld245.Part1 = Part236
- PointLight246.Parent = mas
- PointLight246.Color = Color3.new(1, 0.85098, 0.00392157)
- PointLight246.Enabled = false
- PointLight246.Range = 10
- PointLight246.Color = Color3.new(1, 0.85098, 0.00392157)
- ParticleEmitter247.Name = "Stroke"
- ParticleEmitter247.Parent = mas
- ParticleEmitter247.Transparency = NumberSequence.new(0.20454500615597,1)
- ParticleEmitter247.Rotation = NumberRange.new(0, 360)
- ParticleEmitter247.Size = NumberSequence.new(0.375,0.3125,1.5625)
- ParticleEmitter247.Color = ColorSequence.new(Color3.new(0.980392, 0.886275, 0.537255),Color3.new(0.654902, 0.592157, 0.913725),Color3.new(0.682353, 0.619608, 1))
- ParticleEmitter247.Enabled = false
- ParticleEmitter247.LightEmission = 0.25999999046326
- ParticleEmitter247.Texture = "http://www.roblox.com/asset/?id=296659257"
- ParticleEmitter247.Acceleration = Vector3.new(0, 0, 0.200000003)
- ParticleEmitter247.Lifetime = NumberRange.new(1, 3)
- ParticleEmitter247.Rate = 300
- ParticleEmitter247.RotSpeed = NumberRange.new(-25, 25)
- ParticleEmitter247.Speed = NumberRange.new(0, 0.10000000149012)
- ParticleEmitter247.Color = ColorSequence.new(Color3.new(0.980392, 0.886275, 0.537255),Color3.new(0.654902, 0.592157, 0.913725),Color3.new(0.682353, 0.619608, 1))
- ParticleEmitter248.Name = "ASD2"
- ParticleEmitter248.Parent = mas
- ParticleEmitter248.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter248.Rotation = NumberRange.new(0, 360)
- ParticleEmitter248.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
- ParticleEmitter248.Enabled = false
- ParticleEmitter248.LightEmission = 1
- ParticleEmitter248.Texture = "http://www.roblox.com/asset/?id=398285173"
- ParticleEmitter248.ZOffset = 1
- ParticleEmitter248.Lifetime = NumberRange.new(1, 3)
- ParticleEmitter248.Rate = 30
- ParticleEmitter248.Speed = NumberRange.new(0.10000000149012, 0.20000000298023)
- ParticleEmitter248.VelocitySpread = 360
- ParticleEmitter248.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
- ManualWeld249.Name = "Weld"
- ManualWeld249.Parent = mas
- ManualWeld249.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld249.C1 = CFrame.new(0.0347213745, -0.21780777, -0.050163269, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld249.Part0 = nil
- ManualWeld249.Part1 = Part236
- Tool250.Name = "Sword"
- Tool250.Parent = mas
- Tool250.GripForward = Vector3.new(1, 0, 0)
- Tool250.GripPos = Vector3.new(0, 2, 0)
- Tool250.GripRight = Vector3.new(0, 0, -1)
- Tool250.GripUp = Vector3.new(0, -1, 0)
- Tool250.ToolTip = "Whalers' Officer Sword"
- Tool250.CanBeDropped = false
- Script251.Name = "SwordScript"
- Script251.Parent = Tool250
- table.insert(cors,sandbox(Script251,function()
- --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
- r = game:service("RunService")
- local damage = 5
- local slash_damage = 10
- local lunge_damage = 30
- sword = script.Parent.Handle
- Tool = script.Parent
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = sword
- SlashSound.Volume = .7
- local LungeSound = Instance.new("Sound")
- LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
- LungeSound.Parent = sword
- LungeSound.Volume = .6
- local UnsheathSound = Instance.new("Sound")
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Parent = sword
- UnsheathSound.Volume = 1
- function blow(hit)
- if (hit.Parent == nil) then return end
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid")
- if humanoid and humanoid ~= hum and hum then
- -- final check, make sure sword is in-hand
- local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
- if guygettingsliced then --If he's a player
- --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- --end
- else --If he's not a player (AI, shop, etc)
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- end
- --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- function lunge()
- damage = lunge_damage
- LungeSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Lunge"
- anim.Parent = Tool
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,10,0)
- force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
- force.Parent = Tool.Parent.Torso
- wait(.25)
- swordOut()
- wait(.25)
- force.Parent = nil
- wait(.5)
- swordUp()
- damage = slash_damage
- end
- function swordUp()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(0, -1, 0)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(-20, -1, 0)
- end
- function swordAcross()
- -- parry
- end
- Tool.Enabled = true
- local last_attack = 0
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local t = r.Stepped:wait()
- if (t - last_attack < .2) then
- lunge()
- else
- attack()
- end
- last_attack = t
- --wait(.5)
- Tool.Enabled = true
- end
- function onEquipped()
- UnsheathSound:play()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- connection = sword.Touched:connect(blow)
- end))
- Part252.Name = "Handle"
- Part252.Parent = Tool250
- Part252.BrickColor = BrickColor.new("Dark stone grey")
- Part252.Reflectance = 0.40000000596046
- Part252.Transparency = 1
- Part252.CanCollide = false
- Part252.FormFactor = Enum.FormFactor.Custom
- Part252.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
- Part252.CFrame = CFrame.new(92.0806732, 2.44756794, 169.973358, 1, -4.58018158e-15, 5.96046377e-08, 6.23827145e-15, 1, -2.78181318e-08, -5.96046377e-08, 2.78181318e-08, 1)
- Part252.BottomSurface = Enum.SurfaceType.Smooth
- Part252.TopSurface = Enum.SurfaceType.Smooth
- Part252.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part252.Position = Vector3.new(92.0806732, 2.44756794, 169.973358)
- Part252.Color = Color3.new(0.388235, 0.372549, 0.384314)
- ManualWeld253.Name = "Weld"
- ManualWeld253.Parent = Part252
- ManualWeld253.C0 = CFrame.new(0, 0, 0, 1, 6.23827145e-15, -5.96046377e-08, -4.58018158e-15, 1, 2.78181318e-08, 5.96046377e-08, -2.78181318e-08, 1)
- ManualWeld253.C1 = CFrame.new(0.338930368, -0.0409965515, -0.0559577942, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld253.Part0 = Part252
- ManualWeld253.Part1 = nil
- Script254.Name = "CharacterWeld"
- Script254.Parent = Tool250
- table.insert(cors,sandbox(Script254,function()
- -- Tool References
- local Tool = script.Parent
- local Player = script.Parent.Parent.Parent
- local Model = nil
- -- When the tool is unequipped
- local weldTypes={
- [Enum.HumanoidRigType.R6]={CFrame.new(0, 0, 0, 0.0547484495, -0.865400016, -0.498081446, 0.0722314417, 0.500955105, -0.862453759, 0.99588418, 0.0112408586, 0.0899356306),CFrame.new(-1.15534592, -1.66430891, 0.736231804, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)},
- [Enum.HumanoidRigType.R15]={CFrame.new(0, 0, 0, -0.99588418, -0.0112408306, -0.0899356827, -0.0722315013, -0.500955224, 0.862453759, -0.0547484495, 0.865400255, 0.498081446),CFrame.new(-1.10471725, -0.766994357, 0.76199913, 1, 2.1789784e-020, 0, 2.17897872e-020, 0.999999881, 0, 0, 0, 1)}
- }
- local part1Attachment={
- [Enum.HumanoidRigType.R6]="Torso",
- [Enum.HumanoidRigType.R15]="LowerTorso"
- }
- Tool.Unequipped:connect(function()
- -- Define Character
- local Character = Player.Character
- -- Create the welded model
- Model = Instance.new("Model", Character)
- Model.Name = Tool.Name.."Weld"
- -- Weld all parts to the handle
- local Handle = Tool.Handle:Clone()
- Handle.Name = "Part"
- Handle.CanCollide = false
- Handle.Parent = Model
- for _,Item in pairs(Tool:GetChildren()) do
- if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
- if Item.Name ~= "Handle" then
- local Part = Item:Clone()
- Part.Name = "Part"
- local Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Part
- Weld.Part1 = Handle
- Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
- Part.Parent = Model
- end
- end
- end
- -- CFrame model to side
- local Weld = Instance.new("Weld")
- Weld.Parent = Handle
- Weld.Part0 = Handle
- Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]--Player.Character.Torso
- Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
- Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
- end)
- -- When the tool is equipped
- Tool.Equipped:connect(function()
- -- Remove the tool when they re-equip sword
- if not Player.Character:FindFirstChild("Sheath") then
- local SheathModel=script.Parent.Sheath
- SheathModel.Parent=Player.Character
- local Weld = Instance.new("Weld")
- Weld.Parent = SheathModel.Handle
- Weld.Part0 = SheathModel.Handle
- Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]
- Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
- Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
- end
- if Model ~= nil then
- Model:Destroy()
- end
- end)
- end))
- Model255.Name = "Sheath"
- Model255.Parent = Tool250
- ManualWeld256.Name = "Weld"
- ManualWeld256.Parent = mas
- ManualWeld256.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld256.C1 = CFrame.new(-0.110610962, -0.202708483, -0.0119743347, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
- ManualWeld256.Part0 = nil
- ManualWeld256.Part1 = nil
- ManualWeld257.Name = "Weld"
- ManualWeld257.Parent = mas
- ManualWeld257.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld257.C1 = CFrame.new(-0.110610962, -0.202708483, 0.0120239258, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
- ManualWeld257.Part0 = nil
- ManualWeld257.Part1 = nil
- ManualWeld258.Name = "Weld"
- ManualWeld258.Parent = mas
- ManualWeld258.C0 = CFrame.new(0, 0, 0, -0.998630345, -0.0523360111, 3.83633477e-07, 0.0523361266, -0.998630822, -8.25900699e-08, -4.02331324e-07, 6.14677163e-08, 1)
- ManualWeld258.C1 = CFrame.new(0.056312561, -1.67926908, 0.00301742554, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
- ManualWeld258.Part0 = nil
- ManualWeld258.Part1 = nil
- ManualWeld259.Name = "Weld"
- ManualWeld259.Parent = mas
- ManualWeld259.C0 = CFrame.new(0, 0, 0, -0.998630345, -0.0523360111, 3.83633477e-07, 0.0523361266, -0.998630822, -8.25900699e-08, -4.02331324e-07, 6.14677163e-08, 1)
- ManualWeld259.C1 = CFrame.new(0.056312561, -1.67926073, -0.0119743347, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld259.Part0 = nil
- ManualWeld259.Part1 = nil
- ManualWeld260.Parent = mas
- ManualWeld260.C0 = CFrame.new(0, 0, 0, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
- ManualWeld260.C1 = CFrame.new(-0.121692657, 1.31362033, 0.0527153015, 1, 6.23827145e-15, -5.96046377e-08, -4.58018158e-15, 1, 2.78181318e-08, 5.96046377e-08, -2.78181318e-08, 1)
- ManualWeld260.Part0 = nil
- ManualWeld260.Part1 = Part261
- Part261.Name = "Handle"
- Part261.Parent = Model255
- Part261.BrickColor = BrickColor.new("Dark stone grey")
- Part261.Reflectance = 0.40000000596046
- Part261.Transparency = 1
- Part261.CanCollide = false
- Part261.FormFactor = Enum.FormFactor.Custom
- Part261.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
- Part261.CFrame = CFrame.new(92.0806732, 2.44756794, 169.973358, 1, -4.58018158e-15, 5.96046377e-08, 6.23827145e-15, 1, -2.78181318e-08, -5.96046377e-08, 2.78181318e-08, 1)
- Part261.BottomSurface = Enum.SurfaceType.Smooth
- Part261.TopSurface = Enum.SurfaceType.Smooth
- Part261.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part261.Position = Vector3.new(92.0806732, 2.44756794, 169.973358)
- Part261.Color = Color3.new(0.388235, 0.372549, 0.384314)
- ManualWeld262.Name = "Weld"
- ManualWeld262.Parent = mas
- ManualWeld262.C0 = CFrame.new(0, 0, 0, -0.998630464, -0.0523360185, 3.83633505e-07, 0.052336134, -0.998630941, -8.2590077e-08, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld262.C1 = CFrame.new(-0.202516079, 0.0964241028, 0, -1.14491833e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689604e-08, 4.02331352e-07, -4.02331381e-07, 6.23990388e-08, 1)
- ManualWeld262.Part0 = nil
- ManualWeld262.Part1 = nil
- ManualWeld263.Name = "Weld"
- ManualWeld263.Parent = mas
- ManualWeld263.C0 = CFrame.new(0, 0, 0, 0.342020452, -0.939693809, -2.78567569e-07, -0.939693451, -0.342020512, 3.42723524e-07, 3.72431003e-07, 2.06829327e-08, -1)
- ManualWeld263.C1 = CFrame.new(1.00788641, 0.113018036, 0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld263.Part0 = nil
- ManualWeld263.Part1 = nil
- ManualWeld264.Name = "Weld"
- ManualWeld264.Parent = mas
- ManualWeld264.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld264.C1 = CFrame.new(1.29100728, 0.162765503, 0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld264.Part0 = nil
- ManualWeld264.Part1 = nil
- ManualWeld265.Name = "Weld"
- ManualWeld265.Parent = mas
- ManualWeld265.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld265.C1 = CFrame.new(1.29100728, 0.162765503, -0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld265.Part0 = nil
- ManualWeld265.Part1 = nil
- ManualWeld266.Name = "Weld"
- ManualWeld266.Parent = mas
- ManualWeld266.C0 = CFrame.new(0, 0, 0, 0.342020452, -0.939693809, -2.78567569e-07, -0.939693451, -0.342020512, 3.42723524e-07, 3.72431003e-07, 2.06829327e-08, -1)
- ManualWeld266.C1 = CFrame.new(1.00788641, 0.113018036, -0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld266.Part0 = nil
- ManualWeld266.Part1 = nil
- ManualWeld267.Name = "Weld"
- ManualWeld267.Parent = mas
- ManualWeld267.C0 = CFrame.new(0, 0, 0, 1.00000095, -1.58930735e-08, -3.87430191e-07, -1.21942406e-07, 1.00000143, 6.23990601e-08, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld267.C1 = CFrame.new(1.60137153, 0.00550460815, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld267.Part0 = nil
- ManualWeld267.Part1 = nil
- ManualWeld268.Name = "Weld"
- ManualWeld268.Parent = mas
- ManualWeld268.C0 = CFrame.new(0, 0, 0, -1.00000095, -1.01839994e-08, 3.000074e-07, 1.48019438e-07, -1.00000143, 2.50237093e-08, -4.89754257e-07, 1.48890621e-07, 1)
- ManualWeld268.C1 = CFrame.new(2.57105184, -0.0545959473, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld268.Part0 = nil
- ManualWeld268.Part1 = nil
- ManualWeld269.Name = "Weld"
- ManualWeld269.Parent = mas
- ManualWeld269.C0 = CFrame.new(0, 0, 0, 1.00000095, -1.58930735e-08, -3.87430191e-07, -1.21942406e-07, 1.00000143, 6.23990601e-08, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld269.C1 = CFrame.new(2.0521791, -0.0245552063, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld269.Part0 = nil
- ManualWeld269.Part1 = nil
- ManualWeld270.Name = "Weld"
- ManualWeld270.Parent = mas
- ManualWeld270.C0 = CFrame.new(0, 0, 0, 1.00000095, -1.58930735e-08, -3.87430191e-07, -1.21942406e-07, 1.00000143, 6.23990601e-08, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld270.C1 = CFrame.new(2.10121512, -0.0245475769, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld270.Part0 = nil
- ManualWeld270.Part1 = nil
- ManualWeld271.Name = "Weld"
- ManualWeld271.Parent = mas
- ManualWeld271.C0 = CFrame.new(0, 0, 0, -0.342020482, 0.939693928, 1.91144835e-07, -0.939693451, -0.342020541, 3.42723524e-07, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld271.C1 = CFrame.new(1.5426724, 0.0306777954, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld271.Part0 = nil
- ManualWeld271.Part1 = nil
- ManualWeld272.Name = "Weld"
- ManualWeld272.Parent = mas
- ManualWeld272.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld272.C1 = CFrame.new(1.30946541, 0.17086792, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld272.Part0 = nil
- ManualWeld272.Part1 = nil
- Model273.Name = "WhalerMask"
- Model273.Parent = mas
- ManualWeld274.Name = "Weld"
- ManualWeld274.Parent = mas
- ManualWeld274.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
- ManualWeld274.C1 = CFrame.new(-0.0407133102, 0.367028356, -0.848461628, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- ManualWeld274.Part0 = nil
- ManualWeld274.Part1 = nil
- Part275.Parent = Model273
- Part275.Material = Enum.Material.Neon
- Part275.BrickColor = BrickColor.new("Institutional white")
- Part275.Rotation = Vector3.new(15.8499994, -65.4499969, 14.5)
- Part275.CanCollide = false
- Part275.FormFactor = Enum.FormFactor.Custom
- Part275.Shape = Enum.PartType.Cylinder
- Part275.Size = Vector3.new(0.200000003, 0.309087157, 0.250213385)
- Part275.CFrame = CFrame.new(99.2226715, 1.85994792, 162.592529, 0.40230763, -0.10407684, -0.909569442, 0.000398549368, 0.993546486, -0.113509551, 0.915513158, 0.0453032516, 0.399752736)
- Part275.BottomSurface = Enum.SurfaceType.Smooth
- Part275.TopSurface = Enum.SurfaceType.Smooth
- Part275.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part275.Position = Vector3.new(99.2226715, 1.85994792, 162.592529)
- Part275.Orientation = Vector3.new(6.51999998, -66.2699966, 0.0199999996)
- Part275.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ManualWeld276.Name = "Weld"
- ManualWeld276.Parent = Part275
- ManualWeld276.C0 = CFrame.new(0, 0, 0, 0.402312338, 0.000398546399, 0.915506423, -0.104077831, 0.993541598, 0.0453041308, -0.909567297, -0.1135104, 0.399755448)
- ManualWeld276.C1 = CFrame.new(0.258612633, 0.839319825, -0.316388607, -1, 0, 0, 0, 1.00000954, 0, 0, 0, -1.00000954)
- ManualWeld276.Part0 = Part275
- ManualWeld276.Part1 = nil
- Part277.Parent = Model273
- Part277.Material = Enum.Material.Neon
- Part277.BrickColor = BrickColor.new("Institutional white")
- Part277.Rotation = Vector3.new(170.550003, -63.3899994, 166.559998)
- Part277.CanCollide = false
- Part277.FormFactor = Enum.FormFactor.Custom
- Part277.Shape = Enum.PartType.Cylinder
- Part277.Size = Vector3.new(0.200000003, 0.309087157, 0.250213385)
- Part277.CFrame = CFrame.new(99.7523193, 1.86405206, 162.593445, -0.435608894, -0.10408102, -0.894098461, -0.0864934325, 0.993545771, -0.073517561, 0.895979524, 0.0453087352, -0.44179967)
- Part277.BottomSurface = Enum.SurfaceType.Smooth
- Part277.TopSurface = Enum.SurfaceType.Smooth
- Part277.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part277.Position = Vector3.new(99.7523193, 1.86405206, 162.593445)
- Part277.Orientation = Vector3.new(4.21999979, -116.299995, -4.98000002)
- Part277.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ManualWeld278.Name = "Weld"
- ManualWeld278.Parent = Part277
- ManualWeld278.C0 = CFrame.new(0, 0, 0, -0.435613871, -0.0864927694, 0.895972729, -0.104081959, 0.993541121, 0.0453073792, -0.894095659, -0.0735180601, -0.441802502)
- ManualWeld278.C1 = CFrame.new(-0.271036148, 0.843423843, -0.317310572, -1, 0, 0, 0, 1.00000954, 0, 0, 0, -1.00000954)
- ManualWeld278.Part0 = Part277
- ManualWeld278.Part1 = nil
- Part279.Name = "Head"
- Part279.Parent = Model273
- Part279.BrickColor = BrickColor.new("Really black")
- Part279.CanCollide = false
- Part279.FormFactor = Enum.FormFactor.Symmetric
- Part279.Size = Vector3.new(2, 1, 1)
- Part279.CFrame = CFrame.new(99.5109711, 1.70638311, 163.30957, 1, 0, 0, 0, 1.00000954, 0, 0, 0, 1.00000954)
- Part279.BottomSurface = Enum.SurfaceType.Smooth
- Part279.TopSurface = Enum.SurfaceType.Smooth
- Part279.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part279.Position = Vector3.new(99.5109711, 1.70638311, 163.30957)
- Part279.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh280.Parent = Part279
- SpecialMesh280.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
- SpecialMesh280.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
- ManualWeld281.Name = "Weld"
- ManualWeld281.Parent = Part279
- ManualWeld281.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.00000477, 0, 0, 0, 1.00000477)
- ManualWeld281.C1 = CFrame.new(-0.029689312, 0.685756445, -1.03342056, -1, 0, 0, 0, 1.00000954, 0, 0, 0, -1.00000954)
- ManualWeld281.Part0 = Part279
- ManualWeld281.Part1 = nil
- ManualWeld282.Name = "Weld"
- ManualWeld282.Parent = mas
- ManualWeld282.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
- ManualWeld282.C1 = CFrame.new(-0.00351524353, 0.571756721, -0.177554846, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
- ManualWeld282.Part0 = nil
- ManualWeld282.Part1 = nil
- ManualWeld283.Name = "Weld"
- ManualWeld283.Parent = mas
- ManualWeld283.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
- ManualWeld283.C1 = CFrame.new(-0.00530433655, 0.104896426, 0.294783592, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
- ManualWeld283.Part0 = nil
- ManualWeld283.Part1 = nil
- ScreenGui284.Name = "Management Gui"
- ScreenGui284.Parent = mas
- Frame439.Name = "bottomFrame"
- Frame439.Parent = ScreenGui284
- Frame439.Size = UDim2.new(1, 0, 0, 30)
- Frame439.Position = UDim2.new(0, 0, 1, -30)
- Frame439.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame439.BorderSizePixel = 0
- Frame439.ZIndex = 9
- ImageLabel440.Name = "TopShadow"
- ImageLabel440.Parent = Frame439
- ImageLabel440.Transparency = 1
- ImageLabel440.Size = UDim2.new(1, 0, 0, -11)
- ImageLabel440.BackgroundTransparency = 1
- ImageLabel440.ZIndex = 9
- ImageLabel440.Image = "http://www.roblox.com/asset/?id=260748924"
- ImageLabel440.ImageRectOffset = Vector2.new(11, 0)
- ImageLabel440.ImageRectSize = Vector2.new(11, 11)
- ImageLabel440.ImageTransparency = 0.5
- Frame441.Name = "buttonsFrame"
- Frame441.Parent = Frame439
- Frame441.Transparency = 1
- Frame441.Size = UDim2.new(1, 0, 1, 0)
- Frame441.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame441.BackgroundTransparency = 1
- Frame441.BorderSizePixel = 0
- Frame441.ZIndex = 10
- TextButton442.Name = "Close"
- TextButton442.Parent = Frame441
- TextButton442.Size = UDim2.new(0, 40, 0, 30)
- TextButton442.Text = ""
- TextButton442.Position = UDim2.new(1, -40, 0, 0)
- TextButton442.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton442.BorderSizePixel = 0
- TextButton442.ZIndex = 9
- TextButton442.Font = Enum.Font.SourceSansBold
- TextButton442.FontSize = Enum.FontSize.Size24
- TextButton442.TextColor3 = Color3.new(1, 1, 1)
- TextButton442.TextStrokeTransparency = 0.69999998807907
- TextLabel443.Name = "text"
- TextLabel443.Parent = TextButton442
- TextLabel443.Transparency = 1
- TextLabel443.Text = "V"
- TextLabel443.Position = UDim2.new(0.5, 0, 0.5, 0)
- TextLabel443.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel443.BackgroundTransparency = 1
- TextLabel443.BorderSizePixel = 0
- TextLabel443.ZIndex = 9
- TextLabel443.Font = Enum.Font.SourceSansBold
- TextLabel443.FontSize = Enum.FontSize.Size24
- TextLabel443.TextColor3 = Color3.new(1, 1, 1)
- TextLabel443.TextStrokeTransparency = 0.69999998807907
- Frame444.Name = "selectionFrame"
- Frame444.Parent = Frame441
- Frame444.Size = UDim2.new(0, 40, 0, 3)
- Frame444.Position = UDim2.new(1, -40, 0, 0)
- Frame444.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame444.BorderSizePixel = 0
- Frame444.ZIndex = 10
- TextButton445.Name = "Players"
- TextButton445.Parent = Frame441
- TextButton445.Size = UDim2.new(0.25, -10, 1, 0)
- TextButton445.Text = "Players"
- TextButton445.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton445.BorderSizePixel = 0
- TextButton445.ZIndex = 9
- TextButton445.Font = Enum.Font.SourceSansBold
- TextButton445.FontSize = Enum.FontSize.Size24
- TextButton445.TextColor3 = Color3.new(1, 1, 1)
- TextButton445.TextStrokeTransparency = 0.69999998807907
- TextButton446.Name = "Info"
- TextButton446.Parent = Frame441
- TextButton446.Size = UDim2.new(0.25, -10, 1, 0)
- TextButton446.Text = "Information"
- TextButton446.Position = UDim2.new(0.75, -30, 0, 0)
- TextButton446.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton446.BorderSizePixel = 0
- TextButton446.ZIndex = 9
- TextButton446.Font = Enum.Font.SourceSansBold
- TextButton446.FontSize = Enum.FontSize.Size24
- TextButton446.TextColor3 = Color3.new(1, 1, 1)
- TextButton446.TextStrokeTransparency = 0.69999998807907
- TextButton447.Name = "Console"
- TextButton447.Parent = Frame441
- TextButton447.Size = UDim2.new(0.25, -10, 1, 0)
- TextButton447.Text = "Console"
- TextButton447.Position = UDim2.new(0.25, -10, 0, 0)
- TextButton447.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton447.BorderSizePixel = 0
- TextButton447.ZIndex = 9
- TextButton447.Font = Enum.Font.SourceSansBold
- TextButton447.FontSize = Enum.FontSize.Size24
- TextButton447.TextColor3 = Color3.new(1, 1, 1)
- TextButton447.TextStrokeTransparency = 0.69999998807907
- TextButton448.Name = "Commands"
- TextButton448.Parent = Frame441
- TextButton448.Size = UDim2.new(0.25, -10, 1, 0)
- TextButton448.Text = "Commands"
- TextButton448.Position = UDim2.new(0.5, -20, 0, 0)
- TextButton448.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton448.BorderSizePixel = 0
- TextButton448.ZIndex = 9
- TextButton448.Font = Enum.Font.SourceSansBold
- TextButton448.FontSize = Enum.FontSize.Size24
- TextButton448.TextColor3 = Color3.new(1, 1, 1)
- TextButton448.TextStrokeTransparency = 0.69999998807907
- Frame449.Name = "bottomSpace"
- Frame449.Parent = Frame439
- Frame449.Size = UDim2.new(1, 0, 0, 80)
- Frame449.Position = UDim2.new(0, 0, 1, 0)
- Frame449.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame449.BorderSizePixel = 0
- Frame449.ZIndex = 9
- LocalScript450.Name = "manageHotbar"
- LocalScript450.Parent = Frame439
- table.insert(cors,sandbox(LocalScript450,function()
- local plr = game:service'Players'.LocalPlayer
- local backpack = plr:WaitForChild'Backpack'
- local isOpen = false
- function isClassInInstance(class, inst)
- for _,v in pairs(inst:GetChildren()) do
- if v.ClassName == class then
- return true
- end
- end
- return false
- end
- function isItems()
- if #backpack:GetChildren() == 0 then
- if plr.Character and isClassInInstance('Tool', plr.Character) then
- return true
- else
- return false
- end
- else
- return true
- end
- end
- function check()
- if isItems() == true and isOpen == false then
- script.Parent:TweenPosition(UDim2.new(0, 0, 1, -110), 'Out', 'Quint', .5, true)
- script.Parent.Parent:WaitForChild'Frames':TweenPosition(UDim2.new(0, 0, 0, -80), 'Out', 'Quint', .5, true)
- script.Parent.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -140), 'In', 'Quint', .5, true)
- isOpen = true
- elseif isItems() == false and isOpen == true then
- script.Parent:TweenPosition(UDim2.new(0, 0, 1, -30), 'In', 'Quint', .5, true)
- script.Parent.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -60), 'In', 'Quint', .5, true)
- script.Parent.Parent:WaitForChild'Frames':TweenPosition(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', .5, true)
- isOpen = false
- end
- end
- check()
- backpack.ChildAdded:connect(check)
- backpack.ChildRemoved:connect(check)
- repeat wait() until plr.Character
- if plr.Character then
- plr.Character.ChildAdded:connect(check)
- plr.Character.ChildRemoved:connect(check)
- end
- end))
- LocalScript381.Name = "manageButtons"
- LocalScript381.Parent = ScreenGui284
- table.insert(cors,sandbox(LocalScript381,function()
- local buttonsFrame = script.Parent:WaitForChild'bottomFrame':WaitForChild'buttonsFrame'
- local frames = script.Parent:WaitForChild'Frames'
- local selector = buttonsFrame:WaitForChild'selectionFrame'
- local currentOpen
- repeat wait() until #buttonsFrame:GetChildren() == 6
- for _,v in pairs(buttonsFrame:GetChildren()) do
- if v.ClassName == "TextButton" then
- v.MouseButton1Up:connect(function()
- selector:TweenSizeAndPosition(UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, 3), v.Position,"Out","Quint",.3,true)
- for _,c in pairs(frames:GetChildren()) do
- if c.Position.Y.Offset < 0 then
- c:TweenPosition(UDim2.new(c.Position.X.Scale, c.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
- end
- end
- local cf = frames:FindFirstChild(v.Name)
- currentOpen = cf
- cf:TweenPosition(UDim2.new(cf.Position.X.Scale, cf.Position.X.Offset, 1, 0-cf.Size.Y.Offset),"Out","Quint",.3,true)
- end)
- end
- end
- local isOpen = true
- local deb = false
- local oldOpened = currentOpen
- script.Parent:WaitForChild'closeButton'.MouseButton1Up:connect(function()
- if deb == false then
- if isOpen == true then
- deb = true
- isOpen = false
- for _,c in pairs(frames:GetChildren()) do
- if c.Position.Y.Offset < 0 then
- c:TweenPosition(UDim2.new(c.Position.X.Scale, c.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
- wait(.3)
- end
- end
- oldOpened = currentOpen
- frames:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Quint', .3, true)
- buttonsFrame.Parent:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Quint', .3, true)
- script.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -30), 'Out', 'Quint', .3, true)
- script.Parent:WaitForChild'closeButton':WaitForChild'textFrame'.Rotation = 180
- wait(.3)
- script.Parent:WaitForChild'bottomFrame':WaitForChild'manageHotbar'.Disabled = true
- deb = false
- else
- deb = true
- isOpen = true
- frames:TweenPosition(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', .3, true)
- buttonsFrame.Parent:TweenPosition(UDim2.new(0, 0, 1, -30), 'Out', 'Quint', .3, true)
- script.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -60), 'Out', 'Quint', .3, true)
- script.Parent:WaitForChild'closeButton':WaitForChild'textFrame'.Rotation = 0
- wait(.3)
- if oldOpened then
- oldOpened:TweenPosition(UDim2.new(oldOpened.Position.X.Scale, oldOpened.Position.X.Offset, 1, 0-oldOpened.Size.Y.Offset),"Out","Quint",.3,true)
- selector:TweenSizeAndPosition(UDim2.new(buttonsFrame:FindFirstChild(oldOpened.Name).Size.X.Scale, buttonsFrame:FindFirstChild(oldOpened.Name).Size.X.Offset, 0, 3), buttonsFrame:FindFirstChild(oldOpened.Name).Position,"Out","Quint",.3,true)
- end
- script.Parent:WaitForChild'bottomFrame':WaitForChild'manageHotbar'.Disabled = false
- deb = false
- end
- end
- end)
- end))
- RemoteEvent382.Name = "Serverside"
- RemoteEvent382.Parent = ScreenGui284
- Script370.Name = "manageServer"
- Script370.Parent = ScreenGui284
- table.insert(cors,sandbox(Script370,function()
- local player = script.Parent.Parent.Parent
- wait(.5)
- local ds = game:GetService'DataStoreService':GetDataStore'gameManagementBarDataStore'
- local settings = _G.ManagementBarSettings
- local playersService = game:service'Players'
- function isValInTab(val, tab)
- for _,v in pairs(tab) do
- if val == v then
- return true
- end
- end
- return false
- end
- function getAllGuiElements()
- local tabMain = {}
- function subfunc(ch)
- for _,v in pairs(ch:GetChildren()) do
- tabMain[#tabMain+1] = v
- subfunc(v)
- end
- end
- for _,v in pairs(script.Parent:GetChildren()) do
- tabMain[#tabMain+1] = v
- subfunc(v)
- end
- return tabMain
- end
- if settings then
- local guielements = getAllGuiElements()
- if settings.MainColor then
- for _,v in pairs(guielements) do
- if v:IsA'GuiObject' and v.BackgroundColor3 == Color3.new(0, 1, 170/255) then
- v.BackgroundColor3 = settings.MainColor
- end
- end
- end
- if settings.OutlineColor then
- for _,v in pairs(guielements) do
- if v:IsA'GuiObject' and v.BorderSizePixel > 0 then
- v.BorderColor3 = settings.OutlineColor
- end
- end
- end
- else
- script.Parent:WaitForChild'Serverside':FireClient(player, 'Hey, (hopefully) place owner!', Enum.MessageType.MessageWarning)
- script.Parent:WaitForChild'Serverside':FireClient(player, 'You\'re using an outdated version of the launcher.', Enum.MessageType.MessageWarning)
- script.Parent:WaitForChild'Serverside':FireClient(player, 'You don\'t have to update it, but if you want more', Enum.MessageType.MessageWarning)
- script.Parent:WaitForChild'Serverside':FireClient(player, 'customizability, please upgrade! Thanks, Reselim.', Enum.MessageType.MessageWarning)
- end
- function getrankbycmd(data, cmd)
- for i,v in pairs(data) do
- if string.lower(v[1])==string.lower(cmd)then
- return v,i
- end
- end
- return nil,0
- end
- function messageAllPlayers(msg, ishint)
- for _,v in pairs(playersService:GetChildren()) do
- local c = script:WaitForChild'Message':Clone()
- local ih,ms = c:WaitForChild'ishint',c:WaitForChild'msg'
- ih.Value = ishint
- ms.Value = msg
- c.Parent = v:FindFirstChild'PlayerGui'
- c.Disabled = false
- end
- end
- function getAllPlayers(isOthers)
- local tb = {}
- if isOthers then
- for _,v in pairs(playersService:GetChildren()) do
- if v.userId ~= player.userId then
- tb[#tb+1] = v
- end
- end
- else
- for _,v in pairs(playersService:GetChildren()) do
- tb[#tb+1] = v
- end
- end
- return tb
- end
- function getPlayer(arg)
- if string.lower(arg) == "me" then
- return player
- elseif string.lower(arg) == "all" then
- return unpack(getAllPlayers(false))
- elseif string.lower(arg) == "others" then
- return unpack(getAllPlayers(true))
- elseif string.lower(arg) == "random" then
- return playersService:GetChildren()[#math.random(1, #playersService:GetChildren())]
- end
- for _,v in pairs(playersService:GetChildren()) do
- if string.lower(v.Name:sub(1, string.len(arg))) == string.lower(arg) then
- return v
- end
- end
- return nil
- end
- spawn(function()
- wait(1)
- if not ds:GetAsync('sentmodel-' .. player.userId) then
- if game:GetService'MarketplaceService':PlayerOwnsAsset(player, 279561183) == false then
- game:GetService'MarketplaceService':PromptPurchase(player, 279561183)
- end
- ds:SetAsync('sentmodel-' .. player.userId, true)
- end
- end)
- local commands = require(script:WaitForChild'Commands')
- function splitWords(msg,num)
- if num<=0 or msg==nil then return {} end
- local tab={}
- local str=msg
- local full=''
- for a in str:gmatch('([^ ]+)') do
- if #tab>=num then break end
- if #tab==num-1 then
- tab[#tab+1]=msg:sub(#full+1,#msg)
- end
- if #tab>=num then break end
- str=a..' '
- full=full..a..' '
- tab[#tab+1]=a
- if #tab>=num then break end
- end
- return tab
- end
- function getNumberOfCharacters(str, chr)
- local t={}
- for matchedValue in string.gmatch(str, chr) do
- table.insert(t, matchedValue)
- end
- return #t
- end
- function splitArguments(msg)
- local num = getNumberOfCharacters(msg,',')+1
- if num<=0 or msg==nil then return {} end
- local tab={}
- local str=msg
- local full=''
- for a in str:gmatch('([^,]+)') do
- if #tab>=num then break end
- if #tab==num-1 then
- tab[#tab+1]=msg:sub(#full+1,#msg)
- end
- if #tab>=num then break end
- str=a..','
- full=full..a..','
- tab[#tab+1]=a
- if #tab>=num then break end
- end
- return tab
- end
- function sortArguments(orig, cust)
- local newTab = {}
- if #orig == #cust then
- for i,v in pairs(orig) do
- if v == 'player' then
- if string.find(cust[i], ',') then
- local mt = {}
- for _,v in pairs(splitArguments(cust[i])) do
- if getPlayer(v) then
- mt[#mt+1] = getPlayer(v)
- end
- end
- newTab[#newTab+1] = mt
- else
- if getPlayer(cust[i]) then
- newTab[#newTab+1] = {getPlayer(cust[i])}
- end
- end
- elseif v == 'number' then
- if string.find(cust[i], ',') then
- local mt = {}
- for _,v in pairs(splitArguments(cust[i])) do
- if tonumber(v) then
- mt[#mt+1] = tonumber(v)
- end
- end
- newTab[#newTab+1] = mt
- else
- if tonumber(cust[i]) then
- newTab[#newTab+1] = {tonumber(cust[i])}
- end
- end
- elseif v == 'precentage' then
- if tonumber(cust[i]) then
- newTab[#newTab+1] = {tonumber(cust[i])/100}
- end
- elseif v == 'message' then
- newTab[#newTab+1] = {cust[i]}
- end
- end
- end
- return newTab
- end
- function runCommand(executer, str)
- local cmd = (string.find(str, " ") and string.sub(str, 1, string.find(str, " ")-1) or str)
- if commands[string.lower(cmd)] then
- local args = sortArguments(commands[string.lower(cmd)].argumentsNeeded, splitWords(string.sub(str, string.len(cmd)+2, string.len(str)), #commands[string.lower(cmd)].argumentsNeeded))
- if #args == #commands[string.lower(cmd)].argumentsNeeded then
- spawn(function()
- commands[string.lower(cmd)].func(executer, args)
- end)
- end
- end
- end
- script.Parent:WaitForChild'Serverside'.OnServerEvent:connect(function(lp, reason, args)
- if reason == "kick" then
- local p = args[1]
- if playersService:FindFirstChild(p) then
- playersService:FindFirstChild(p):Kick'You have been kicked from this game.'
- end
- elseif reason == "runcommand" then
- local str = args[1]
- runCommand(lp, str)
- elseif reason == "runcode" then
- if not workspace:FindFirstChild'codeBin' then
- Instance.new('Model', workspace).Name = "codeBin"
- end
- local clonedTemplate = script:WaitForChild'templateCode':Clone()
- clonedTemplate:WaitForChild'source'.Value = args[1]
- clonedTemplate.Parent = workspace:FindFirstChild'codeBin'
- clonedTemplate.Name = "console"
- clonedTemplate.Disabled = false
- elseif reason == "buy" then
- game:GetService'MarketplaceService':PromptPurchase(player, args[1], false, args[2])
- elseif reason == "select" then
- local t = args[1]
- if t.ClassName == 'Tool' then
- t.Parent = player.Character
- end
- elseif reason == "deselect" then
- local t = args[1]
- if t.ClassName == 'Tool' then
- t.Parent = player:WaitForChild'Backpack'
- end
- end
- end)
- game:GetService'LogService'.MessageOut:connect(function(msg, msgtyp)
- script.Parent:WaitForChild'Serverside':FireClient(player, msg, msgtyp)
- end)
- script.Parent:WaitForChild'ServersideInfo'.OnServerInvoke = function(cli, infotype)
- if infotype == "cmds" then
- return commands
- elseif infotype == "isloadstringenabled" then
- local success = true
- return success
- end
- end
- end))
- Script371.Name = "templateCode"
- Script371.Parent = Script370
- Script371.Disabled = true
- table.insert(cors,sandbox(Script371,function()
- local loadstring = require(script:WaitForChild'Loadstring')
- loadstring(script:WaitForChild'source'.Value)()
- script:remove()
- end))
- StringValue372.Name = "source"
- StringValue372.Parent = Script371
- LocalScript373.Name = "Message"
- LocalScript373.Parent = Script370
- LocalScript373.Disabled = true
- table.insert(cors,sandbox(LocalScript373,function()
- local ishint = script:WaitForChild'ishint'.Value
- local msg,msg2 = script:WaitForChild'msg'.Value,script:WaitForChild'msg2'.Value
- local stg = Instance.new('ScreenGui', script.Parent)
- stg.Name = "RMG:MessageGui"
- script.Name = "RMG:MessageScript"
- local text = Instance.new('TextLabel', stg)
- text.BackgroundTransparency = 1
- text.Text = ''
- text.BorderSizePixel = 0
- text.BackgroundColor3 = Color3.new(0, 0, 0)
- text.Size = (ishint and UDim2.new(1, 0, 0, 20) or UDim2.new(1, 0, 1, 0))
- text.TextWrapped = true
- text.ZIndex = 10
- text.TextColor3 = Color3.new(1, 1, 1)
- text.FontSize = Enum.FontSize[(ishint and "Size18" or "Size36")]
- text.Font = Enum.Font.ArialBold
- text.TextStrokeTransparency = .7
- local text2
- if ishint == false then
- text2 = Instance.new('TextLabel', stg)
- text2.BackgroundTransparency = 1
- text2.Text = string.upper(msg2)
- text2.BorderSizePixel = 0
- text2.BackgroundTransparency = 1
- text2.Size = UDim2.new(1, 0, 1, 0)
- text2.Position = UDim2.new(0, 0, 0, 7)
- text2.TextWrapped = true
- text2.ZIndex = 10
- text2.TextColor3 = Color3.new(1, 1, 1)
- text2.FontSize = Enum.FontSize.Size18
- text2.Font = Enum.Font.ArialBold
- text2.TextYAlignment = Enum.TextYAlignment.Top
- text2.TextStrokeTransparency = .7
- end
- for i=1, 0.5, -0.05 do
- text.BackgroundTransparency = i
- wait()
- end
- for i=1, string.len(msg) do
- text.Text = msg:sub(1, i)
- wait()
- end
- wait(3)
- for i=string.len(msg), 1, -1 do
- text.Text = msg:sub(1, i)
- wait()
- end
- text.Text = ''
- for i=0.5, 1, 0.05 do
- text.BackgroundTransparency = i
- if text2 then
- text2.TextTransparency = i
- end
- wait()
- end
- stg:remove()
- wait()
- script:remove()
- end))
- StringValue374.Name = "msg"
- StringValue374.Parent = LocalScript373
- BoolValue375.Name = "ishint"
- BoolValue375.Parent = LocalScript373
- StringValue376.Name = "msg2"
- StringValue376.Parent = LocalScript373
- Script377.Name = "Spin"
- Script377.Parent = Script370
- Script377.Disabled = true
- table.insert(cors,sandbox(Script377,function()
- if script.Parent:FindFirstChild'Torso' then
- while wait() do
- for i=1, 360, 2 do
- script.Parent:FindFirstChild'Torso'.CFrame = CFrame.new(script.Parent:FindFirstChild'Torso'.Position) * CFrame.Angles(0, math.rad(i), 0)
- wait()
- end
- end
- end
- end))
- LocalScript378.Name = "Fly"
- LocalScript378.Parent = Script370
- LocalScript378.Disabled = true
- table.insert(cors,sandbox(LocalScript378,function()
- local Me = game:GetService("Players").LocalPlayer
- local Char = Me.Character
- local Mouse = Me:GetMouse()
- local Cam = workspace.CurrentCamera
- local Stop = false
- local Version = 0
- local MaxSpeed = 5
- local Speed = 1
- local Keys = {}
- local Fly, Rot = Char.Torso:FindFirstChild("Fly"), Char.Torso:FindFirstChild("Rot")
- if Fly then Fly:Destroy() end if Rot then Rot:Destroy() end
- Fly = Instance.new("BodyPosition", Char.Torso) Fly.Name = "Fly" Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge) Fly.P = 10000 Fly.position = Char.Torso.Position
- Rot = Instance.new("BodyGyro", Char.Torso) Rot.Name = "Rot" Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge) Rot.P = 10000 Rot.cframe = Cam.CoordinateFrame
- local Thread,Old = Version, nil
- Char.Humanoid.PlatformStand = true
- function StopFly()
- Version = Version + 1 Stop = true Char.Humanoid.PlatformStand = false Fly:Destroy() Rot:Destroy() script.Disabled = true script:Destroy()
- end
- Char.ChildAdded:connect(function(Obj) wait()
- if Obj.Name == "FlyStop" then
- Obj:Destroy()
- StopFly()
- end
- end)
- coroutine.wrap(function() while Thread == Version and Stop == false do
- local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position
- if Keys[string.char(48)] then Speed = 1 end
- if Keys.w then Vectoring = Vectoring + Cam.CoordinateFrame.lookVector * Speed end
- if Keys.s then Vectoring = Vectoring - Cam.CoordinateFrame.lookVector * Speed end
- if Keys.d then Vectoring = Vectoring * CFrame.new(Speed,0,0) end
- if Keys.a then Vectoring = Vectoring * CFrame.new(-Speed,0,0) end
- if Keys.e or Keys[" "] then Vectoring = Vectoring * CFrame.new(0,Speed,0) end
- if Keys.q then Vectoring = Vectoring * CFrame.new(0,-Speed,0) end
- if Keys.x then StopFly() end
- if Old ~= Vectoring then
- Fly.position = Vectoring.p
- Old = Vectoring
- Speed = math.min(Speed + Speed*0.025,MaxSpeed)
- else
- Speed = 1;
- end
- Rot.cframe = Cam.CoordinateFrame
- wait(0.01)
- end end)()
- Mouse.KeyDown:connect(function(Key)
- Keys[Key] = true
- end)
- Mouse.KeyUp:connect(function(Key)
- Keys[Key] = false
- end)
- end))
- LocalScript379.Name = "Crash"
- LocalScript379.Parent = Script370
- LocalScript379.Disabled = true
- table.insert(cors,sandbox(LocalScript379,function()
- while true do Instance.new('HopperBin', game:service'Players'.LocalPlayer:WaitForChild'Backpack') end
- end))
- Frame383.Name = "Frames"
- Frame383.Parent = ScreenGui284
- Frame383.Transparency = 1
- Frame383.Size = UDim2.new(1, 0, 1, -30)
- Frame383.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame383.BackgroundTransparency = 1
- Frame383.BorderSizePixel = 0
- Frame383.ZIndex = 8
- Frame384.Name = "Close"
- Frame384.Parent = Frame383
- Frame384.Transparency = 1
- Frame384.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame384.BackgroundTransparency = 1
- Frame384.BorderSizePixel = 0
- Frame384.ZIndex = 8
- Frame385.Name = "Commands"
- Frame385.Parent = Frame383
- Frame385.Size = UDim2.new(0.5, -20, 0, 350)
- Frame385.Position = UDim2.new(0.5, -20, 1, 0)
- Frame385.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame385.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- Frame385.BorderSizePixel = 0
- Frame385.ZIndex = 8
- TextButton386.Name = "CommandBar"
- TextButton386.Parent = Frame385
- TextButton386.Size = UDim2.new(1, -70, 0, 30)
- TextButton386.Style = Enum.ButtonStyle.RobloxRoundButton
- TextButton386.Text = ""
- TextButton386.Position = UDim2.new(0, 25, 0, 10)
- TextButton386.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton386.ZIndex = 8
- TextButton386.Selected = true
- TextButton386.Font = Enum.Font.SourceSans
- TextButton386.FontSize = Enum.FontSize.Size14
- ScrollingFrame387.Name = "textBin"
- ScrollingFrame387.Parent = TextButton386
- ScrollingFrame387.Transparency = 1
- ScrollingFrame387.Size = UDim2.new(1, 0, 1, 15)
- ScrollingFrame387.Position = UDim2.new(0, 0, 0, -8)
- ScrollingFrame387.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame387.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame387.BackgroundTransparency = 1
- ScrollingFrame387.BorderSizePixel = 0
- ScrollingFrame387.ZIndex = 8
- ScrollingFrame387.ScrollBarThickness = 0
- TextBox388.Name = "Text"
- TextBox388.Parent = ScrollingFrame387
- TextBox388.Transparency = 1
- TextBox388.Size = UDim2.new(1, 0, 1, 0)
- TextBox388.Text = "Type your command here!"
- TextBox388.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox388.BackgroundTransparency = 1
- TextBox388.BorderSizePixel = 0
- TextBox388.ZIndex = 8
- TextBox388.ClearTextOnFocus = false
- TextBox388.Font = Enum.Font.SourceSansBold
- TextBox388.FontSize = Enum.FontSize.Size18
- TextBox388.TextColor3 = Color3.new(1, 1, 1)
- TextBox388.TextXAlignment = Enum.TextXAlignment.Left
- ScrollingFrame389.Name = "commandList"
- ScrollingFrame389.Parent = Frame385
- ScrollingFrame389.Transparency = 1
- ScrollingFrame389.Size = UDim2.new(1, -60, 0, 280)
- ScrollingFrame389.Position = UDim2.new(0, 30, 0, 50)
- ScrollingFrame389.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame389.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame389.BackgroundTransparency = 1
- ScrollingFrame389.BorderSizePixel = 0
- ScrollingFrame389.ZIndex = 8
- ScrollingFrame389.ScrollBarThickness = 0
- LocalScript390.Name = "manageCommands"
- LocalScript390.Parent = Frame385
- table.insert(cors,sandbox(LocalScript390,function()
- function WaitForChild(...)
- local args = {...}
- local parent = args[1]
- table.remove(args, 1)
- local newArgs = {}
- for i,v in pairs(args) do
- table.insert(newArgs, i, parent:WaitForChild(v))
- end
- return unpack(newArgs)
- end
- local cmdlist = script.Parent.Parent.Parent:WaitForChild'ServersideInfo':InvokeServer'cmds'
- local list,bar,usagebutton,usageframe = WaitForChild(script.Parent, "commandList", "CommandBar","usageButton","commandUsage")
- local usageFrame = usageframe:WaitForChild'mainBar'
- local barText = bar:WaitForChild'textBin':WaitForChild'Text'
- local currentHover
- local plr = game:service'Players'.LocalPlayer
- local mouse = plr:GetMouse()
- repeat mouse = plr:GetMouse() wait() until mouse
- local cmdBarOpen = false
- local co
- function showList(txt)
- currentHover = nil
- list:ClearAllChildren()
- local validCommands = {}
- local usageCommands = {}
- if string.len(txt) > 0 then
- for _,v in pairs(cmdlist) do
- if string.find(string.lower(v.commandMain), string.lower(txt)) or string.find(string.lower(v.commandMain), txt:sub(1, string.len(v.commandMain))) then
- if #v.argumentsNeeded > 0 then
- validCommands[#validCommands+1] = (v.commandMain .. ' [' .. table.concat(v.fakeArgs, "] [") .. ']')
- usageCommands[v.commandMain] = v.Usage
- else
- validCommands[#validCommands+1] = v.commandMain
- usageCommands[v.commandMain] = v.Usage
- end
- end
- end
- else
- for _,v in pairs(cmdlist) do
- if #v.argumentsNeeded > 0 then
- validCommands[#validCommands+1] = (v.commandMain .. ' [' .. table.concat(v.fakeArgs, "] [") .. ']')
- usageCommands[v.commandMain] = v.Usage
- else
- validCommands[#validCommands+1] = v.commandMain
- usageCommands[v.commandMain] = v.Usage
- end
- end
- end
- table.sort(validCommands)
- for i,v in pairs(validCommands) do
- local fr = Instance.new('Frame')
- fr.Name = "Suggestion"
- fr.Style = Enum.FrameStyle.DropShadow
- fr.Size = UDim2.new(1, 0, 0, 30)
- fr.Position = UDim2.new(0, 0, 0, (i-1)*30)
- fr.ZIndex = 8
- local sf = Instance.new('ScrollingFrame', fr)
- sf.Name = 'infoFrame'
- sf.Size = UDim2.new(1, 8, 1, 8)
- sf.BackgroundTransparency = 1
- sf.Position = UDim2.new(0, -4, 0, -4)
- sf.CanvasSize = UDim2.new(0, 0, 0, 0)
- local txt = Instance.new('TextLabel', sf)
- txt.Text = v
- txt.Size = UDim2.new(1, 0, 1, 5)
- txt.BackgroundTransparency = 1
- txt.TextColor3 = Color3.new(1, 1, 1)
- txt.Position = UDim2.new(0, 4, 0, -4)
- txt.Font = Enum.Font.SourceSansBold
- txt.ZIndex = 8
- txt.TextXAlignment = Enum.TextXAlignment.Left
- txt.FontSize = Enum.FontSize.Size24
- local txt2 = Instance.new('TextLabel', sf)
- txt2.Text = usageCommands[string.lower(v:sub(1, (string.find(v, ' ') and string.find(v, ' ')-1 or string.len(v))))]
- txt2.Size = UDim2.new(1, 0, 1, 0)
- txt2.Position = UDim2.new(1, 0, 0, -2)
- txt2.BackgroundTransparency = 1
- txt2.TextColor3 = Color3.new(1, 1, 1)
- txt2.Font = Enum.Font.SourceSansBold
- txt2.ZIndex = 8
- txt2.TextXAlignment = Enum.TextXAlignment.Right
- txt2.FontSize = Enum.FontSize.Size24
- sf.MouseEnter:connect(function()
- if currentHover then
- currentHover.Text1:TweenPosition(UDim2.new(0, 4, 0, -4), 'Out', 'Quint', .3, true)
- currentHover.Text2:TweenPosition(UDim2.new(1, 4, 0, -2), 'Out', 'Quint', .3, true)
- end
- currentHover = {Text1 = txt, Text2 = txt2}
- currentHover.Text1:TweenPosition(UDim2.new(-1, -4, 0, -4), 'Out', 'Quint', .3, true)
- currentHover.Text2:TweenPosition(UDim2.new(0, -4, 0, -2), 'Out', 'Quint', .3, true)
- end)
- fr.Parent = list
- end
- list.CanvasSize = UDim2.new(0, 0, 0, (#validCommands-1)*30)
- end
- barText.Changed:connect(function(changed)
- if changed == "Text" and barText.Text ~= "Type your command here!" then
- showList(barText.Text)
- elseif changed == "Text" then
- showList("")
- end
- end)
- barText.Focused:connect(function()
- if barText.Text == "Type your command here!" then
- barText.Text = ""
- end
- end)
- barText.FocusLost:connect(function(enterPressed)
- if enterPressed == true then
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer("runcommand", {barText.Text})
- showList("")
- barText:TweenPosition(UDim2.new(0, 0, 1, 0),"Out","Quint",.3,true)
- if cmdBarOpen then
- script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
- if co then
- co:TweenPosition(UDim2.new(co.Position.X.Scale, co.Position.X.Offset, 1, -co.Size.Y.Offset),"Out","Quint",.3,true)
- end
- end
- cmdBarOpen = false
- wait(.3)
- barText.Text = "Type your command here!"
- barText.Position = UDim2.new(0, 0, 0, 0)
- end
- end)
- list.MouseLeave:connect(function()
- if currentHover then
- currentHover.Text1:TweenPosition(UDim2.new(0, 4, 0, -4), 'Out', 'Quint', .3, true)
- currentHover.Text2:TweenPosition(UDim2.new(1, 4, 0, -4), 'Out', 'Quint', .3, true)
- currentHover = nil
- end
- end)
- function getCurrentOpen()
- for _,v in pairs(script.Parent.Parent:GetChildren()) do
- if v.Position.Y.Offset < 0 then
- return v
- end
- end
- return nil
- end
- mouse.KeyDown:connect(function(k)
- if k == '\'' then
- if script.Parent.Position == UDim2.new(0.5, -20, 1, 0) then
- co = getCurrentOpen()
- if co then
- co:TweenPosition(UDim2.new(co.Position.X.Scale, co.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
- end
- script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 1, -script.Parent.Size.Y.Offset),"Out","Quint",.3,true)
- barText:CaptureFocus()
- cmdBarOpen = true
- else
- barText:CaptureFocus()
- end
- end
- end)
- local isOpen = false
- usagebutton.MouseButton1Up:connect(function()
- isOpen = not(isOpen)
- usageFrame:TweenPosition(UDim2.new((isOpen == true and 0 or 1), 0, 0, 0), 'Out', 'Quint', .3, true)
- end)
- showList("")
- end))
- ScrollingFrame391.Name = "commandUsage"
- ScrollingFrame391.Parent = Frame385
- ScrollingFrame391.Transparency = 1
- ScrollingFrame391.Size = UDim2.new(0, 300, 0, 350)
- ScrollingFrame391.Position = UDim2.new(0, -300, 1, -350)
- ScrollingFrame391.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame391.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame391.BackgroundTransparency = 1
- ScrollingFrame391.BorderSizePixel = 0
- ScrollingFrame391.ScrollBarThickness = 1
- Frame392.Name = "mainBar"
- Frame392.Parent = ScrollingFrame391
- Frame392.Size = UDim2.new(0, 300, 0, 350)
- Frame392.Position = UDim2.new(1, 0, 1, -350)
- Frame392.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame392.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- Frame392.BorderSizePixel = 0
- Frame392.ZIndex = 8
- TextLabel393.Name = "titleObject"
- TextLabel393.Parent = Frame392
- TextLabel393.Transparency = 1
- TextLabel393.Size = UDim2.new(1, 0, 0, 50)
- TextLabel393.Text = "Command Usage"
- TextLabel393.Position = UDim2.new(0, 15, 0, 0)
- TextLabel393.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel393.BackgroundTransparency = 1
- TextLabel393.BorderSizePixel = 0
- TextLabel393.ZIndex = 8
- TextLabel393.Font = Enum.Font.SourceSansBold
- TextLabel393.FontSize = Enum.FontSize.Size24
- TextLabel393.TextColor3 = Color3.new(1, 1, 1)
- TextLabel393.TextStrokeTransparency = 0.69999998807907
- TextLabel393.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel394.Name = "context1"
- TextLabel394.Parent = Frame392
- TextLabel394.Transparency = 1
- TextLabel394.Size = UDim2.new(1, 0, 0, 250)
- TextLabel394.Text = "The following can be used to specify a player: [playername] me all random"
- TextLabel394.Position = UDim2.new(0, 10, 0, 50)
- TextLabel394.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel394.BackgroundTransparency = 1
- TextLabel394.BorderSizePixel = 0
- TextLabel394.ZIndex = 8
- TextLabel394.Font = Enum.Font.SourceSansBold
- TextLabel394.FontSize = Enum.FontSize.Size18
- TextLabel394.TextColor3 = Color3.new(1, 1, 1)
- TextLabel394.TextStrokeTransparency = 0.69999998807907
- TextLabel394.TextWrapped = true
- TextLabel394.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel394.TextYAlignment = Enum.TextYAlignment.Top
- ImageButton395.Name = "usageButton"
- ImageButton395.Parent = Frame385
- ImageButton395.Transparency = 1
- ImageButton395.Size = UDim2.new(0, 30, 0, 30)
- ImageButton395.Position = UDim2.new(1, -40, 0, 10)
- ImageButton395.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageButton395.BackgroundTransparency = 1
- ImageButton395.BorderSizePixel = 0
- ImageButton395.ZIndex = 8
- ImageButton395.Image = "http://www.roblox.com/asset/?id=61873129"
- Frame396.Name = "Console"
- Frame396.Parent = Frame383
- Frame396.Size = UDim2.new(0.5, -20, 0, 350)
- Frame396.Position = UDim2.new(0, 0, 1, 0)
- Frame396.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame396.BorderSizePixel = 0
- Frame396.ZIndex = 8
- TextButton397.Name = "createCode"
- TextButton397.Parent = Frame396
- TextButton397.Size = UDim2.new(1, -50, 0, 30)
- TextButton397.Style = Enum.ButtonStyle.RobloxRoundButton
- TextButton397.Text = ""
- TextButton397.Position = UDim2.new(0, 25, 1, -40)
- TextButton397.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton397.ZIndex = 8
- TextButton397.Selected = true
- TextButton397.Font = Enum.Font.SourceSans
- TextButton397.FontSize = Enum.FontSize.Size14
- ScrollingFrame398.Name = "textBin"
- ScrollingFrame398.Parent = TextButton397
- ScrollingFrame398.Transparency = 1
- ScrollingFrame398.Size = UDim2.new(1, 0, 1, 15)
- ScrollingFrame398.Position = UDim2.new(0, 0, 0, -8)
- ScrollingFrame398.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame398.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame398.BackgroundTransparency = 1
- ScrollingFrame398.BorderSizePixel = 0
- ScrollingFrame398.ZIndex = 8
- ScrollingFrame398.ScrollBarThickness = 0
- TextBox399.Name = "Text"
- TextBox399.Parent = ScrollingFrame398
- TextBox399.Transparency = 1
- TextBox399.Size = UDim2.new(1, 0, 1, 0)
- TextBox399.Text = ""
- TextBox399.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox399.BackgroundTransparency = 1
- TextBox399.BorderSizePixel = 0
- TextBox399.ZIndex = 10
- TextBox399.ClearTextOnFocus = false
- TextBox399.Font = Enum.Font.SourceSansBold
- TextBox399.FontSize = Enum.FontSize.Size18
- TextBox399.TextColor3 = Color3.new(1, 1, 1)
- TextBox399.TextXAlignment = Enum.TextXAlignment.Left
- ScrollingFrame400.Name = "consoleFrame"
- ScrollingFrame400.Parent = Frame396
- ScrollingFrame400.Transparency = 1
- ScrollingFrame400.Size = UDim2.new(1, -20, 1, -20)
- ScrollingFrame400.Position = UDim2.new(0, 10, 0, 10)
- ScrollingFrame400.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame400.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame400.BackgroundTransparency = 1
- ScrollingFrame400.BorderSizePixel = 0
- ScrollingFrame400.ZIndex = 8
- LocalScript401.Name = "manageConsole"
- LocalScript401.Parent = Frame396
- table.insert(cors,sandbox(LocalScript401,function()
- function WaitForChild(...)
- local args = {...}
- local parent = args[1]
- table.remove(args, 1)
- local newArgs = {}
- for i,v in pairs(args) do
- table.insert(newArgs, i, parent:WaitForChild(v))
- end
- return unpack(newArgs)
- end
- local lines = {}
- wait(.5)
- local isLoadstring = true
- local consoleFrame,createCode = WaitForChild(script.Parent, "consoleFrame","createCode")
- createCode.Visible = isLoadstring
- if isLoadstring then
- script.Parent:WaitForChild'consoleFrame'.Size = UDim2.new(1, -20, 1, -60)
- end
- function createLine(text, color3)
- if #lines == 32 then
- lines[1]:remove()
- end
- for _,v in pairs(consoleFrame:GetChildren()) do
- v.Position = v.Position - UDim2.new(0, 0, 0, 15)
- end
- local newLine = Instance.new('TextLabel', consoleFrame)
- newLine.Text = tostring(" " .. text)
- newLine.BackgroundTransparency = 1
- newLine.TextColor3 = color3
- newLine.FontSize = Enum.FontSize.Size14
- newLine.Font = Enum.Font.SourceSansBold
- newLine.ZIndex = 8
- newLine.TextXAlignment = Enum.TextXAlignment.Left
- newLine.Size = UDim2.new(1, 0, 0, 15)
- newLine.Position = UDim2.new(0, 0, 1, -15)
- lines[#lines+1] = newLine
- return newLine
- end
- script.Parent.Parent.Parent:WaitForChild'Serverside'.OnClientEvent:connect(function(message, messageType)
- createLine(message, (messageType == Enum.MessageType.MessageOutput and Color3.new(1, 1, 1) or messageType == Enum.MessageType.MessageError and Color3.new(1, 0, 0) or messageType == Enum.MessageType.MessageInfo and Color3.new(102/255, 0, 1) or messageType == Enum.MessageType.MessageWarning and Color3.new(1, 128/255, 0)))
- end)
- createCode:WaitForChild'textBin':WaitForChild'Text'.FocusLost:connect(function(enterPressed)
- if enterPressed then
- createLine("Script ran!", Color3.new(1, 1, 1))
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('runcode', {createCode:WaitForChild'textBin':WaitForChild'Text'.Text})
- wait()
- createCode:WaitForChild'textBin':WaitForChild'Text':TweenPosition(UDim2.new(0, 0, -1, 0),"Out","Quint",.3,true)
- wait(.3)
- createCode:WaitForChild'textBin':WaitForChild'Text'.Text = ""
- createCode:WaitForChild'textBin':WaitForChild'Text'.Position = UDim2.new(0, 0, 0, 0)
- end
- end)
- createLine('Console loaded!', Color3.new(1, 1, 1))
- end))
- Frame402.Name = "Info"
- Frame402.Parent = Frame383
- Frame402.Size = UDim2.new(0, 300, 0, 400)
- Frame402.Position = UDim2.new(1, -340, 1, 0)
- Frame402.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame402.BorderSizePixel = 0
- Frame402.ZIndex = 8
- ScrollingFrame403.Name = "frameContainer"
- ScrollingFrame403.Parent = Frame402
- ScrollingFrame403.Transparency = 1
- ScrollingFrame403.Size = UDim2.new(1, -50, 0, 300)
- ScrollingFrame403.Position = UDim2.new(0, 25, 0, 75)
- ScrollingFrame403.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame403.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame403.BackgroundTransparency = 1
- ScrollingFrame403.BorderSizePixel = 0
- ScrollingFrame403.ZIndex = 8
- ScrollingFrame403.ScrollBarThickness = 0
- Frame404.Name = "Updates"
- Frame404.Parent = ScrollingFrame403
- Frame404.Transparency = 1
- Frame404.Size = UDim2.new(1, 0, 1, 0)
- Frame404.Position = UDim2.new(0, 0, -1, 0)
- Frame404.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame404.BackgroundTransparency = 1
- Frame404.BorderSizePixel = 0
- Frame404.ZIndex = 8
- TextLabel405.Name = "updateInfo"
- TextLabel405.Parent = Frame404
- TextLabel405.Transparency = 1
- TextLabel405.Size = UDim2.new(1, 0, 1, -40)
- TextLabel405.Text = "updateInfo"
- TextLabel405.Position = UDim2.new(0, 0, 0, 40)
- TextLabel405.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel405.BackgroundTransparency = 1
- TextLabel405.BorderSizePixel = 0
- TextLabel405.ZIndex = 8
- TextLabel405.Font = Enum.Font.SourceSans
- TextLabel405.FontSize = Enum.FontSize.Size18
- TextLabel405.TextColor3 = Color3.new(1, 1, 1)
- TextLabel405.TextStrokeTransparency = 0.69999998807907
- TextLabel405.TextWrapped = true
- TextLabel405.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel405.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel406.Name = "currentVersion"
- TextLabel406.Parent = Frame404
- TextLabel406.Transparency = 1
- TextLabel406.Size = UDim2.new(1, 0, 0, 10)
- TextLabel406.Text = "v1.22"
- TextLabel406.Position = UDim2.new(0, 0, 0, 27)
- TextLabel406.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel406.BackgroundTransparency = 1
- TextLabel406.BorderSizePixel = 0
- TextLabel406.ZIndex = 8
- TextLabel406.Font = Enum.Font.SourceSansBold
- TextLabel406.FontSize = Enum.FontSize.Size14
- TextLabel406.TextColor3 = Color3.new(1, 1, 1)
- TextLabel406.TextStrokeTransparency = 0.69999998807907
- TextLabel406.TextWrapped = true
- TextLabel407.Name = "Title"
- TextLabel407.Parent = Frame404
- TextLabel407.Transparency = 1
- TextLabel407.Size = UDim2.new(1, 0, 0, 30)
- TextLabel407.Text = "Updates"
- TextLabel407.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel407.BackgroundTransparency = 1
- TextLabel407.BorderSizePixel = 0
- TextLabel407.ZIndex = 8
- TextLabel407.Font = Enum.Font.SourceSansBold
- TextLabel407.FontSize = Enum.FontSize.Size24
- TextLabel407.TextColor3 = Color3.new(1, 1, 1)
- TextLabel407.TextStrokeTransparency = 0.69999998807907
- TextLabel407.TextWrapped = true
- Frame408.Name = "Info"
- Frame408.Parent = ScrollingFrame403
- Frame408.Transparency = 1
- Frame408.Size = UDim2.new(1, 0, 1, 0)
- Frame408.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame408.BackgroundTransparency = 1
- Frame408.BorderSizePixel = 0
- Frame408.ZIndex = 8
- TextLabel409.Name = "context1"
- TextLabel409.Parent = Frame408
- TextLabel409.Transparency = 1
- TextLabel409.Size = UDim2.new(1, 0, 0, 73)
- TextLabel409.Text = "This is meant to be a project by Reselim which is used to make managing and moderating games easier."
- TextLabel409.Position = UDim2.new(0, 0, 0, 23)
- TextLabel409.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel409.BackgroundTransparency = 1
- TextLabel409.BorderSizePixel = 0
- TextLabel409.ZIndex = 8
- TextLabel409.Font = Enum.Font.SourceSans
- TextLabel409.FontSize = Enum.FontSize.Size18
- TextLabel409.TextColor3 = Color3.new(1, 1, 1)
- TextLabel409.TextStrokeTransparency = 0.69999998807907
- TextLabel409.TextWrapped = true
- TextLabel410.Name = "Title"
- TextLabel410.Parent = Frame408
- TextLabel410.Transparency = 1
- TextLabel410.Size = UDim2.new(1, -56, 0, 20)
- TextLabel410.Text = "Created and Managed by"
- TextLabel410.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel410.BackgroundTransparency = 1
- TextLabel410.BorderSizePixel = 0
- TextLabel410.ZIndex = 8
- TextLabel410.Font = Enum.Font.SourceSansBold
- TextLabel410.FontSize = Enum.FontSize.Size18
- TextLabel410.TextColor3 = Color3.new(1, 1, 1)
- TextLabel410.TextStrokeTransparency = 0.69999998807907
- TextLabel411.Name = "userName"
- TextLabel411.Parent = TextLabel410
- TextLabel411.Transparency = 1
- TextLabel411.Size = UDim2.new(0, 56, 1, 0)
- TextLabel411.Text = "Reselim"
- TextLabel411.Position = UDim2.new(1, -12, 0, 0)
- TextLabel411.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel411.BackgroundTransparency = 1
- TextLabel411.BorderSizePixel = 0
- TextLabel411.ZIndex = 8
- TextLabel411.Font = Enum.Font.SourceSansBold
- TextLabel411.FontSize = Enum.FontSize.Size18
- TextLabel411.TextColor3 = Color3.new(1, 1, 0)
- TextLabel411.TextStrokeTransparency = 0.69999998807907
- TextButton412.Name = "getModel"
- TextButton412.Parent = Frame408
- TextButton412.Size = UDim2.new(1, -20, 0, 30)
- TextButton412.Text = "Want the model? Click here!"
- TextButton412.Position = UDim2.new(0, 10, 0, 105)
- TextButton412.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton412.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- TextButton412.BorderSizePixel = 3
- TextButton412.ZIndex = 8
- TextButton412.Font = Enum.Font.SourceSansBold
- TextButton412.FontSize = Enum.FontSize.Size24
- TextButton412.TextColor3 = Color3.new(1, 1, 1)
- TextButton412.TextScaled = true
- TextButton412.TextStrokeTransparency = 0.69999998807907
- TextButton412.TextWrapped = true
- TextLabel413.Name = "DonateLabel"
- TextLabel413.Parent = Frame408
- TextLabel413.Transparency = 1
- TextLabel413.Size = UDim2.new(1, 0, 0, 20)
- TextLabel413.Text = "Donate"
- TextLabel413.Position = UDim2.new(0, 0, 0, 140)
- TextLabel413.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel413.BackgroundTransparency = 1
- TextLabel413.BorderSizePixel = 0
- TextLabel413.ZIndex = 8
- TextLabel413.Font = Enum.Font.SourceSansBold
- TextLabel413.FontSize = Enum.FontSize.Size18
- TextLabel413.TextColor3 = Color3.new(1, 1, 1)
- TextLabel413.TextStrokeTransparency = 0.69999998807907
- TextLabel414.Name = "DonateInfo"
- TextLabel414.Parent = TextLabel413
- TextLabel414.Transparency = 1
- TextLabel414.Size = UDim2.new(1, 0, 0, 126)
- TextLabel414.Text = "If you would like to help out the project, please click one of these two buttons. That would be greatly appreciated."
- TextLabel414.Position = UDim2.new(0, 0, 1, 0)
- TextLabel414.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel414.BackgroundTransparency = 1
- TextLabel414.BorderSizePixel = 0
- TextLabel414.ZIndex = 8
- TextLabel414.Font = Enum.Font.SourceSans
- TextLabel414.FontSize = Enum.FontSize.Size18
- TextLabel414.TextColor3 = Color3.new(1, 1, 1)
- TextLabel414.TextStrokeTransparency = 0.69999998807907
- TextLabel414.TextWrapped = true
- TextLabel414.TextYAlignment = Enum.TextYAlignment.Top
- TextButton415.Name = "donateRobux"
- TextButton415.Parent = Frame408
- TextButton415.Size = UDim2.new(0.5, -20, 0, 30)
- TextButton415.Text = "25 R$"
- TextButton415.Position = UDim2.new(0, 10, 1, -75)
- TextButton415.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton415.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- TextButton415.BorderSizePixel = 3
- TextButton415.ZIndex = 8
- TextButton415.Font = Enum.Font.SourceSansBold
- TextButton415.FontSize = Enum.FontSize.Size24
- TextButton415.TextColor3 = Color3.new(1, 1, 1)
- TextButton415.TextScaled = true
- TextButton415.TextStrokeTransparency = 0.69999998807907
- TextButton415.TextWrapped = true
- TextButton416.Name = "donateTickets"
- TextButton416.Parent = Frame408
- TextButton416.Size = UDim2.new(0.5, -20, 0, 30)
- TextButton416.Text = "100 Tix"
- TextButton416.Position = UDim2.new(0.5, 10, 1, -75)
- TextButton416.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton416.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- TextButton416.BorderSizePixel = 3
- TextButton416.ZIndex = 8
- TextButton416.Font = Enum.Font.SourceSansBold
- TextButton416.FontSize = Enum.FontSize.Size24
- TextButton416.TextColor3 = Color3.new(1, 1, 1)
- TextButton416.TextScaled = true
- TextButton416.TextStrokeTransparency = 0.69999998807907
- TextButton416.TextWrapped = true
- Frame417.Name = "Buttons"
- Frame417.Parent = ScrollingFrame403
- Frame417.Transparency = 1
- Frame417.Size = UDim2.new(1, 0, 1, 0)
- Frame417.Position = UDim2.new(0, 0, -1, 0)
- Frame417.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame417.BackgroundTransparency = 1
- Frame417.BorderSizePixel = 0
- Frame417.ZIndex = 8
- TextLabel418.Name = "players"
- TextLabel418.Parent = Frame417
- TextLabel418.Transparency = 1
- TextLabel418.Size = UDim2.new(1, 0, 0, 30)
- TextLabel418.Text = "Players"
- TextLabel418.Position = UDim2.new(0, 3, 0, 30)
- TextLabel418.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel418.BackgroundTransparency = 1
- TextLabel418.BorderSizePixel = 0
- TextLabel418.ZIndex = 8
- TextLabel418.Font = Enum.Font.SourceSansBold
- TextLabel418.FontSize = Enum.FontSize.Size18
- TextLabel418.TextColor3 = Color3.new(1, 1, 1)
- TextLabel418.TextStrokeTransparency = 0.69999998807907
- TextLabel418.TextWrapped = true
- TextLabel418.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel419.Name = "context"
- TextLabel419.Parent = TextLabel418
- TextLabel419.Transparency = 1
- TextLabel419.Size = UDim2.new(1, -20, 0, 60)
- TextLabel419.Text = "- Manage the players in your game! Press the X button to kick them."
- TextLabel419.Position = UDim2.new(0, 17, 0, 30)
- TextLabel419.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel419.BackgroundTransparency = 1
- TextLabel419.BorderSizePixel = 0
- TextLabel419.ZIndex = 8
- TextLabel419.Font = Enum.Font.SourceSansBold
- TextLabel419.FontSize = Enum.FontSize.Size18
- TextLabel419.TextColor3 = Color3.new(1, 1, 1)
- TextLabel419.TextStrokeTransparency = 0.69999998807907
- TextLabel419.TextWrapped = true
- TextLabel419.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel419.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel420.Name = "console"
- TextLabel420.Parent = Frame417
- TextLabel420.Transparency = 1
- TextLabel420.Size = UDim2.new(1, 0, 0, 30)
- TextLabel420.Text = "Console"
- TextLabel420.Position = UDim2.new(0, 3, 0, 110)
- TextLabel420.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel420.BackgroundTransparency = 1
- TextLabel420.BorderSizePixel = 0
- TextLabel420.ZIndex = 8
- TextLabel420.Font = Enum.Font.SourceSansBold
- TextLabel420.FontSize = Enum.FontSize.Size18
- TextLabel420.TextColor3 = Color3.new(1, 1, 1)
- TextLabel420.TextStrokeTransparency = 0.69999998807907
- TextLabel420.TextWrapped = true
- TextLabel420.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel421.Name = "context"
- TextLabel421.Parent = TextLabel420
- TextLabel421.Transparency = 1
- TextLabel421.Size = UDim2.new(1, -20, 0, 40)
- TextLabel421.Text = "- See all server-side errors, and run code if LoadString is enabled!"
- TextLabel421.Position = UDim2.new(0, 17, 0, 30)
- TextLabel421.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel421.BackgroundTransparency = 1
- TextLabel421.BorderSizePixel = 0
- TextLabel421.ZIndex = 8
- TextLabel421.Font = Enum.Font.SourceSansBold
- TextLabel421.FontSize = Enum.FontSize.Size18
- TextLabel421.TextColor3 = Color3.new(1, 1, 1)
- TextLabel421.TextStrokeTransparency = 0.69999998807907
- TextLabel421.TextWrapped = true
- TextLabel421.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel421.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel422.Name = "commands"
- TextLabel422.Parent = Frame417
- TextLabel422.Transparency = 1
- TextLabel422.Size = UDim2.new(1, 0, 0, 30)
- TextLabel422.Text = "Commands"
- TextLabel422.Position = UDim2.new(0, 3, 0, 173)
- TextLabel422.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel422.BackgroundTransparency = 1
- TextLabel422.BorderSizePixel = 0
- TextLabel422.ZIndex = 8
- TextLabel422.Font = Enum.Font.SourceSansBold
- TextLabel422.FontSize = Enum.FontSize.Size18
- TextLabel422.TextColor3 = Color3.new(1, 1, 1)
- TextLabel422.TextStrokeTransparency = 0.69999998807907
- TextLabel422.TextWrapped = true
- TextLabel422.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel423.Name = "context"
- TextLabel423.Parent = TextLabel422
- TextLabel423.Transparency = 1
- TextLabel423.Size = UDim2.new(1, -20, 0, 60)
- TextLabel423.Text = "- Admin commands! Manage your game even better with a set of commands for admins."
- TextLabel423.Position = UDim2.new(0, 17, 0, 30)
- TextLabel423.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel423.BackgroundTransparency = 1
- TextLabel423.BorderSizePixel = 0
- TextLabel423.ZIndex = 8
- TextLabel423.Font = Enum.Font.SourceSansBold
- TextLabel423.FontSize = Enum.FontSize.Size18
- TextLabel423.TextColor3 = Color3.new(1, 1, 1)
- TextLabel423.TextStrokeTransparency = 0.69999998807907
- TextLabel423.TextWrapped = true
- TextLabel423.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel423.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel424.Name = "Title"
- TextLabel424.Parent = Frame417
- TextLabel424.Transparency = 1
- TextLabel424.Size = UDim2.new(1, 0, 0, 30)
- TextLabel424.Text = "Buttons"
- TextLabel424.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel424.BackgroundTransparency = 1
- TextLabel424.BorderSizePixel = 0
- TextLabel424.ZIndex = 8
- TextLabel424.Font = Enum.Font.SourceSansBold
- TextLabel424.FontSize = Enum.FontSize.Size24
- TextLabel424.TextColor3 = Color3.new(1, 1, 1)
- TextLabel424.TextStrokeTransparency = 0.69999998807907
- TextLabel424.TextWrapped = true
- Frame425.Name = "buttonsFrame"
- Frame425.Parent = Frame402
- Frame425.Size = UDim2.new(1, -50, 0, 30)
- Frame425.Position = UDim2.new(0, 25, 0, 25)
- Frame425.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame425.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- Frame425.BorderSizePixel = 5
- Frame425.ZIndex = 8
- TextButton426.Name = "Updates"
- TextButton426.Parent = Frame425
- TextButton426.Size = UDim2.new(0.333000004, 0, 1, 0)
- TextButton426.Text = "Updates"
- TextButton426.Position = UDim2.new(0.666000009, 0, 0, 0)
- TextButton426.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton426.BorderSizePixel = 0
- TextButton426.ZIndex = 8
- TextButton426.Font = Enum.Font.SourceSansBold
- TextButton426.FontSize = Enum.FontSize.Size24
- TextButton426.TextColor3 = Color3.new(1, 1, 1)
- TextButton426.TextStrokeTransparency = 0.69999998807907
- TextButton427.Name = "Info"
- TextButton427.Parent = Frame425
- TextButton427.Size = UDim2.new(0.333000004, 0, 1, 0)
- TextButton427.Text = "Info"
- TextButton427.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton427.BorderSizePixel = 0
- TextButton427.ZIndex = 8
- TextButton427.Font = Enum.Font.SourceSansBold
- TextButton427.FontSize = Enum.FontSize.Size24
- TextButton427.TextColor3 = Color3.new(1, 1, 1)
- TextButton427.TextStrokeTransparency = 0.69999998807907
- TextButton428.Name = "Buttons"
- TextButton428.Parent = Frame425
- TextButton428.Size = UDim2.new(0.333000004, 0, 1, 0)
- TextButton428.Text = "Buttons"
- TextButton428.Position = UDim2.new(0.333000004, 0, 0, 0)
- TextButton428.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton428.BorderSizePixel = 0
- TextButton428.ZIndex = 8
- TextButton428.Font = Enum.Font.SourceSansBold
- TextButton428.FontSize = Enum.FontSize.Size24
- TextButton428.TextColor3 = Color3.new(1, 1, 1)
- TextButton428.TextStrokeTransparency = 0.69999998807907
- Frame429.Name = "selectionFrame"
- Frame429.Parent = Frame425
- Frame429.Size = UDim2.new(0.333000004, 0, 0, 3)
- Frame429.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame429.BorderSizePixel = 0
- Frame429.ZIndex = 8
- LocalScript430.Name = "manageInfo"
- LocalScript430.Parent = Frame402
- table.insert(cors,sandbox(LocalScript430,function()
- local version = 1.37
- local newestUpdate = [[
- - Can now be closed! (button 2ugly4me)
- - Few new commands.
- ]]
- local buttonsFrame = script.Parent:WaitForChild'buttonsFrame'
- local frames = script.Parent:WaitForChild'frameContainer'
- local selector = buttonsFrame:WaitForChild'selectionFrame'
- repeat wait() until #buttonsFrame:GetChildren() == 4
- for _,v in pairs(buttonsFrame:GetChildren()) do
- if v.ClassName == "TextButton" then
- v.MouseEnter:connect(function()
- selector:TweenSizeAndPosition(UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, 3), v.Position,"Out","Quint",.3,true)
- for _,v in pairs(frames:GetChildren()) do
- v:TweenPosition(UDim2.new(0, 0, -1, 0), "Out", "Linear", 0, true)
- end
- frames:FindFirstChild(v.Name):TweenPosition(UDim2.new(0, 0, 0, 0),"Out","Quint",.3,true)
- end)
- end
- end
- local infoFrame = frames:WaitForChild'Info'
- local getModel = infoFrame:WaitForChild'getModel'
- local robux = infoFrame:WaitForChild'donateRobux'
- local tickets = infoFrame:WaitForChild'donateTickets'
- getModel.MouseButton1Up:connect(function()
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {279561183, Enum.CurrencyType.Default})
- end)
- frames:WaitForChild'Updates':WaitForChild'updateInfo'.Text = newestUpdate
- frames:WaitForChild'Updates':WaitForChild'currentVersion'.Text = tostring("v" .. version)
- robux.MouseButton1Up:connect(function()
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {258182871, Enum.CurrencyType.Robux})
- end)
- tickets.MouseButton1Up:connect(function()
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {258182871, Enum.CurrencyType.Tix})
- end)
- end))
- Frame431.Name = "Players"
- Frame431.Parent = Frame383
- Frame431.Size = UDim2.new(0, 200, 0, 350)
- Frame431.Position = UDim2.new(0, 0, 1, 0)
- Frame431.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame431.BorderSizePixel = 0
- Frame431.ZIndex = 8
- Frame432.Name = "Template"
- Frame432.Parent = Frame431
- Frame432.Size = UDim2.new(1, 0, 0, 30)
- Frame432.Style = Enum.FrameStyle.DropShadow
- Frame432.Visible = false
- Frame432.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame432.ZIndex = 8
- TextLabel433.Name = "playerName"
- TextLabel433.Parent = Frame432
- TextLabel433.Transparency = 1
- TextLabel433.Size = UDim2.new(1, 0, 1, 0)
- TextLabel433.Text = "OnlyTwentyCharacters"
- TextLabel433.Position = UDim2.new(0, 25, 0, 0)
- TextLabel433.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel433.BackgroundTransparency = 1
- TextLabel433.BorderSizePixel = 0
- TextLabel433.ZIndex = 8
- TextLabel433.Font = Enum.Font.SourceSansBold
- TextLabel433.FontSize = Enum.FontSize.Size14
- TextLabel433.TextColor3 = Color3.new(1, 1, 1)
- TextLabel433.TextXAlignment = Enum.TextXAlignment.Left
- TextButton434.Name = "removeButton"
- TextButton434.Parent = Frame432
- TextButton434.Size = UDim2.new(0, 24, 0, 24)
- TextButton434.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- TextButton434.Text = "X"
- TextButton434.Position = UDim2.new(1, -22, 0.5, -12)
- TextButton434.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton434.ZIndex = 8
- TextButton434.Font = Enum.Font.SourceSansBold
- TextButton434.FontSize = Enum.FontSize.Size18
- TextButton434.TextColor3 = Color3.new(0.737255, 0, 0.0117647)
- ScrollingFrame435.Name = "playerImage"
- ScrollingFrame435.Parent = Frame432
- ScrollingFrame435.Transparency = 1
- ScrollingFrame435.Size = UDim2.new(0, 18, 0, 18)
- ScrollingFrame435.Position = UDim2.new(0, 0, 0.5, -9)
- ScrollingFrame435.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame435.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame435.BackgroundTransparency = 1
- ScrollingFrame435.BorderSizePixel = 0
- ScrollingFrame435.ZIndex = 8
- ScrollingFrame435.ScrollBarThickness = 0
- ImageLabel436.Name = "image"
- ImageLabel436.Parent = ScrollingFrame435
- ImageLabel436.Transparency = 1
- ImageLabel436.Size = UDim2.new(3, 0, 3, 0)
- ImageLabel436.Position = UDim2.new(0, -20, 0, -7)
- ImageLabel436.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel436.BackgroundTransparency = 1
- ImageLabel436.BorderSizePixel = 0
- ImageLabel436.ZIndex = 8
- ImageLabel436.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=OnlyTwentyCharacters"
- ScrollingFrame437.Name = "PlayerList"
- ScrollingFrame437.Parent = Frame431
- ScrollingFrame437.Transparency = 1
- ScrollingFrame437.Size = UDim2.new(1, -20, 1, -20)
- ScrollingFrame437.Position = UDim2.new(0, 10, 0, 10)
- ScrollingFrame437.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame437.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame437.BackgroundTransparency = 1
- ScrollingFrame437.BorderSizePixel = 0
- ScrollingFrame437.ZIndex = 8
- ScrollingFrame437.ScrollBarThickness = 0
- LocalScript438.Name = "manageList"
- LocalScript438.Parent = Frame431
- table.insert(cors,sandbox(LocalScript438,function()
- function WaitForChild(...)
- local args = {...}
- local parent = args[1]
- table.remove(args, 1)
- local newArgs = {}
- for i,v in pairs(args) do
- table.insert(newArgs, i, parent:WaitForChild(v))
- end
- return unpack(newArgs)
- end
- local scrollable,template = WaitForChild(script.Parent, "PlayerList", "Template")
- function refresh()
- scrollable:ClearAllChildren()
- for i,v in pairs(game:service'Players':GetChildren()) do
- local newTemplate = template:Clone()
- newTemplate.Name = v.Name
- local removePlayer,playerName,imgbin = WaitForChild(newTemplate, "removeButton", "playerName","playerImage")
- imgbin:WaitForChild'image'.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" .. v.Name
- playerName.Text = v.Name
- removePlayer.MouseButton1Up:connect(function()
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer("kick", {v.Name})
- end)
- newTemplate.Parent = scrollable
- newTemplate.Position = UDim2.new(0, 0, 0, (i-1)*30)
- newTemplate.Visible = true
- end
- scrollable.CanvasSize = UDim2.new(0, 0, 0, (game:service'Players'.NumPlayers-1)*30)
- end
- refresh()
- game:service'Players'.ChildAdded:connect(refresh)
- game:service'Players'.ChildRemoved:connect(refresh)
- end))
- RemoteFunction380.Name = "ServersideInfo"
- RemoteFunction380.Parent = ScreenGui284
- TextButton451.Name = "closeButton"
- TextButton451.Parent = ScreenGui284
- TextButton451.Size = UDim2.new(0, 40, 0, 30)
- TextButton451.Text = ""
- TextButton451.Position = UDim2.new(1, -40, 1, -60)
- TextButton451.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton451.BorderSizePixel = 0
- TextButton451.ZIndex = 8
- TextButton451.Font = Enum.Font.SourceSansBold
- TextButton451.FontSize = Enum.FontSize.Size24
- TextButton451.TextColor3 = Color3.new(1, 1, 1)
- TextButton451.TextStrokeTransparency = 0.69999998807907
- Frame452.Name = "textFrame"
- Frame452.Parent = TextButton451
- Frame452.Transparency = 1
- Frame452.Size = UDim2.new(1, 0, 1, 0)
- Frame452.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame452.BackgroundTransparency = 1
- Frame452.BorderSizePixel = 0
- Frame452.ZIndex = 10
- TextLabel453.Name = "UpperClose"
- TextLabel453.Parent = Frame452
- TextLabel453.Transparency = 1
- TextLabel453.Text = "V"
- TextLabel453.Position = UDim2.new(0.5, 0, 0, 10)
- TextLabel453.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextLabel453.BackgroundTransparency = 1
- TextLabel453.BorderSizePixel = 0
- TextLabel453.ZIndex = 8
- TextLabel453.Font = Enum.Font.SourceSansLight
- TextLabel453.FontSize = Enum.FontSize.Size24
- TextLabel453.TextColor3 = Color3.new(1, 1, 1)
- TextLabel453.TextStrokeTransparency = 0.69999998807907
- TextLabel453.TextWrapped = true
- TextLabel454.Name = "LowerClose"
- TextLabel454.Parent = Frame452
- TextLabel454.Transparency = 1
- TextLabel454.Text = "V"
- TextLabel454.Position = UDim2.new(0.5, 0, 1, -12)
- TextLabel454.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextLabel454.BackgroundTransparency = 1
- TextLabel454.BorderSizePixel = 0
- TextLabel454.ZIndex = 9
- TextLabel454.Font = Enum.Font.SourceSansLight
- TextLabel454.FontSize = Enum.FontSize.Size24
- TextLabel454.TextColor3 = Color3.new(1, 1, 1)
- TextLabel454.TextStrokeTransparency = 0.69999998807907
- ParticleEmitter185.Name = "Aether1"
- ParticleEmitter185.Parent = mas
- ParticleEmitter185.Transparency = NumberSequence.new(1,0,1)
- ParticleEmitter185.Rotation = NumberRange.new(0, 360)
- ParticleEmitter185.Size = NumberSequence.new(0.875,1.5625)
- ParticleEmitter185.Color = ColorSequence.new(Color3.new(1, 0.933333, 0.541176),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter185.Enabled = false
- ParticleEmitter185.LightEmission = 0.20000000298023
- ParticleEmitter185.Texture = "http://www.roblox.com/asset/?id=445231898"
- ParticleEmitter185.Lifetime = NumberRange.new(2, 4)
- ParticleEmitter185.Rate = 80
- ParticleEmitter185.RotSpeed = NumberRange.new(-20, 20)
- ParticleEmitter185.Speed = NumberRange.new(0.20000000298023, 0.20000000298023)
- ParticleEmitter185.VelocitySpread = 360
- ParticleEmitter185.Color = ColorSequence.new(Color3.new(1, 0.933333, 0.541176),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter186.Name = "Aether2"
- ParticleEmitter186.Parent = mas
- ParticleEmitter186.Transparency = NumberSequence.new(1,0,1)
- ParticleEmitter186.Rotation = NumberRange.new(0, 360)
- ParticleEmitter186.Size = NumberSequence.new(0.875,1.5625)
- ParticleEmitter186.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter186.Enabled = false
- ParticleEmitter186.LightEmission = 0.20000000298023
- ParticleEmitter186.Texture = "http://www.roblox.com/asset/?id=445231746"
- ParticleEmitter186.Lifetime = NumberRange.new(2, 3)
- ParticleEmitter186.Rate = 80
- ParticleEmitter186.RotSpeed = NumberRange.new(-20, 20)
- ParticleEmitter186.Speed = NumberRange.new(0.20000000298023, 0.20000000298023)
- ParticleEmitter186.VelocitySpread = 360
- ParticleEmitter186.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter187.Name = "Aether3"
- ParticleEmitter187.Parent = mas
- ParticleEmitter187.Transparency = NumberSequence.new(1,0,0,1)
- ParticleEmitter187.Rotation = NumberRange.new(0, 360)
- ParticleEmitter187.Size = NumberSequence.new(2,2)
- ParticleEmitter187.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.662745),Color3.new(0.996078, 0.796078, 1),Color3.new(1, 0.992157, 0.886275))
- ParticleEmitter187.Enabled = false
- ParticleEmitter187.LightEmission = 1
- ParticleEmitter187.Texture = "http://www.roblox.com/asset/?id=398285173"
- ParticleEmitter187.ZOffset = 2
- ParticleEmitter187.Lifetime = NumberRange.new(2, 4)
- ParticleEmitter187.Rate = 120
- ParticleEmitter187.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter187.VelocitySpread = 360
- ParticleEmitter187.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.662745),Color3.new(0.996078, 0.796078, 1),Color3.new(1, 0.992157, 0.886275))
- ParticleEmitter188.Name = "Aether4"
- ParticleEmitter188.Parent = mas
- ParticleEmitter188.Transparency = NumberSequence.new(0.96100002527237,0.88749998807907,0.98000001907349)
- ParticleEmitter188.Size = NumberSequence.new(0.44444400072098,3.8125,5.3125,2.375)
- ParticleEmitter188.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.831373),Color3.new(1, 0.984314, 0.882353))
- ParticleEmitter188.Enabled = false
- ParticleEmitter188.LightEmission = 1
- ParticleEmitter188.Texture = "http://www.roblox.com/asset/?id=217245118"
- ParticleEmitter188.ZOffset = 3
- ParticleEmitter188.Lifetime = NumberRange.new(0.5, 0.5)
- ParticleEmitter188.Rate = 100
- ParticleEmitter188.Speed = NumberRange.new(0, 0)
- ParticleEmitter188.Color = ColorSequence.new(Color3.new(1, 0.960784, 0.831373),Color3.new(1, 0.984314, 0.882353))
- Tool189.Name = "Olivia"
- Tool189.Parent = mas
- Tool189.TextureId = "rbxassetid://236599083"
- Tool189.GripForward = Vector3.new(1, 0, 0)
- Tool189.GripPos = Vector3.new(0, 2, 0)
- Tool189.GripRight = Vector3.new(0, 0, -1)
- Tool189.GripUp = Vector3.new(0, -1, 0)
- Tool189.ToolTip = "OathKeeper"
- Tool189.CanBeDropped = false
- Part190.Name = "Handle"
- Part190.Parent = Tool189
- Part190.BrickColor = BrickColor.new("Dark stone grey")
- Part190.Reflectance = 0.40000000596046
- Part190.Transparency = 1
- Part190.Rotation = Vector3.new(-90, 0, 0)
- Part190.CanCollide = false
- Part190.FormFactor = Enum.FormFactor.Custom
- Part190.Size = Vector3.new(0.638599575, 6.67512226, 0.894040227)
- Part190.CFrame = CFrame.new(2.280689, 4.09103489, 30.2925091, 1, 0, -3.11913445e-15, -3.11913445e-15, 0, 1, 0, -1, 0)
- Part190.BottomSurface = Enum.SurfaceType.Smooth
- Part190.TopSurface = Enum.SurfaceType.Smooth
- Part190.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part190.Position = Vector3.new(2.280689, 4.09103489, 30.2925091)
- Part190.Orientation = Vector3.new(-90, 0, 0)
- Part190.Color = Color3.new(0.388235, 0.372549, 0.384314)
- ManualWeld191.Name = "Weld"
- ManualWeld191.Parent = Part190
- ManualWeld191.C0 = CFrame.new(0, 0, 0, 1, -3.11913445e-15, 0, 0, 0, -1, -3.11913445e-15, 1, 0)
- ManualWeld191.C1 = CFrame.new(-0.0213336945, -1.9965806, -0.0587976575, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
- ManualWeld191.Part0 = Part190
- ManualWeld191.Part1 = Part194
- ManualWeld192.Name = "Weld"
- ManualWeld192.Parent = mas
- ManualWeld192.C0 = CFrame.new(0, 0, 0, 8.9408033e-08, 1, 3.6135458e-07, -3.725292e-07, -3.61354523e-07, 1, 1, -8.9408168e-08, 3.72529172e-07)
- ManualWeld192.C1 = CFrame.new(-0.009765625, -0.902000904, 1.1920929e-07, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
- ManualWeld192.Part0 = nil
- ManualWeld192.Part1 = Part194
- ManualWeld193.Name = "Weld"
- ManualWeld193.Parent = mas
- ManualWeld193.C0 = CFrame.new(0, 0, 0, -3.725292e-07, -1.48504768e-07, 1, 8.9408104e-08, 1, 1.48504796e-07, -1, 8.94081609e-08, -3.72529172e-07)
- ManualWeld193.C1 = CFrame.new(0.0011882782, -3.0788312, -0.00642350316, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
- ManualWeld193.Part0 = nil
- ManualWeld193.Part1 = Part194
- Part194.Name = "CylinderMesh1.0"
- Part194.Parent = Tool189
- Part194.Material = Enum.Material.Granite
- Part194.BrickColor = BrickColor.new("Pink")
- Part194.Rotation = Vector3.new(-90, 0, 0)
- Part194.CanCollide = false
- Part194.FormFactor = Enum.FormFactor.Custom
- Part194.Size = Vector3.new(0.200000003, 1.14180911, 0.200000003)
- Part194.CFrame = CFrame.new(2.30202341, 4.14983273, 28.295929, 1, 3.725292e-07, 8.94094825e-08, -8.94095464e-08, 1.55955462e-07, 1, 3.72529172e-07, -1, 1.5595549e-07)
- Part194.BottomSurface = Enum.SurfaceType.Smooth
- Part194.TopSurface = Enum.SurfaceType.Smooth
- Part194.Color = Color3.new(1, 0.4, 0.8)
- Part194.Position = Vector3.new(2.30202341, 4.14983273, 28.295929)
- Part194.Orientation = Vector3.new(-90, 0, 0)
- Part194.Color = Color3.new(1, 0.4, 0.8)
- CylinderMesh195.Parent = Part194
- ManualWeld196.Name = "Weld"
- ManualWeld196.Parent = mas
- ManualWeld196.C0 = CFrame.new(0, 0, 0, -1, 8.94095464e-08, -3.72529172e-07, 8.94094114e-08, 1, 3.6135458e-07, 3.725292e-07, 3.61354523e-07, -1)
- ManualWeld196.C1 = CFrame.new(0, 0.632318974, 3.87430191e-06, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
- ManualWeld196.Part0 = nil
- ManualWeld196.Part1 = Part194
- ManualWeld197.Name = "Weld"
- ManualWeld197.Parent = mas
- ManualWeld197.C0 = CFrame.new(0, 0, 0, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 3.61354523e-07, -1, 8.94094114e-08, 1, 3.6135458e-07)
- ManualWeld197.C1 = CFrame.new(0, -0.59699297, 0.00163406134, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
- ManualWeld197.Part0 = nil
- ManualWeld197.Part1 = Part194
- Script198.Name = "CharacterWeld"
- Script198.Parent = Tool189
- table.insert(cors,sandbox(Script198,function()
- -- Tool References
- local Tool = script.Parent
- local Player = script.Parent.Parent.Parent
- local Model = nil
- -- When the tool is unequipped
- Tool.Unequipped:connect(function()
- -- Define Character
- local Character = Player.Character
- -- Create the welded model
- Model = Instance.new("Model", Character)
- Model.Name = Tool.Name.."Weld"
- -- Weld all parts to the handle
- local Handle = Tool.Handle:Clone()
- Handle.Name = "Part"
- Handle.CanCollide = false
- Handle.Parent = Model
- for _,Item in pairs(Tool:GetChildren()) do
- if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
- if Item.Name ~= "Handle" then
- local Part = Item:Clone()
- Part.Name = "Part"
- local Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Part
- Weld.Part1 = Handle
- Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
- Part.Parent = Model
- end
- end
- end
- -- CFrame model to side
- local Weld = Instance.new("Weld")
- Weld.Parent = Handle
- Weld.Part0 = Handle
- Weld.Part1 = Player.Character.Torso
- Weld.C0 = CFrame.new(0, 0, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(40))
- end)
- -- When the tool is equipped
- Tool.Equipped:connect(function()
- -- Remove the tool when they re-equip sword
- if Model ~= nil then
- Model:Destroy()
- end
- end)
- end))
- Script199.Name = "SwordScript"
- Script199.Parent = Tool189
- table.insert(cors,sandbox(Script199,function()
- --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
- r = game:service("RunService")
- local damage = 5
- local slash_damage = 10
- local lunge_damage = 30
- sword = script.Parent.Handle
- Tool = script.Parent
- local fxToggled = false
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = sword
- SlashSound.Volume = .7
- local LungeSound = Instance.new("Sound")
- LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
- LungeSound.Parent = sword
- LungeSound.Volume = .6
- local UnsheathSound = Instance.new("Sound")
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Parent = sword
- UnsheathSound.Volume = 1
- function blow(hit)
- if (hit.Parent == nil) then return end
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid")
- if humanoid and humanoid ~= hum and hum then
- -- final check, make sure sword is in-hand
- local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
- if guygettingsliced then --If he's a player
- --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- --end
- else --If he's not a player (AI, shop, etc)
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- end
- --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- local fx=script.Parent:FindFirstChild("FX")
- local fx2=fx:FindFirstChild("Stroke")
- function lunge()
- damage = lunge_damage
- LungeSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Lunge"
- anim.Parent = Tool
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,10,0)
- force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
- force.Parent = Tool.Parent.Torso
- if fx and fx2 and fxToggled then fx2.Enabled=true end
- wait(.25)
- swordOut()
- wait(.25)
- force.Parent = nil
- wait(.5)
- swordUp()
- if fx and fx2 then fx2.Enabled=false end
- damage = slash_damage
- end
- function swordUp()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(0, -1, 0)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(-20, -1, 0)
- end
- function swordAcross()
- -- parry
- end
- Tool.Enabled = true
- local last_attack = 0
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local t = r.Stepped:wait()
- if (t - last_attack < .2) then
- lunge()
- else
- attack()
- end
- last_attack = t
- --wait(.5)
- Tool.Enabled = true
- end
- function onEquipped()
- UnsheathSound:play()
- end
- script.Parent.Effects.OnServerEvent:connect(function(p,toggle)
- local ch=script.Parent.FX:GetChildren()
- for i=1,#ch do
- if ch[i].ClassName=="ParticleEmitter" or ch[i].ClassName=="PointLight" then
- ch[i].Enabled=toggle
- end
- end
- spawn(function()
- wait(.5)
- script.Parent.FX.Stroke.Enabled=false
- end)
- fxToggled=toggle
- if not toggle then
- script.Parent.Blade.Material=Enum.Material.Metal
- script.Parent.Blade.BrickColor=BrickColor.new("Black")
- damage=5
- slash_damage=10
- lunge_damage=30
- else
- script.Parent.Blade.Material=Enum.Material.Neon
- script.Parent.Blade.BrickColor=BrickColor.new("Buttermilk")
- damage=5
- slash_damage=10
- lunge_damage=30
- end
- end)
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- connection = sword.Touched:connect(blow)
- end))
- LocalScript200.Parent = Tool189
- table.insert(cors,sandbox(LocalScript200,function()
- repeat wait() until game.Players.LocalPlayer.Character~=nil
- local plr=game.Players.LocalPlayer
- local chr=plr.Character
- local KeyPress=game:GetService("UserInputService")
- local Tool=script.Parent
- local ToolEquipped=false
- local fx=false
- KeyPress.InputBegan:connect(function(Key)
- if Key.KeyCode==Enum.KeyCode.E and ToolEquipped then
- fx = not fx
- script.Parent.Effects:FireServer(fx)
- end
- end)
- Tool.Equipped:connect(function()
- ToolEquipped=true
- end)
- Tool.Unequipped:connect(function()
- ToolEquipped=false
- end)
- end))
- RemoteEvent201.Name = "Effects"
- RemoteEvent201.Parent = Tool189
- Part202.Name = "FX"
- Part202.Parent = Tool189
- Part202.BrickColor = BrickColor.new("Dark stone grey")
- Part202.Reflectance = 0.40000000596046
- Part202.Transparency = 1
- Part202.Rotation = Vector3.new(-90, 0, 0)
- Part202.CanCollide = false
- Part202.FormFactor = Enum.FormFactor.Custom
- Part202.Size = Vector3.new(0.638599575, 4.47512245, 0.200000003)
- Part202.CFrame = CFrame.new(2.28068852, 4.14401436, 31.3925095, 1, 1.4477809e-14, -7.10542736e-15, -7.10542736e-15, 0, 1, -1.4477809e-14, -1, 0)
- Part202.BottomSurface = Enum.SurfaceType.Smooth
- Part202.TopSurface = Enum.SurfaceType.Smooth
- Part202.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part202.Position = Vector3.new(2.28068852, 4.14401436, 31.3925095)
- Part202.Orientation = Vector3.new(-90, 0, 0)
- Part202.Color = Color3.new(0.388235, 0.372549, 0.384314)
- ManualWeld203.Name = "Weld"
- ManualWeld203.Parent = Part202
- ManualWeld203.C0 = CFrame.new(0, 0, 0, 1, -3.11913445e-15, 0, 0, 0, -1, -3.11913445e-15, 1, 0)
- ManualWeld203.C1 = CFrame.new(-0.0213336945, -3.09658098, -0.00581765175, 1, -8.94095464e-08, 3.72529172e-07, 3.725292e-07, 1.55955462e-07, -1, 8.94094825e-08, 1, 1.5595549e-07)
- ManualWeld203.Part0 = Part202
- ManualWeld203.Part1 = Part194
- ParticleEmitter204.Name = "Lightning1"
- ParticleEmitter204.Parent = Part202
- ParticleEmitter204.Transparency = NumberSequence.new(1,0.77777802944183,0.98000001907349)
- ParticleEmitter204.Rotation = NumberRange.new(0, 360)
- ParticleEmitter204.Size = NumberSequence.new(0.3125,0.5625,0.60509598255157,0.5,0.3821650147438)
- ParticleEmitter204.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
- ParticleEmitter204.Enabled = false
- ParticleEmitter204.LightEmission = 0.60000002384186
- ParticleEmitter204.Texture = "rbxassetid://203216563"
- ParticleEmitter204.Lifetime = NumberRange.new(1, 3)
- ParticleEmitter204.Rate = 40
- ParticleEmitter204.RotSpeed = NumberRange.new(-500, 500)
- ParticleEmitter204.Speed = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter204.VelocitySpread = 360
- ParticleEmitter204.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
- ParticleEmitter205.Name = "Lightning2"
- ParticleEmitter205.Parent = Part202
- ParticleEmitter205.Transparency = NumberSequence.new(0,0.46857100725174,0.77777802944183,0.98000001907349)
- ParticleEmitter205.Rotation = NumberRange.new(0, 360)
- ParticleEmitter205.Size = NumberSequence.new(0.15923599898815,0.35031899809837)
- ParticleEmitter205.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
- ParticleEmitter205.Enabled = false
- ParticleEmitter205.LightEmission = 0.60000002384186
- ParticleEmitter205.Texture = "http://www.roblox.com/asset/?id=296659257"
- ParticleEmitter205.Lifetime = NumberRange.new(2, 3)
- ParticleEmitter205.Rate = 80
- ParticleEmitter205.RotSpeed = NumberRange.new(-30, 30)
- ParticleEmitter205.Speed = NumberRange.new(0.10000000149012, 0.10000000149012)
- ParticleEmitter205.VelocitySpread = 360
- ParticleEmitter205.Color = ColorSequence.new(Color3.new(1, 0.878431, 0.431373),Color3.new(0.615686, 0.145098, 1))
- ParticleEmitter206.Name = "Lightning3"
- ParticleEmitter206.Parent = Part202
- ParticleEmitter206.Transparency = NumberSequence.new(1,0,0,0,0,0.98000001907349)
- ParticleEmitter206.Rotation = NumberRange.new(0, 360)
- ParticleEmitter206.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter206.Color = ColorSequence.new(Color3.new(1, 0.898039, 0.490196),Color3.new(0.701961, 0.223529, 1))
- ParticleEmitter206.Enabled = false
- ParticleEmitter206.LightEmission = 0.69999998807907
- ParticleEmitter206.Texture = "rbxassetid://289770974"
- ParticleEmitter206.Acceleration = Vector3.new(0, -1, 1)
- ParticleEmitter206.Lifetime = NumberRange.new(2, 3)
- ParticleEmitter206.RotSpeed = NumberRange.new(-30, 30)
- ParticleEmitter206.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter206.VelocitySpread = 360
- ParticleEmitter206.Color = ColorSequence.new(Color3.new(1, 0.898039, 0.490196),Color3.new(0.701961, 0.223529, 1))
- PointLight207.Parent = Part202
- PointLight207.Color = Color3.new(1, 0.647059, 0.964706)
- PointLight207.Enabled = false
- PointLight207.Color = Color3.new(1, 0.647059, 0.964706)
- ParticleEmitter208.Name = "Stroke"
- ParticleEmitter208.Parent = Part202
- ParticleEmitter208.Transparency = NumberSequence.new(0.20454500615597,1)
- ParticleEmitter208.Rotation = NumberRange.new(0, 360)
- ParticleEmitter208.Size = NumberSequence.new(1.125,0.8125,2.3333299160004)
- ParticleEmitter208.Color = ColorSequence.new(Color3.new(0.945098, 0.537255, 0.980392),Color3.new(0, 0, 0))
- ParticleEmitter208.Enabled = false
- ParticleEmitter208.LightEmission = 0.20000000298023
- ParticleEmitter208.Texture = "http://www.roblox.com/asset/?id=296659257"
- ParticleEmitter208.Acceleration = Vector3.new(0, 0, 0.100000001)
- ParticleEmitter208.Lifetime = NumberRange.new(1, 2)
- ParticleEmitter208.Rate = 200
- ParticleEmitter208.RotSpeed = NumberRange.new(-25, 25)
- ParticleEmitter208.Speed = NumberRange.new(0, 0.10000000149012)
- ParticleEmitter208.Color = ColorSequence.new(Color3.new(0.945098, 0.537255, 0.980392),Color3.new(0, 0, 0))
- Tool209.Name = "Conch"
- Tool209.Parent = mas
- Tool209.GripForward = Vector3.new(-0, 0.98480773, -0.173648193)
- Tool209.GripPos = Vector3.new(0, -0.542477846, 0.0603880882)
- Tool209.GripRight = Vector3.new(0.866025388, 0.0868240967, 0.492403865)
- Tool209.GripUp = Vector3.new(-0.5, 0.150383741, 0.852868497)
- BillboardGui210.Name = "G"
- BillboardGui210.Parent = mas
- BillboardGui210.Size = UDim2.new(4, 0, 1, 0)
- BillboardGui210.Enabled = false
- BillboardGui210.AlwaysOnTop = true
- BillboardGui210.StudsOffset = Vector3.new(0, 2, 0)
- TextLabel211.Name = "L"
- TextLabel211.Parent = BillboardGui210
- TextLabel211.Transparency = 1
- TextLabel211.Size = UDim2.new(1, 0, 1, 0)
- TextLabel211.Text = "Nothing."
- TextLabel211.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel211.BackgroundTransparency = 1
- TextLabel211.TextColor3 = Color3.new(0.490196, 0.407843, 0.729412)
- TextLabel211.TextScaled = true
- TextLabel211.TextStrokeColor3 = Color3.new(1, 0.847059, 0.45098)
- TextLabel211.TextStrokeTransparency = 0.40000000596046
- TextLabel211.TextWrapped = true
- TextLabel211.TextYAlignment = Enum.TextYAlignment.Bottom
- ParticleEmitter212.Name = "E"
- ParticleEmitter212.Parent = mas
- ParticleEmitter212.Transparency = NumberSequence.new(1,0,1)
- ParticleEmitter212.Rotation = NumberRange.new(0, 360)
- ParticleEmitter212.Size = NumberSequence.new(0.875,1.5625)
- ParticleEmitter212.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter212.Enabled = false
- ParticleEmitter212.LightEmission = 0.20000000298023
- ParticleEmitter212.Texture = "http://www.roblox.com/asset/?id=445231746"
- ParticleEmitter212.Lifetime = NumberRange.new(2, 3)
- ParticleEmitter212.Rate = 80
- ParticleEmitter212.RotSpeed = NumberRange.new(-20, 20)
- ParticleEmitter212.Speed = NumberRange.new(0.20000000298023, 0.20000000298023)
- ParticleEmitter212.VelocitySpread = 360
- ParticleEmitter212.Color = ColorSequence.new(Color3.new(1, 0.929412, 0.564706),Color3.new(0.866667, 0.627451, 1),Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- Script213.Parent = Tool209
- table.insert(cors,sandbox(Script213,function()
- local ev=Instance.new("RemoteEvent",script.Parent)
- ev.Name="Conch"
- local function ConchEvent(p,number)
- script.Parent.Type.Value=number
- end
- ev.OnServerEvent:connect(ConchEvent)
- local Tool=script.Parent
- local Gui=Tool.Handle:WaitForChild("G")
- local L=Gui:WaitForChild("L")
- local SoundsIds={
- {448352003,"No."},
- {147760112,"Nothing."},
- {483414191,"Try asking again."},
- {483414204,"I don't think so."},
- {483972159,"Maybe some day."},
- {483977329,"Yes."}
- }
- local Cooldown=false
- local function Activate()
- if not Cooldown then
- Cooldown=true
- local rand=Tool.Type.Value
- local S=Instance.new("Sound",Tool.Handle)
- S.SoundId="rbxassetid://"..SoundsIds[rand][1]
- S.Volume=1
- S:Play()
- spawn(function()
- wait(3)
- S:Destroy()
- end)
- L.Text=SoundsIds[rand][2]
- Gui.Enabled=true
- Tool.Handle.E:Emit(10)
- wait(3)
- Gui.Enabled=false
- wait(.5)
- Cooldown=false
- end
- end
- Tool.Activated:connect(Activate)
- end))
- LocalScript214.Parent = Tool209
- table.insert(cors,sandbox(LocalScript214,function()
- local plr=game.Players.LocalPlayer
- local Input=game:GetService("UserInputService")
- Input.InputBegan:connect(function(input)
- if input.KeyCode==Enum.KeyCode.U and Input:GetFocusedTextBox()==nil then
- script.Parent.Conch:FireServer("1")
- end
- if input.KeyCode==Enum.KeyCode.I and Input:GetFocusedTextBox()==nil then
- script.Parent.Conch:FireServer("2")
- end
- if input.KeyCode==Enum.KeyCode.O and Input:GetFocusedTextBox()==nil then
- script.Parent.Conch:FireServer("3")
- end
- if input.KeyCode==Enum.KeyCode.P and Input:GetFocusedTextBox()==nil then
- script.Parent.Conch:FireServer("4")
- end
- if input.KeyCode==Enum.KeyCode.LeftBracket and Input:GetFocusedTextBox()==nil then
- script.Parent.Conch:FireServer("5")
- end
- if input.KeyCode==Enum.KeyCode.RightBracket and Input:GetFocusedTextBox()==nil then
- script.Parent.Conch:FireServer("6")
- end
- end)
- end))
- IntValue215.Name = "Type"
- IntValue215.Parent = Tool209
- IntValue215.Value = 1
- Sound216.Parent = Tool209
- Tool217.Name = "Saber"
- Tool217.Parent = mas
- Tool217.GripForward = Vector3.new(1, 0, 0)
- Tool217.GripPos = Vector3.new(0, 2, 0)
- Tool217.GripRight = Vector3.new(0, 0, -1)
- Tool217.GripUp = Vector3.new(0, -1, 0)
- Tool217.ToolTip = "Whalers' Officer Sword"
- Tool217.CanBeDropped = false
- Part218.Name = "Handle"
- Part218.Parent = Tool217
- Part218.BrickColor = BrickColor.new("Dark stone grey")
- Part218.Reflectance = 0.40000000596046
- Part218.Transparency = 1
- Part218.Rotation = Vector3.new(180, 0, 0)
- Part218.CanCollide = false
- Part218.FormFactor = Enum.FormFactor.Custom
- Part218.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
- Part218.CFrame = CFrame.new(2.58068109, 12.5142584, 36.8965454, 1, -1.60071464e-22, 6.23826806e-15, 2.11758237e-22, -1, -5.96046377e-08, 6.23826806e-15, 5.96046377e-08, -1)
- Part218.BottomSurface = Enum.SurfaceType.Smooth
- Part218.TopSurface = Enum.SurfaceType.Smooth
- Part218.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part218.Position = Vector3.new(2.58068109, 12.5142584, 36.8965454)
- Part218.Orientation = Vector3.new(0, 180, 180)
- Part218.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Model219.Name = "Sheath"
- Model219.Parent = Tool217
- ManualWeld220.Name = "Weld"
- ManualWeld220.Parent = mas
- ManualWeld220.C0 = CFrame.new(0, 0, 0, -1, -1.53841295e-32, 6.46234854e-27, -6.46234854e-27, -5.5719318e-15, 1, 1.53369319e-32, 1, -5.5719318e-15)
- ManualWeld220.C1 = CFrame.new(-0.0213623047, -0.000297546387, 1.8490715, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld220.Part0 = nil
- ManualWeld220.Part1 = nil
- ManualWeld221.Name = "Weld"
- ManualWeld221.Parent = mas
- ManualWeld221.C0 = CFrame.new(0, 0, 0, -1, -1.53841295e-32, 6.46234854e-27, -6.46234854e-27, -5.5719318e-15, 1, 1.53369319e-32, 1, -5.5719318e-15)
- ManualWeld221.C1 = CFrame.new(0.00109481812, -0.000293731689, -1.53172398, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld221.Part0 = nil
- ManualWeld221.Part1 = nil
- Part222.Name = "Handle"
- Part222.Parent = Model219
- Part222.BrickColor = BrickColor.new("Dark stone grey")
- Part222.Reflectance = 0.40000000596046
- Part222.Transparency = 1
- Part222.Rotation = Vector3.new(180, 0, 0)
- Part222.CanCollide = false
- Part222.FormFactor = Enum.FormFactor.Custom
- Part222.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
- Part222.CFrame = CFrame.new(2.58068109, 12.5142584, 36.8965454, 1, -1.60071464e-22, 6.23826806e-15, 2.11758237e-22, -1, -5.96046377e-08, 6.23826806e-15, 5.96046377e-08, -1)
- Part222.BottomSurface = Enum.SurfaceType.Smooth
- Part222.TopSurface = Enum.SurfaceType.Smooth
- Part222.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part222.Position = Vector3.new(2.58068109, 12.5142584, 36.8965454)
- Part222.Orientation = Vector3.new(0, 180, 180)
- Part222.Color = Color3.new(0.388235, 0.372549, 0.384314)
- ManualWeld223.Name = "Weld"
- ManualWeld223.Parent = Part222
- ManualWeld223.C0 = CFrame.new(0, 0, 0, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld223.C1 = CFrame.new(-0.0770301819, 0.0458289385, -0.344614983, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld223.Part0 = Part222
- ManualWeld223.Part1 = nil
- ManualWeld224.Name = "Weld"
- ManualWeld224.Parent = mas
- ManualWeld224.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld224.C1 = CFrame.new(-0.0816249847, 1.77062011, 0.062302351, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld224.Part0 = nil
- ManualWeld224.Part1 = Part218
- ManualWeld225.Name = "Weld"
- ManualWeld225.Parent = mas
- ManualWeld225.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld225.C1 = CFrame.new(-0.0652732849, -0.336987495, 0.0498373508, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld225.Part0 = nil
- ManualWeld225.Part1 = Part218
- ParticleEmitter226.Name = "ASD1"
- ParticleEmitter226.Parent = mas
- ParticleEmitter226.Transparency = NumberSequence.new(0.96100002527237,0.90643298625946,0.98000001907349)
- ParticleEmitter226.Size = NumberSequence.new(0.44444400072098,3.8125,0.73248398303986,2.375)
- ParticleEmitter226.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
- ParticleEmitter226.Enabled = false
- ParticleEmitter226.LightEmission = 1
- ParticleEmitter226.Texture = "http://www.roblox.com/asset/?id=217245118"
- ParticleEmitter226.ZOffset = 1.2000000476837
- ParticleEmitter226.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter226.Rate = 50
- ParticleEmitter226.Speed = NumberRange.new(0, 0)
- ParticleEmitter226.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
- ParticleEmitter227.Name = "ASD2"
- ParticleEmitter227.Parent = mas
- ParticleEmitter227.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter227.Rotation = NumberRange.new(0, 360)
- ParticleEmitter227.Size = NumberSequence.new(2,2)
- ParticleEmitter227.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
- ParticleEmitter227.Enabled = false
- ParticleEmitter227.LightEmission = 1
- ParticleEmitter227.Texture = "http://www.roblox.com/asset/?id=398285173"
- ParticleEmitter227.ZOffset = 1
- ParticleEmitter227.Acceleration = Vector3.new(0, 0.5, 0)
- ParticleEmitter227.Lifetime = NumberRange.new(1, 3)
- ParticleEmitter227.Rate = 30
- ParticleEmitter227.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter227.VelocitySpread = 360
- ParticleEmitter227.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
- PointLight228.Parent = mas
- PointLight228.Color = Color3.new(1, 0.85098, 0.00392157)
- PointLight228.Enabled = false
- PointLight228.Range = 10
- PointLight228.Color = Color3.new(1, 0.85098, 0.00392157)
- ParticleEmitter229.Name = "Stroke"
- ParticleEmitter229.Parent = mas
- ParticleEmitter229.Transparency = NumberSequence.new(0.20454500615597,1)
- ParticleEmitter229.Rotation = NumberRange.new(0, 360)
- ParticleEmitter229.Size = NumberSequence.new(1.6013100147247,0.8125,1.7647099494934,3.0718998908997)
- ParticleEmitter229.Color = ColorSequence.new(Color3.new(0.980392, 0.921569, 0.588235),Color3.new(1, 1, 1))
- ParticleEmitter229.Enabled = false
- ParticleEmitter229.LightEmission = 0.20000000298023
- ParticleEmitter229.Texture = "http://www.roblox.com/asset/?id=296659257"
- ParticleEmitter229.Acceleration = Vector3.new(0, 0, 0.200000003)
- ParticleEmitter229.Lifetime = NumberRange.new(1, 3)
- ParticleEmitter229.Rate = 300
- ParticleEmitter229.RotSpeed = NumberRange.new(-25, 25)
- ParticleEmitter229.Speed = NumberRange.new(0, 0.10000000149012)
- ParticleEmitter229.Color = ColorSequence.new(Color3.new(0.980392, 0.921569, 0.588235),Color3.new(1, 1, 1))
- ManualWeld230.Name = "Weld"
- ManualWeld230.Parent = mas
- ManualWeld230.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld230.C1 = CFrame.new(-0.0854969025, 1.76604128, -0.13350749, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld230.Part0 = nil
- ManualWeld230.Part1 = Part218
- Script231.Name = "CharacterWeld"
- Script231.Parent = Tool217
- table.insert(cors,sandbox(Script231,function()
- -- Tool References
- local Tool = script.Parent
- local Player = script.Parent.Parent.Parent
- local Model = nil
- -- When the tool is unequipped
- local weldTypes={
- [Enum.HumanoidRigType.R6]={CFrame.new(0, 0, 0, 0.0547484495, -0.865400016, -0.498081446, 0.0722314417, 0.500955105, -0.862453759, 0.99588418, 0.0112408586, 0.0899356306),CFrame.new(-1.15534592, -1.66430891, 0.736231804, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)},
- [Enum.HumanoidRigType.R15]={CFrame.new(0, 0, 0, -0.99588418, -0.0112408306, -0.0899356827, -0.0722315013, -0.500955224, 0.862453759, -0.0547484495, 0.865400255, 0.498081446),CFrame.new(-1.10471725, -0.766994357, 0.76199913, 1, 2.1789784e-020, 0, 2.17897872e-020, 0.999999881, 0, 0, 0, 1)}
- }
- local part1Attachment={
- [Enum.HumanoidRigType.R6]="Torso",
- [Enum.HumanoidRigType.R15]="LowerTorso"
- }
- Tool.Unequipped:connect(function()
- -- Define Character
- local Character = Player.Character
- -- Create the welded model
- Model = Instance.new("Model", Character)
- Model.Name = Tool.Name.."Weld"
- -- Weld all parts to the handle
- local Handle = Tool.Handle:Clone()
- Handle.Name = "Part"
- Handle.CanCollide = false
- Handle.Parent = Model
- for _,Item in pairs(Tool:GetChildren()) do
- if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
- if Item.Name ~= "Handle" then
- local Part = Item:Clone()
- Part.Name = "Part"
- local Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Part
- Weld.Part1 = Handle
- Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
- Part.Parent = Model
- end
- end
- end
- -- CFrame model to side
- local Weld = Instance.new("Weld")
- Weld.Parent = Handle
- Weld.Part0 = Handle
- Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]--Player.Character.Torso
- Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
- Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
- end)
- -- When the tool is equipped
- Tool.Equipped:connect(function()
- -- Remove the tool when they re-equip sword
- if not Player.Character:FindFirstChild("Sheath") then
- local SheathModel=script.Parent.Sheath
- SheathModel.Parent=Player.Character
- local Weld = Instance.new("Weld")
- Weld.Parent = SheathModel.Handle
- Weld.Part0 = SheathModel.Handle
- Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]
- Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
- Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
- end
- if Model ~= nil then
- Model:Destroy()
- end
- end)
- end))
- Script232.Name = "SwordScript"
- Script232.Parent = Tool217
- table.insert(cors,sandbox(Script232,function()
- --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
- r = game:service("RunService")
- local damage = 5
- local slash_damage = 10
- local lunge_damage = 30
- sword = script.Parent.Handle
- Tool = script.Parent
- local fxToggled = false
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = sword
- SlashSound.Volume = .7
- local LungeSound = Instance.new("Sound")
- LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
- LungeSound.Parent = sword
- LungeSound.Volume = .6
- local UnsheathSound = Instance.new("Sound")
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Parent = sword
- UnsheathSound.Volume = 1
- function blow(hit)
- if (hit.Parent == nil) then return end
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid")
- if humanoid and humanoid ~= hum and hum then
- -- final check, make sure sword is in-hand
- local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
- if guygettingsliced then --If he's a player
- --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- --end
- else --If he's not a player (AI, shop, etc)
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- end
- --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- local fx=script.Parent:FindFirstChild("Blade")
- local fx2=script.Parent.Blade:FindFirstChild("Stroke")
- function lunge()
- damage = lunge_damage
- LungeSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Lunge"
- anim.Parent = Tool
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,10,0)
- force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
- force.Parent = Tool.Parent.Torso
- if fx and fx2 and fxToggled then fx2.Enabled=true end
- wait(.25)
- swordOut()
- wait(.25)
- force.Parent = nil
- wait(.5)
- swordUp()
- if fx and fx2 then fx2.Enabled=false end
- damage = slash_damage
- end
- function swordUp()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(0, -1, 0)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(-20, -1, 0)
- end
- function swordAcross()
- -- parry
- end
- Tool.Enabled = true
- local last_attack = 0
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local t = r.Stepped:wait()
- if (t - last_attack < .2) then
- lunge()
- else
- attack()
- end
- last_attack = t
- --wait(.5)
- Tool.Enabled = true
- end
- function onEquipped()
- UnsheathSound:play()
- end
- script.Parent.Effects.OnServerEvent:connect(function(p,toggle)
- local ch=script.Parent.Blade:GetChildren()
- for i=1,#ch do
- if ch[i].ClassName=="ParticleEmitter" or ch[i].ClassName=="PointLight" then
- ch[i].Enabled=toggle
- end
- end
- spawn(function()
- wait(.5)
- script.Parent.Blade.Stroke.Enabled=false
- end)
- fxToggled=toggle
- if not toggle then
- script.Parent.Blade.Material=Enum.Material.Metal
- script.Parent.Blade.BrickColor=BrickColor.new("Institutional white")
- damage=5
- slash_damage=10
- lunge_damage=30
- else
- script.Parent.Blade.Material=Enum.Material.Neon
- script.Parent.Blade.BrickColor=BrickColor.new("Cool yellow")
- damage=15
- slash_damage=20
- lunge_damage=50
- end
- end)
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- connection = sword.Touched:connect(blow)
- end))
- LocalScript233.Parent = Tool217
- table.insert(cors,sandbox(LocalScript233,function()
- repeat wait() until game.Players.LocalPlayer.Character~=nil
- local plr=game.Players.LocalPlayer
- local chr=plr.Character
- local KeyPress=game:GetService("UserInputService")
- local Tool=script.Parent
- local ToolEquipped=false
- local fx=false
- KeyPress.InputBegan:connect(function(Key)
- if Key.KeyCode==Enum.KeyCode.E and ToolEquipped then
- fx = not fx
- script.Parent.Effects:FireServer(fx)
- end
- end)
- Tool.Equipped:connect(function()
- ToolEquipped=true
- end)
- Tool.Unequipped:connect(function()
- ToolEquipped=false
- end)
- end))
- RemoteEvent234.Name = "Effects"
- RemoteEvent234.Parent = Tool217
- Tool235.Name = "Stars"
- Tool235.Parent = mas
- Tool235.GripForward = Vector3.new(1, 0, 0)
- Tool235.GripPos = Vector3.new(0, 2, 0)
- Tool235.GripRight = Vector3.new(0, 0, -1)
- Tool235.GripUp = Vector3.new(0, -1, 0)
- Tool235.ToolTip = "Whalers' Officer Sword"
- Tool235.CanBeDropped = false
- Part236.Name = "Handle"
- Part236.Parent = Tool235
- Part236.BrickColor = BrickColor.new("Dark stone grey")
- Part236.Reflectance = 0.40000000596046
- Part236.Transparency = 1
- Part236.Rotation = Vector3.new(180, 0, 0)
- Part236.CanCollide = false
- Part236.FormFactor = Enum.FormFactor.Custom
- Part236.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
- Part236.CFrame = CFrame.new(51.3806801, 9.38865376, 545.796448, 1.00000083, -1.00867403e-22, 7.02134494e-15, -4.43255605e-29, -1.00000083, -5.96046803e-08, 2.54677142e-15, 5.96046519e-08, -1)
- Part236.BottomSurface = Enum.SurfaceType.Smooth
- Part236.TopSurface = Enum.SurfaceType.Smooth
- Part236.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part236.Position = Vector3.new(51.3806801, 9.38865376, 545.796448)
- Part236.Orientation = Vector3.new(0, 180, -180)
- Part236.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script237.Name = "CharacterWeld"
- Script237.Parent = Tool235
- table.insert(cors,sandbox(Script237,function()
- -- Tool References
- local Tool = script.Parent
- local Player = script.Parent.Parent.Parent
- local Model = nil
- -- When the tool is unequipped
- local weldTypes={
- [Enum.HumanoidRigType.R6]={CFrame.new(0, 0, 0, 0.0547484495, -0.865400016, -0.498081446, 0.0722314417, 0.500955105, -0.862453759, 0.99588418, 0.0112408586, 0.0899356306),CFrame.new(-1.15534592, -1.66430891, 0.736231804, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)},
- [Enum.HumanoidRigType.R15]={CFrame.new(0, 0, 0, -0.99588418, -0.0112408306, -0.0899356827, -0.0722315013, -0.500955224, 0.862453759, -0.0547484495, 0.865400255, 0.498081446),CFrame.new(-1.10471725, -0.766994357, 0.76199913, 1, 2.1789784e-020, 0, 2.17897872e-020, 0.999999881, 0, 0, 0, 1)}
- }
- local part1Attachment={
- [Enum.HumanoidRigType.R6]="Torso",
- [Enum.HumanoidRigType.R15]="LowerTorso"
- }
- Tool.Unequipped:connect(function()
- -- Define Character
- local Character = Player.Character
- -- Create the welded model
- Model = Instance.new("Model", Character)
- Model.Name = Tool.Name.."Weld"
- -- Weld all parts to the handle
- local Handle = Tool.Handle:Clone()
- Handle.Name = "Part"
- Handle.CanCollide = false
- Handle.Parent = Model
- for _,Item in pairs(Tool:GetChildren()) do
- if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
- if Item.Name ~= "Handle" then
- local Part = Item:Clone()
- Part.Name = "Part"
- local Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Part
- Weld.Part1 = Handle
- Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
- Part.Parent = Model
- end
- end
- end
- -- CFrame model to side
- local Weld = Instance.new("Weld")
- Weld.Parent = Handle
- Weld.Part0 = Handle
- Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]--Player.Character.Torso
- Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
- Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
- end)
- -- When the tool is equipped
- Tool.Equipped:connect(function()
- -- Remove the tool when they re-equip sword
- if Model ~= nil then
- Model:Destroy()
- end
- end)
- end))
- Script238.Name = "SwordScript"
- Script238.Parent = Tool235
- table.insert(cors,sandbox(Script238,function()
- --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
- r = game:service("RunService")
- local damage = 5
- local slash_damage = 10
- local lunge_damage = 30
- sword = script.Parent.Handle
- Tool = script.Parent
- local fxToggled = false
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = sword
- SlashSound.Volume = .7
- local LungeSound = Instance.new("Sound")
- LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
- LungeSound.Parent = sword
- LungeSound.Volume = .6
- local UnsheathSound = Instance.new("Sound")
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Parent = sword
- UnsheathSound.Volume = 1
- function blow(hit)
- if (hit.Parent == nil) then return end
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid")
- if humanoid and humanoid ~= hum and hum then
- -- final check, make sure sword is in-hand
- local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
- if guygettingsliced then --If he's a player
- --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- --end
- else --If he's not a player (AI, shop, etc)
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- end
- --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- local fx=script.Parent:FindFirstChild("Blade")
- local fx2=script.Parent.Blade:FindFirstChild("Stroke")
- function lunge()
- damage = lunge_damage
- LungeSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Lunge"
- anim.Parent = Tool
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,10,0)
- force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
- force.Parent = Tool.Parent.Torso
- if fx and fx2 and fxToggled then fx2.Enabled=true end
- wait(.25)
- swordOut()
- wait(.25)
- force.Parent = nil
- wait(.5)
- swordUp()
- if fx and fx2 then fx2.Enabled=false end
- damage = slash_damage
- end
- function swordUp()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(0, -1, 0)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(-20, -1, 0)
- end
- function swordAcross()
- -- parry
- end
- Tool.Enabled = true
- local last_attack = 0
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local t = r.Stepped:wait()
- if (t - last_attack < .2) then
- lunge()
- else
- attack()
- end
- last_attack = t
- --wait(.5)
- Tool.Enabled = true
- end
- function onEquipped()
- UnsheathSound:play()
- end
- script.Parent.Effects.OnServerEvent:connect(function(p,toggle)
- local ch=script.Parent.Blade:GetChildren()
- for i=1,#ch do
- if ch[i].ClassName=="ParticleEmitter" then
- ch[i].Enabled=toggle
- end
- end
- spawn(function()
- wait(.5)
- script.Parent.Blade.Stroke.Enabled=false
- end)
- fxToggled=toggle
- if not toggle then
- script.Parent.Neon.Material=Enum.Material.Metal
- script.Parent.Neon.BrickColor=BrickColor.new("Cool yellow")
- script.Parent.NeonBlade.Material=Enum.Material.Metal
- script.Parent.NeonBlade.BrickColor=BrickColor.new("Medium stone grey")
- damage=5
- slash_damage=10
- lunge_damage=30
- else
- script.Parent.Neon.Material=Enum.Material.Neon
- script.Parent.Neon.BrickColor=BrickColor.new("Cool yellow")
- script.Parent.NeonBlade.Material=Enum.Material.Neon
- script.Parent.NeonBlade.BrickColor=BrickColor.new("Cork")
- damage=15
- slash_damage=20
- lunge_damage=50
- end
- end)
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- connection = sword.Touched:connect(blow)
- end))
- LocalScript239.Parent = Tool235
- table.insert(cors,sandbox(LocalScript239,function()
- repeat wait() until game.Players.LocalPlayer.Character~=nil
- local plr=game.Players.LocalPlayer
- local chr=plr.Character
- local KeyPress=game:GetService("UserInputService")
- local Tool=script.Parent
- local ToolEquipped=false
- local fx=false
- KeyPress.InputBegan:connect(function(Key)
- if Key.KeyCode==Enum.KeyCode.E and ToolEquipped then
- fx = not fx
- script.Parent.Effects:FireServer(fx)
- end
- end)
- Tool.Equipped:connect(function()
- ToolEquipped=true
- end)
- Tool.Unequipped:connect(function()
- ToolEquipped=false
- end)
- end))
- RemoteEvent240.Name = "Effects"
- RemoteEvent240.Parent = Tool235
- ManualWeld241.Name = "Weld"
- ManualWeld241.Parent = mas
- ManualWeld241.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
- ManualWeld241.C1 = CFrame.new(-0.111595154, -0.181357384, 0.0515365601, 1.00000012, 0, 6.23826806e-15, 0, -1.00000012, 5.96046377e-08, 7.10542736e-15, -5.96046412e-08, -1)
- ManualWeld241.Part0 = nil
- ManualWeld241.Part1 = Part236
- ManualWeld242.Name = "Weld"
- ManualWeld242.Parent = mas
- ManualWeld242.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
- ManualWeld242.C1 = CFrame.new(-0.157051086, 1.47907066, 0.0514755249, 1.00000012, 0, 6.23826806e-15, 0, -1.00000012, 5.96046377e-08, 7.10542736e-15, -5.96046412e-08, -1)
- ManualWeld242.Part0 = nil
- ManualWeld242.Part1 = Part236
- ManualWeld243.Name = "Weld"
- ManualWeld243.Parent = mas
- ManualWeld243.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
- ManualWeld243.C1 = CFrame.new(-0.0959625244, -0.409609795, 0.0515365601, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld243.Part0 = nil
- ManualWeld243.Part1 = Part236
- ManualWeld244.Name = "Weld"
- ManualWeld244.Parent = mas
- ManualWeld244.C0 = CFrame.new(0, 0, 0, 0.642788053, 0.76604414, 0, -0.76604414, 0.642788053, 0, 0, 0, 1)
- ManualWeld244.C1 = CFrame.new(-0.0471954346, 2.07928133, 0.0489425659, 1.00000012, 0, 6.23826806e-15, 0, -1.00000012, 5.96046377e-08, 7.10542736e-15, -5.96046412e-08, -1)
- ManualWeld244.Part0 = nil
- ManualWeld244.Part1 = Part236
- ManualWeld245.Name = "Weld"
- ManualWeld245.Parent = mas
- ManualWeld245.C0 = CFrame.new(0, 0, 0, 0.342137009, -0.0113129998, 0.93958199, 0.665296674, 0.709051788, -0.233722121, -0.663568139, 0.705065727, 0.250119299)
- ManualWeld245.C1 = CFrame.new(-0.0302352905, -0.740633965, 0.103126526, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld245.Part0 = nil
- ManualWeld245.Part1 = Part236
- PointLight246.Parent = mas
- PointLight246.Color = Color3.new(1, 0.85098, 0.00392157)
- PointLight246.Enabled = false
- PointLight246.Range = 10
- PointLight246.Color = Color3.new(1, 0.85098, 0.00392157)
- ParticleEmitter247.Name = "Stroke"
- ParticleEmitter247.Parent = mas
- ParticleEmitter247.Transparency = NumberSequence.new(0.20454500615597,1)
- ParticleEmitter247.Rotation = NumberRange.new(0, 360)
- ParticleEmitter247.Size = NumberSequence.new(0.375,0.3125,1.5625)
- ParticleEmitter247.Color = ColorSequence.new(Color3.new(0.980392, 0.886275, 0.537255),Color3.new(0.654902, 0.592157, 0.913725),Color3.new(0.682353, 0.619608, 1))
- ParticleEmitter247.Enabled = false
- ParticleEmitter247.LightEmission = 0.25999999046326
- ParticleEmitter247.Texture = "http://www.roblox.com/asset/?id=296659257"
- ParticleEmitter247.Acceleration = Vector3.new(0, 0, 0.200000003)
- ParticleEmitter247.Lifetime = NumberRange.new(1, 3)
- ParticleEmitter247.Rate = 300
- ParticleEmitter247.RotSpeed = NumberRange.new(-25, 25)
- ParticleEmitter247.Speed = NumberRange.new(0, 0.10000000149012)
- ParticleEmitter247.Color = ColorSequence.new(Color3.new(0.980392, 0.886275, 0.537255),Color3.new(0.654902, 0.592157, 0.913725),Color3.new(0.682353, 0.619608, 1))
- ParticleEmitter248.Name = "ASD2"
- ParticleEmitter248.Parent = mas
- ParticleEmitter248.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter248.Rotation = NumberRange.new(0, 360)
- ParticleEmitter248.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
- ParticleEmitter248.Enabled = false
- ParticleEmitter248.LightEmission = 1
- ParticleEmitter248.Texture = "http://www.roblox.com/asset/?id=398285173"
- ParticleEmitter248.ZOffset = 1
- ParticleEmitter248.Lifetime = NumberRange.new(1, 3)
- ParticleEmitter248.Rate = 30
- ParticleEmitter248.Speed = NumberRange.new(0.10000000149012, 0.20000000298023)
- ParticleEmitter248.VelocitySpread = 360
- ParticleEmitter248.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
- ManualWeld249.Name = "Weld"
- ManualWeld249.Parent = mas
- ManualWeld249.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- ManualWeld249.C1 = CFrame.new(0.0347213745, -0.21780777, -0.050163269, 1, 2.11758237e-22, 6.23826806e-15, -1.60071464e-22, -1, 5.96046377e-08, 6.23826806e-15, -5.96046377e-08, -1)
- ManualWeld249.Part0 = nil
- ManualWeld249.Part1 = Part236
- Tool250.Name = "Sword"
- Tool250.Parent = mas
- Tool250.GripForward = Vector3.new(1, 0, 0)
- Tool250.GripPos = Vector3.new(0, 2, 0)
- Tool250.GripRight = Vector3.new(0, 0, -1)
- Tool250.GripUp = Vector3.new(0, -1, 0)
- Tool250.ToolTip = "Whalers' Officer Sword"
- Tool250.CanBeDropped = false
- Script251.Name = "SwordScript"
- Script251.Parent = Tool250
- table.insert(cors,sandbox(Script251,function()
- --Got this one on the first try. What a simple edit. x3 ~Bloxmaster998144
- r = game:service("RunService")
- local damage = 5
- local slash_damage = 10
- local lunge_damage = 30
- sword = script.Parent.Handle
- Tool = script.Parent
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = sword
- SlashSound.Volume = .7
- local LungeSound = Instance.new("Sound")
- LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
- LungeSound.Parent = sword
- LungeSound.Volume = .6
- local UnsheathSound = Instance.new("Sound")
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Parent = sword
- UnsheathSound.Volume = 1
- function blow(hit)
- if (hit.Parent == nil) then return end
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid")
- if humanoid and humanoid ~= hum and hum then
- -- final check, make sure sword is in-hand
- local guygettingsliced = game.Players:GetPlayerFromCharacter(hit.Parent) --OH LOOK, here's an edit
- local right_arm = vCharacter:FindFirstChild("Right Arm")
- if (right_arm) then
- local joint = right_arm:FindFirstChild("RightGrip")
- if (joint and (joint.Part0 == sword or joint.Part1 == sword)) then
- if guygettingsliced then --If he's a player
- --if vPlayer.TeamColor ~= guygettingsliced.TeamColor then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- --end
- else --If he's not a player (AI, shop, etc)
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(damage)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- end
- --Added those two (if player/if not player) in so this wouldn't break if you used it on AI, or something of the sort.
- end
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function attack()
- damage = slash_damage
- SlashSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- function lunge()
- damage = lunge_damage
- LungeSound:play()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Lunge"
- anim.Parent = Tool
- local force = Instance.new("BodyVelocity")
- force.velocity = Vector3.new(0,10,0)
- force.maxForce = Vector3.new(0,4000,0) -- ADD THIS TO CHANGE MOMENTUM
- force.Parent = Tool.Parent.Torso
- wait(.25)
- swordOut()
- wait(.25)
- force.Parent = nil
- wait(.5)
- swordUp()
- damage = slash_damage
- end
- function swordUp()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(0, -1, 0)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(1, 0, 0)
- Tool.GripRight = Vector3.new(0, 0, -1)
- Tool.GripUp = Vector3.new(-20, -1, 0)
- end
- function swordAcross()
- -- parry
- end
- Tool.Enabled = true
- local last_attack = 0
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local t = r.Stepped:wait()
- if (t - last_attack < .2) then
- lunge()
- else
- attack()
- end
- last_attack = t
- --wait(.5)
- Tool.Enabled = true
- end
- function onEquipped()
- UnsheathSound:play()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- connection = sword.Touched:connect(blow)
- end))
- Part252.Name = "Handle"
- Part252.Parent = Tool250
- Part252.BrickColor = BrickColor.new("Dark stone grey")
- Part252.Reflectance = 0.40000000596046
- Part252.Transparency = 1
- Part252.CanCollide = false
- Part252.FormFactor = Enum.FormFactor.Custom
- Part252.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
- Part252.CFrame = CFrame.new(92.0806732, 2.44756794, 169.973358, 1, -4.58018158e-15, 5.96046377e-08, 6.23827145e-15, 1, -2.78181318e-08, -5.96046377e-08, 2.78181318e-08, 1)
- Part252.BottomSurface = Enum.SurfaceType.Smooth
- Part252.TopSurface = Enum.SurfaceType.Smooth
- Part252.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part252.Position = Vector3.new(92.0806732, 2.44756794, 169.973358)
- Part252.Color = Color3.new(0.388235, 0.372549, 0.384314)
- ManualWeld253.Name = "Weld"
- ManualWeld253.Parent = Part252
- ManualWeld253.C0 = CFrame.new(0, 0, 0, 1, 6.23827145e-15, -5.96046377e-08, -4.58018158e-15, 1, 2.78181318e-08, 5.96046377e-08, -2.78181318e-08, 1)
- ManualWeld253.C1 = CFrame.new(0.338930368, -0.0409965515, -0.0559577942, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld253.Part0 = Part252
- ManualWeld253.Part1 = nil
- Script254.Name = "CharacterWeld"
- Script254.Parent = Tool250
- table.insert(cors,sandbox(Script254,function()
- -- Tool References
- local Tool = script.Parent
- local Player = script.Parent.Parent.Parent
- local Model = nil
- -- When the tool is unequipped
- local weldTypes={
- [Enum.HumanoidRigType.R6]={CFrame.new(0, 0, 0, 0.0547484495, -0.865400016, -0.498081446, 0.0722314417, 0.500955105, -0.862453759, 0.99588418, 0.0112408586, 0.0899356306),CFrame.new(-1.15534592, -1.66430891, 0.736231804, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)},
- [Enum.HumanoidRigType.R15]={CFrame.new(0, 0, 0, -0.99588418, -0.0112408306, -0.0899356827, -0.0722315013, -0.500955224, 0.862453759, -0.0547484495, 0.865400255, 0.498081446),CFrame.new(-1.10471725, -0.766994357, 0.76199913, 1, 2.1789784e-020, 0, 2.17897872e-020, 0.999999881, 0, 0, 0, 1)}
- }
- local part1Attachment={
- [Enum.HumanoidRigType.R6]="Torso",
- [Enum.HumanoidRigType.R15]="LowerTorso"
- }
- Tool.Unequipped:connect(function()
- -- Define Character
- local Character = Player.Character
- -- Create the welded model
- Model = Instance.new("Model", Character)
- Model.Name = Tool.Name.."Weld"
- -- Weld all parts to the handle
- local Handle = Tool.Handle:Clone()
- Handle.Name = "Part"
- Handle.CanCollide = false
- Handle.Parent = Model
- for _,Item in pairs(Tool:GetChildren()) do
- if Item.ClassName == "Part" or Item.ClassName == "UnionOperation" then
- if Item.Name ~= "Handle" then
- local Part = Item:Clone()
- Part.Name = "Part"
- local Weld = Instance.new("Weld")
- Weld.Parent = Part
- Weld.Part0 = Part
- Weld.Part1 = Handle
- Weld.C0 = Part.CFrame:inverse() * Handle.CFrame
- Part.Parent = Model
- end
- end
- end
- -- CFrame model to side
- local Weld = Instance.new("Weld")
- Weld.Parent = Handle
- Weld.Part0 = Handle
- Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]--Player.Character.Torso
- Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
- Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
- end)
- -- When the tool is equipped
- Tool.Equipped:connect(function()
- -- Remove the tool when they re-equip sword
- if not Player.Character:FindFirstChild("Sheath") then
- local SheathModel=script.Parent.Sheath
- SheathModel.Parent=Player.Character
- local Weld = Instance.new("Weld")
- Weld.Parent = SheathModel.Handle
- Weld.Part0 = SheathModel.Handle
- Weld.Part1 = Player.Character[part1Attachment[Player.Character.Humanoid.RigType]]
- Weld.C0 = weldTypes[Player.Character.Humanoid.RigType][1]--CFrame.new(0, -.25, -0.5) * CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(30))
- Weld.C1 = weldTypes[Player.Character.Humanoid.RigType][2]
- end
- if Model ~= nil then
- Model:Destroy()
- end
- end)
- end))
- Model255.Name = "Sheath"
- Model255.Parent = Tool250
- ManualWeld256.Name = "Weld"
- ManualWeld256.Parent = mas
- ManualWeld256.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld256.C1 = CFrame.new(-0.110610962, -0.202708483, -0.0119743347, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
- ManualWeld256.Part0 = nil
- ManualWeld256.Part1 = nil
- ManualWeld257.Name = "Weld"
- ManualWeld257.Parent = mas
- ManualWeld257.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld257.C1 = CFrame.new(-0.110610962, -0.202708483, 0.0120239258, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
- ManualWeld257.Part0 = nil
- ManualWeld257.Part1 = nil
- ManualWeld258.Name = "Weld"
- ManualWeld258.Parent = mas
- ManualWeld258.C0 = CFrame.new(0, 0, 0, -0.998630345, -0.0523360111, 3.83633477e-07, 0.0523361266, -0.998630822, -8.25900699e-08, -4.02331324e-07, 6.14677163e-08, 1)
- ManualWeld258.C1 = CFrame.new(0.056312561, -1.67926908, 0.00301742554, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
- ManualWeld258.Part0 = nil
- ManualWeld258.Part1 = nil
- ManualWeld259.Name = "Weld"
- ManualWeld259.Parent = mas
- ManualWeld259.C0 = CFrame.new(0, 0, 0, -0.998630345, -0.0523360111, 3.83633477e-07, 0.0523361266, -0.998630822, -8.25900699e-08, -4.02331324e-07, 6.14677163e-08, 1)
- ManualWeld259.C1 = CFrame.new(0.056312561, -1.67926073, -0.0119743347, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld259.Part0 = nil
- ManualWeld259.Part1 = nil
- ManualWeld260.Parent = mas
- ManualWeld260.C0 = CFrame.new(0, 0, 0, 1.00000155, -1.4156106e-07, -7.89761771e-07, -1.4156106e-07, 1.0000025, 1.23866855e-07, -7.89761771e-07, 1.23866855e-07, 1)
- ManualWeld260.C1 = CFrame.new(-0.121692657, 1.31362033, 0.0527153015, 1, 6.23827145e-15, -5.96046377e-08, -4.58018158e-15, 1, 2.78181318e-08, 5.96046377e-08, -2.78181318e-08, 1)
- ManualWeld260.Part0 = nil
- ManualWeld260.Part1 = Part261
- Part261.Name = "Handle"
- Part261.Parent = Model255
- Part261.BrickColor = BrickColor.new("Dark stone grey")
- Part261.Reflectance = 0.40000000596046
- Part261.Transparency = 1
- Part261.CanCollide = false
- Part261.FormFactor = Enum.FormFactor.Custom
- Part261.Size = Vector3.new(0.638599575, 4.89512253, 0.894040227)
- Part261.CFrame = CFrame.new(92.0806732, 2.44756794, 169.973358, 1, -4.58018158e-15, 5.96046377e-08, 6.23827145e-15, 1, -2.78181318e-08, -5.96046377e-08, 2.78181318e-08, 1)
- Part261.BottomSurface = Enum.SurfaceType.Smooth
- Part261.TopSurface = Enum.SurfaceType.Smooth
- Part261.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part261.Position = Vector3.new(92.0806732, 2.44756794, 169.973358)
- Part261.Color = Color3.new(0.388235, 0.372549, 0.384314)
- ManualWeld262.Name = "Weld"
- ManualWeld262.Parent = mas
- ManualWeld262.C0 = CFrame.new(0, 0, 0, -0.998630464, -0.0523360185, 3.83633505e-07, 0.052336134, -0.998630941, -8.2590077e-08, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld262.C1 = CFrame.new(-0.202516079, 0.0964241028, 0, -1.14491833e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689604e-08, 4.02331352e-07, -4.02331381e-07, 6.23990388e-08, 1)
- ManualWeld262.Part0 = nil
- ManualWeld262.Part1 = nil
- ManualWeld263.Name = "Weld"
- ManualWeld263.Parent = mas
- ManualWeld263.C0 = CFrame.new(0, 0, 0, 0.342020452, -0.939693809, -2.78567569e-07, -0.939693451, -0.342020512, 3.42723524e-07, 3.72431003e-07, 2.06829327e-08, -1)
- ManualWeld263.C1 = CFrame.new(1.00788641, 0.113018036, 0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld263.Part0 = nil
- ManualWeld263.Part1 = nil
- ManualWeld264.Name = "Weld"
- ManualWeld264.Parent = mas
- ManualWeld264.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld264.C1 = CFrame.new(1.29100728, 0.162765503, 0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld264.Part0 = nil
- ManualWeld264.Part1 = nil
- ManualWeld265.Name = "Weld"
- ManualWeld265.Parent = mas
- ManualWeld265.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld265.C1 = CFrame.new(1.29100728, 0.162765503, -0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld265.Part0 = nil
- ManualWeld265.Part1 = nil
- ManualWeld266.Name = "Weld"
- ManualWeld266.Parent = mas
- ManualWeld266.C0 = CFrame.new(0, 0, 0, 0.342020452, -0.939693809, -2.78567569e-07, -0.939693451, -0.342020512, 3.42723524e-07, 3.72431003e-07, 2.06829327e-08, -1)
- ManualWeld266.C1 = CFrame.new(1.00788641, 0.113018036, -0.00497055054, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld266.Part0 = nil
- ManualWeld266.Part1 = nil
- ManualWeld267.Name = "Weld"
- ManualWeld267.Parent = mas
- ManualWeld267.C0 = CFrame.new(0, 0, 0, 1.00000095, -1.58930735e-08, -3.87430191e-07, -1.21942406e-07, 1.00000143, 6.23990601e-08, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld267.C1 = CFrame.new(1.60137153, 0.00550460815, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld267.Part0 = nil
- ManualWeld267.Part1 = nil
- ManualWeld268.Name = "Weld"
- ManualWeld268.Parent = mas
- ManualWeld268.C0 = CFrame.new(0, 0, 0, -1.00000095, -1.01839994e-08, 3.000074e-07, 1.48019438e-07, -1.00000143, 2.50237093e-08, -4.89754257e-07, 1.48890621e-07, 1)
- ManualWeld268.C1 = CFrame.new(2.57105184, -0.0545959473, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld268.Part0 = nil
- ManualWeld268.Part1 = nil
- ManualWeld269.Name = "Weld"
- ManualWeld269.Parent = mas
- ManualWeld269.C0 = CFrame.new(0, 0, 0, 1.00000095, -1.58930735e-08, -3.87430191e-07, -1.21942406e-07, 1.00000143, 6.23990601e-08, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld269.C1 = CFrame.new(2.0521791, -0.0245552063, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld269.Part0 = nil
- ManualWeld269.Part1 = nil
- ManualWeld270.Name = "Weld"
- ManualWeld270.Parent = mas
- ManualWeld270.C0 = CFrame.new(0, 0, 0, 1.00000095, -1.58930735e-08, -3.87430191e-07, -1.21942406e-07, 1.00000143, 6.23990601e-08, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld270.C1 = CFrame.new(2.10121512, -0.0245475769, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld270.Part0 = nil
- ManualWeld270.Part1 = nil
- ManualWeld271.Name = "Weld"
- ManualWeld271.Parent = mas
- ManualWeld271.C0 = CFrame.new(0, 0, 0, -0.342020482, 0.939693928, 1.91144835e-07, -0.939693451, -0.342020541, 3.42723524e-07, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld271.C1 = CFrame.new(1.5426724, 0.0306777954, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld271.Part0 = nil
- ManualWeld271.Part1 = nil
- ManualWeld272.Name = "Weld"
- ManualWeld272.Parent = mas
- ManualWeld272.C0 = CFrame.new(0, 0, 0, -1.10766535e-07, 1.00000143, 6.2399053e-08, -1.00000095, 2.70689586e-08, 3.87430191e-07, -4.02331381e-07, 6.14677163e-08, 1)
- ManualWeld272.C1 = CFrame.new(1.30946541, 0.17086792, 0, -2.53319797e-07, 1.00000417, 1.86266192e-07, -1.00000286, 1.63912816e-07, 1.19209403e-06, -1.19209415e-06, 1.86266149e-07, 1)
- ManualWeld272.Part0 = nil
- ManualWeld272.Part1 = nil
- Model273.Name = "WhalerMask"
- Model273.Parent = mas
- ManualWeld274.Name = "Weld"
- ManualWeld274.Parent = mas
- ManualWeld274.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
- ManualWeld274.C1 = CFrame.new(-0.0407133102, 0.367028356, -0.848461628, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- ManualWeld274.Part0 = nil
- ManualWeld274.Part1 = nil
- Part275.Parent = Model273
- Part275.Material = Enum.Material.Neon
- Part275.BrickColor = BrickColor.new("Institutional white")
- Part275.Rotation = Vector3.new(15.8499994, -65.4499969, 14.5)
- Part275.CanCollide = false
- Part275.FormFactor = Enum.FormFactor.Custom
- Part275.Shape = Enum.PartType.Cylinder
- Part275.Size = Vector3.new(0.200000003, 0.309087157, 0.250213385)
- Part275.CFrame = CFrame.new(99.2226715, 1.85994792, 162.592529, 0.40230763, -0.10407684, -0.909569442, 0.000398549368, 0.993546486, -0.113509551, 0.915513158, 0.0453032516, 0.399752736)
- Part275.BottomSurface = Enum.SurfaceType.Smooth
- Part275.TopSurface = Enum.SurfaceType.Smooth
- Part275.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part275.Position = Vector3.new(99.2226715, 1.85994792, 162.592529)
- Part275.Orientation = Vector3.new(6.51999998, -66.2699966, 0.0199999996)
- Part275.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ManualWeld276.Name = "Weld"
- ManualWeld276.Parent = Part275
- ManualWeld276.C0 = CFrame.new(0, 0, 0, 0.402312338, 0.000398546399, 0.915506423, -0.104077831, 0.993541598, 0.0453041308, -0.909567297, -0.1135104, 0.399755448)
- ManualWeld276.C1 = CFrame.new(0.258612633, 0.839319825, -0.316388607, -1, 0, 0, 0, 1.00000954, 0, 0, 0, -1.00000954)
- ManualWeld276.Part0 = Part275
- ManualWeld276.Part1 = nil
- Part277.Parent = Model273
- Part277.Material = Enum.Material.Neon
- Part277.BrickColor = BrickColor.new("Institutional white")
- Part277.Rotation = Vector3.new(170.550003, -63.3899994, 166.559998)
- Part277.CanCollide = false
- Part277.FormFactor = Enum.FormFactor.Custom
- Part277.Shape = Enum.PartType.Cylinder
- Part277.Size = Vector3.new(0.200000003, 0.309087157, 0.250213385)
- Part277.CFrame = CFrame.new(99.7523193, 1.86405206, 162.593445, -0.435608894, -0.10408102, -0.894098461, -0.0864934325, 0.993545771, -0.073517561, 0.895979524, 0.0453087352, -0.44179967)
- Part277.BottomSurface = Enum.SurfaceType.Smooth
- Part277.TopSurface = Enum.SurfaceType.Smooth
- Part277.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part277.Position = Vector3.new(99.7523193, 1.86405206, 162.593445)
- Part277.Orientation = Vector3.new(4.21999979, -116.299995, -4.98000002)
- Part277.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ManualWeld278.Name = "Weld"
- ManualWeld278.Parent = Part277
- ManualWeld278.C0 = CFrame.new(0, 0, 0, -0.435613871, -0.0864927694, 0.895972729, -0.104081959, 0.993541121, 0.0453073792, -0.894095659, -0.0735180601, -0.441802502)
- ManualWeld278.C1 = CFrame.new(-0.271036148, 0.843423843, -0.317310572, -1, 0, 0, 0, 1.00000954, 0, 0, 0, -1.00000954)
- ManualWeld278.Part0 = Part277
- ManualWeld278.Part1 = nil
- Part279.Name = "Head"
- Part279.Parent = Model273
- Part279.BrickColor = BrickColor.new("Really black")
- Part279.CanCollide = false
- Part279.FormFactor = Enum.FormFactor.Symmetric
- Part279.Size = Vector3.new(2, 1, 1)
- Part279.CFrame = CFrame.new(99.5109711, 1.70638311, 163.30957, 1, 0, 0, 0, 1.00000954, 0, 0, 0, 1.00000954)
- Part279.BottomSurface = Enum.SurfaceType.Smooth
- Part279.TopSurface = Enum.SurfaceType.Smooth
- Part279.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part279.Position = Vector3.new(99.5109711, 1.70638311, 163.30957)
- Part279.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh280.Parent = Part279
- SpecialMesh280.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
- SpecialMesh280.Scale = Vector3.new(1.25999999, 1.25999999, 1.25999999)
- ManualWeld281.Name = "Weld"
- ManualWeld281.Parent = Part279
- ManualWeld281.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.00000477, 0, 0, 0, 1.00000477)
- ManualWeld281.C1 = CFrame.new(-0.029689312, 0.685756445, -1.03342056, -1, 0, 0, 0, 1.00000954, 0, 0, 0, -1.00000954)
- ManualWeld281.Part0 = Part279
- ManualWeld281.Part1 = nil
- ManualWeld282.Name = "Weld"
- ManualWeld282.Parent = mas
- ManualWeld282.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
- ManualWeld282.C1 = CFrame.new(-0.00351524353, 0.571756721, -0.177554846, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
- ManualWeld282.Part0 = nil
- ManualWeld282.Part1 = nil
- ManualWeld283.Name = "Weld"
- ManualWeld283.Parent = mas
- ManualWeld283.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
- ManualWeld283.C1 = CFrame.new(-0.00530433655, 0.104896426, 0.294783592, -1, 0, 0, 0, 1.00000477, 0, 0, 0, -1.00000477)
- ManualWeld283.Part0 = nil
- ManualWeld283.Part1 = nil
- ScreenGui284.Name = "Management Gui"
- ScreenGui284.Parent = mas
- Frame439.Name = "bottomFrame"
- Frame439.Parent = ScreenGui284
- Frame439.Size = UDim2.new(1, 0, 0, 30)
- Frame439.Position = UDim2.new(0, 0, 1, -30)
- Frame439.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame439.BorderSizePixel = 0
- Frame439.ZIndex = 9
- ImageLabel440.Name = "TopShadow"
- ImageLabel440.Parent = Frame439
- ImageLabel440.Transparency = 1
- ImageLabel440.Size = UDim2.new(1, 0, 0, -11)
- ImageLabel440.BackgroundTransparency = 1
- ImageLabel440.ZIndex = 9
- ImageLabel440.Image = "http://www.roblox.com/asset/?id=260748924"
- ImageLabel440.ImageRectOffset = Vector2.new(11, 0)
- ImageLabel440.ImageRectSize = Vector2.new(11, 11)
- ImageLabel440.ImageTransparency = 0.5
- Frame441.Name = "buttonsFrame"
- Frame441.Parent = Frame439
- Frame441.Transparency = 1
- Frame441.Size = UDim2.new(1, 0, 1, 0)
- Frame441.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame441.BackgroundTransparency = 1
- Frame441.BorderSizePixel = 0
- Frame441.ZIndex = 10
- TextButton442.Name = "Close"
- TextButton442.Parent = Frame441
- TextButton442.Size = UDim2.new(0, 40, 0, 30)
- TextButton442.Text = ""
- TextButton442.Position = UDim2.new(1, -40, 0, 0)
- TextButton442.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton442.BorderSizePixel = 0
- TextButton442.ZIndex = 9
- TextButton442.Font = Enum.Font.SourceSansBold
- TextButton442.FontSize = Enum.FontSize.Size24
- TextButton442.TextColor3 = Color3.new(1, 1, 1)
- TextButton442.TextStrokeTransparency = 0.69999998807907
- TextLabel443.Name = "text"
- TextLabel443.Parent = TextButton442
- TextLabel443.Transparency = 1
- TextLabel443.Text = "V"
- TextLabel443.Position = UDim2.new(0.5, 0, 0.5, 0)
- TextLabel443.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel443.BackgroundTransparency = 1
- TextLabel443.BorderSizePixel = 0
- TextLabel443.ZIndex = 9
- TextLabel443.Font = Enum.Font.SourceSansBold
- TextLabel443.FontSize = Enum.FontSize.Size24
- TextLabel443.TextColor3 = Color3.new(1, 1, 1)
- TextLabel443.TextStrokeTransparency = 0.69999998807907
- Frame444.Name = "selectionFrame"
- Frame444.Parent = Frame441
- Frame444.Size = UDim2.new(0, 40, 0, 3)
- Frame444.Position = UDim2.new(1, -40, 0, 0)
- Frame444.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame444.BorderSizePixel = 0
- Frame444.ZIndex = 10
- TextButton445.Name = "Players"
- TextButton445.Parent = Frame441
- TextButton445.Size = UDim2.new(0.25, -10, 1, 0)
- TextButton445.Text = "Players"
- TextButton445.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton445.BorderSizePixel = 0
- TextButton445.ZIndex = 9
- TextButton445.Font = Enum.Font.SourceSansBold
- TextButton445.FontSize = Enum.FontSize.Size24
- TextButton445.TextColor3 = Color3.new(1, 1, 1)
- TextButton445.TextStrokeTransparency = 0.69999998807907
- TextButton446.Name = "Info"
- TextButton446.Parent = Frame441
- TextButton446.Size = UDim2.new(0.25, -10, 1, 0)
- TextButton446.Text = "Information"
- TextButton446.Position = UDim2.new(0.75, -30, 0, 0)
- TextButton446.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton446.BorderSizePixel = 0
- TextButton446.ZIndex = 9
- TextButton446.Font = Enum.Font.SourceSansBold
- TextButton446.FontSize = Enum.FontSize.Size24
- TextButton446.TextColor3 = Color3.new(1, 1, 1)
- TextButton446.TextStrokeTransparency = 0.69999998807907
- TextButton447.Name = "Console"
- TextButton447.Parent = Frame441
- TextButton447.Size = UDim2.new(0.25, -10, 1, 0)
- TextButton447.Text = "Console"
- TextButton447.Position = UDim2.new(0.25, -10, 0, 0)
- TextButton447.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton447.BorderSizePixel = 0
- TextButton447.ZIndex = 9
- TextButton447.Font = Enum.Font.SourceSansBold
- TextButton447.FontSize = Enum.FontSize.Size24
- TextButton447.TextColor3 = Color3.new(1, 1, 1)
- TextButton447.TextStrokeTransparency = 0.69999998807907
- TextButton448.Name = "Commands"
- TextButton448.Parent = Frame441
- TextButton448.Size = UDim2.new(0.25, -10, 1, 0)
- TextButton448.Text = "Commands"
- TextButton448.Position = UDim2.new(0.5, -20, 0, 0)
- TextButton448.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton448.BorderSizePixel = 0
- TextButton448.ZIndex = 9
- TextButton448.Font = Enum.Font.SourceSansBold
- TextButton448.FontSize = Enum.FontSize.Size24
- TextButton448.TextColor3 = Color3.new(1, 1, 1)
- TextButton448.TextStrokeTransparency = 0.69999998807907
- Frame449.Name = "bottomSpace"
- Frame449.Parent = Frame439
- Frame449.Size = UDim2.new(1, 0, 0, 80)
- Frame449.Position = UDim2.new(0, 0, 1, 0)
- Frame449.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame449.BorderSizePixel = 0
- Frame449.ZIndex = 9
- LocalScript450.Name = "manageHotbar"
- LocalScript450.Parent = Frame439
- table.insert(cors,sandbox(LocalScript450,function()
- local plr = game:service'Players'.LocalPlayer
- local backpack = plr:WaitForChild'Backpack'
- local isOpen = false
- function isClassInInstance(class, inst)
- for _,v in pairs(inst:GetChildren()) do
- if v.ClassName == class then
- return true
- end
- end
- return false
- end
- function isItems()
- if #backpack:GetChildren() == 0 then
- if plr.Character and isClassInInstance('Tool', plr.Character) then
- return true
- else
- return false
- end
- else
- return true
- end
- end
- function check()
- if isItems() == true and isOpen == false then
- script.Parent:TweenPosition(UDim2.new(0, 0, 1, -110), 'Out', 'Quint', .5, true)
- script.Parent.Parent:WaitForChild'Frames':TweenPosition(UDim2.new(0, 0, 0, -80), 'Out', 'Quint', .5, true)
- script.Parent.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -140), 'In', 'Quint', .5, true)
- isOpen = true
- elseif isItems() == false and isOpen == true then
- script.Parent:TweenPosition(UDim2.new(0, 0, 1, -30), 'In', 'Quint', .5, true)
- script.Parent.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -60), 'In', 'Quint', .5, true)
- script.Parent.Parent:WaitForChild'Frames':TweenPosition(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', .5, true)
- isOpen = false
- end
- end
- check()
- backpack.ChildAdded:connect(check)
- backpack.ChildRemoved:connect(check)
- repeat wait() until plr.Character
- if plr.Character then
- plr.Character.ChildAdded:connect(check)
- plr.Character.ChildRemoved:connect(check)
- end
- end))
- LocalScript381.Name = "manageButtons"
- LocalScript381.Parent = ScreenGui284
- table.insert(cors,sandbox(LocalScript381,function()
- local buttonsFrame = script.Parent:WaitForChild'bottomFrame':WaitForChild'buttonsFrame'
- local frames = script.Parent:WaitForChild'Frames'
- local selector = buttonsFrame:WaitForChild'selectionFrame'
- local currentOpen
- repeat wait() until #buttonsFrame:GetChildren() == 6
- for _,v in pairs(buttonsFrame:GetChildren()) do
- if v.ClassName == "TextButton" then
- v.MouseButton1Up:connect(function()
- selector:TweenSizeAndPosition(UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, 3), v.Position,"Out","Quint",.3,true)
- for _,c in pairs(frames:GetChildren()) do
- if c.Position.Y.Offset < 0 then
- c:TweenPosition(UDim2.new(c.Position.X.Scale, c.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
- end
- end
- local cf = frames:FindFirstChild(v.Name)
- currentOpen = cf
- cf:TweenPosition(UDim2.new(cf.Position.X.Scale, cf.Position.X.Offset, 1, 0-cf.Size.Y.Offset),"Out","Quint",.3,true)
- end)
- end
- end
- local isOpen = true
- local deb = false
- local oldOpened = currentOpen
- script.Parent:WaitForChild'closeButton'.MouseButton1Up:connect(function()
- if deb == false then
- if isOpen == true then
- deb = true
- isOpen = false
- for _,c in pairs(frames:GetChildren()) do
- if c.Position.Y.Offset < 0 then
- c:TweenPosition(UDim2.new(c.Position.X.Scale, c.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
- wait(.3)
- end
- end
- oldOpened = currentOpen
- frames:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Quint', .3, true)
- buttonsFrame.Parent:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Quint', .3, true)
- script.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -30), 'Out', 'Quint', .3, true)
- script.Parent:WaitForChild'closeButton':WaitForChild'textFrame'.Rotation = 180
- wait(.3)
- script.Parent:WaitForChild'bottomFrame':WaitForChild'manageHotbar'.Disabled = true
- deb = false
- else
- deb = true
- isOpen = true
- frames:TweenPosition(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', .3, true)
- buttonsFrame.Parent:TweenPosition(UDim2.new(0, 0, 1, -30), 'Out', 'Quint', .3, true)
- script.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -60), 'Out', 'Quint', .3, true)
- script.Parent:WaitForChild'closeButton':WaitForChild'textFrame'.Rotation = 0
- wait(.3)
- if oldOpened then
- oldOpened:TweenPosition(UDim2.new(oldOpened.Position.X.Scale, oldOpened.Position.X.Offset, 1, 0-oldOpened.Size.Y.Offset),"Out","Quint",.3,true)
- selector:TweenSizeAndPosition(UDim2.new(buttonsFrame:FindFirstChild(oldOpened.Name).Size.X.Scale, buttonsFrame:FindFirstChild(oldOpened.Name).Size.X.Offset, 0, 3), buttonsFrame:FindFirstChild(oldOpened.Name).Position,"Out","Quint",.3,true)
- end
- script.Parent:WaitForChild'bottomFrame':WaitForChild'manageHotbar'.Disabled = false
- deb = false
- end
- end
- end)
- end))
- RemoteEvent382.Name = "Serverside"
- RemoteEvent382.Parent = ScreenGui284
- Script370.Name = "manageServer"
- Script370.Parent = ScreenGui284
- table.insert(cors,sandbox(Script370,function()
- local player = script.Parent.Parent.Parent
- wait(.5)
- local ds = game:GetService'DataStoreService':GetDataStore'gameManagementBarDataStore'
- local settings = _G.ManagementBarSettings
- local playersService = game:service'Players'
- function isValInTab(val, tab)
- for _,v in pairs(tab) do
- if val == v then
- return true
- end
- end
- return false
- end
- function getAllGuiElements()
- local tabMain = {}
- function subfunc(ch)
- for _,v in pairs(ch:GetChildren()) do
- tabMain[#tabMain+1] = v
- subfunc(v)
- end
- end
- for _,v in pairs(script.Parent:GetChildren()) do
- tabMain[#tabMain+1] = v
- subfunc(v)
- end
- return tabMain
- end
- if settings then
- local guielements = getAllGuiElements()
- if settings.MainColor then
- for _,v in pairs(guielements) do
- if v:IsA'GuiObject' and v.BackgroundColor3 == Color3.new(0, 1, 170/255) then
- v.BackgroundColor3 = settings.MainColor
- end
- end
- end
- if settings.OutlineColor then
- for _,v in pairs(guielements) do
- if v:IsA'GuiObject' and v.BorderSizePixel > 0 then
- v.BorderColor3 = settings.OutlineColor
- end
- end
- end
- else
- script.Parent:WaitForChild'Serverside':FireClient(player, 'Hey, (hopefully) place owner!', Enum.MessageType.MessageWarning)
- script.Parent:WaitForChild'Serverside':FireClient(player, 'You\'re using an outdated version of the launcher.', Enum.MessageType.MessageWarning)
- script.Parent:WaitForChild'Serverside':FireClient(player, 'You don\'t have to update it, but if you want more', Enum.MessageType.MessageWarning)
- script.Parent:WaitForChild'Serverside':FireClient(player, 'customizability, please upgrade! Thanks, Reselim.', Enum.MessageType.MessageWarning)
- end
- function getrankbycmd(data, cmd)
- for i,v in pairs(data) do
- if string.lower(v[1])==string.lower(cmd)then
- return v,i
- end
- end
- return nil,0
- end
- function messageAllPlayers(msg, ishint)
- for _,v in pairs(playersService:GetChildren()) do
- local c = script:WaitForChild'Message':Clone()
- local ih,ms = c:WaitForChild'ishint',c:WaitForChild'msg'
- ih.Value = ishint
- ms.Value = msg
- c.Parent = v:FindFirstChild'PlayerGui'
- c.Disabled = false
- end
- end
- function getAllPlayers(isOthers)
- local tb = {}
- if isOthers then
- for _,v in pairs(playersService:GetChildren()) do
- if v.userId ~= player.userId then
- tb[#tb+1] = v
- end
- end
- else
- for _,v in pairs(playersService:GetChildren()) do
- tb[#tb+1] = v
- end
- end
- return tb
- end
- function getPlayer(arg)
- if string.lower(arg) == "me" then
- return player
- elseif string.lower(arg) == "all" then
- return unpack(getAllPlayers(false))
- elseif string.lower(arg) == "others" then
- return unpack(getAllPlayers(true))
- elseif string.lower(arg) == "random" then
- return playersService:GetChildren()[#math.random(1, #playersService:GetChildren())]
- end
- for _,v in pairs(playersService:GetChildren()) do
- if string.lower(v.Name:sub(1, string.len(arg))) == string.lower(arg) then
- return v
- end
- end
- return nil
- end
- spawn(function()
- wait(1)
- if not ds:GetAsync('sentmodel-' .. player.userId) then
- if game:GetService'MarketplaceService':PlayerOwnsAsset(player, 279561183) == false then
- game:GetService'MarketplaceService':PromptPurchase(player, 279561183)
- end
- ds:SetAsync('sentmodel-' .. player.userId, true)
- end
- end)
- local commands = require(script:WaitForChild'Commands')
- function splitWords(msg,num)
- if num<=0 or msg==nil then return {} end
- local tab={}
- local str=msg
- local full=''
- for a in str:gmatch('([^ ]+)') do
- if #tab>=num then break end
- if #tab==num-1 then
- tab[#tab+1]=msg:sub(#full+1,#msg)
- end
- if #tab>=num then break end
- str=a..' '
- full=full..a..' '
- tab[#tab+1]=a
- if #tab>=num then break end
- end
- return tab
- end
- function getNumberOfCharacters(str, chr)
- local t={}
- for matchedValue in string.gmatch(str, chr) do
- table.insert(t, matchedValue)
- end
- return #t
- end
- function splitArguments(msg)
- local num = getNumberOfCharacters(msg,',')+1
- if num<=0 or msg==nil then return {} end
- local tab={}
- local str=msg
- local full=''
- for a in str:gmatch('([^,]+)') do
- if #tab>=num then break end
- if #tab==num-1 then
- tab[#tab+1]=msg:sub(#full+1,#msg)
- end
- if #tab>=num then break end
- str=a..','
- full=full..a..','
- tab[#tab+1]=a
- if #tab>=num then break end
- end
- return tab
- end
- function sortArguments(orig, cust)
- local newTab = {}
- if #orig == #cust then
- for i,v in pairs(orig) do
- if v == 'player' then
- if string.find(cust[i], ',') then
- local mt = {}
- for _,v in pairs(splitArguments(cust[i])) do
- if getPlayer(v) then
- mt[#mt+1] = getPlayer(v)
- end
- end
- newTab[#newTab+1] = mt
- else
- if getPlayer(cust[i]) then
- newTab[#newTab+1] = {getPlayer(cust[i])}
- end
- end
- elseif v == 'number' then
- if string.find(cust[i], ',') then
- local mt = {}
- for _,v in pairs(splitArguments(cust[i])) do
- if tonumber(v) then
- mt[#mt+1] = tonumber(v)
- end
- end
- newTab[#newTab+1] = mt
- else
- if tonumber(cust[i]) then
- newTab[#newTab+1] = {tonumber(cust[i])}
- end
- end
- elseif v == 'precentage' then
- if tonumber(cust[i]) then
- newTab[#newTab+1] = {tonumber(cust[i])/100}
- end
- elseif v == 'message' then
- newTab[#newTab+1] = {cust[i]}
- end
- end
- end
- return newTab
- end
- function runCommand(executer, str)
- local cmd = (string.find(str, " ") and string.sub(str, 1, string.find(str, " ")-1) or str)
- if commands[string.lower(cmd)] then
- local args = sortArguments(commands[string.lower(cmd)].argumentsNeeded, splitWords(string.sub(str, string.len(cmd)+2, string.len(str)), #commands[string.lower(cmd)].argumentsNeeded))
- if #args == #commands[string.lower(cmd)].argumentsNeeded then
- spawn(function()
- commands[string.lower(cmd)].func(executer, args)
- end)
- end
- end
- end
- script.Parent:WaitForChild'Serverside'.OnServerEvent:connect(function(lp, reason, args)
- if reason == "kick" then
- local p = args[1]
- if playersService:FindFirstChild(p) then
- playersService:FindFirstChild(p):Kick'You have been kicked from this game.'
- end
- elseif reason == "runcommand" then
- local str = args[1]
- runCommand(lp, str)
- elseif reason == "runcode" then
- if not workspace:FindFirstChild'codeBin' then
- Instance.new('Model', workspace).Name = "codeBin"
- end
- local clonedTemplate = script:WaitForChild'templateCode':Clone()
- clonedTemplate:WaitForChild'source'.Value = args[1]
- clonedTemplate.Parent = workspace:FindFirstChild'codeBin'
- clonedTemplate.Name = "console"
- clonedTemplate.Disabled = false
- elseif reason == "buy" then
- game:GetService'MarketplaceService':PromptPurchase(player, args[1], false, args[2])
- elseif reason == "select" then
- local t = args[1]
- if t.ClassName == 'Tool' then
- t.Parent = player.Character
- end
- elseif reason == "deselect" then
- local t = args[1]
- if t.ClassName == 'Tool' then
- t.Parent = player:WaitForChild'Backpack'
- end
- end
- end)
- game:GetService'LogService'.MessageOut:connect(function(msg, msgtyp)
- script.Parent:WaitForChild'Serverside':FireClient(player, msg, msgtyp)
- end)
- script.Parent:WaitForChild'ServersideInfo'.OnServerInvoke = function(cli, infotype)
- if infotype == "cmds" then
- return commands
- elseif infotype == "isloadstringenabled" then
- local success = true
- return success
- end
- end
- end))
- Script371.Name = "templateCode"
- Script371.Parent = Script370
- Script371.Disabled = true
- table.insert(cors,sandbox(Script371,function()
- local loadstring = require(script:WaitForChild'Loadstring')
- loadstring(script:WaitForChild'source'.Value)()
- script:remove()
- end))
- StringValue372.Name = "source"
- StringValue372.Parent = Script371
- LocalScript373.Name = "Message"
- LocalScript373.Parent = Script370
- LocalScript373.Disabled = true
- table.insert(cors,sandbox(LocalScript373,function()
- local ishint = script:WaitForChild'ishint'.Value
- local msg,msg2 = script:WaitForChild'msg'.Value,script:WaitForChild'msg2'.Value
- local stg = Instance.new('ScreenGui', script.Parent)
- stg.Name = "RMG:MessageGui"
- script.Name = "RMG:MessageScript"
- local text = Instance.new('TextLabel', stg)
- text.BackgroundTransparency = 1
- text.Text = ''
- text.BorderSizePixel = 0
- text.BackgroundColor3 = Color3.new(0, 0, 0)
- text.Size = (ishint and UDim2.new(1, 0, 0, 20) or UDim2.new(1, 0, 1, 0))
- text.TextWrapped = true
- text.ZIndex = 10
- text.TextColor3 = Color3.new(1, 1, 1)
- text.FontSize = Enum.FontSize[(ishint and "Size18" or "Size36")]
- text.Font = Enum.Font.ArialBold
- text.TextStrokeTransparency = .7
- local text2
- if ishint == false then
- text2 = Instance.new('TextLabel', stg)
- text2.BackgroundTransparency = 1
- text2.Text = string.upper(msg2)
- text2.BorderSizePixel = 0
- text2.BackgroundTransparency = 1
- text2.Size = UDim2.new(1, 0, 1, 0)
- text2.Position = UDim2.new(0, 0, 0, 7)
- text2.TextWrapped = true
- text2.ZIndex = 10
- text2.TextColor3 = Color3.new(1, 1, 1)
- text2.FontSize = Enum.FontSize.Size18
- text2.Font = Enum.Font.ArialBold
- text2.TextYAlignment = Enum.TextYAlignment.Top
- text2.TextStrokeTransparency = .7
- end
- for i=1, 0.5, -0.05 do
- text.BackgroundTransparency = i
- wait()
- end
- for i=1, string.len(msg) do
- text.Text = msg:sub(1, i)
- wait()
- end
- wait(3)
- for i=string.len(msg), 1, -1 do
- text.Text = msg:sub(1, i)
- wait()
- end
- text.Text = ''
- for i=0.5, 1, 0.05 do
- text.BackgroundTransparency = i
- if text2 then
- text2.TextTransparency = i
- end
- wait()
- end
- stg:remove()
- wait()
- script:remove()
- end))
- StringValue374.Name = "msg"
- StringValue374.Parent = LocalScript373
- BoolValue375.Name = "ishint"
- BoolValue375.Parent = LocalScript373
- StringValue376.Name = "msg2"
- StringValue376.Parent = LocalScript373
- Script377.Name = "Spin"
- Script377.Parent = Script370
- Script377.Disabled = true
- table.insert(cors,sandbox(Script377,function()
- if script.Parent:FindFirstChild'Torso' then
- while wait() do
- for i=1, 360, 2 do
- script.Parent:FindFirstChild'Torso'.CFrame = CFrame.new(script.Parent:FindFirstChild'Torso'.Position) * CFrame.Angles(0, math.rad(i), 0)
- wait()
- end
- end
- end
- end))
- LocalScript378.Name = "Fly"
- LocalScript378.Parent = Script370
- LocalScript378.Disabled = true
- table.insert(cors,sandbox(LocalScript378,function()
- local Me = game:GetService("Players").LocalPlayer
- local Char = Me.Character
- local Mouse = Me:GetMouse()
- local Cam = workspace.CurrentCamera
- local Stop = false
- local Version = 0
- local MaxSpeed = 5
- local Speed = 1
- local Keys = {}
- local Fly, Rot = Char.Torso:FindFirstChild("Fly"), Char.Torso:FindFirstChild("Rot")
- if Fly then Fly:Destroy() end if Rot then Rot:Destroy() end
- Fly = Instance.new("BodyPosition", Char.Torso) Fly.Name = "Fly" Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge) Fly.P = 10000 Fly.position = Char.Torso.Position
- Rot = Instance.new("BodyGyro", Char.Torso) Rot.Name = "Rot" Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge) Rot.P = 10000 Rot.cframe = Cam.CoordinateFrame
- local Thread,Old = Version, nil
- Char.Humanoid.PlatformStand = true
- function StopFly()
- Version = Version + 1 Stop = true Char.Humanoid.PlatformStand = false Fly:Destroy() Rot:Destroy() script.Disabled = true script:Destroy()
- end
- Char.ChildAdded:connect(function(Obj) wait()
- if Obj.Name == "FlyStop" then
- Obj:Destroy()
- StopFly()
- end
- end)
- coroutine.wrap(function() while Thread == Version and Stop == false do
- local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position
- if Keys[string.char(48)] then Speed = 1 end
- if Keys.w then Vectoring = Vectoring + Cam.CoordinateFrame.lookVector * Speed end
- if Keys.s then Vectoring = Vectoring - Cam.CoordinateFrame.lookVector * Speed end
- if Keys.d then Vectoring = Vectoring * CFrame.new(Speed,0,0) end
- if Keys.a then Vectoring = Vectoring * CFrame.new(-Speed,0,0) end
- if Keys.e or Keys[" "] then Vectoring = Vectoring * CFrame.new(0,Speed,0) end
- if Keys.q then Vectoring = Vectoring * CFrame.new(0,-Speed,0) end
- if Keys.x then StopFly() end
- if Old ~= Vectoring then
- Fly.position = Vectoring.p
- Old = Vectoring
- Speed = math.min(Speed + Speed*0.025,MaxSpeed)
- else
- Speed = 1;
- end
- Rot.cframe = Cam.CoordinateFrame
- wait(0.01)
- end end)()
- Mouse.KeyDown:connect(function(Key)
- Keys[Key] = true
- end)
- Mouse.KeyUp:connect(function(Key)
- Keys[Key] = false
- end)
- end))
- LocalScript379.Name = "Crash"
- LocalScript379.Parent = Script370
- LocalScript379.Disabled = true
- table.insert(cors,sandbox(LocalScript379,function()
- while true do Instance.new('HopperBin', game:service'Players'.LocalPlayer:WaitForChild'Backpack') end
- end))
- Frame383.Name = "Frames"
- Frame383.Parent = ScreenGui284
- Frame383.Transparency = 1
- Frame383.Size = UDim2.new(1, 0, 1, -30)
- Frame383.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame383.BackgroundTransparency = 1
- Frame383.BorderSizePixel = 0
- Frame383.ZIndex = 8
- Frame384.Name = "Close"
- Frame384.Parent = Frame383
- Frame384.Transparency = 1
- Frame384.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame384.BackgroundTransparency = 1
- Frame384.BorderSizePixel = 0
- Frame384.ZIndex = 8
- Frame385.Name = "Commands"
- Frame385.Parent = Frame383
- Frame385.Size = UDim2.new(0.5, -20, 0, 350)
- Frame385.Position = UDim2.new(0.5, -20, 1, 0)
- Frame385.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame385.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- Frame385.BorderSizePixel = 0
- Frame385.ZIndex = 8
- TextButton386.Name = "CommandBar"
- TextButton386.Parent = Frame385
- TextButton386.Size = UDim2.new(1, -70, 0, 30)
- TextButton386.Style = Enum.ButtonStyle.RobloxRoundButton
- TextButton386.Text = ""
- TextButton386.Position = UDim2.new(0, 25, 0, 10)
- TextButton386.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton386.ZIndex = 8
- TextButton386.Selected = true
- TextButton386.Font = Enum.Font.SourceSans
- TextButton386.FontSize = Enum.FontSize.Size14
- ScrollingFrame387.Name = "textBin"
- ScrollingFrame387.Parent = TextButton386
- ScrollingFrame387.Transparency = 1
- ScrollingFrame387.Size = UDim2.new(1, 0, 1, 15)
- ScrollingFrame387.Position = UDim2.new(0, 0, 0, -8)
- ScrollingFrame387.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame387.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame387.BackgroundTransparency = 1
- ScrollingFrame387.BorderSizePixel = 0
- ScrollingFrame387.ZIndex = 8
- ScrollingFrame387.ScrollBarThickness = 0
- TextBox388.Name = "Text"
- TextBox388.Parent = ScrollingFrame387
- TextBox388.Transparency = 1
- TextBox388.Size = UDim2.new(1, 0, 1, 0)
- TextBox388.Text = "Type your command here!"
- TextBox388.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox388.BackgroundTransparency = 1
- TextBox388.BorderSizePixel = 0
- TextBox388.ZIndex = 8
- TextBox388.ClearTextOnFocus = false
- TextBox388.Font = Enum.Font.SourceSansBold
- TextBox388.FontSize = Enum.FontSize.Size18
- TextBox388.TextColor3 = Color3.new(1, 1, 1)
- TextBox388.TextXAlignment = Enum.TextXAlignment.Left
- ScrollingFrame389.Name = "commandList"
- ScrollingFrame389.Parent = Frame385
- ScrollingFrame389.Transparency = 1
- ScrollingFrame389.Size = UDim2.new(1, -60, 0, 280)
- ScrollingFrame389.Position = UDim2.new(0, 30, 0, 50)
- ScrollingFrame389.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame389.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame389.BackgroundTransparency = 1
- ScrollingFrame389.BorderSizePixel = 0
- ScrollingFrame389.ZIndex = 8
- ScrollingFrame389.ScrollBarThickness = 0
- LocalScript390.Name = "manageCommands"
- LocalScript390.Parent = Frame385
- table.insert(cors,sandbox(LocalScript390,function()
- function WaitForChild(...)
- local args = {...}
- local parent = args[1]
- table.remove(args, 1)
- local newArgs = {}
- for i,v in pairs(args) do
- table.insert(newArgs, i, parent:WaitForChild(v))
- end
- return unpack(newArgs)
- end
- local cmdlist = script.Parent.Parent.Parent:WaitForChild'ServersideInfo':InvokeServer'cmds'
- local list,bar,usagebutton,usageframe = WaitForChild(script.Parent, "commandList", "CommandBar","usageButton","commandUsage")
- local usageFrame = usageframe:WaitForChild'mainBar'
- local barText = bar:WaitForChild'textBin':WaitForChild'Text'
- local currentHover
- local plr = game:service'Players'.LocalPlayer
- local mouse = plr:GetMouse()
- repeat mouse = plr:GetMouse() wait() until mouse
- local cmdBarOpen = false
- local co
- function showList(txt)
- currentHover = nil
- list:ClearAllChildren()
- local validCommands = {}
- local usageCommands = {}
- if string.len(txt) > 0 then
- for _,v in pairs(cmdlist) do
- if string.find(string.lower(v.commandMain), string.lower(txt)) or string.find(string.lower(v.commandMain), txt:sub(1, string.len(v.commandMain))) then
- if #v.argumentsNeeded > 0 then
- validCommands[#validCommands+1] = (v.commandMain .. ' [' .. table.concat(v.fakeArgs, "] [") .. ']')
- usageCommands[v.commandMain] = v.Usage
- else
- validCommands[#validCommands+1] = v.commandMain
- usageCommands[v.commandMain] = v.Usage
- end
- end
- end
- else
- for _,v in pairs(cmdlist) do
- if #v.argumentsNeeded > 0 then
- validCommands[#validCommands+1] = (v.commandMain .. ' [' .. table.concat(v.fakeArgs, "] [") .. ']')
- usageCommands[v.commandMain] = v.Usage
- else
- validCommands[#validCommands+1] = v.commandMain
- usageCommands[v.commandMain] = v.Usage
- end
- end
- end
- table.sort(validCommands)
- for i,v in pairs(validCommands) do
- local fr = Instance.new('Frame')
- fr.Name = "Suggestion"
- fr.Style = Enum.FrameStyle.DropShadow
- fr.Size = UDim2.new(1, 0, 0, 30)
- fr.Position = UDim2.new(0, 0, 0, (i-1)*30)
- fr.ZIndex = 8
- local sf = Instance.new('ScrollingFrame', fr)
- sf.Name = 'infoFrame'
- sf.Size = UDim2.new(1, 8, 1, 8)
- sf.BackgroundTransparency = 1
- sf.Position = UDim2.new(0, -4, 0, -4)
- sf.CanvasSize = UDim2.new(0, 0, 0, 0)
- local txt = Instance.new('TextLabel', sf)
- txt.Text = v
- txt.Size = UDim2.new(1, 0, 1, 5)
- txt.BackgroundTransparency = 1
- txt.TextColor3 = Color3.new(1, 1, 1)
- txt.Position = UDim2.new(0, 4, 0, -4)
- txt.Font = Enum.Font.SourceSansBold
- txt.ZIndex = 8
- txt.TextXAlignment = Enum.TextXAlignment.Left
- txt.FontSize = Enum.FontSize.Size24
- local txt2 = Instance.new('TextLabel', sf)
- txt2.Text = usageCommands[string.lower(v:sub(1, (string.find(v, ' ') and string.find(v, ' ')-1 or string.len(v))))]
- txt2.Size = UDim2.new(1, 0, 1, 0)
- txt2.Position = UDim2.new(1, 0, 0, -2)
- txt2.BackgroundTransparency = 1
- txt2.TextColor3 = Color3.new(1, 1, 1)
- txt2.Font = Enum.Font.SourceSansBold
- txt2.ZIndex = 8
- txt2.TextXAlignment = Enum.TextXAlignment.Right
- txt2.FontSize = Enum.FontSize.Size24
- sf.MouseEnter:connect(function()
- if currentHover then
- currentHover.Text1:TweenPosition(UDim2.new(0, 4, 0, -4), 'Out', 'Quint', .3, true)
- currentHover.Text2:TweenPosition(UDim2.new(1, 4, 0, -2), 'Out', 'Quint', .3, true)
- end
- currentHover = {Text1 = txt, Text2 = txt2}
- currentHover.Text1:TweenPosition(UDim2.new(-1, -4, 0, -4), 'Out', 'Quint', .3, true)
- currentHover.Text2:TweenPosition(UDim2.new(0, -4, 0, -2), 'Out', 'Quint', .3, true)
- end)
- fr.Parent = list
- end
- list.CanvasSize = UDim2.new(0, 0, 0, (#validCommands-1)*30)
- end
- barText.Changed:connect(function(changed)
- if changed == "Text" and barText.Text ~= "Type your command here!" then
- showList(barText.Text)
- elseif changed == "Text" then
- showList("")
- end
- end)
- barText.Focused:connect(function()
- if barText.Text == "Type your command here!" then
- barText.Text = ""
- end
- end)
- barText.FocusLost:connect(function(enterPressed)
- if enterPressed == true then
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer("runcommand", {barText.Text})
- showList("")
- barText:TweenPosition(UDim2.new(0, 0, 1, 0),"Out","Quint",.3,true)
- if cmdBarOpen then
- script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
- if co then
- co:TweenPosition(UDim2.new(co.Position.X.Scale, co.Position.X.Offset, 1, -co.Size.Y.Offset),"Out","Quint",.3,true)
- end
- end
- cmdBarOpen = false
- wait(.3)
- barText.Text = "Type your command here!"
- barText.Position = UDim2.new(0, 0, 0, 0)
- end
- end)
- list.MouseLeave:connect(function()
- if currentHover then
- currentHover.Text1:TweenPosition(UDim2.new(0, 4, 0, -4), 'Out', 'Quint', .3, true)
- currentHover.Text2:TweenPosition(UDim2.new(1, 4, 0, -4), 'Out', 'Quint', .3, true)
- currentHover = nil
- end
- end)
- function getCurrentOpen()
- for _,v in pairs(script.Parent.Parent:GetChildren()) do
- if v.Position.Y.Offset < 0 then
- return v
- end
- end
- return nil
- end
- mouse.KeyDown:connect(function(k)
- if k == '\'' then
- if script.Parent.Position == UDim2.new(0.5, -20, 1, 0) then
- co = getCurrentOpen()
- if co then
- co:TweenPosition(UDim2.new(co.Position.X.Scale, co.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
- end
- script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 1, -script.Parent.Size.Y.Offset),"Out","Quint",.3,true)
- barText:CaptureFocus()
- cmdBarOpen = true
- else
- barText:CaptureFocus()
- end
- end
- end)
- local isOpen = false
- usagebutton.MouseButton1Up:connect(function()
- isOpen = not(isOpen)
- usageFrame:TweenPosition(UDim2.new((isOpen == true and 0 or 1), 0, 0, 0), 'Out', 'Quint', .3, true)
- end)
- showList("")
- end))
- ScrollingFrame391.Name = "commandUsage"
- ScrollingFrame391.Parent = Frame385
- ScrollingFrame391.Transparency = 1
- ScrollingFrame391.Size = UDim2.new(0, 300, 0, 350)
- ScrollingFrame391.Position = UDim2.new(0, -300, 1, -350)
- ScrollingFrame391.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame391.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame391.BackgroundTransparency = 1
- ScrollingFrame391.BorderSizePixel = 0
- ScrollingFrame391.ScrollBarThickness = 1
- Frame392.Name = "mainBar"
- Frame392.Parent = ScrollingFrame391
- Frame392.Size = UDim2.new(0, 300, 0, 350)
- Frame392.Position = UDim2.new(1, 0, 1, -350)
- Frame392.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame392.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- Frame392.BorderSizePixel = 0
- Frame392.ZIndex = 8
- TextLabel393.Name = "titleObject"
- TextLabel393.Parent = Frame392
- TextLabel393.Transparency = 1
- TextLabel393.Size = UDim2.new(1, 0, 0, 50)
- TextLabel393.Text = "Command Usage"
- TextLabel393.Position = UDim2.new(0, 15, 0, 0)
- TextLabel393.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel393.BackgroundTransparency = 1
- TextLabel393.BorderSizePixel = 0
- TextLabel393.ZIndex = 8
- TextLabel393.Font = Enum.Font.SourceSansBold
- TextLabel393.FontSize = Enum.FontSize.Size24
- TextLabel393.TextColor3 = Color3.new(1, 1, 1)
- TextLabel393.TextStrokeTransparency = 0.69999998807907
- TextLabel393.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel394.Name = "context1"
- TextLabel394.Parent = Frame392
- TextLabel394.Transparency = 1
- TextLabel394.Size = UDim2.new(1, 0, 0, 250)
- TextLabel394.Text = "The following can be used to specify a player: [playername] me all random"
- TextLabel394.Position = UDim2.new(0, 10, 0, 50)
- TextLabel394.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel394.BackgroundTransparency = 1
- TextLabel394.BorderSizePixel = 0
- TextLabel394.ZIndex = 8
- TextLabel394.Font = Enum.Font.SourceSansBold
- TextLabel394.FontSize = Enum.FontSize.Size18
- TextLabel394.TextColor3 = Color3.new(1, 1, 1)
- TextLabel394.TextStrokeTransparency = 0.69999998807907
- TextLabel394.TextWrapped = true
- TextLabel394.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel394.TextYAlignment = Enum.TextYAlignment.Top
- ImageButton395.Name = "usageButton"
- ImageButton395.Parent = Frame385
- ImageButton395.Transparency = 1
- ImageButton395.Size = UDim2.new(0, 30, 0, 30)
- ImageButton395.Position = UDim2.new(1, -40, 0, 10)
- ImageButton395.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageButton395.BackgroundTransparency = 1
- ImageButton395.BorderSizePixel = 0
- ImageButton395.ZIndex = 8
- ImageButton395.Image = "http://www.roblox.com/asset/?id=61873129"
- Frame396.Name = "Console"
- Frame396.Parent = Frame383
- Frame396.Size = UDim2.new(0.5, -20, 0, 350)
- Frame396.Position = UDim2.new(0, 0, 1, 0)
- Frame396.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame396.BorderSizePixel = 0
- Frame396.ZIndex = 8
- TextButton397.Name = "createCode"
- TextButton397.Parent = Frame396
- TextButton397.Size = UDim2.new(1, -50, 0, 30)
- TextButton397.Style = Enum.ButtonStyle.RobloxRoundButton
- TextButton397.Text = ""
- TextButton397.Position = UDim2.new(0, 25, 1, -40)
- TextButton397.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton397.ZIndex = 8
- TextButton397.Selected = true
- TextButton397.Font = Enum.Font.SourceSans
- TextButton397.FontSize = Enum.FontSize.Size14
- ScrollingFrame398.Name = "textBin"
- ScrollingFrame398.Parent = TextButton397
- ScrollingFrame398.Transparency = 1
- ScrollingFrame398.Size = UDim2.new(1, 0, 1, 15)
- ScrollingFrame398.Position = UDim2.new(0, 0, 0, -8)
- ScrollingFrame398.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame398.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame398.BackgroundTransparency = 1
- ScrollingFrame398.BorderSizePixel = 0
- ScrollingFrame398.ZIndex = 8
- ScrollingFrame398.ScrollBarThickness = 0
- TextBox399.Name = "Text"
- TextBox399.Parent = ScrollingFrame398
- TextBox399.Transparency = 1
- TextBox399.Size = UDim2.new(1, 0, 1, 0)
- TextBox399.Text = ""
- TextBox399.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox399.BackgroundTransparency = 1
- TextBox399.BorderSizePixel = 0
- TextBox399.ZIndex = 10
- TextBox399.ClearTextOnFocus = false
- TextBox399.Font = Enum.Font.SourceSansBold
- TextBox399.FontSize = Enum.FontSize.Size18
- TextBox399.TextColor3 = Color3.new(1, 1, 1)
- TextBox399.TextXAlignment = Enum.TextXAlignment.Left
- ScrollingFrame400.Name = "consoleFrame"
- ScrollingFrame400.Parent = Frame396
- ScrollingFrame400.Transparency = 1
- ScrollingFrame400.Size = UDim2.new(1, -20, 1, -20)
- ScrollingFrame400.Position = UDim2.new(0, 10, 0, 10)
- ScrollingFrame400.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame400.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame400.BackgroundTransparency = 1
- ScrollingFrame400.BorderSizePixel = 0
- ScrollingFrame400.ZIndex = 8
- LocalScript401.Name = "manageConsole"
- LocalScript401.Parent = Frame396
- table.insert(cors,sandbox(LocalScript401,function()
- function WaitForChild(...)
- local args = {...}
- local parent = args[1]
- table.remove(args, 1)
- local newArgs = {}
- for i,v in pairs(args) do
- table.insert(newArgs, i, parent:WaitForChild(v))
- end
- return unpack(newArgs)
- end
- local lines = {}
- wait(.5)
- local isLoadstring = true
- local consoleFrame,createCode = WaitForChild(script.Parent, "consoleFrame","createCode")
- createCode.Visible = isLoadstring
- if isLoadstring then
- script.Parent:WaitForChild'consoleFrame'.Size = UDim2.new(1, -20, 1, -60)
- end
- function createLine(text, color3)
- if #lines == 32 then
- lines[1]:remove()
- end
- for _,v in pairs(consoleFrame:GetChildren()) do
- v.Position = v.Position - UDim2.new(0, 0, 0, 15)
- end
- local newLine = Instance.new('TextLabel', consoleFrame)
- newLine.Text = tostring(" " .. text)
- newLine.BackgroundTransparency = 1
- newLine.TextColor3 = color3
- newLine.FontSize = Enum.FontSize.Size14
- newLine.Font = Enum.Font.SourceSansBold
- newLine.ZIndex = 8
- newLine.TextXAlignment = Enum.TextXAlignment.Left
- newLine.Size = UDim2.new(1, 0, 0, 15)
- newLine.Position = UDim2.new(0, 0, 1, -15)
- lines[#lines+1] = newLine
- return newLine
- end
- script.Parent.Parent.Parent:WaitForChild'Serverside'.OnClientEvent:connect(function(message, messageType)
- createLine(message, (messageType == Enum.MessageType.MessageOutput and Color3.new(1, 1, 1) or messageType == Enum.MessageType.MessageError and Color3.new(1, 0, 0) or messageType == Enum.MessageType.MessageInfo and Color3.new(102/255, 0, 1) or messageType == Enum.MessageType.MessageWarning and Color3.new(1, 128/255, 0)))
- end)
- createCode:WaitForChild'textBin':WaitForChild'Text'.FocusLost:connect(function(enterPressed)
- if enterPressed then
- createLine("Script ran!", Color3.new(1, 1, 1))
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('runcode', {createCode:WaitForChild'textBin':WaitForChild'Text'.Text})
- wait()
- createCode:WaitForChild'textBin':WaitForChild'Text':TweenPosition(UDim2.new(0, 0, -1, 0),"Out","Quint",.3,true)
- wait(.3)
- createCode:WaitForChild'textBin':WaitForChild'Text'.Text = ""
- createCode:WaitForChild'textBin':WaitForChild'Text'.Position = UDim2.new(0, 0, 0, 0)
- end
- end)
- createLine('Console loaded!', Color3.new(1, 1, 1))
- end))
- Frame402.Name = "Info"
- Frame402.Parent = Frame383
- Frame402.Size = UDim2.new(0, 300, 0, 400)
- Frame402.Position = UDim2.new(1, -340, 1, 0)
- Frame402.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame402.BorderSizePixel = 0
- Frame402.ZIndex = 8
- ScrollingFrame403.Name = "frameContainer"
- ScrollingFrame403.Parent = Frame402
- ScrollingFrame403.Transparency = 1
- ScrollingFrame403.Size = UDim2.new(1, -50, 0, 300)
- ScrollingFrame403.Position = UDim2.new(0, 25, 0, 75)
- ScrollingFrame403.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame403.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame403.BackgroundTransparency = 1
- ScrollingFrame403.BorderSizePixel = 0
- ScrollingFrame403.ZIndex = 8
- ScrollingFrame403.ScrollBarThickness = 0
- Frame404.Name = "Updates"
- Frame404.Parent = ScrollingFrame403
- Frame404.Transparency = 1
- Frame404.Size = UDim2.new(1, 0, 1, 0)
- Frame404.Position = UDim2.new(0, 0, -1, 0)
- Frame404.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame404.BackgroundTransparency = 1
- Frame404.BorderSizePixel = 0
- Frame404.ZIndex = 8
- TextLabel405.Name = "updateInfo"
- TextLabel405.Parent = Frame404
- TextLabel405.Transparency = 1
- TextLabel405.Size = UDim2.new(1, 0, 1, -40)
- TextLabel405.Text = "updateInfo"
- TextLabel405.Position = UDim2.new(0, 0, 0, 40)
- TextLabel405.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel405.BackgroundTransparency = 1
- TextLabel405.BorderSizePixel = 0
- TextLabel405.ZIndex = 8
- TextLabel405.Font = Enum.Font.SourceSans
- TextLabel405.FontSize = Enum.FontSize.Size18
- TextLabel405.TextColor3 = Color3.new(1, 1, 1)
- TextLabel405.TextStrokeTransparency = 0.69999998807907
- TextLabel405.TextWrapped = true
- TextLabel405.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel405.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel406.Name = "currentVersion"
- TextLabel406.Parent = Frame404
- TextLabel406.Transparency = 1
- TextLabel406.Size = UDim2.new(1, 0, 0, 10)
- TextLabel406.Text = "v1.22"
- TextLabel406.Position = UDim2.new(0, 0, 0, 27)
- TextLabel406.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel406.BackgroundTransparency = 1
- TextLabel406.BorderSizePixel = 0
- TextLabel406.ZIndex = 8
- TextLabel406.Font = Enum.Font.SourceSansBold
- TextLabel406.FontSize = Enum.FontSize.Size14
- TextLabel406.TextColor3 = Color3.new(1, 1, 1)
- TextLabel406.TextStrokeTransparency = 0.69999998807907
- TextLabel406.TextWrapped = true
- TextLabel407.Name = "Title"
- TextLabel407.Parent = Frame404
- TextLabel407.Transparency = 1
- TextLabel407.Size = UDim2.new(1, 0, 0, 30)
- TextLabel407.Text = "Updates"
- TextLabel407.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel407.BackgroundTransparency = 1
- TextLabel407.BorderSizePixel = 0
- TextLabel407.ZIndex = 8
- TextLabel407.Font = Enum.Font.SourceSansBold
- TextLabel407.FontSize = Enum.FontSize.Size24
- TextLabel407.TextColor3 = Color3.new(1, 1, 1)
- TextLabel407.TextStrokeTransparency = 0.69999998807907
- TextLabel407.TextWrapped = true
- Frame408.Name = "Info"
- Frame408.Parent = ScrollingFrame403
- Frame408.Transparency = 1
- Frame408.Size = UDim2.new(1, 0, 1, 0)
- Frame408.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame408.BackgroundTransparency = 1
- Frame408.BorderSizePixel = 0
- Frame408.ZIndex = 8
- TextLabel409.Name = "context1"
- TextLabel409.Parent = Frame408
- TextLabel409.Transparency = 1
- TextLabel409.Size = UDim2.new(1, 0, 0, 73)
- TextLabel409.Text = "This is meant to be a project by Reselim which is used to make managing and moderating games easier."
- TextLabel409.Position = UDim2.new(0, 0, 0, 23)
- TextLabel409.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel409.BackgroundTransparency = 1
- TextLabel409.BorderSizePixel = 0
- TextLabel409.ZIndex = 8
- TextLabel409.Font = Enum.Font.SourceSans
- TextLabel409.FontSize = Enum.FontSize.Size18
- TextLabel409.TextColor3 = Color3.new(1, 1, 1)
- TextLabel409.TextStrokeTransparency = 0.69999998807907
- TextLabel409.TextWrapped = true
- TextLabel410.Name = "Title"
- TextLabel410.Parent = Frame408
- TextLabel410.Transparency = 1
- TextLabel410.Size = UDim2.new(1, -56, 0, 20)
- TextLabel410.Text = "Created and Managed by"
- TextLabel410.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel410.BackgroundTransparency = 1
- TextLabel410.BorderSizePixel = 0
- TextLabel410.ZIndex = 8
- TextLabel410.Font = Enum.Font.SourceSansBold
- TextLabel410.FontSize = Enum.FontSize.Size18
- TextLabel410.TextColor3 = Color3.new(1, 1, 1)
- TextLabel410.TextStrokeTransparency = 0.69999998807907
- TextLabel411.Name = "userName"
- TextLabel411.Parent = TextLabel410
- TextLabel411.Transparency = 1
- TextLabel411.Size = UDim2.new(0, 56, 1, 0)
- TextLabel411.Text = "Reselim"
- TextLabel411.Position = UDim2.new(1, -12, 0, 0)
- TextLabel411.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel411.BackgroundTransparency = 1
- TextLabel411.BorderSizePixel = 0
- TextLabel411.ZIndex = 8
- TextLabel411.Font = Enum.Font.SourceSansBold
- TextLabel411.FontSize = Enum.FontSize.Size18
- TextLabel411.TextColor3 = Color3.new(1, 1, 0)
- TextLabel411.TextStrokeTransparency = 0.69999998807907
- TextButton412.Name = "getModel"
- TextButton412.Parent = Frame408
- TextButton412.Size = UDim2.new(1, -20, 0, 30)
- TextButton412.Text = "Want the model? Click here!"
- TextButton412.Position = UDim2.new(0, 10, 0, 105)
- TextButton412.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton412.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- TextButton412.BorderSizePixel = 3
- TextButton412.ZIndex = 8
- TextButton412.Font = Enum.Font.SourceSansBold
- TextButton412.FontSize = Enum.FontSize.Size24
- TextButton412.TextColor3 = Color3.new(1, 1, 1)
- TextButton412.TextScaled = true
- TextButton412.TextStrokeTransparency = 0.69999998807907
- TextButton412.TextWrapped = true
- TextLabel413.Name = "DonateLabel"
- TextLabel413.Parent = Frame408
- TextLabel413.Transparency = 1
- TextLabel413.Size = UDim2.new(1, 0, 0, 20)
- TextLabel413.Text = "Donate"
- TextLabel413.Position = UDim2.new(0, 0, 0, 140)
- TextLabel413.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel413.BackgroundTransparency = 1
- TextLabel413.BorderSizePixel = 0
- TextLabel413.ZIndex = 8
- TextLabel413.Font = Enum.Font.SourceSansBold
- TextLabel413.FontSize = Enum.FontSize.Size18
- TextLabel413.TextColor3 = Color3.new(1, 1, 1)
- TextLabel413.TextStrokeTransparency = 0.69999998807907
- TextLabel414.Name = "DonateInfo"
- TextLabel414.Parent = TextLabel413
- TextLabel414.Transparency = 1
- TextLabel414.Size = UDim2.new(1, 0, 0, 126)
- TextLabel414.Text = "If you would like to help out the project, please click one of these two buttons. That would be greatly appreciated."
- TextLabel414.Position = UDim2.new(0, 0, 1, 0)
- TextLabel414.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel414.BackgroundTransparency = 1
- TextLabel414.BorderSizePixel = 0
- TextLabel414.ZIndex = 8
- TextLabel414.Font = Enum.Font.SourceSans
- TextLabel414.FontSize = Enum.FontSize.Size18
- TextLabel414.TextColor3 = Color3.new(1, 1, 1)
- TextLabel414.TextStrokeTransparency = 0.69999998807907
- TextLabel414.TextWrapped = true
- TextLabel414.TextYAlignment = Enum.TextYAlignment.Top
- TextButton415.Name = "donateRobux"
- TextButton415.Parent = Frame408
- TextButton415.Size = UDim2.new(0.5, -20, 0, 30)
- TextButton415.Text = "25 R$"
- TextButton415.Position = UDim2.new(0, 10, 1, -75)
- TextButton415.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton415.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- TextButton415.BorderSizePixel = 3
- TextButton415.ZIndex = 8
- TextButton415.Font = Enum.Font.SourceSansBold
- TextButton415.FontSize = Enum.FontSize.Size24
- TextButton415.TextColor3 = Color3.new(1, 1, 1)
- TextButton415.TextScaled = true
- TextButton415.TextStrokeTransparency = 0.69999998807907
- TextButton415.TextWrapped = true
- TextButton416.Name = "donateTickets"
- TextButton416.Parent = Frame408
- TextButton416.Size = UDim2.new(0.5, -20, 0, 30)
- TextButton416.Text = "100 Tix"
- TextButton416.Position = UDim2.new(0.5, 10, 1, -75)
- TextButton416.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton416.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- TextButton416.BorderSizePixel = 3
- TextButton416.ZIndex = 8
- TextButton416.Font = Enum.Font.SourceSansBold
- TextButton416.FontSize = Enum.FontSize.Size24
- TextButton416.TextColor3 = Color3.new(1, 1, 1)
- TextButton416.TextScaled = true
- TextButton416.TextStrokeTransparency = 0.69999998807907
- TextButton416.TextWrapped = true
- Frame417.Name = "Buttons"
- Frame417.Parent = ScrollingFrame403
- Frame417.Transparency = 1
- Frame417.Size = UDim2.new(1, 0, 1, 0)
- Frame417.Position = UDim2.new(0, 0, -1, 0)
- Frame417.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame417.BackgroundTransparency = 1
- Frame417.BorderSizePixel = 0
- Frame417.ZIndex = 8
- TextLabel418.Name = "players"
- TextLabel418.Parent = Frame417
- TextLabel418.Transparency = 1
- TextLabel418.Size = UDim2.new(1, 0, 0, 30)
- TextLabel418.Text = "Players"
- TextLabel418.Position = UDim2.new(0, 3, 0, 30)
- TextLabel418.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel418.BackgroundTransparency = 1
- TextLabel418.BorderSizePixel = 0
- TextLabel418.ZIndex = 8
- TextLabel418.Font = Enum.Font.SourceSansBold
- TextLabel418.FontSize = Enum.FontSize.Size18
- TextLabel418.TextColor3 = Color3.new(1, 1, 1)
- TextLabel418.TextStrokeTransparency = 0.69999998807907
- TextLabel418.TextWrapped = true
- TextLabel418.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel419.Name = "context"
- TextLabel419.Parent = TextLabel418
- TextLabel419.Transparency = 1
- TextLabel419.Size = UDim2.new(1, -20, 0, 60)
- TextLabel419.Text = "- Manage the players in your game! Press the X button to kick them."
- TextLabel419.Position = UDim2.new(0, 17, 0, 30)
- TextLabel419.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel419.BackgroundTransparency = 1
- TextLabel419.BorderSizePixel = 0
- TextLabel419.ZIndex = 8
- TextLabel419.Font = Enum.Font.SourceSansBold
- TextLabel419.FontSize = Enum.FontSize.Size18
- TextLabel419.TextColor3 = Color3.new(1, 1, 1)
- TextLabel419.TextStrokeTransparency = 0.69999998807907
- TextLabel419.TextWrapped = true
- TextLabel419.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel419.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel420.Name = "console"
- TextLabel420.Parent = Frame417
- TextLabel420.Transparency = 1
- TextLabel420.Size = UDim2.new(1, 0, 0, 30)
- TextLabel420.Text = "Console"
- TextLabel420.Position = UDim2.new(0, 3, 0, 110)
- TextLabel420.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel420.BackgroundTransparency = 1
- TextLabel420.BorderSizePixel = 0
- TextLabel420.ZIndex = 8
- TextLabel420.Font = Enum.Font.SourceSansBold
- TextLabel420.FontSize = Enum.FontSize.Size18
- TextLabel420.TextColor3 = Color3.new(1, 1, 1)
- TextLabel420.TextStrokeTransparency = 0.69999998807907
- TextLabel420.TextWrapped = true
- TextLabel420.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel421.Name = "context"
- TextLabel421.Parent = TextLabel420
- TextLabel421.Transparency = 1
- TextLabel421.Size = UDim2.new(1, -20, 0, 40)
- TextLabel421.Text = "- See all server-side errors, and run code if LoadString is enabled!"
- TextLabel421.Position = UDim2.new(0, 17, 0, 30)
- TextLabel421.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel421.BackgroundTransparency = 1
- TextLabel421.BorderSizePixel = 0
- TextLabel421.ZIndex = 8
- TextLabel421.Font = Enum.Font.SourceSansBold
- TextLabel421.FontSize = Enum.FontSize.Size18
- TextLabel421.TextColor3 = Color3.new(1, 1, 1)
- TextLabel421.TextStrokeTransparency = 0.69999998807907
- TextLabel421.TextWrapped = true
- TextLabel421.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel421.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel422.Name = "commands"
- TextLabel422.Parent = Frame417
- TextLabel422.Transparency = 1
- TextLabel422.Size = UDim2.new(1, 0, 0, 30)
- TextLabel422.Text = "Commands"
- TextLabel422.Position = UDim2.new(0, 3, 0, 173)
- TextLabel422.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel422.BackgroundTransparency = 1
- TextLabel422.BorderSizePixel = 0
- TextLabel422.ZIndex = 8
- TextLabel422.Font = Enum.Font.SourceSansBold
- TextLabel422.FontSize = Enum.FontSize.Size18
- TextLabel422.TextColor3 = Color3.new(1, 1, 1)
- TextLabel422.TextStrokeTransparency = 0.69999998807907
- TextLabel422.TextWrapped = true
- TextLabel422.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel423.Name = "context"
- TextLabel423.Parent = TextLabel422
- TextLabel423.Transparency = 1
- TextLabel423.Size = UDim2.new(1, -20, 0, 60)
- TextLabel423.Text = "- Admin commands! Manage your game even better with a set of commands for admins."
- TextLabel423.Position = UDim2.new(0, 17, 0, 30)
- TextLabel423.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel423.BackgroundTransparency = 1
- TextLabel423.BorderSizePixel = 0
- TextLabel423.ZIndex = 8
- TextLabel423.Font = Enum.Font.SourceSansBold
- TextLabel423.FontSize = Enum.FontSize.Size18
- TextLabel423.TextColor3 = Color3.new(1, 1, 1)
- TextLabel423.TextStrokeTransparency = 0.69999998807907
- TextLabel423.TextWrapped = true
- TextLabel423.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel423.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel424.Name = "Title"
- TextLabel424.Parent = Frame417
- TextLabel424.Transparency = 1
- TextLabel424.Size = UDim2.new(1, 0, 0, 30)
- TextLabel424.Text = "Buttons"
- TextLabel424.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel424.BackgroundTransparency = 1
- TextLabel424.BorderSizePixel = 0
- TextLabel424.ZIndex = 8
- TextLabel424.Font = Enum.Font.SourceSansBold
- TextLabel424.FontSize = Enum.FontSize.Size24
- TextLabel424.TextColor3 = Color3.new(1, 1, 1)
- TextLabel424.TextStrokeTransparency = 0.69999998807907
- TextLabel424.TextWrapped = true
- Frame425.Name = "buttonsFrame"
- Frame425.Parent = Frame402
- Frame425.Size = UDim2.new(1, -50, 0, 30)
- Frame425.Position = UDim2.new(0, 25, 0, 25)
- Frame425.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame425.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- Frame425.BorderSizePixel = 5
- Frame425.ZIndex = 8
- TextButton426.Name = "Updates"
- TextButton426.Parent = Frame425
- TextButton426.Size = UDim2.new(0.333000004, 0, 1, 0)
- TextButton426.Text = "Updates"
- TextButton426.Position = UDim2.new(0.666000009, 0, 0, 0)
- TextButton426.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton426.BorderSizePixel = 0
- TextButton426.ZIndex = 8
- TextButton426.Font = Enum.Font.SourceSansBold
- TextButton426.FontSize = Enum.FontSize.Size24
- TextButton426.TextColor3 = Color3.new(1, 1, 1)
- TextButton426.TextStrokeTransparency = 0.69999998807907
- TextButton427.Name = "Info"
- TextButton427.Parent = Frame425
- TextButton427.Size = UDim2.new(0.333000004, 0, 1, 0)
- TextButton427.Text = "Info"
- TextButton427.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton427.BorderSizePixel = 0
- TextButton427.ZIndex = 8
- TextButton427.Font = Enum.Font.SourceSansBold
- TextButton427.FontSize = Enum.FontSize.Size24
- TextButton427.TextColor3 = Color3.new(1, 1, 1)
- TextButton427.TextStrokeTransparency = 0.69999998807907
- TextButton428.Name = "Buttons"
- TextButton428.Parent = Frame425
- TextButton428.Size = UDim2.new(0.333000004, 0, 1, 0)
- TextButton428.Text = "Buttons"
- TextButton428.Position = UDim2.new(0.333000004, 0, 0, 0)
- TextButton428.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton428.BorderSizePixel = 0
- TextButton428.ZIndex = 8
- TextButton428.Font = Enum.Font.SourceSansBold
- TextButton428.FontSize = Enum.FontSize.Size24
- TextButton428.TextColor3 = Color3.new(1, 1, 1)
- TextButton428.TextStrokeTransparency = 0.69999998807907
- Frame429.Name = "selectionFrame"
- Frame429.Parent = Frame425
- Frame429.Size = UDim2.new(0.333000004, 0, 0, 3)
- Frame429.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame429.BorderSizePixel = 0
- Frame429.ZIndex = 8
- LocalScript430.Name = "manageInfo"
- LocalScript430.Parent = Frame402
- table.insert(cors,sandbox(LocalScript430,function()
- local version = 1.37
- local newestUpdate = [[
- - Can now be closed! (button 2ugly4me)
- - Few new commands.
- ]]
- local buttonsFrame = script.Parent:WaitForChild'buttonsFrame'
- local frames = script.Parent:WaitForChild'frameContainer'
- local selector = buttonsFrame:WaitForChild'selectionFrame'
- repeat wait() until #buttonsFrame:GetChildren() == 4
- for _,v in pairs(buttonsFrame:GetChildren()) do
- if v.ClassName == "TextButton" then
- v.MouseEnter:connect(function()
- selector:TweenSizeAndPosition(UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, 3), v.Position,"Out","Quint",.3,true)
- for _,v in pairs(frames:GetChildren()) do
- v:TweenPosition(UDim2.new(0, 0, -1, 0), "Out", "Linear", 0, true)
- end
- frames:FindFirstChild(v.Name):TweenPosition(UDim2.new(0, 0, 0, 0),"Out","Quint",.3,true)
- end)
- end
- end
- local infoFrame = frames:WaitForChild'Info'
- local getModel = infoFrame:WaitForChild'getModel'
- local robux = infoFrame:WaitForChild'donateRobux'
- local tickets = infoFrame:WaitForChild'donateTickets'
- getModel.MouseButton1Up:connect(function()
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {279561183, Enum.CurrencyType.Default})
- end)
- frames:WaitForChild'Updates':WaitForChild'updateInfo'.Text = newestUpdate
- frames:WaitForChild'Updates':WaitForChild'currentVersion'.Text = tostring("v" .. version)
- robux.MouseButton1Up:connect(function()
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {258182871, Enum.CurrencyType.Robux})
- end)
- tickets.MouseButton1Up:connect(function()
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {258182871, Enum.CurrencyType.Tix})
- end)
- end))
- Frame431.Name = "Players"
- Frame431.Parent = Frame383
- Frame431.Size = UDim2.new(0, 200, 0, 350)
- Frame431.Position = UDim2.new(0, 0, 1, 0)
- Frame431.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame431.BorderSizePixel = 0
- Frame431.ZIndex = 8
- Frame432.Name = "Template"
- Frame432.Parent = Frame431
- Frame432.Size = UDim2.new(1, 0, 0, 30)
- Frame432.Style = Enum.FrameStyle.DropShadow
- Frame432.Visible = false
- Frame432.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame432.ZIndex = 8
- TextLabel433.Name = "playerName"
- TextLabel433.Parent = Frame432
- TextLabel433.Transparency = 1
- TextLabel433.Size = UDim2.new(1, 0, 1, 0)
- TextLabel433.Text = "OnlyTwentyCharacters"
- TextLabel433.Position = UDim2.new(0, 25, 0, 0)
- TextLabel433.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel433.BackgroundTransparency = 1
- TextLabel433.BorderSizePixel = 0
- TextLabel433.ZIndex = 8
- TextLabel433.Font = Enum.Font.SourceSansBold
- TextLabel433.FontSize = Enum.FontSize.Size14
- TextLabel433.TextColor3 = Color3.new(1, 1, 1)
- TextLabel433.TextXAlignment = Enum.TextXAlignment.Left
- TextButton434.Name = "removeButton"
- TextButton434.Parent = Frame432
- TextButton434.Size = UDim2.new(0, 24, 0, 24)
- TextButton434.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- TextButton434.Text = "X"
- TextButton434.Position = UDim2.new(1, -22, 0.5, -12)
- TextButton434.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton434.ZIndex = 8
- TextButton434.Font = Enum.Font.SourceSansBold
- TextButton434.FontSize = Enum.FontSize.Size18
- TextButton434.TextColor3 = Color3.new(0.737255, 0, 0.0117647)
- ScrollingFrame435.Name = "playerImage"
- ScrollingFrame435.Parent = Frame432
- ScrollingFrame435.Transparency = 1
- ScrollingFrame435.Size = UDim2.new(0, 18, 0, 18)
- ScrollingFrame435.Position = UDim2.new(0, 0, 0.5, -9)
- ScrollingFrame435.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame435.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame435.BackgroundTransparency = 1
- ScrollingFrame435.BorderSizePixel = 0
- ScrollingFrame435.ZIndex = 8
- ScrollingFrame435.ScrollBarThickness = 0
- ImageLabel436.Name = "image"
- ImageLabel436.Parent = ScrollingFrame435
- ImageLabel436.Transparency = 1
- ImageLabel436.Size = UDim2.new(3, 0, 3, 0)
- ImageLabel436.Position = UDim2.new(0, -20, 0, -7)
- ImageLabel436.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel436.BackgroundTransparency = 1
- ImageLabel436.BorderSizePixel = 0
- ImageLabel436.ZIndex = 8
- ImageLabel436.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=OnlyTwentyCharacters"
- ScrollingFrame437.Name = "PlayerList"
- ScrollingFrame437.Parent = Frame431
- ScrollingFrame437.Transparency = 1
- ScrollingFrame437.Size = UDim2.new(1, -20, 1, -20)
- ScrollingFrame437.Position = UDim2.new(0, 10, 0, 10)
- ScrollingFrame437.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame437.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame437.BackgroundTransparency = 1
- ScrollingFrame437.BorderSizePixel = 0
- ScrollingFrame437.ZIndex = 8
- ScrollingFrame437.ScrollBarThickness = 0
- LocalScript438.Name = "manageList"
- LocalScript438.Parent = Frame431
- table.insert(cors,sandbox(LocalScript438,function()
- function WaitForChild(...)
- local args = {...}
- local parent = args[1]
- table.remove(args, 1)
- local newArgs = {}
- for i,v in pairs(args) do
- table.insert(newArgs, i, parent:WaitForChild(v))
- end
- return unpack(newArgs)
- end
- local scrollable,template = WaitForChild(script.Parent, "PlayerList", "Template")
- function refresh()
- scrollable:ClearAllChildren()
- for i,v in pairs(game:service'Players':GetChildren()) do
- local newTemplate = template:Clone()
- newTemplate.Name = v.Name
- local removePlayer,playerName,imgbin = WaitForChild(newTemplate, "removeButton", "playerName","playerImage")
- imgbin:WaitForChild'image'.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" .. v.Name
- playerName.Text = v.Name
- removePlayer.MouseButton1Up:connect(function()
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer("kick", {v.Name})
- end)
- newTemplate.Parent = scrollable
- newTemplate.Position = UDim2.new(0, 0, 0, (i-1)*30)
- newTemplate.Visible = true
- end
- scrollable.CanvasSize = UDim2.new(0, 0, 0, (game:service'Players'.NumPlayers-1)*30)
- end
- refresh()
- game:service'Players'.ChildAdded:connect(refresh)
- game:service'Players'.ChildRemoved:connect(refresh)
- end))
- RemoteFunction380.Name = "ServersideInfo"
- RemoteFunction380.Parent = ScreenGui284
- TextButton451.Name = "closeButton"
- TextButton451.Parent = ScreenGui284
- TextButton451.Size = UDim2.new(0, 40, 0, 30)
- TextButton451.Text = ""
- TextButton451.Position = UDim2.new(1, -40, 1, -60)
- TextButton451.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton451.BorderSizePixel = 0
- TextButton451.ZIndex = 8
- TextButton451.Font = Enum.Font.SourceSansBold
- TextButton451.FontSize = Enum.FontSize.Size24
- TextButton451.TextColor3 = Color3.new(1, 1, 1)
- TextButton451.TextStrokeTransparency = 0.69999998807907
- Frame452.Name = "textFrame"
- Frame452.Parent = TextButton451
- Frame452.Transparency = 1
- Frame452.Size = UDim2.new(1, 0, 1, 0)
- Frame452.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame452.BackgroundTransparency = 1
- Frame452.BorderSizePixel = 0
- Frame452.ZIndex = 10
- TextLabel453.Name = "UpperClose"
- TextLabel453.Parent = Frame452
- TextLabel453.Transparency = 1
- TextLabel453.Text = "V"
- TextLabel453.Position = UDim2.new(0.5, 0, 0, 10)
- TextLabel453.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextLabel453.BackgroundTransparency = 1
- TextLabel453.BorderSizePixel = 0
- TextLabel453.ZIndex = 8
- TextLabel453.Font = Enum.Font.SourceSansLight
- TextLabel453.FontSize = Enum.FontSize.Size24
- TextLabel453.TextColor3 = Color3.new(1, 1, 1)
- TextLabel453.TextStrokeTransparency = 0.69999998807907
- TextLabel453.TextWrapped = true
- TextLabel454.Name = "LowerClose"
- TextLabel454.Parent = Frame452
- TextLabel454.Transparency = 1
- TextLabel454.Text = "V"
- TextLabel454.Position = UDim2.new(0.5, 0, 1, -12)
- TextLabel454.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextLabel454.BackgroundTransparency = 1
- TextLabel454.BorderSizePixel = 0
- TextLabel454.ZIndex = 9
- TextLabel454.Font = Enum.Font.SourceSansLight
- TextLabel454.FontSize = Enum.FontSize.Size24
- TextLabel454.TextColor3 = Color3.new(1, 1, 1)
- TextLabel454.TextStrokeTransparency = 0.69999998807907
- Script370.Name = "manageServer"
- Script370.Parent = ScreenGui284
- table.insert(cors,sandbox(Script370,function()
- local player = script.Parent.Parent.Parent
- wait(.5)
- local ds = game:GetService'DataStoreService':GetDataStore'gameManagementBarDataStore'
- local settings = _G.ManagementBarSettings
- local playersService = game:service'Players'
- function isValInTab(val, tab)
- for _,v in pairs(tab) do
- if val == v then
- return true
- end
- end
- return false
- end
- function getAllGuiElements()
- local tabMain = {}
- function subfunc(ch)
- for _,v in pairs(ch:GetChildren()) do
- tabMain[#tabMain+1] = v
- subfunc(v)
- end
- end
- for _,v in pairs(script.Parent:GetChildren()) do
- tabMain[#tabMain+1] = v
- subfunc(v)
- end
- return tabMain
- end
- if settings then
- local guielements = getAllGuiElements()
- if settings.MainColor then
- for _,v in pairs(guielements) do
- if v:IsA'GuiObject' and v.BackgroundColor3 == Color3.new(0, 1, 170/255) then
- v.BackgroundColor3 = settings.MainColor
- end
- end
- end
- if settings.OutlineColor then
- for _,v in pairs(guielements) do
- if v:IsA'GuiObject' and v.BorderSizePixel > 0 then
- v.BorderColor3 = settings.OutlineColor
- end
- end
- end
- else
- script.Parent:WaitForChild'Serverside':FireClient(player, 'Hey, (hopefully) place owner!', Enum.MessageType.MessageWarning)
- script.Parent:WaitForChild'Serverside':FireClient(player, 'You\'re using an outdated version of the launcher.', Enum.MessageType.MessageWarning)
- script.Parent:WaitForChild'Serverside':FireClient(player, 'You don\'t have to update it, but if you want more', Enum.MessageType.MessageWarning)
- script.Parent:WaitForChild'Serverside':FireClient(player, 'customizability, please upgrade! Thanks, Reselim.', Enum.MessageType.MessageWarning)
- end
- function getrankbycmd(data, cmd)
- for i,v in pairs(data) do
- if string.lower(v[1])==string.lower(cmd)then
- return v,i
- end
- end
- return nil,0
- end
- function messageAllPlayers(msg, ishint)
- for _,v in pairs(playersService:GetChildren()) do
- local c = script:WaitForChild'Message':Clone()
- local ih,ms = c:WaitForChild'ishint',c:WaitForChild'msg'
- ih.Value = ishint
- ms.Value = msg
- c.Parent = v:FindFirstChild'PlayerGui'
- c.Disabled = false
- end
- end
- function getAllPlayers(isOthers)
- local tb = {}
- if isOthers then
- for _,v in pairs(playersService:GetChildren()) do
- if v.userId ~= player.userId then
- tb[#tb+1] = v
- end
- end
- else
- for _,v in pairs(playersService:GetChildren()) do
- tb[#tb+1] = v
- end
- end
- return tb
- end
- function getPlayer(arg)
- if string.lower(arg) == "me" then
- return player
- elseif string.lower(arg) == "all" then
- return unpack(getAllPlayers(false))
- elseif string.lower(arg) == "others" then
- return unpack(getAllPlayers(true))
- elseif string.lower(arg) == "random" then
- return playersService:GetChildren()[#math.random(1, #playersService:GetChildren())]
- end
- for _,v in pairs(playersService:GetChildren()) do
- if string.lower(v.Name:sub(1, string.len(arg))) == string.lower(arg) then
- return v
- end
- end
- return nil
- end
- spawn(function()
- wait(1)
- if not ds:GetAsync('sentmodel-' .. player.userId) then
- if game:GetService'MarketplaceService':PlayerOwnsAsset(player, 279561183) == false then
- game:GetService'MarketplaceService':PromptPurchase(player, 279561183)
- end
- ds:SetAsync('sentmodel-' .. player.userId, true)
- end
- end)
- local commands = require(script:WaitForChild'Commands')
- function splitWords(msg,num)
- if num<=0 or msg==nil then return {} end
- local tab={}
- local str=msg
- local full=''
- for a in str:gmatch('([^ ]+)') do
- if #tab>=num then break end
- if #tab==num-1 then
- tab[#tab+1]=msg:sub(#full+1,#msg)
- end
- if #tab>=num then break end
- str=a..' '
- full=full..a..' '
- tab[#tab+1]=a
- if #tab>=num then break end
- end
- return tab
- end
- function getNumberOfCharacters(str, chr)
- local t={}
- for matchedValue in string.gmatch(str, chr) do
- table.insert(t, matchedValue)
- end
- return #t
- end
- function splitArguments(msg)
- local num = getNumberOfCharacters(msg,',')+1
- if num<=0 or msg==nil then return {} end
- local tab={}
- local str=msg
- local full=''
- for a in str:gmatch('([^,]+)') do
- if #tab>=num then break end
- if #tab==num-1 then
- tab[#tab+1]=msg:sub(#full+1,#msg)
- end
- if #tab>=num then break end
- str=a..','
- full=full..a..','
- tab[#tab+1]=a
- if #tab>=num then break end
- end
- return tab
- end
- function sortArguments(orig, cust)
- local newTab = {}
- if #orig == #cust then
- for i,v in pairs(orig) do
- if v == 'player' then
- if string.find(cust[i], ',') then
- local mt = {}
- for _,v in pairs(splitArguments(cust[i])) do
- if getPlayer(v) then
- mt[#mt+1] = getPlayer(v)
- end
- end
- newTab[#newTab+1] = mt
- else
- if getPlayer(cust[i]) then
- newTab[#newTab+1] = {getPlayer(cust[i])}
- end
- end
- elseif v == 'number' then
- if string.find(cust[i], ',') then
- local mt = {}
- for _,v in pairs(splitArguments(cust[i])) do
- if tonumber(v) then
- mt[#mt+1] = tonumber(v)
- end
- end
- newTab[#newTab+1] = mt
- else
- if tonumber(cust[i]) then
- newTab[#newTab+1] = {tonumber(cust[i])}
- end
- end
- elseif v == 'precentage' then
- if tonumber(cust[i]) then
- newTab[#newTab+1] = {tonumber(cust[i])/100}
- end
- elseif v == 'message' then
- newTab[#newTab+1] = {cust[i]}
- end
- end
- end
- return newTab
- end
- function runCommand(executer, str)
- local cmd = (string.find(str, " ") and string.sub(str, 1, string.find(str, " ")-1) or str)
- if commands[string.lower(cmd)] then
- local args = sortArguments(commands[string.lower(cmd)].argumentsNeeded, splitWords(string.sub(str, string.len(cmd)+2, string.len(str)), #commands[string.lower(cmd)].argumentsNeeded))
- if #args == #commands[string.lower(cmd)].argumentsNeeded then
- spawn(function()
- commands[string.lower(cmd)].func(executer, args)
- end)
- end
- end
- end
- script.Parent:WaitForChild'Serverside'.OnServerEvent:connect(function(lp, reason, args)
- if reason == "kick" then
- local p = args[1]
- if playersService:FindFirstChild(p) then
- playersService:FindFirstChild(p):Kick'You have been kicked from this game.'
- end
- elseif reason == "runcommand" then
- local str = args[1]
- runCommand(lp, str)
- elseif reason == "runcode" then
- if not workspace:FindFirstChild'codeBin' then
- Instance.new('Model', workspace).Name = "codeBin"
- end
- local clonedTemplate = script:WaitForChild'templateCode':Clone()
- clonedTemplate:WaitForChild'source'.Value = args[1]
- clonedTemplate.Parent = workspace:FindFirstChild'codeBin'
- clonedTemplate.Name = "console"
- clonedTemplate.Disabled = false
- elseif reason == "buy" then
- game:GetService'MarketplaceService':PromptPurchase(player, args[1], false, args[2])
- elseif reason == "select" then
- local t = args[1]
- if t.ClassName == 'Tool' then
- t.Parent = player.Character
- end
- elseif reason == "deselect" then
- local t = args[1]
- if t.ClassName == 'Tool' then
- t.Parent = player:WaitForChild'Backpack'
- end
- end
- end)
- game:GetService'LogService'.MessageOut:connect(function(msg, msgtyp)
- script.Parent:WaitForChild'Serverside':FireClient(player, msg, msgtyp)
- end)
- script.Parent:WaitForChild'ServersideInfo'.OnServerInvoke = function(cli, infotype)
- if infotype == "cmds" then
- return commands
- elseif infotype == "isloadstringenabled" then
- local success = true
- return success
- end
- end
- end))
- Script371.Name = "templateCode"
- Script371.Parent = Script370
- Script371.Disabled = true
- table.insert(cors,sandbox(Script371,function()
- local loadstring = require(script:WaitForChild'Loadstring')
- loadstring(script:WaitForChild'source'.Value)()
- script:remove()
- end))
- StringValue372.Name = "source"
- StringValue372.Parent = Script371
- LocalScript373.Name = "Message"
- LocalScript373.Parent = Script370
- LocalScript373.Disabled = true
- table.insert(cors,sandbox(LocalScript373,function()
- local ishint = script:WaitForChild'ishint'.Value
- local msg,msg2 = script:WaitForChild'msg'.Value,script:WaitForChild'msg2'.Value
- local stg = Instance.new('ScreenGui', script.Parent)
- stg.Name = "RMG:MessageGui"
- script.Name = "RMG:MessageScript"
- local text = Instance.new('TextLabel', stg)
- text.BackgroundTransparency = 1
- text.Text = ''
- text.BorderSizePixel = 0
- text.BackgroundColor3 = Color3.new(0, 0, 0)
- text.Size = (ishint and UDim2.new(1, 0, 0, 20) or UDim2.new(1, 0, 1, 0))
- text.TextWrapped = true
- text.ZIndex = 10
- text.TextColor3 = Color3.new(1, 1, 1)
- text.FontSize = Enum.FontSize[(ishint and "Size18" or "Size36")]
- text.Font = Enum.Font.ArialBold
- text.TextStrokeTransparency = .7
- local text2
- if ishint == false then
- text2 = Instance.new('TextLabel', stg)
- text2.BackgroundTransparency = 1
- text2.Text = string.upper(msg2)
- text2.BorderSizePixel = 0
- text2.BackgroundTransparency = 1
- text2.Size = UDim2.new(1, 0, 1, 0)
- text2.Position = UDim2.new(0, 0, 0, 7)
- text2.TextWrapped = true
- text2.ZIndex = 10
- text2.TextColor3 = Color3.new(1, 1, 1)
- text2.FontSize = Enum.FontSize.Size18
- text2.Font = Enum.Font.ArialBold
- text2.TextYAlignment = Enum.TextYAlignment.Top
- text2.TextStrokeTransparency = .7
- end
- for i=1, 0.5, -0.05 do
- text.BackgroundTransparency = i
- wait()
- end
- for i=1, string.len(msg) do
- text.Text = msg:sub(1, i)
- wait()
- end
- wait(3)
- for i=string.len(msg), 1, -1 do
- text.Text = msg:sub(1, i)
- wait()
- end
- text.Text = ''
- for i=0.5, 1, 0.05 do
- text.BackgroundTransparency = i
- if text2 then
- text2.TextTransparency = i
- end
- wait()
- end
- stg:remove()
- wait()
- script:remove()
- end))
- StringValue374.Name = "msg"
- StringValue374.Parent = LocalScript373
- BoolValue375.Name = "ishint"
- BoolValue375.Parent = LocalScript373
- StringValue376.Name = "msg2"
- StringValue376.Parent = LocalScript373
- Script377.Name = "Spin"
- Script377.Parent = Script370
- Script377.Disabled = true
- table.insert(cors,sandbox(Script377,function()
- if script.Parent:FindFirstChild'Torso' then
- while wait() do
- for i=1, 360, 2 do
- script.Parent:FindFirstChild'Torso'.CFrame = CFrame.new(script.Parent:FindFirstChild'Torso'.Position) * CFrame.Angles(0, math.rad(i), 0)
- wait()
- end
- end
- end
- end))
- LocalScript378.Name = "Fly"
- LocalScript378.Parent = Script370
- LocalScript378.Disabled = true
- table.insert(cors,sandbox(LocalScript378,function()
- local Me = game:GetService("Players").LocalPlayer
- local Char = Me.Character
- local Mouse = Me:GetMouse()
- local Cam = workspace.CurrentCamera
- local Stop = false
- local Version = 0
- local MaxSpeed = 5
- local Speed = 1
- local Keys = {}
- local Fly, Rot = Char.Torso:FindFirstChild("Fly"), Char.Torso:FindFirstChild("Rot")
- if Fly then Fly:Destroy() end if Rot then Rot:Destroy() end
- Fly = Instance.new("BodyPosition", Char.Torso) Fly.Name = "Fly" Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge) Fly.P = 10000 Fly.position = Char.Torso.Position
- Rot = Instance.new("BodyGyro", Char.Torso) Rot.Name = "Rot" Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge) Rot.P = 10000 Rot.cframe = Cam.CoordinateFrame
- local Thread,Old = Version, nil
- Char.Humanoid.PlatformStand = true
- function StopFly()
- Version = Version + 1 Stop = true Char.Humanoid.PlatformStand = false Fly:Destroy() Rot:Destroy() script.Disabled = true script:Destroy()
- end
- Char.ChildAdded:connect(function(Obj) wait()
- if Obj.Name == "FlyStop" then
- Obj:Destroy()
- StopFly()
- end
- end)
- coroutine.wrap(function() while Thread == Version and Stop == false do
- local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position
- if Keys[string.char(48)] then Speed = 1 end
- if Keys.w then Vectoring = Vectoring + Cam.CoordinateFrame.lookVector * Speed end
- if Keys.s then Vectoring = Vectoring - Cam.CoordinateFrame.lookVector * Speed end
- if Keys.d then Vectoring = Vectoring * CFrame.new(Speed,0,0) end
- if Keys.a then Vectoring = Vectoring * CFrame.new(-Speed,0,0) end
- if Keys.e or Keys[" "] then Vectoring = Vectoring * CFrame.new(0,Speed,0) end
- if Keys.q then Vectoring = Vectoring * CFrame.new(0,-Speed,0) end
- if Keys.x then StopFly() end
- if Old ~= Vectoring then
- Fly.position = Vectoring.p
- Old = Vectoring
- Speed = math.min(Speed + Speed*0.025,MaxSpeed)
- else
- Speed = 1;
- end
- Rot.cframe = Cam.CoordinateFrame
- wait(0.01)
- end end)()
- Mouse.KeyDown:connect(function(Key)
- Keys[Key] = true
- end)
- Mouse.KeyUp:connect(function(Key)
- Keys[Key] = false
- end)
- end))
- LocalScript379.Name = "Crash"
- LocalScript379.Parent = Script370
- LocalScript379.Disabled = true
- table.insert(cors,sandbox(LocalScript379,function()
- while true do Instance.new('HopperBin', game:service'Players'.LocalPlayer:WaitForChild'Backpack') end
- end))
- RemoteFunction380.Name = "ServersideInfo"
- RemoteFunction380.Parent = ScreenGui284
- LocalScript381.Name = "manageButtons"
- LocalScript381.Parent = ScreenGui284
- table.insert(cors,sandbox(LocalScript381,function()
- local buttonsFrame = script.Parent:WaitForChild'bottomFrame':WaitForChild'buttonsFrame'
- local frames = script.Parent:WaitForChild'Frames'
- local selector = buttonsFrame:WaitForChild'selectionFrame'
- local currentOpen
- repeat wait() until #buttonsFrame:GetChildren() == 6
- for _,v in pairs(buttonsFrame:GetChildren()) do
- if v.ClassName == "TextButton" then
- v.MouseButton1Up:connect(function()
- selector:TweenSizeAndPosition(UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, 3), v.Position,"Out","Quint",.3,true)
- for _,c in pairs(frames:GetChildren()) do
- if c.Position.Y.Offset < 0 then
- c:TweenPosition(UDim2.new(c.Position.X.Scale, c.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
- end
- end
- local cf = frames:FindFirstChild(v.Name)
- currentOpen = cf
- cf:TweenPosition(UDim2.new(cf.Position.X.Scale, cf.Position.X.Offset, 1, 0-cf.Size.Y.Offset),"Out","Quint",.3,true)
- end)
- end
- end
- local isOpen = true
- local deb = false
- local oldOpened = currentOpen
- script.Parent:WaitForChild'closeButton'.MouseButton1Up:connect(function()
- if deb == false then
- if isOpen == true then
- deb = true
- isOpen = false
- for _,c in pairs(frames:GetChildren()) do
- if c.Position.Y.Offset < 0 then
- c:TweenPosition(UDim2.new(c.Position.X.Scale, c.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
- wait(.3)
- end
- end
- oldOpened = currentOpen
- frames:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Quint', .3, true)
- buttonsFrame.Parent:TweenPosition(UDim2.new(0, 0, 1, 0), 'Out', 'Quint', .3, true)
- script.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -30), 'Out', 'Quint', .3, true)
- script.Parent:WaitForChild'closeButton':WaitForChild'textFrame'.Rotation = 180
- wait(.3)
- script.Parent:WaitForChild'bottomFrame':WaitForChild'manageHotbar'.Disabled = true
- deb = false
- else
- deb = true
- isOpen = true
- frames:TweenPosition(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', .3, true)
- buttonsFrame.Parent:TweenPosition(UDim2.new(0, 0, 1, -30), 'Out', 'Quint', .3, true)
- script.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -60), 'Out', 'Quint', .3, true)
- script.Parent:WaitForChild'closeButton':WaitForChild'textFrame'.Rotation = 0
- wait(.3)
- if oldOpened then
- oldOpened:TweenPosition(UDim2.new(oldOpened.Position.X.Scale, oldOpened.Position.X.Offset, 1, 0-oldOpened.Size.Y.Offset),"Out","Quint",.3,true)
- selector:TweenSizeAndPosition(UDim2.new(buttonsFrame:FindFirstChild(oldOpened.Name).Size.X.Scale, buttonsFrame:FindFirstChild(oldOpened.Name).Size.X.Offset, 0, 3), buttonsFrame:FindFirstChild(oldOpened.Name).Position,"Out","Quint",.3,true)
- end
- script.Parent:WaitForChild'bottomFrame':WaitForChild'manageHotbar'.Disabled = false
- deb = false
- end
- end
- end)
- end))
- RemoteEvent382.Name = "Serverside"
- RemoteEvent382.Parent = ScreenGui284
- Frame383.Name = "Frames"
- Frame383.Parent = ScreenGui284
- Frame383.Transparency = 1
- Frame383.Size = UDim2.new(1, 0, 1, -30)
- Frame383.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame383.BackgroundTransparency = 1
- Frame383.BorderSizePixel = 0
- Frame383.ZIndex = 8
- Frame384.Name = "Close"
- Frame384.Parent = Frame383
- Frame384.Transparency = 1
- Frame384.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame384.BackgroundTransparency = 1
- Frame384.BorderSizePixel = 0
- Frame384.ZIndex = 8
- Frame385.Name = "Commands"
- Frame385.Parent = Frame383
- Frame385.Size = UDim2.new(0.5, -20, 0, 350)
- Frame385.Position = UDim2.new(0.5, -20, 1, 0)
- Frame385.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame385.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- Frame385.BorderSizePixel = 0
- Frame385.ZIndex = 8
- TextButton386.Name = "CommandBar"
- TextButton386.Parent = Frame385
- TextButton386.Size = UDim2.new(1, -70, 0, 30)
- TextButton386.Style = Enum.ButtonStyle.RobloxRoundButton
- TextButton386.Text = ""
- TextButton386.Position = UDim2.new(0, 25, 0, 10)
- TextButton386.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton386.ZIndex = 8
- TextButton386.Selected = true
- TextButton386.Font = Enum.Font.SourceSans
- TextButton386.FontSize = Enum.FontSize.Size14
- ScrollingFrame387.Name = "textBin"
- ScrollingFrame387.Parent = TextButton386
- ScrollingFrame387.Transparency = 1
- ScrollingFrame387.Size = UDim2.new(1, 0, 1, 15)
- ScrollingFrame387.Position = UDim2.new(0, 0, 0, -8)
- ScrollingFrame387.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame387.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame387.BackgroundTransparency = 1
- ScrollingFrame387.BorderSizePixel = 0
- ScrollingFrame387.ZIndex = 8
- ScrollingFrame387.ScrollBarThickness = 0
- TextBox388.Name = "Text"
- TextBox388.Parent = ScrollingFrame387
- TextBox388.Transparency = 1
- TextBox388.Size = UDim2.new(1, 0, 1, 0)
- TextBox388.Text = "Type your command here!"
- TextBox388.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox388.BackgroundTransparency = 1
- TextBox388.BorderSizePixel = 0
- TextBox388.ZIndex = 8
- TextBox388.ClearTextOnFocus = false
- TextBox388.Font = Enum.Font.SourceSansBold
- TextBox388.FontSize = Enum.FontSize.Size18
- TextBox388.TextColor3 = Color3.new(1, 1, 1)
- TextBox388.TextXAlignment = Enum.TextXAlignment.Left
- ScrollingFrame389.Name = "commandList"
- ScrollingFrame389.Parent = Frame385
- ScrollingFrame389.Transparency = 1
- ScrollingFrame389.Size = UDim2.new(1, -60, 0, 280)
- ScrollingFrame389.Position = UDim2.new(0, 30, 0, 50)
- ScrollingFrame389.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame389.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame389.BackgroundTransparency = 1
- ScrollingFrame389.BorderSizePixel = 0
- ScrollingFrame389.ZIndex = 8
- ScrollingFrame389.ScrollBarThickness = 0
- LocalScript390.Name = "manageCommands"
- LocalScript390.Parent = Frame385
- table.insert(cors,sandbox(LocalScript390,function()
- function WaitForChild(...)
- local args = {...}
- local parent = args[1]
- table.remove(args, 1)
- local newArgs = {}
- for i,v in pairs(args) do
- table.insert(newArgs, i, parent:WaitForChild(v))
- end
- return unpack(newArgs)
- end
- local cmdlist = script.Parent.Parent.Parent:WaitForChild'ServersideInfo':InvokeServer'cmds'
- local list,bar,usagebutton,usageframe = WaitForChild(script.Parent, "commandList", "CommandBar","usageButton","commandUsage")
- local usageFrame = usageframe:WaitForChild'mainBar'
- local barText = bar:WaitForChild'textBin':WaitForChild'Text'
- local currentHover
- local plr = game:service'Players'.LocalPlayer
- local mouse = plr:GetMouse()
- repeat mouse = plr:GetMouse() wait() until mouse
- local cmdBarOpen = false
- local co
- function showList(txt)
- currentHover = nil
- list:ClearAllChildren()
- local validCommands = {}
- local usageCommands = {}
- if string.len(txt) > 0 then
- for _,v in pairs(cmdlist) do
- if string.find(string.lower(v.commandMain), string.lower(txt)) or string.find(string.lower(v.commandMain), txt:sub(1, string.len(v.commandMain))) then
- if #v.argumentsNeeded > 0 then
- validCommands[#validCommands+1] = (v.commandMain .. ' [' .. table.concat(v.fakeArgs, "] [") .. ']')
- usageCommands[v.commandMain] = v.Usage
- else
- validCommands[#validCommands+1] = v.commandMain
- usageCommands[v.commandMain] = v.Usage
- end
- end
- end
- else
- for _,v in pairs(cmdlist) do
- if #v.argumentsNeeded > 0 then
- validCommands[#validCommands+1] = (v.commandMain .. ' [' .. table.concat(v.fakeArgs, "] [") .. ']')
- usageCommands[v.commandMain] = v.Usage
- else
- validCommands[#validCommands+1] = v.commandMain
- usageCommands[v.commandMain] = v.Usage
- end
- end
- end
- table.sort(validCommands)
- for i,v in pairs(validCommands) do
- local fr = Instance.new('Frame')
- fr.Name = "Suggestion"
- fr.Style = Enum.FrameStyle.DropShadow
- fr.Size = UDim2.new(1, 0, 0, 30)
- fr.Position = UDim2.new(0, 0, 0, (i-1)*30)
- fr.ZIndex = 8
- local sf = Instance.new('ScrollingFrame', fr)
- sf.Name = 'infoFrame'
- sf.Size = UDim2.new(1, 8, 1, 8)
- sf.BackgroundTransparency = 1
- sf.Position = UDim2.new(0, -4, 0, -4)
- sf.CanvasSize = UDim2.new(0, 0, 0, 0)
- local txt = Instance.new('TextLabel', sf)
- txt.Text = v
- txt.Size = UDim2.new(1, 0, 1, 5)
- txt.BackgroundTransparency = 1
- txt.TextColor3 = Color3.new(1, 1, 1)
- txt.Position = UDim2.new(0, 4, 0, -4)
- txt.Font = Enum.Font.SourceSansBold
- txt.ZIndex = 8
- txt.TextXAlignment = Enum.TextXAlignment.Left
- txt.FontSize = Enum.FontSize.Size24
- local txt2 = Instance.new('TextLabel', sf)
- txt2.Text = usageCommands[string.lower(v:sub(1, (string.find(v, ' ') and string.find(v, ' ')-1 or string.len(v))))]
- txt2.Size = UDim2.new(1, 0, 1, 0)
- txt2.Position = UDim2.new(1, 0, 0, -2)
- txt2.BackgroundTransparency = 1
- txt2.TextColor3 = Color3.new(1, 1, 1)
- txt2.Font = Enum.Font.SourceSansBold
- txt2.ZIndex = 8
- txt2.TextXAlignment = Enum.TextXAlignment.Right
- txt2.FontSize = Enum.FontSize.Size24
- sf.MouseEnter:connect(function()
- if currentHover then
- currentHover.Text1:TweenPosition(UDim2.new(0, 4, 0, -4), 'Out', 'Quint', .3, true)
- currentHover.Text2:TweenPosition(UDim2.new(1, 4, 0, -2), 'Out', 'Quint', .3, true)
- end
- currentHover = {Text1 = txt, Text2 = txt2}
- currentHover.Text1:TweenPosition(UDim2.new(-1, -4, 0, -4), 'Out', 'Quint', .3, true)
- currentHover.Text2:TweenPosition(UDim2.new(0, -4, 0, -2), 'Out', 'Quint', .3, true)
- end)
- fr.Parent = list
- end
- list.CanvasSize = UDim2.new(0, 0, 0, (#validCommands-1)*30)
- end
- barText.Changed:connect(function(changed)
- if changed == "Text" and barText.Text ~= "Type your command here!" then
- showList(barText.Text)
- elseif changed == "Text" then
- showList("")
- end
- end)
- barText.Focused:connect(function()
- if barText.Text == "Type your command here!" then
- barText.Text = ""
- end
- end)
- barText.FocusLost:connect(function(enterPressed)
- if enterPressed == true then
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer("runcommand", {barText.Text})
- showList("")
- barText:TweenPosition(UDim2.new(0, 0, 1, 0),"Out","Quint",.3,true)
- if cmdBarOpen then
- script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
- if co then
- co:TweenPosition(UDim2.new(co.Position.X.Scale, co.Position.X.Offset, 1, -co.Size.Y.Offset),"Out","Quint",.3,true)
- end
- end
- cmdBarOpen = false
- wait(.3)
- barText.Text = "Type your command here!"
- barText.Position = UDim2.new(0, 0, 0, 0)
- end
- end)
- list.MouseLeave:connect(function()
- if currentHover then
- currentHover.Text1:TweenPosition(UDim2.new(0, 4, 0, -4), 'Out', 'Quint', .3, true)
- currentHover.Text2:TweenPosition(UDim2.new(1, 4, 0, -4), 'Out', 'Quint', .3, true)
- currentHover = nil
- end
- end)
- function getCurrentOpen()
- for _,v in pairs(script.Parent.Parent:GetChildren()) do
- if v.Position.Y.Offset < 0 then
- return v
- end
- end
- return nil
- end
- mouse.KeyDown:connect(function(k)
- if k == '\'' then
- if script.Parent.Position == UDim2.new(0.5, -20, 1, 0) then
- co = getCurrentOpen()
- if co then
- co:TweenPosition(UDim2.new(co.Position.X.Scale, co.Position.X.Offset, 1, 0),"Out","Quint",.3,true)
- end
- script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 1, -script.Parent.Size.Y.Offset),"Out","Quint",.3,true)
- barText:CaptureFocus()
- cmdBarOpen = true
- else
- barText:CaptureFocus()
- end
- end
- end)
- local isOpen = false
- usagebutton.MouseButton1Up:connect(function()
- isOpen = not(isOpen)
- usageFrame:TweenPosition(UDim2.new((isOpen == true and 0 or 1), 0, 0, 0), 'Out', 'Quint', .3, true)
- end)
- showList("")
- end))
- ScrollingFrame391.Name = "commandUsage"
- ScrollingFrame391.Parent = Frame385
- ScrollingFrame391.Transparency = 1
- ScrollingFrame391.Size = UDim2.new(0, 300, 0, 350)
- ScrollingFrame391.Position = UDim2.new(0, -300, 1, -350)
- ScrollingFrame391.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame391.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame391.BackgroundTransparency = 1
- ScrollingFrame391.BorderSizePixel = 0
- ScrollingFrame391.ScrollBarThickness = 1
- Frame392.Name = "mainBar"
- Frame392.Parent = ScrollingFrame391
- Frame392.Size = UDim2.new(0, 300, 0, 350)
- Frame392.Position = UDim2.new(1, 0, 1, -350)
- Frame392.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame392.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- Frame392.BorderSizePixel = 0
- Frame392.ZIndex = 8
- TextLabel393.Name = "titleObject"
- TextLabel393.Parent = Frame392
- TextLabel393.Transparency = 1
- TextLabel393.Size = UDim2.new(1, 0, 0, 50)
- TextLabel393.Text = "Command Usage"
- TextLabel393.Position = UDim2.new(0, 15, 0, 0)
- TextLabel393.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel393.BackgroundTransparency = 1
- TextLabel393.BorderSizePixel = 0
- TextLabel393.ZIndex = 8
- TextLabel393.Font = Enum.Font.SourceSansBold
- TextLabel393.FontSize = Enum.FontSize.Size24
- TextLabel393.TextColor3 = Color3.new(1, 1, 1)
- TextLabel393.TextStrokeTransparency = 0.69999998807907
- TextLabel393.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel394.Name = "context1"
- TextLabel394.Parent = Frame392
- TextLabel394.Transparency = 1
- TextLabel394.Size = UDim2.new(1, 0, 0, 250)
- TextLabel394.Text = "The following can be used to specify a player: [playername] me all random"
- TextLabel394.Position = UDim2.new(0, 10, 0, 50)
- TextLabel394.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel394.BackgroundTransparency = 1
- TextLabel394.BorderSizePixel = 0
- TextLabel394.ZIndex = 8
- TextLabel394.Font = Enum.Font.SourceSansBold
- TextLabel394.FontSize = Enum.FontSize.Size18
- TextLabel394.TextColor3 = Color3.new(1, 1, 1)
- TextLabel394.TextStrokeTransparency = 0.69999998807907
- TextLabel394.TextWrapped = true
- TextLabel394.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel394.TextYAlignment = Enum.TextYAlignment.Top
- ImageButton395.Name = "usageButton"
- ImageButton395.Parent = Frame385
- ImageButton395.Transparency = 1
- ImageButton395.Size = UDim2.new(0, 30, 0, 30)
- ImageButton395.Position = UDim2.new(1, -40, 0, 10)
- ImageButton395.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageButton395.BackgroundTransparency = 1
- ImageButton395.BorderSizePixel = 0
- ImageButton395.ZIndex = 8
- ImageButton395.Image = "http://www.roblox.com/asset/?id=61873129"
- Frame396.Name = "Console"
- Frame396.Parent = Frame383
- Frame396.Size = UDim2.new(0.5, -20, 0, 350)
- Frame396.Position = UDim2.new(0, 0, 1, 0)
- Frame396.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame396.BorderSizePixel = 0
- Frame396.ZIndex = 8
- TextButton397.Name = "createCode"
- TextButton397.Parent = Frame396
- TextButton397.Size = UDim2.new(1, -50, 0, 30)
- TextButton397.Style = Enum.ButtonStyle.RobloxRoundButton
- TextButton397.Text = ""
- TextButton397.Position = UDim2.new(0, 25, 1, -40)
- TextButton397.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton397.ZIndex = 8
- TextButton397.Selected = true
- TextButton397.Font = Enum.Font.SourceSans
- TextButton397.FontSize = Enum.FontSize.Size14
- ScrollingFrame398.Name = "textBin"
- ScrollingFrame398.Parent = TextButton397
- ScrollingFrame398.Transparency = 1
- ScrollingFrame398.Size = UDim2.new(1, 0, 1, 15)
- ScrollingFrame398.Position = UDim2.new(0, 0, 0, -8)
- ScrollingFrame398.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame398.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame398.BackgroundTransparency = 1
- ScrollingFrame398.BorderSizePixel = 0
- ScrollingFrame398.ZIndex = 8
- ScrollingFrame398.ScrollBarThickness = 0
- TextBox399.Name = "Text"
- TextBox399.Parent = ScrollingFrame398
- TextBox399.Transparency = 1
- TextBox399.Size = UDim2.new(1, 0, 1, 0)
- TextBox399.Text = ""
- TextBox399.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox399.BackgroundTransparency = 1
- TextBox399.BorderSizePixel = 0
- TextBox399.ZIndex = 10
- TextBox399.ClearTextOnFocus = false
- TextBox399.Font = Enum.Font.SourceSansBold
- TextBox399.FontSize = Enum.FontSize.Size18
- TextBox399.TextColor3 = Color3.new(1, 1, 1)
- TextBox399.TextXAlignment = Enum.TextXAlignment.Left
- ScrollingFrame400.Name = "consoleFrame"
- ScrollingFrame400.Parent = Frame396
- ScrollingFrame400.Transparency = 1
- ScrollingFrame400.Size = UDim2.new(1, -20, 1, -20)
- ScrollingFrame400.Position = UDim2.new(0, 10, 0, 10)
- ScrollingFrame400.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame400.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame400.BackgroundTransparency = 1
- ScrollingFrame400.BorderSizePixel = 0
- ScrollingFrame400.ZIndex = 8
- LocalScript401.Name = "manageConsole"
- LocalScript401.Parent = Frame396
- table.insert(cors,sandbox(LocalScript401,function()
- function WaitForChild(...)
- local args = {...}
- local parent = args[1]
- table.remove(args, 1)
- local newArgs = {}
- for i,v in pairs(args) do
- table.insert(newArgs, i, parent:WaitForChild(v))
- end
- return unpack(newArgs)
- end
- local lines = {}
- wait(.5)
- local isLoadstring = true
- local consoleFrame,createCode = WaitForChild(script.Parent, "consoleFrame","createCode")
- createCode.Visible = isLoadstring
- if isLoadstring then
- script.Parent:WaitForChild'consoleFrame'.Size = UDim2.new(1, -20, 1, -60)
- end
- function createLine(text, color3)
- if #lines == 32 then
- lines[1]:remove()
- end
- for _,v in pairs(consoleFrame:GetChildren()) do
- v.Position = v.Position - UDim2.new(0, 0, 0, 15)
- end
- local newLine = Instance.new('TextLabel', consoleFrame)
- newLine.Text = tostring(" " .. text)
- newLine.BackgroundTransparency = 1
- newLine.TextColor3 = color3
- newLine.FontSize = Enum.FontSize.Size14
- newLine.Font = Enum.Font.SourceSansBold
- newLine.ZIndex = 8
- newLine.TextXAlignment = Enum.TextXAlignment.Left
- newLine.Size = UDim2.new(1, 0, 0, 15)
- newLine.Position = UDim2.new(0, 0, 1, -15)
- lines[#lines+1] = newLine
- return newLine
- end
- script.Parent.Parent.Parent:WaitForChild'Serverside'.OnClientEvent:connect(function(message, messageType)
- createLine(message, (messageType == Enum.MessageType.MessageOutput and Color3.new(1, 1, 1) or messageType == Enum.MessageType.MessageError and Color3.new(1, 0, 0) or messageType == Enum.MessageType.MessageInfo and Color3.new(102/255, 0, 1) or messageType == Enum.MessageType.MessageWarning and Color3.new(1, 128/255, 0)))
- end)
- createCode:WaitForChild'textBin':WaitForChild'Text'.FocusLost:connect(function(enterPressed)
- if enterPressed then
- createLine("Script ran!", Color3.new(1, 1, 1))
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('runcode', {createCode:WaitForChild'textBin':WaitForChild'Text'.Text})
- wait()
- createCode:WaitForChild'textBin':WaitForChild'Text':TweenPosition(UDim2.new(0, 0, -1, 0),"Out","Quint",.3,true)
- wait(.3)
- createCode:WaitForChild'textBin':WaitForChild'Text'.Text = ""
- createCode:WaitForChild'textBin':WaitForChild'Text'.Position = UDim2.new(0, 0, 0, 0)
- end
- end)
- createLine('Console loaded!', Color3.new(1, 1, 1))
- end))
- Frame402.Name = "Info"
- Frame402.Parent = Frame383
- Frame402.Size = UDim2.new(0, 300, 0, 400)
- Frame402.Position = UDim2.new(1, -340, 1, 0)
- Frame402.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame402.BorderSizePixel = 0
- Frame402.ZIndex = 8
- ScrollingFrame403.Name = "frameContainer"
- ScrollingFrame403.Parent = Frame402
- ScrollingFrame403.Transparency = 1
- ScrollingFrame403.Size = UDim2.new(1, -50, 0, 300)
- ScrollingFrame403.Position = UDim2.new(0, 25, 0, 75)
- ScrollingFrame403.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame403.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame403.BackgroundTransparency = 1
- ScrollingFrame403.BorderSizePixel = 0
- ScrollingFrame403.ZIndex = 8
- ScrollingFrame403.ScrollBarThickness = 0
- Frame404.Name = "Updates"
- Frame404.Parent = ScrollingFrame403
- Frame404.Transparency = 1
- Frame404.Size = UDim2.new(1, 0, 1, 0)
- Frame404.Position = UDim2.new(0, 0, -1, 0)
- Frame404.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame404.BackgroundTransparency = 1
- Frame404.BorderSizePixel = 0
- Frame404.ZIndex = 8
- TextLabel405.Name = "updateInfo"
- TextLabel405.Parent = Frame404
- TextLabel405.Transparency = 1
- TextLabel405.Size = UDim2.new(1, 0, 1, -40)
- TextLabel405.Text = "updateInfo"
- TextLabel405.Position = UDim2.new(0, 0, 0, 40)
- TextLabel405.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel405.BackgroundTransparency = 1
- TextLabel405.BorderSizePixel = 0
- TextLabel405.ZIndex = 8
- TextLabel405.Font = Enum.Font.SourceSans
- TextLabel405.FontSize = Enum.FontSize.Size18
- TextLabel405.TextColor3 = Color3.new(1, 1, 1)
- TextLabel405.TextStrokeTransparency = 0.69999998807907
- TextLabel405.TextWrapped = true
- TextLabel405.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel405.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel406.Name = "currentVersion"
- TextLabel406.Parent = Frame404
- TextLabel406.Transparency = 1
- TextLabel406.Size = UDim2.new(1, 0, 0, 10)
- TextLabel406.Text = "v1.22"
- TextLabel406.Position = UDim2.new(0, 0, 0, 27)
- TextLabel406.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel406.BackgroundTransparency = 1
- TextLabel406.BorderSizePixel = 0
- TextLabel406.ZIndex = 8
- TextLabel406.Font = Enum.Font.SourceSansBold
- TextLabel406.FontSize = Enum.FontSize.Size14
- TextLabel406.TextColor3 = Color3.new(1, 1, 1)
- TextLabel406.TextStrokeTransparency = 0.69999998807907
- TextLabel406.TextWrapped = true
- TextLabel407.Name = "Title"
- TextLabel407.Parent = Frame404
- TextLabel407.Transparency = 1
- TextLabel407.Size = UDim2.new(1, 0, 0, 30)
- TextLabel407.Text = "Updates"
- TextLabel407.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel407.BackgroundTransparency = 1
- TextLabel407.BorderSizePixel = 0
- TextLabel407.ZIndex = 8
- TextLabel407.Font = Enum.Font.SourceSansBold
- TextLabel407.FontSize = Enum.FontSize.Size24
- TextLabel407.TextColor3 = Color3.new(1, 1, 1)
- TextLabel407.TextStrokeTransparency = 0.69999998807907
- TextLabel407.TextWrapped = true
- Frame408.Name = "Info"
- Frame408.Parent = ScrollingFrame403
- Frame408.Transparency = 1
- Frame408.Size = UDim2.new(1, 0, 1, 0)
- Frame408.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame408.BackgroundTransparency = 1
- Frame408.BorderSizePixel = 0
- Frame408.ZIndex = 8
- TextLabel409.Name = "context1"
- TextLabel409.Parent = Frame408
- TextLabel409.Transparency = 1
- TextLabel409.Size = UDim2.new(1, 0, 0, 73)
- TextLabel409.Text = "This is meant to be a project by Reselim which is used to make managing and moderating games easier."
- TextLabel409.Position = UDim2.new(0, 0, 0, 23)
- TextLabel409.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel409.BackgroundTransparency = 1
- TextLabel409.BorderSizePixel = 0
- TextLabel409.ZIndex = 8
- TextLabel409.Font = Enum.Font.SourceSans
- TextLabel409.FontSize = Enum.FontSize.Size18
- TextLabel409.TextColor3 = Color3.new(1, 1, 1)
- TextLabel409.TextStrokeTransparency = 0.69999998807907
- TextLabel409.TextWrapped = true
- TextLabel410.Name = "Title"
- TextLabel410.Parent = Frame408
- TextLabel410.Transparency = 1
- TextLabel410.Size = UDim2.new(1, -56, 0, 20)
- TextLabel410.Text = "Created and Managed by"
- TextLabel410.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel410.BackgroundTransparency = 1
- TextLabel410.BorderSizePixel = 0
- TextLabel410.ZIndex = 8
- TextLabel410.Font = Enum.Font.SourceSansBold
- TextLabel410.FontSize = Enum.FontSize.Size18
- TextLabel410.TextColor3 = Color3.new(1, 1, 1)
- TextLabel410.TextStrokeTransparency = 0.69999998807907
- TextLabel411.Name = "userName"
- TextLabel411.Parent = TextLabel410
- TextLabel411.Transparency = 1
- TextLabel411.Size = UDim2.new(0, 56, 1, 0)
- TextLabel411.Text = "Reselim"
- TextLabel411.Position = UDim2.new(1, -12, 0, 0)
- TextLabel411.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel411.BackgroundTransparency = 1
- TextLabel411.BorderSizePixel = 0
- TextLabel411.ZIndex = 8
- TextLabel411.Font = Enum.Font.SourceSansBold
- TextLabel411.FontSize = Enum.FontSize.Size18
- TextLabel411.TextColor3 = Color3.new(1, 1, 0)
- TextLabel411.TextStrokeTransparency = 0.69999998807907
- TextButton412.Name = "getModel"
- TextButton412.Parent = Frame408
- TextButton412.Size = UDim2.new(1, -20, 0, 30)
- TextButton412.Text = "Want the model? Click here!"
- TextButton412.Position = UDim2.new(0, 10, 0, 105)
- TextButton412.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton412.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- TextButton412.BorderSizePixel = 3
- TextButton412.ZIndex = 8
- TextButton412.Font = Enum.Font.SourceSansBold
- TextButton412.FontSize = Enum.FontSize.Size24
- TextButton412.TextColor3 = Color3.new(1, 1, 1)
- TextButton412.TextScaled = true
- TextButton412.TextStrokeTransparency = 0.69999998807907
- TextButton412.TextWrapped = true
- TextLabel413.Name = "DonateLabel"
- TextLabel413.Parent = Frame408
- TextLabel413.Transparency = 1
- TextLabel413.Size = UDim2.new(1, 0, 0, 20)
- TextLabel413.Text = "Donate"
- TextLabel413.Position = UDim2.new(0, 0, 0, 140)
- TextLabel413.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel413.BackgroundTransparency = 1
- TextLabel413.BorderSizePixel = 0
- TextLabel413.ZIndex = 8
- TextLabel413.Font = Enum.Font.SourceSansBold
- TextLabel413.FontSize = Enum.FontSize.Size18
- TextLabel413.TextColor3 = Color3.new(1, 1, 1)
- TextLabel413.TextStrokeTransparency = 0.69999998807907
- TextLabel414.Name = "DonateInfo"
- TextLabel414.Parent = TextLabel413
- TextLabel414.Transparency = 1
- TextLabel414.Size = UDim2.new(1, 0, 0, 126)
- TextLabel414.Text = "If you would like to help out the project, please click one of these two buttons. That would be greatly appreciated."
- TextLabel414.Position = UDim2.new(0, 0, 1, 0)
- TextLabel414.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel414.BackgroundTransparency = 1
- TextLabel414.BorderSizePixel = 0
- TextLabel414.ZIndex = 8
- TextLabel414.Font = Enum.Font.SourceSans
- TextLabel414.FontSize = Enum.FontSize.Size18
- TextLabel414.TextColor3 = Color3.new(1, 1, 1)
- TextLabel414.TextStrokeTransparency = 0.69999998807907
- TextLabel414.TextWrapped = true
- TextLabel414.TextYAlignment = Enum.TextYAlignment.Top
- TextButton415.Name = "donateRobux"
- TextButton415.Parent = Frame408
- TextButton415.Size = UDim2.new(0.5, -20, 0, 30)
- TextButton415.Text = "25 R$"
- TextButton415.Position = UDim2.new(0, 10, 1, -75)
- TextButton415.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton415.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- TextButton415.BorderSizePixel = 3
- TextButton415.ZIndex = 8
- TextButton415.Font = Enum.Font.SourceSansBold
- TextButton415.FontSize = Enum.FontSize.Size24
- TextButton415.TextColor3 = Color3.new(1, 1, 1)
- TextButton415.TextScaled = true
- TextButton415.TextStrokeTransparency = 0.69999998807907
- TextButton415.TextWrapped = true
- TextButton416.Name = "donateTickets"
- TextButton416.Parent = Frame408
- TextButton416.Size = UDim2.new(0.5, -20, 0, 30)
- TextButton416.Text = "100 Tix"
- TextButton416.Position = UDim2.new(0.5, 10, 1, -75)
- TextButton416.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton416.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- TextButton416.BorderSizePixel = 3
- TextButton416.ZIndex = 8
- TextButton416.Font = Enum.Font.SourceSansBold
- TextButton416.FontSize = Enum.FontSize.Size24
- TextButton416.TextColor3 = Color3.new(1, 1, 1)
- TextButton416.TextScaled = true
- TextButton416.TextStrokeTransparency = 0.69999998807907
- TextButton416.TextWrapped = true
- Frame417.Name = "Buttons"
- Frame417.Parent = ScrollingFrame403
- Frame417.Transparency = 1
- Frame417.Size = UDim2.new(1, 0, 1, 0)
- Frame417.Position = UDim2.new(0, 0, -1, 0)
- Frame417.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame417.BackgroundTransparency = 1
- Frame417.BorderSizePixel = 0
- Frame417.ZIndex = 8
- TextLabel418.Name = "players"
- TextLabel418.Parent = Frame417
- TextLabel418.Transparency = 1
- TextLabel418.Size = UDim2.new(1, 0, 0, 30)
- TextLabel418.Text = "Players"
- TextLabel418.Position = UDim2.new(0, 3, 0, 30)
- TextLabel418.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel418.BackgroundTransparency = 1
- TextLabel418.BorderSizePixel = 0
- TextLabel418.ZIndex = 8
- TextLabel418.Font = Enum.Font.SourceSansBold
- TextLabel418.FontSize = Enum.FontSize.Size18
- TextLabel418.TextColor3 = Color3.new(1, 1, 1)
- TextLabel418.TextStrokeTransparency = 0.69999998807907
- TextLabel418.TextWrapped = true
- TextLabel418.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel419.Name = "context"
- TextLabel419.Parent = TextLabel418
- TextLabel419.Transparency = 1
- TextLabel419.Size = UDim2.new(1, -20, 0, 60)
- TextLabel419.Text = "- Manage the players in your game! Press the X button to kick them."
- TextLabel419.Position = UDim2.new(0, 17, 0, 30)
- TextLabel419.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel419.BackgroundTransparency = 1
- TextLabel419.BorderSizePixel = 0
- TextLabel419.ZIndex = 8
- TextLabel419.Font = Enum.Font.SourceSansBold
- TextLabel419.FontSize = Enum.FontSize.Size18
- TextLabel419.TextColor3 = Color3.new(1, 1, 1)
- TextLabel419.TextStrokeTransparency = 0.69999998807907
- TextLabel419.TextWrapped = true
- TextLabel419.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel419.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel420.Name = "console"
- TextLabel420.Parent = Frame417
- TextLabel420.Transparency = 1
- TextLabel420.Size = UDim2.new(1, 0, 0, 30)
- TextLabel420.Text = "Console"
- TextLabel420.Position = UDim2.new(0, 3, 0, 110)
- TextLabel420.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel420.BackgroundTransparency = 1
- TextLabel420.BorderSizePixel = 0
- TextLabel420.ZIndex = 8
- TextLabel420.Font = Enum.Font.SourceSansBold
- TextLabel420.FontSize = Enum.FontSize.Size18
- TextLabel420.TextColor3 = Color3.new(1, 1, 1)
- TextLabel420.TextStrokeTransparency = 0.69999998807907
- TextLabel420.TextWrapped = true
- TextLabel420.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel421.Name = "context"
- TextLabel421.Parent = TextLabel420
- TextLabel421.Transparency = 1
- TextLabel421.Size = UDim2.new(1, -20, 0, 40)
- TextLabel421.Text = "- See all server-side errors, and run code if LoadString is enabled!"
- TextLabel421.Position = UDim2.new(0, 17, 0, 30)
- TextLabel421.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel421.BackgroundTransparency = 1
- TextLabel421.BorderSizePixel = 0
- TextLabel421.ZIndex = 8
- TextLabel421.Font = Enum.Font.SourceSansBold
- TextLabel421.FontSize = Enum.FontSize.Size18
- TextLabel421.TextColor3 = Color3.new(1, 1, 1)
- TextLabel421.TextStrokeTransparency = 0.69999998807907
- TextLabel421.TextWrapped = true
- TextLabel421.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel421.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel422.Name = "commands"
- TextLabel422.Parent = Frame417
- TextLabel422.Transparency = 1
- TextLabel422.Size = UDim2.new(1, 0, 0, 30)
- TextLabel422.Text = "Commands"
- TextLabel422.Position = UDim2.new(0, 3, 0, 173)
- TextLabel422.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel422.BackgroundTransparency = 1
- TextLabel422.BorderSizePixel = 0
- TextLabel422.ZIndex = 8
- TextLabel422.Font = Enum.Font.SourceSansBold
- TextLabel422.FontSize = Enum.FontSize.Size18
- TextLabel422.TextColor3 = Color3.new(1, 1, 1)
- TextLabel422.TextStrokeTransparency = 0.69999998807907
- TextLabel422.TextWrapped = true
- TextLabel422.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel423.Name = "context"
- TextLabel423.Parent = TextLabel422
- TextLabel423.Transparency = 1
- TextLabel423.Size = UDim2.new(1, -20, 0, 60)
- TextLabel423.Text = "- Admin commands! Manage your game even better with a set of commands for admins."
- TextLabel423.Position = UDim2.new(0, 17, 0, 30)
- TextLabel423.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel423.BackgroundTransparency = 1
- TextLabel423.BorderSizePixel = 0
- TextLabel423.ZIndex = 8
- TextLabel423.Font = Enum.Font.SourceSansBold
- TextLabel423.FontSize = Enum.FontSize.Size18
- TextLabel423.TextColor3 = Color3.new(1, 1, 1)
- TextLabel423.TextStrokeTransparency = 0.69999998807907
- TextLabel423.TextWrapped = true
- TextLabel423.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel423.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel424.Name = "Title"
- TextLabel424.Parent = Frame417
- TextLabel424.Transparency = 1
- TextLabel424.Size = UDim2.new(1, 0, 0, 30)
- TextLabel424.Text = "Buttons"
- TextLabel424.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel424.BackgroundTransparency = 1
- TextLabel424.BorderSizePixel = 0
- TextLabel424.ZIndex = 8
- TextLabel424.Font = Enum.Font.SourceSansBold
- TextLabel424.FontSize = Enum.FontSize.Size24
- TextLabel424.TextColor3 = Color3.new(1, 1, 1)
- TextLabel424.TextStrokeTransparency = 0.69999998807907
- TextLabel424.TextWrapped = true
- Frame425.Name = "buttonsFrame"
- Frame425.Parent = Frame402
- Frame425.Size = UDim2.new(1, -50, 0, 30)
- Frame425.Position = UDim2.new(0, 25, 0, 25)
- Frame425.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame425.BorderColor3 = Color3.new(0, 0.792157, 0.529412)
- Frame425.BorderSizePixel = 5
- Frame425.ZIndex = 8
- TextButton426.Name = "Updates"
- TextButton426.Parent = Frame425
- TextButton426.Size = UDim2.new(0.333000004, 0, 1, 0)
- TextButton426.Text = "Updates"
- TextButton426.Position = UDim2.new(0.666000009, 0, 0, 0)
- TextButton426.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton426.BorderSizePixel = 0
- TextButton426.ZIndex = 8
- TextButton426.Font = Enum.Font.SourceSansBold
- TextButton426.FontSize = Enum.FontSize.Size24
- TextButton426.TextColor3 = Color3.new(1, 1, 1)
- TextButton426.TextStrokeTransparency = 0.69999998807907
- TextButton427.Name = "Info"
- TextButton427.Parent = Frame425
- TextButton427.Size = UDim2.new(0.333000004, 0, 1, 0)
- TextButton427.Text = "Info"
- TextButton427.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton427.BorderSizePixel = 0
- TextButton427.ZIndex = 8
- TextButton427.Font = Enum.Font.SourceSansBold
- TextButton427.FontSize = Enum.FontSize.Size24
- TextButton427.TextColor3 = Color3.new(1, 1, 1)
- TextButton427.TextStrokeTransparency = 0.69999998807907
- TextButton428.Name = "Buttons"
- TextButton428.Parent = Frame425
- TextButton428.Size = UDim2.new(0.333000004, 0, 1, 0)
- TextButton428.Text = "Buttons"
- TextButton428.Position = UDim2.new(0.333000004, 0, 0, 0)
- TextButton428.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton428.BorderSizePixel = 0
- TextButton428.ZIndex = 8
- TextButton428.Font = Enum.Font.SourceSansBold
- TextButton428.FontSize = Enum.FontSize.Size24
- TextButton428.TextColor3 = Color3.new(1, 1, 1)
- TextButton428.TextStrokeTransparency = 0.69999998807907
- Frame429.Name = "selectionFrame"
- Frame429.Parent = Frame425
- Frame429.Size = UDim2.new(0.333000004, 0, 0, 3)
- Frame429.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame429.BorderSizePixel = 0
- Frame429.ZIndex = 8
- LocalScript430.Name = "manageInfo"
- LocalScript430.Parent = Frame402
- table.insert(cors,sandbox(LocalScript430,function()
- local version = 1.37
- local newestUpdate = [[
- - Can now be closed! (button 2ugly4me)
- - Few new commands.
- ]]
- local buttonsFrame = script.Parent:WaitForChild'buttonsFrame'
- local frames = script.Parent:WaitForChild'frameContainer'
- local selector = buttonsFrame:WaitForChild'selectionFrame'
- repeat wait() until #buttonsFrame:GetChildren() == 4
- for _,v in pairs(buttonsFrame:GetChildren()) do
- if v.ClassName == "TextButton" then
- v.MouseEnter:connect(function()
- selector:TweenSizeAndPosition(UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, 3), v.Position,"Out","Quint",.3,true)
- for _,v in pairs(frames:GetChildren()) do
- v:TweenPosition(UDim2.new(0, 0, -1, 0), "Out", "Linear", 0, true)
- end
- frames:FindFirstChild(v.Name):TweenPosition(UDim2.new(0, 0, 0, 0),"Out","Quint",.3,true)
- end)
- end
- end
- local infoFrame = frames:WaitForChild'Info'
- local getModel = infoFrame:WaitForChild'getModel'
- local robux = infoFrame:WaitForChild'donateRobux'
- local tickets = infoFrame:WaitForChild'donateTickets'
- getModel.MouseButton1Up:connect(function()
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {279561183, Enum.CurrencyType.Default})
- end)
- frames:WaitForChild'Updates':WaitForChild'updateInfo'.Text = newestUpdate
- frames:WaitForChild'Updates':WaitForChild'currentVersion'.Text = tostring("v" .. version)
- robux.MouseButton1Up:connect(function()
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {258182871, Enum.CurrencyType.Robux})
- end)
- tickets.MouseButton1Up:connect(function()
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer('buy', {258182871, Enum.CurrencyType.Tix})
- end)
- end))
- Frame431.Name = "Players"
- Frame431.Parent = Frame383
- Frame431.Size = UDim2.new(0, 200, 0, 350)
- Frame431.Position = UDim2.new(0, 0, 1, 0)
- Frame431.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame431.BorderSizePixel = 0
- Frame431.ZIndex = 8
- Frame432.Name = "Template"
- Frame432.Parent = Frame431
- Frame432.Size = UDim2.new(1, 0, 0, 30)
- Frame432.Style = Enum.FrameStyle.DropShadow
- Frame432.Visible = false
- Frame432.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame432.ZIndex = 8
- TextLabel433.Name = "playerName"
- TextLabel433.Parent = Frame432
- TextLabel433.Transparency = 1
- TextLabel433.Size = UDim2.new(1, 0, 1, 0)
- TextLabel433.Text = "OnlyTwentyCharacters"
- TextLabel433.Position = UDim2.new(0, 25, 0, 0)
- TextLabel433.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel433.BackgroundTransparency = 1
- TextLabel433.BorderSizePixel = 0
- TextLabel433.ZIndex = 8
- TextLabel433.Font = Enum.Font.SourceSansBold
- TextLabel433.FontSize = Enum.FontSize.Size14
- TextLabel433.TextColor3 = Color3.new(1, 1, 1)
- TextLabel433.TextXAlignment = Enum.TextXAlignment.Left
- TextButton434.Name = "removeButton"
- TextButton434.Parent = Frame432
- TextButton434.Size = UDim2.new(0, 24, 0, 24)
- TextButton434.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- TextButton434.Text = "X"
- TextButton434.Position = UDim2.new(1, -22, 0.5, -12)
- TextButton434.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton434.ZIndex = 8
- TextButton434.Font = Enum.Font.SourceSansBold
- TextButton434.FontSize = Enum.FontSize.Size18
- TextButton434.TextColor3 = Color3.new(0.737255, 0, 0.0117647)
- ScrollingFrame435.Name = "playerImage"
- ScrollingFrame435.Parent = Frame432
- ScrollingFrame435.Transparency = 1
- ScrollingFrame435.Size = UDim2.new(0, 18, 0, 18)
- ScrollingFrame435.Position = UDim2.new(0, 0, 0.5, -9)
- ScrollingFrame435.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame435.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame435.BackgroundTransparency = 1
- ScrollingFrame435.BorderSizePixel = 0
- ScrollingFrame435.ZIndex = 8
- ScrollingFrame435.ScrollBarThickness = 0
- ImageLabel436.Name = "image"
- ImageLabel436.Parent = ScrollingFrame435
- ImageLabel436.Transparency = 1
- ImageLabel436.Size = UDim2.new(3, 0, 3, 0)
- ImageLabel436.Position = UDim2.new(0, -20, 0, -7)
- ImageLabel436.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel436.BackgroundTransparency = 1
- ImageLabel436.BorderSizePixel = 0
- ImageLabel436.ZIndex = 8
- ImageLabel436.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=OnlyTwentyCharacters"
- ScrollingFrame437.Name = "PlayerList"
- ScrollingFrame437.Parent = Frame431
- ScrollingFrame437.Transparency = 1
- ScrollingFrame437.Size = UDim2.new(1, -20, 1, -20)
- ScrollingFrame437.Position = UDim2.new(0, 10, 0, 10)
- ScrollingFrame437.CanvasSize = UDim2.new(0, 0, 0, 0)
- ScrollingFrame437.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame437.BackgroundTransparency = 1
- ScrollingFrame437.BorderSizePixel = 0
- ScrollingFrame437.ZIndex = 8
- ScrollingFrame437.ScrollBarThickness = 0
- LocalScript438.Name = "manageList"
- LocalScript438.Parent = Frame431
- table.insert(cors,sandbox(LocalScript438,function()
- function WaitForChild(...)
- local args = {...}
- local parent = args[1]
- table.remove(args, 1)
- local newArgs = {}
- for i,v in pairs(args) do
- table.insert(newArgs, i, parent:WaitForChild(v))
- end
- return unpack(newArgs)
- end
- local scrollable,template = WaitForChild(script.Parent, "PlayerList", "Template")
- function refresh()
- scrollable:ClearAllChildren()
- for i,v in pairs(game:service'Players':GetChildren()) do
- local newTemplate = template:Clone()
- newTemplate.Name = v.Name
- local removePlayer,playerName,imgbin = WaitForChild(newTemplate, "removeButton", "playerName","playerImage")
- imgbin:WaitForChild'image'.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=" .. v.Name
- playerName.Text = v.Name
- removePlayer.MouseButton1Up:connect(function()
- script.Parent.Parent.Parent:WaitForChild'Serverside':FireServer("kick", {v.Name})
- end)
- newTemplate.Parent = scrollable
- newTemplate.Position = UDim2.new(0, 0, 0, (i-1)*30)
- newTemplate.Visible = true
- end
- scrollable.CanvasSize = UDim2.new(0, 0, 0, (game:service'Players'.NumPlayers-1)*30)
- end
- refresh()
- game:service'Players'.ChildAdded:connect(refresh)
- game:service'Players'.ChildRemoved:connect(refresh)
- end))
- Frame439.Name = "bottomFrame"
- Frame439.Parent = ScreenGui284
- Frame439.Size = UDim2.new(1, 0, 0, 30)
- Frame439.Position = UDim2.new(0, 0, 1, -30)
- Frame439.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame439.BorderSizePixel = 0
- Frame439.ZIndex = 9
- ImageLabel440.Name = "TopShadow"
- ImageLabel440.Parent = Frame439
- ImageLabel440.Transparency = 1
- ImageLabel440.Size = UDim2.new(1, 0, 0, -11)
- ImageLabel440.BackgroundTransparency = 1
- ImageLabel440.ZIndex = 9
- ImageLabel440.Image = "http://www.roblox.com/asset/?id=260748924"
- ImageLabel440.ImageRectOffset = Vector2.new(11, 0)
- ImageLabel440.ImageRectSize = Vector2.new(11, 11)
- ImageLabel440.ImageTransparency = 0.5
- Frame441.Name = "buttonsFrame"
- Frame441.Parent = Frame439
- Frame441.Transparency = 1
- Frame441.Size = UDim2.new(1, 0, 1, 0)
- Frame441.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame441.BackgroundTransparency = 1
- Frame441.BorderSizePixel = 0
- Frame441.ZIndex = 10
- TextButton442.Name = "Close"
- TextButton442.Parent = Frame441
- TextButton442.Size = UDim2.new(0, 40, 0, 30)
- TextButton442.Text = ""
- TextButton442.Position = UDim2.new(1, -40, 0, 0)
- TextButton442.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton442.BorderSizePixel = 0
- TextButton442.ZIndex = 9
- TextButton442.Font = Enum.Font.SourceSansBold
- TextButton442.FontSize = Enum.FontSize.Size24
- TextButton442.TextColor3 = Color3.new(1, 1, 1)
- TextButton442.TextStrokeTransparency = 0.69999998807907
- TextLabel443.Name = "text"
- TextLabel443.Parent = TextButton442
- TextLabel443.Transparency = 1
- TextLabel443.Text = "V"
- TextLabel443.Position = UDim2.new(0.5, 0, 0.5, 0)
- TextLabel443.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel443.BackgroundTransparency = 1
- TextLabel443.BorderSizePixel = 0
- TextLabel443.ZIndex = 9
- TextLabel443.Font = Enum.Font.SourceSansBold
- TextLabel443.FontSize = Enum.FontSize.Size24
- TextLabel443.TextColor3 = Color3.new(1, 1, 1)
- TextLabel443.TextStrokeTransparency = 0.69999998807907
- Frame444.Name = "selectionFrame"
- Frame444.Parent = Frame441
- Frame444.Size = UDim2.new(0, 40, 0, 3)
- Frame444.Position = UDim2.new(1, -40, 0, 0)
- Frame444.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame444.BorderSizePixel = 0
- Frame444.ZIndex = 10
- TextButton445.Name = "Players"
- TextButton445.Parent = Frame441
- TextButton445.Size = UDim2.new(0.25, -10, 1, 0)
- TextButton445.Text = "Players"
- TextButton445.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton445.BorderSizePixel = 0
- TextButton445.ZIndex = 9
- TextButton445.Font = Enum.Font.SourceSansBold
- TextButton445.FontSize = Enum.FontSize.Size24
- TextButton445.TextColor3 = Color3.new(1, 1, 1)
- TextButton445.TextStrokeTransparency = 0.69999998807907
- TextButton446.Name = "Info"
- TextButton446.Parent = Frame441
- TextButton446.Size = UDim2.new(0.25, -10, 1, 0)
- TextButton446.Text = "Information"
- TextButton446.Position = UDim2.new(0.75, -30, 0, 0)
- TextButton446.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton446.BorderSizePixel = 0
- TextButton446.ZIndex = 9
- TextButton446.Font = Enum.Font.SourceSansBold
- TextButton446.FontSize = Enum.FontSize.Size24
- TextButton446.TextColor3 = Color3.new(1, 1, 1)
- TextButton446.TextStrokeTransparency = 0.69999998807907
- TextButton447.Name = "Console"
- TextButton447.Parent = Frame441
- TextButton447.Size = UDim2.new(0.25, -10, 1, 0)
- TextButton447.Text = "Console"
- TextButton447.Position = UDim2.new(0.25, -10, 0, 0)
- TextButton447.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton447.BorderSizePixel = 0
- TextButton447.ZIndex = 9
- TextButton447.Font = Enum.Font.SourceSansBold
- TextButton447.FontSize = Enum.FontSize.Size24
- TextButton447.TextColor3 = Color3.new(1, 1, 1)
- TextButton447.TextStrokeTransparency = 0.69999998807907
- TextButton448.Name = "Commands"
- TextButton448.Parent = Frame441
- TextButton448.Size = UDim2.new(0.25, -10, 1, 0)
- TextButton448.Text = "Commands"
- TextButton448.Position = UDim2.new(0.5, -20, 0, 0)
- TextButton448.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton448.BorderSizePixel = 0
- TextButton448.ZIndex = 9
- TextButton448.Font = Enum.Font.SourceSansBold
- TextButton448.FontSize = Enum.FontSize.Size24
- TextButton448.TextColor3 = Color3.new(1, 1, 1)
- TextButton448.TextStrokeTransparency = 0.69999998807907
- Frame449.Name = "bottomSpace"
- Frame449.Parent = Frame439
- Frame449.Size = UDim2.new(1, 0, 0, 80)
- Frame449.Position = UDim2.new(0, 0, 1, 0)
- Frame449.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- Frame449.BorderSizePixel = 0
- Frame449.ZIndex = 9
- LocalScript450.Name = "manageHotbar"
- LocalScript450.Parent = Frame439
- table.insert(cors,sandbox(LocalScript450,function()
- local plr = game:service'Players'.LocalPlayer
- local backpack = plr:WaitForChild'Backpack'
- local isOpen = false
- function isClassInInstance(class, inst)
- for _,v in pairs(inst:GetChildren()) do
- if v.ClassName == class then
- return true
- end
- end
- return false
- end
- function isItems()
- if #backpack:GetChildren() == 0 then
- if plr.Character and isClassInInstance('Tool', plr.Character) then
- return true
- else
- return false
- end
- else
- return true
- end
- end
- function check()
- if isItems() == true and isOpen == false then
- script.Parent:TweenPosition(UDim2.new(0, 0, 1, -110), 'Out', 'Quint', .5, true)
- script.Parent.Parent:WaitForChild'Frames':TweenPosition(UDim2.new(0, 0, 0, -80), 'Out', 'Quint', .5, true)
- script.Parent.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -140), 'In', 'Quint', .5, true)
- isOpen = true
- elseif isItems() == false and isOpen == true then
- script.Parent:TweenPosition(UDim2.new(0, 0, 1, -30), 'In', 'Quint', .5, true)
- script.Parent.Parent:WaitForChild'closeButton':TweenPosition(UDim2.new(1, -40, 1, -60), 'In', 'Quint', .5, true)
- script.Parent.Parent:WaitForChild'Frames':TweenPosition(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', .5, true)
- isOpen = false
- end
- end
- check()
- backpack.ChildAdded:connect(check)
- backpack.ChildRemoved:connect(check)
- repeat wait() until plr.Character
- if plr.Character then
- plr.Character.ChildAdded:connect(check)
- plr.Character.ChildRemoved:connect(check)
- end
- end))
- TextButton451.Name = "closeButton"
- TextButton451.Parent = ScreenGui284
- TextButton451.Size = UDim2.new(0, 40, 0, 30)
- TextButton451.Text = ""
- TextButton451.Position = UDim2.new(1, -40, 1, -60)
- TextButton451.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextButton451.BorderSizePixel = 0
- TextButton451.ZIndex = 8
- TextButton451.Font = Enum.Font.SourceSansBold
- TextButton451.FontSize = Enum.FontSize.Size24
- TextButton451.TextColor3 = Color3.new(1, 1, 1)
- TextButton451.TextStrokeTransparency = 0.69999998807907
- Frame452.Name = "textFrame"
- Frame452.Parent = TextButton451
- Frame452.Transparency = 1
- Frame452.Size = UDim2.new(1, 0, 1, 0)
- Frame452.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame452.BackgroundTransparency = 1
- Frame452.BorderSizePixel = 0
- Frame452.ZIndex = 10
- TextLabel453.Name = "UpperClose"
- TextLabel453.Parent = Frame452
- TextLabel453.Transparency = 1
- TextLabel453.Text = "V"
- TextLabel453.Position = UDim2.new(0.5, 0, 0, 10)
- TextLabel453.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextLabel453.BackgroundTransparency = 1
- TextLabel453.BorderSizePixel = 0
- TextLabel453.ZIndex = 8
- TextLabel453.Font = Enum.Font.SourceSansLight
- TextLabel453.FontSize = Enum.FontSize.Size24
- TextLabel453.TextColor3 = Color3.new(1, 1, 1)
- TextLabel453.TextStrokeTransparency = 0.69999998807907
- TextLabel453.TextWrapped = true
- TextLabel454.Name = "LowerClose"
- TextLabel454.Parent = Frame452
- TextLabel454.Transparency = 1
- TextLabel454.Text = "V"
- TextLabel454.Position = UDim2.new(0.5, 0, 1, -12)
- TextLabel454.BackgroundColor3 = Color3.new(0, 1, 0.666667)
- TextLabel454.BackgroundTransparency = 1
- TextLabel454.BorderSizePixel = 0
- TextLabel454.ZIndex = 9
- TextLabel454.Font = Enum.Font.SourceSansLight
- TextLabel454.FontSize = Enum.FontSize.Size24
- TextLabel454.TextColor3 = Color3.new(1, 1, 1)
- TextLabel454.TextStrokeTransparency = 0.69999998807907
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement