SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,game,owner = owner,game | |
| 4 | local RealPlayer = Player | |
| 5 | do | |
| 6 | print("FE Compatibility code V2 by Mokiros")
| |
| 7 | local RealPlayer = RealPlayer | |
| 8 | script.Parent = RealPlayer.Character | |
| 9 | ||
| 10 | --Fake event to make stuff like Mouse.KeyDown work | |
| 11 | local Disconnect_Function = function(this) | |
| 12 | this[1].Functions[this[2]] = nil | |
| 13 | end | |
| 14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
| |
| 15 | local FakeEvent_Metatable = {__index={
| |
| 16 | Connect = function(this,f) | |
| 17 | local i = tostring(math.random(0,10000)) | |
| 18 | while this.Functions[i] do | |
| 19 | i = tostring(math.random(0,10000)) | |
| 20 | end | |
| 21 | this.Functions[i] = f | |
| 22 | return setmetatable({this,i},Disconnect_Metatable)
| |
| 23 | end | |
| 24 | }} | |
| 25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
| 26 | local function fakeEvent() | |
| 27 | return setmetatable({Functions={}},FakeEvent_Metatable)
| |
| 28 | end | |
| 29 | ||
| 30 | --Creating fake input objects with fake variables | |
| 31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
| |
| 32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
| 33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
| 34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 37 | end} | |
| 38 | --Merged 2 functions into one by checking amount of arguments | |
| 39 | CAS.UnbindAction = CAS.BindAction | |
| 40 | ||
| 41 | --This function will trigger the events that have been :Connect()'ed | |
| 42 | local function TriggerEvent(self,ev,...) | |
| 43 | for _,f in pairs(self[ev].Functions) do | |
| 44 | f(...) | |
| 45 | end | |
| 46 | end | |
| 47 | FakeMouse.TriggerEvent = TriggerEvent | |
| 48 | UIS.TriggerEvent = TriggerEvent | |
| 49 | ||
| 50 | --Client communication | |
| 51 | local Event = Instance.new("RemoteEvent")
| |
| 52 | Event.Name = "UserInput_Event" | |
| 53 | Event.OnServerEvent:Connect(function(plr,io) | |
| 54 | if plr~=RealPlayer then return end | |
| 55 | FakeMouse.Target = io.Target | |
| 56 | FakeMouse.Hit = io.Hit | |
| 57 | if not io.isMouse then | |
| 58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
| 61 | end | |
| 62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
| 63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
| 64 | end | |
| 65 | for _,t in pairs(CAS.Actions) do | |
| 66 | for _,k in pairs(t.Keys) do | |
| 67 | if k==io.KeyCode then | |
| 68 | t.Function(t.Name,io.UserInputState,io) | |
| 69 | end | |
| 70 | end | |
| 71 | end | |
| 72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 74 | end | |
| 75 | end) | |
| 76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
| |
| 77 | local Mouse = owner:GetMouse() | |
| 78 | local UIS = game:GetService("UserInputService")
| |
| 79 | local input = function(io,RobloxHandled) | |
| 80 | if RobloxHandled then return end | |
| 81 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 83 | end | |
| 84 | UIS.InputBegan:Connect(input) | |
| 85 | UIS.InputEnded:Connect(input) | |
| 86 | ||
| 87 | local h,t | |
| 88 | --Give the server mouse data every second frame, but only if the values changed | |
| 89 | --If player is not moving their mouse, client won't fire events | |
| 90 | local HB = game:GetService("RunService").Heartbeat
| |
| 91 | while true do | |
| 92 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 93 | h,t=Mouse.Hit,Mouse.Target | |
| 94 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 95 | end | |
| 96 | --Wait 2 frames | |
| 97 | for i=1,2 do | |
| 98 | HB:Wait() | |
| 99 | end | |
| 100 | end]==],script) | |
| 101 | ||
| 102 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 103 | --Real game object | |
| 104 | local RealGame = game | |
| 105 | ||
| 106 | --Metatable for fake service | |
| 107 | local FakeService_Metatable = {
| |
| 108 | __index = function(self,k) | |
| 109 | local s = rawget(self,"_RealService") | |
| 110 | if s then | |
| 111 | return typeof(s[k])=="function" | |
| 112 | and function(_,...)return s[k](s,...)end or s[k] | |
| 113 | end | |
| 114 | end, | |
| 115 | __newindex = function(self,k,v) | |
| 116 | local s = rawget(self,"_RealService") | |
| 117 | if s then s[k]=v end | |
| 118 | end | |
| 119 | } | |
| 120 | local function FakeService(t,RealService) | |
| 121 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
| 122 | return setmetatable(t,FakeService_Metatable) | |
| 123 | end | |
| 124 | ||
| 125 | --Fake game object | |
| 126 | local FakeGame = {
| |
| 127 | GetService = function(self,s) | |
| 128 | return rawget(self,s) or RealGame:GetService(s) | |
| 129 | end, | |
| 130 | Players = FakeService({
| |
| 131 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
| |
| 132 | },"Players"), | |
| 133 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 134 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 135 | RunService = FakeService({
| |
| 136 | _btrs = {},
| |
| 137 | RenderStepped = RealGame:GetService("RunService").Heartbeat,
| |
| 138 | BindToRenderStep = function(self,name,_,fun) | |
| 139 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 140 | end, | |
| 141 | UnbindFromRenderStep = function(self,name) | |
| 142 | self._btrs[name]:Disconnect() | |
| 143 | end, | |
| 144 | },"RunService") | |
| 145 | } | |
| 146 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
| 147 | FakeGame.service = FakeGame.GetService | |
| 148 | FakeService(FakeGame,game) | |
| 149 | --Changing owner to fake player object to support owner:GetMouse() | |
| 150 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
| 151 | end | |
| 152 | -- Created with Z_Vs M2S Plugin TouchTransmitter | |
| 153 | --CFrame is calling a model not in the script | |
| 154 | --Clipping isssues when firing bricks. | |
| 155 | Create = function(itemClass,tabl) | |
| 156 | local item = Instance.new(itemClass) | |
| 157 | for i,v in pairs(tabl) do | |
| 158 | local a,b = ypcall(function() return item[i] end) | |
| 159 | if a then | |
| 160 | item[i] = tabl[i] | |
| 161 | end | |
| 162 | end | |
| 163 | return item | |
| 164 | end | |
| 165 | function runDummyScript(f,scri) | |
| 166 | local oldenv = getfenv(f) | |
| 167 | local newenv = setmetatable({}, {
| |
| 168 | __index = function(_, k) | |
| 169 | if k:lower() == 'script' then | |
| 170 | return scri | |
| 171 | else | |
| 172 | return oldenv[k] | |
| 173 | end | |
| 174 | end | |
| 175 | }) | |
| 176 | setfenv(f, newenv) | |
| 177 | ypcall(function() f() end) | |
| 178 | end | |
| 179 | cors = {}
| |
| 180 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 181 | mas.Name = "CompiledModel" | |
| 182 | o1 = Create("Tool",{
| |
| 183 | ["Name"] = "Noobie McNoobington", | |
| 184 | ["Parent"] = mas, | |
| 185 | ["GripPos"] = Vector3.new(0, -1.60000002, -0.150000006), | |
| 186 | ["ToolTip"] = "A cuddly little noob.", | |
| 187 | }) | |
| 188 | o2 = Create("Part",{
| |
| 189 | ["Name"] = "Handle", | |
| 190 | ["Parent"] = o1, | |
| 191 | ["BrickColor"] = BrickColor.new("Bright blue"),
| |
| 192 | ["Position"] = Vector3.new(330.49054, 87.0765381, -126.744385), | |
| 193 | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), | |
| 194 | ["RotVelocity"] = Vector3.new(1, 1, 1), | |
| 195 | ["Velocity"] = Vector3.new(-9.18760204, 0, 13.3689327), | |
| 196 | ["CFrame"] = CFrame.new(330.49054, 87.0765381, -126.744385, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), | |
| 197 | ["Locked"] = true, | |
| 198 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 199 | ["Size"] = Vector3.new(2, 2, 1), | |
| 200 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 201 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 202 | ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451), | |
| 203 | }) | |
| 204 | o3 = Create("BlockMesh",{
| |
| 205 | ["Parent"] = o2, | |
| 206 | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), | |
| 207 | }) | |
| 208 | o4 = Create("Sound",{
| |
| 209 | ["Name"] = "FRESHMEAT", | |
| 210 | ["Parent"] = o2, | |
| 211 | ["Pitch"] = 1.0249999761581, | |
| 212 | ["SoundId"] = "http://www.roblox.com/asset/?id=2767085", | |
| 213 | ["Volume"] = 1, | |
| 214 | }) | |
| 215 | o5 = Create("Sound",{
| |
| 216 | ["Name"] = "KABOOOOM2", | |
| 217 | ["Parent"] = o2, | |
| 218 | ["Pitch"] = 0.80000001192093, | |
| 219 | ["SoundId"] = "http://www.roblox.com/asset/?id=2101159", | |
| 220 | ["Volume"] = 1, | |
| 221 | }) | |
| 222 | o6 = Create("Sound",{
| |
| 223 | ["Name"] = "RAWR", | |
| 224 | ["Parent"] = o2, | |
| 225 | ["Pitch"] = 0, | |
| 226 | ["SoundId"] = "http://roblox.com/asset/?id=2767096", | |
| 227 | ["Volume"] = 0, | |
| 228 | }) | |
| 229 | o7 = Create("Sound",{
| |
| 230 | ["Name"] = "NOM", | |
| 231 | ["Parent"] = o2, | |
| 232 | ["SoundId"] = "http://www.roblox.com/asset/?id=189652112", | |
| 233 | ["Volume"] = 1, | |
| 234 | }) | |
| 235 | o8 = Create("Sound",{
| |
| 236 | ["Name"] = "wee", | |
| 237 | ["Parent"] = o2, | |
| 238 | ["Pitch"] = 1.0499999523163, | |
| 239 | ["SoundId"] = "http://www.roblox.com/asset/?id=4700455", | |
| 240 | ["Volume"] = 1, | |
| 241 | }) | |
| 242 | o9 = Create("Sound",{
| |
| 243 | ["Name"] = "GETOVERHERE", | |
| 244 | ["Parent"] = o2, | |
| 245 | ["Pitch"] = 0.89999997615814, | |
| 246 | ["SoundId"] = "http://www.roblox.com/asset/?id=58435367", | |
| 247 | ["Volume"] = 1, | |
| 248 | }) | |
| 249 | o10 = Create("Sound",{
| |
| 250 | ["Name"] = "KABOOOOM1", | |
| 251 | ["Parent"] = o2, | |
| 252 | ["SoundId"] = "http://www.roblox.com/asset/?id=1994345", | |
| 253 | ["Volume"] = 1, | |
| 254 | }) | |
| 255 | o11 = Create("Sound",{
| |
| 256 | ["Name"] = "SWING", | |
| 257 | ["Parent"] = o2, | |
| 258 | ["Pitch"] = 1.1000000238419, | |
| 259 | ["SoundId"] = "http://www.roblox.com/asset/?id=189505649", | |
| 260 | ["Volume"] = 1, | |
| 261 | }) | |
| 262 | o12 = Create("Sound",{
| |
| 263 | ["Name"] = "OWNED", | |
| 264 | ["Parent"] = o2, | |
| 265 | ["Pitch"] = 0.30000001192093, | |
| 266 | ["SoundId"] = "http://roblox.com/asset/?id=2801263", | |
| 267 | ["Volume"] = 0.125, | |
| 268 | }) | |
| 269 | o13 = Create("Sound",{
| |
| 270 | ["Name"] = "FULL", | |
| 271 | ["Parent"] = o2, | |
| 272 | ["Pitch"] = 0.89999997615814, | |
| 273 | ["SoundId"] = "http://www.roblox.com/asset/?id=13075805", | |
| 274 | ["Volume"] = 1, | |
| 275 | }) | |
| 276 | o14 = Create("Sound",{
| |
| 277 | ["Name"] = "OPEN1", | |
| 278 | ["Parent"] = o2, | |
| 279 | ["SoundId"] = "http://www.roblox.com/asset/?id=90869127", | |
| 280 | ["Volume"] = 1, | |
| 281 | }) | |
| 282 | o15 = Create("Sound",{
| |
| 283 | ["Name"] = "OPEN3", | |
| 284 | ["Parent"] = o2, | |
| 285 | ["Pitch"] = 1.25, | |
| 286 | ["SoundId"] = "http://www.roblox.com/asset/?id=90110171", | |
| 287 | ["Volume"] = 0, | |
| 288 | }) | |
| 289 | o16 = Create("Sound",{
| |
| 290 | ["Name"] = "OPEN2", | |
| 291 | ["Parent"] = o2, | |
| 292 | ["Pitch"] = 0, | |
| 293 | ["SoundId"] = "http://www.roblox.com/asset/?id=11450310", | |
| 294 | ["Volume"] = 0, | |
| 295 | }) | |
| 296 | o17 = Create("Sound",{
| |
| 297 | ["Name"] = "SAUCE1", | |
| 298 | ["Parent"] = o2, | |
| 299 | ["Pitch"] = 0.69999998807907, | |
| 300 | ["SoundId"] = "http://www.roblox.com/asset/?id=2697295", | |
| 301 | ["Volume"] = 1, | |
| 302 | }) | |
| 303 | o18 = Create("Sound",{
| |
| 304 | ["Name"] = "SAUCE2", | |
| 305 | ["Parent"] = o2, | |
| 306 | ["Pitch"] = 0.77499997615814, | |
| 307 | ["SoundId"] = "http://www.roblox.com/asset/?id=2697295", | |
| 308 | ["Volume"] = 1, | |
| 309 | }) | |
| 310 | o19 = Create("Sound",{
| |
| 311 | ["Name"] = "Fire", | |
| 312 | ["Parent"] = o2, | |
| 313 | ["Pitch"] = 0.85000002384186, | |
| 314 | ["SoundId"] = "http://roblox.com/asset/?id=10209776", | |
| 315 | ["Volume"] = 1, | |
| 316 | }) | |
| 317 | o20 = Create("Sound",{
| |
| 318 | ["Name"] = "Startup", | |
| 319 | ["Parent"] = o2, | |
| 320 | ["Pitch"] = 0.85000002384186, | |
| 321 | ["SoundId"] = "http://roblox.com/asset/?id=10209788", | |
| 322 | ["Volume"] = 1, | |
| 323 | }) | |
| 324 | o21 = Create("Sound",{
| |
| 325 | ["Name"] = "Winddown", | |
| 326 | ["Parent"] = o2, | |
| 327 | ["Pitch"] = 0.85000002384186, | |
| 328 | ["SoundId"] = "http://roblox.com/asset/?id=10209786", | |
| 329 | ["Volume"] = 1, | |
| 330 | }) | |
| 331 | o22 = Create("Sound",{
| |
| 332 | ["Name"] = "InitialThrust", | |
| 333 | ["Parent"] = o2, | |
| 334 | ["Pitch"] = 0.60000002384186, | |
| 335 | ["SoundId"] = "http://www.roblox.com/asset/?id=30624262", | |
| 336 | ["Volume"] = 1, | |
| 337 | }) | |
| 338 | o23 = Create("Sound",{
| |
| 339 | ["Name"] = "Thrusting", | |
| 340 | ["Parent"] = o2, | |
| 341 | ["SoundId"] = "http://www.roblox.com/asset/?id=30624426", | |
| 342 | ["Volume"] = 1, | |
| 343 | }) | |
| 344 | o24 = Create("Sound",{
| |
| 345 | ["Name"] = "Equip", | |
| 346 | ["Parent"] = o2, | |
| 347 | ["SoundId"] = "http://www.roblox.com/asset/?id=189652125", | |
| 348 | ["Volume"] = 1, | |
| 349 | }) | |
| 350 | o25 = Create("Sound",{
| |
| 351 | ["Name"] = "NOM2", | |
| 352 | ["Parent"] = o2, | |
| 353 | ["Pitch"] = 0.97079998254776, | |
| 354 | ["SoundId"] = "http://www.roblox.com/asset/?id=1390349 ", | |
| 355 | }) | |
| 356 | o26 = Create("Sound",{
| |
| 357 | ["Name"] = "NOM1", | |
| 358 | ["Parent"] = o2, | |
| 359 | ["Pitch"] = 0.76563334465027, | |
| 360 | ["SoundId"] = "http://www.roblox.com/asset/?id=41410287", | |
| 361 | }) | |
| 362 | o28 = Create("Part",{
| |
| 363 | ["Name"] = "Handle2", | |
| 364 | ["Parent"] = o1, | |
| 365 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 366 | ["Position"] = Vector3.new(330.481354, 87.9005737, -126.731689), | |
| 367 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 368 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 369 | ["Velocity"] = Vector3.new(-9.18036747, 0, 13.4155693), | |
| 370 | ["CFrame"] = CFrame.new(330.481354, 87.9005737, -126.731689, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 371 | ["CanCollide"] = false, | |
| 372 | ["Locked"] = true, | |
| 373 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 374 | ["Size"] = Vector3.new(1, 1, 1), | |
| 375 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 376 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 377 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 378 | }) | |
| 379 | o29 = Create("SpecialMesh",{
| |
| 380 | ["Parent"] = o28, | |
| 381 | ["Scale"] = Vector3.new(1, 0.150000006, 0.75), | |
| 382 | ["MeshType"] = Enum.MeshType.Brick, | |
| 383 | }) | |
| 384 | o30 = Create("Script",{
| |
| 385 | ["Name"] = "Welds", | |
| 386 | ["Parent"] = o1, | |
| 387 | }) | |
| 388 | table.insert(cors,coroutine.create(function() | |
| 389 | wait() | |
| 390 | runDummyScript(function() | |
| 391 | wait() | |
| 392 | Tool=script.Parent | |
| 393 | ||
| 394 | Weld=function() | |
| 395 | for _,v in pairs(Tool.Handle:children()) do | |
| 396 | if v.className=="Weld" then | |
| 397 | v:Remove() | |
| 398 | end | |
| 399 | end | |
| 400 | ||
| 401 | w=Instance.new("Weld")
| |
| 402 | w.Part0=Tool.Handle | |
| 403 | w.Part1=Tool.Handle2 | |
| 404 | w.C0=CFrame.new(0,.825,0) | |
| 405 | w.Parent=w.Part0 | |
| 406 | ||
| 407 | w=Instance.new("Weld")
| |
| 408 | w.Part0=Tool.Handle | |
| 409 | w.Part1=Tool.Handle3 | |
| 410 | w.C0=CFrame.new(1.125,0,0) | |
| 411 | w.Parent=w.Part0 | |
| 412 | ||
| 413 | w=Instance.new("Weld")
| |
| 414 | w.Part0=Tool.Handle | |
| 415 | w.Part1=Tool.Handle4 | |
| 416 | w.C0=CFrame.new(-1.125,0,0) | |
| 417 | w.Parent=w.Part0 | |
| 418 | ||
| 419 | w=Instance.new("Weld")
| |
| 420 | w.Part0=Tool.Handle | |
| 421 | w.Part1=Tool.Handle5 | |
| 422 | w.C0=CFrame.new(.375,-1.5,0) | |
| 423 | w.Parent=w.Part0 | |
| 424 | ||
| 425 | w=Instance.new("Weld")
| |
| 426 | w.Part0=Tool.Handle | |
| 427 | w.Part1=Tool.Handle6 | |
| 428 | w.C0=CFrame.new(-.375,-1.5,0) | |
| 429 | w.Parent=w.Part0 | |
| 430 | ||
| 431 | -- | |
| 432 | ||
| 433 | w=Instance.new("Weld")
| |
| 434 | w.Name="CheekWeld1" | |
| 435 | w.Part0=Tool.Handle | |
| 436 | w.Part1=Tool.Cheek1 | |
| 437 | w.C0=CFrame.new(-.425,1.325,0) | |
| 438 | w.Parent=w.Part0 | |
| 439 | ||
| 440 | w=Instance.new("Weld")
| |
| 441 | w.Name="CheekWeld2" | |
| 442 | w.Part0=Tool.Handle | |
| 443 | w.Part1=Tool.Cheek2 | |
| 444 | w.C0=CFrame.new(.425,1.325,0) | |
| 445 | w.Parent=w.Part0 | |
| 446 | ||
| 447 | w=Instance.new("Weld")
| |
| 448 | w.Name="CheekWeld3" | |
| 449 | w.Part0=Tool.Handle | |
| 450 | w.Part1=Tool.Cheek3 | |
| 451 | w.C0=CFrame.new(0,1.325,.3) | |
| 452 | w.Parent=w.Part0 | |
| 453 | ||
| 454 | w=Instance.new("Weld")
| |
| 455 | w.Name="CheekWeldTop" | |
| 456 | w.Part0=Tool.Handle | |
| 457 | w.Part1=Tool.Top | |
| 458 | w.C0=CFrame.new(0,1.675,-.0375) | |
| 459 | w.Parent=w.Part0 | |
| 460 | ||
| 461 | w=Instance.new("Weld")
| |
| 462 | w.Name="CheekWeld4" | |
| 463 | w.Part0=Tool.Handle | |
| 464 | w.Part1=Tool.Cheek4 | |
| 465 | w.C0=CFrame.new(0,1.4,-.3) | |
| 466 | w.Parent=w.Part0 | |
| 467 | ||
| 468 | w=Instance.new("Weld")
| |
| 469 | w.Name="CheekWeld5" | |
| 470 | w.Part0=Tool.Handle | |
| 471 | w.Part1=Tool.Cheek5 | |
| 472 | w.C0=CFrame.new(0,1.05,-.3) | |
| 473 | w.Parent=w.Part0 | |
| 474 | ||
| 475 | w=Instance.new("Weld")
| |
| 476 | w.Name="FaceWeld" | |
| 477 | w.Part0=Tool.Handle | |
| 478 | w.Part1=Tool.Face | |
| 479 | w.C0=CFrame.new(0,1.3,-.39) | |
| 480 | w.Parent=w.Part0 | |
| 481 | ||
| 482 | w=Instance.new("Weld")
| |
| 483 | w.Name="CheekWeld6" | |
| 484 | w.Part0=Tool.Handle | |
| 485 | w.Part1=Tool.Cheek6 | |
| 486 | w.C0=CFrame.new(0,.85,0) | |
| 487 | w.Parent=w.Part0 | |
| 488 | ||
| 489 | w=Instance.new("Weld")
| |
| 490 | w.Name="CheekWeld7" | |
| 491 | w.Part0=Tool.Handle | |
| 492 | w.Part1=Tool.Cheek7 | |
| 493 | w.C0=CFrame.new(.4,1.25,0) | |
| 494 | w.Parent=w.Part0 | |
| 495 | ||
| 496 | w=Instance.new("Weld")
| |
| 497 | w.Name="CheekWeld8" | |
| 498 | w.Part0=Tool.Handle | |
| 499 | w.Part1=Tool.Cheek8 | |
| 500 | w.C0=CFrame.new(0,1.325,.275) | |
| 501 | w.Parent=w.Part0 | |
| 502 | ||
| 503 | w=Instance.new("Weld")
| |
| 504 | w.Name="CheekWeld9" | |
| 505 | w.Part0=Tool.Handle | |
| 506 | w.Part1=Tool.Cheek9 | |
| 507 | w.C0=CFrame.new(-.4,1.25,0) | |
| 508 | w.Parent=w.Part0 | |
| 509 | ||
| 510 | w=Instance.new("Weld")
| |
| 511 | w.Name="CheekWeldTop2" | |
| 512 | w.Part0=Tool.Handle | |
| 513 | w.Part1=Tool.Top2 | |
| 514 | w.C0=CFrame.new(0,1.65,-.0375) | |
| 515 | w.Parent=w.Part0 | |
| 516 | ||
| 517 | w=Instance.new("Weld")
| |
| 518 | w.Name="ChewWeld1" | |
| 519 | w.Part0=Tool.Handle | |
| 520 | w.Part1=Tool.Chew1 | |
| 521 | w.C0=CFrame.new(-.65,1.25,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
| 522 | w.Parent=w.Part0 | |
| 523 | ||
| 524 | w=Instance.new("Weld")
| |
| 525 | w.Name="ChewWeld2" | |
| 526 | w.Part0=Tool.Handle | |
| 527 | w.Part1=Tool.Chew2 | |
| 528 | w.C0=CFrame.new(.65,1.25,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
| 529 | w.Parent=w.Part0 | |
| 530 | ||
| 531 | w=Instance.new("Weld")
| |
| 532 | w.Name="CheekWeld10" | |
| 533 | w.Part0=Tool.Handle | |
| 534 | w.Part1=Tool.Cheek10 | |
| 535 | w.C0=CFrame.new(0,1.25,.8) | |
| 536 | w.Parent=w.Part0 | |
| 537 | ||
| 538 | end | |
| 539 | ||
| 540 | Weld() | |
| 541 | Tool.AncestryChanged:connect(Weld) | |
| 542 | end,o30) | |
| 543 | end)) | |
| 544 | o31 = Create("Part",{
| |
| 545 | ["Name"] = "Handle3", | |
| 546 | ["Parent"] = o1, | |
| 547 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 548 | ["Position"] = Vector3.new(329.581451, 87.0765381, -127.407104), | |
| 549 | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), | |
| 550 | ["RotVelocity"] = Vector3.new(0, 0.144870773, 0), | |
| 551 | ["Velocity"] = Vector3.new(-9.28361034, 0, 13.5006351), | |
| 552 | ["CFrame"] = CFrame.new(329.581451, 87.0765381, -127.407104, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), | |
| 553 | ["CanCollide"] = false, | |
| 554 | ["Locked"] = true, | |
| 555 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 556 | ["Size"] = Vector3.new(1, 2, 1), | |
| 557 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 558 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 559 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 560 | }) | |
| 561 | o32 = Create("SpecialMesh",{
| |
| 562 | ["Parent"] = o31, | |
| 563 | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), | |
| 564 | ["MeshType"] = Enum.MeshType.Brick, | |
| 565 | }) | |
| 566 | o33 = Create("Part",{
| |
| 567 | ["Name"] = "Handle4", | |
| 568 | ["Parent"] = o1, | |
| 569 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 570 | ["Position"] = Vector3.new(331.399658, 87.0765381, -126.081665), | |
| 571 | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), | |
| 572 | ["RotVelocity"] = Vector3.new(0, 0.144870773, 0), | |
| 573 | ["Velocity"] = Vector3.new(-9.09159374, 0, 13.2372303), | |
| 574 | ["CFrame"] = CFrame.new(331.399658, 87.0765381, -126.081665, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), | |
| 575 | ["CanCollide"] = false, | |
| 576 | ["Locked"] = true, | |
| 577 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 578 | ["Size"] = Vector3.new(1, 2, 1), | |
| 579 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 580 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 581 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 582 | }) | |
| 583 | o34 = Create("SpecialMesh",{
| |
| 584 | ["Parent"] = o33, | |
| 585 | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), | |
| 586 | ["MeshType"] = Enum.MeshType.Brick, | |
| 587 | }) | |
| 588 | o35 = Create("Part",{
| |
| 589 | ["Name"] = "Handle5", | |
| 590 | ["Parent"] = o1, | |
| 591 | ["BrickColor"] = BrickColor.new("Br. yellowish green"),
| |
| 592 | ["Position"] = Vector3.new(330.202728, 85.5767822, -126.986076), | |
| 593 | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), | |
| 594 | ["RotVelocity"] = Vector3.new(0, 0.144870773, 0), | |
| 595 | ["Velocity"] = Vector3.new(-9.22261715, 0, 13.4106302), | |
| 596 | ["CFrame"] = CFrame.new(330.202728, 85.5767822, -126.986076, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), | |
| 597 | ["CanCollide"] = false, | |
| 598 | ["Locked"] = true, | |
| 599 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 600 | ["Size"] = Vector3.new(1, 2, 1), | |
| 601 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 602 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 603 | ["Color"] = Color3.new(0.643137, 0.741176, 0.278431), | |
| 604 | }) | |
| 605 | o36 = Create("SpecialMesh",{
| |
| 606 | ["Parent"] = o35, | |
| 607 | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), | |
| 608 | ["MeshType"] = Enum.MeshType.Brick, | |
| 609 | }) | |
| 610 | o37 = Create("Part",{
| |
| 611 | ["Name"] = "Handle6", | |
| 612 | ["Parent"] = o1, | |
| 613 | ["BrickColor"] = BrickColor.new("Br. yellowish green"),
| |
| 614 | ["Position"] = Vector3.new(330.808777, 85.5767822, -126.544312), | |
| 615 | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), | |
| 616 | ["RotVelocity"] = Vector3.new(0, 0.144870773, 0), | |
| 617 | ["Velocity"] = Vector3.new(-9.15861702, 0, 13.3228292), | |
| 618 | ["CFrame"] = CFrame.new(330.808777, 85.5767822, -126.544312, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), | |
| 619 | ["CanCollide"] = false, | |
| 620 | ["Locked"] = true, | |
| 621 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 622 | ["Size"] = Vector3.new(1, 2, 1), | |
| 623 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 624 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 625 | ["Color"] = Color3.new(0.643137, 0.741176, 0.278431), | |
| 626 | }) | |
| 627 | o38 = Create("SpecialMesh",{
| |
| 628 | ["Parent"] = o37, | |
| 629 | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), | |
| 630 | ["MeshType"] = Enum.MeshType.Brick, | |
| 631 | }) | |
| 632 | o39 = Create("Part",{
| |
| 633 | ["Name"] = "Cheek1", | |
| 634 | ["Parent"] = o1, | |
| 635 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 636 | ["Position"] = Vector3.new(330.81955, 88.400444, -126.474121), | |
| 637 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 638 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 639 | ["Velocity"] = Vector3.new(-9.13731194, 0, 13.3590374), | |
| 640 | ["CFrame"] = CFrame.new(330.81955, 88.400444, -126.474121, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 641 | ["CanCollide"] = false, | |
| 642 | ["Locked"] = true, | |
| 643 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 644 | ["Size"] = Vector3.new(1, 1, 1), | |
| 645 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 646 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 647 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 648 | }) | |
| 649 | o40 = Create("SpecialMesh",{
| |
| 650 | ["Parent"] = o39, | |
| 651 | ["Scale"] = Vector3.new(0.150000006, 0.850000024, 0.75), | |
| 652 | ["MeshType"] = Enum.MeshType.Brick, | |
| 653 | }) | |
| 654 | o41 = Create("Part",{
| |
| 655 | ["Name"] = "Cheek2", | |
| 656 | ["Parent"] = o1, | |
| 657 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 658 | ["Position"] = Vector3.new(330.13266, 88.400444, -126.974854), | |
| 659 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 660 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 661 | ["Velocity"] = Vector3.new(-9.22101402, 0, 13.4738541), | |
| 662 | ["CFrame"] = CFrame.new(330.13266, 88.400444, -126.974854, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 663 | ["CanCollide"] = false, | |
| 664 | ["Locked"] = true, | |
| 665 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 666 | ["Size"] = Vector3.new(1, 1, 1), | |
| 667 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 668 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 669 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 670 | }) | |
| 671 | o42 = Create("SpecialMesh",{
| |
| 672 | ["Parent"] = o41, | |
| 673 | ["Scale"] = Vector3.new(0.150000006, 0.850000024, 0.75), | |
| 674 | ["MeshType"] = Enum.MeshType.Brick, | |
| 675 | }) | |
| 676 | o43 = Create("Part",{
| |
| 677 | ["Name"] = "Cheek3", | |
| 678 | ["Parent"] = o1, | |
| 679 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 680 | ["Position"] = Vector3.new(330.652802, 88.4058228, -126.966919), | |
| 681 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 682 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 683 | ["Velocity"] = Vector3.new(-9.21968746, 0, 13.3869104), | |
| 684 | ["CFrame"] = CFrame.new(330.652802, 88.4058228, -126.966919, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 685 | ["CanCollide"] = false, | |
| 686 | ["Locked"] = true, | |
| 687 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 688 | ["Size"] = Vector3.new(1, 1, 1), | |
| 689 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 690 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 691 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 692 | }) | |
| 693 | o44 = Create("SpecialMesh",{
| |
| 694 | ["Parent"] = o43, | |
| 695 | ["Scale"] = Vector3.new(0.75, 0.850000024, 0.150000006), | |
| 696 | ["MeshType"] = Enum.MeshType.Brick, | |
| 697 | }) | |
| 698 | o45 = Create("Part",{
| |
| 699 | ["Name"] = "Top", | |
| 700 | ["Parent"] = o1, | |
| 701 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 702 | ["Position"] = Vector3.new(330.450348, 88.7497482, -126.689087), | |
| 703 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 704 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 705 | ["Velocity"] = Vector3.new(-9.17324543, 0, 13.4207516), | |
| 706 | ["CFrame"] = CFrame.new(330.450348, 88.7497482, -126.689087, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 707 | ["CanCollide"] = false, | |
| 708 | ["Locked"] = true, | |
| 709 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 710 | ["Size"] = Vector3.new(1, 1, 1), | |
| 711 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 712 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 713 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 714 | }) | |
| 715 | o46 = Create("SpecialMesh",{
| |
| 716 | ["Parent"] = o45, | |
| 717 | ["Scale"] = Vector3.new(0.925000012, 0.150000006, 0.675000012), | |
| 718 | ["MeshType"] = Enum.MeshType.Brick, | |
| 719 | }) | |
| 720 | o47 = Create("Part",{
| |
| 721 | ["Name"] = "Cheek4", | |
| 722 | ["Parent"] = o1, | |
| 723 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 724 | ["Position"] = Vector3.new(330.298645, 88.4700928, -126.480957), | |
| 725 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 726 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 727 | ["Velocity"] = Vector3.new(-9.13845539, 0, 13.4461126), | |
| 728 | ["CFrame"] = CFrame.new(330.298645, 88.4700928, -126.480957, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 729 | ["CanCollide"] = false, | |
| 730 | ["Locked"] = true, | |
| 731 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 732 | ["Size"] = Vector3.new(1, 1, 1), | |
| 733 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 734 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 735 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 736 | }) | |
| 737 | o48 = Create("SpecialMesh",{
| |
| 738 | ["Parent"] = o47, | |
| 739 | ["Scale"] = Vector3.new(0.75, 0.425000012, 0.150000006), | |
| 740 | ["MeshType"] = Enum.MeshType.Brick, | |
| 741 | }) | |
| 742 | o49 = Create("Part",{
| |
| 743 | ["Name"] = "Cheek5", | |
| 744 | ["Parent"] = o1, | |
| 745 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 746 | ["Position"] = Vector3.new(330.302307, 88.1201782, -126.486076), | |
| 747 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 748 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 749 | ["Velocity"] = Vector3.new(-9.13931179, 0, 13.4454994), | |
| 750 | ["CFrame"] = CFrame.new(330.302307, 88.1201782, -126.486076, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 751 | ["CanCollide"] = false, | |
| 752 | ["Locked"] = true, | |
| 753 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 754 | ["Size"] = Vector3.new(1, 1, 1), | |
| 755 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 756 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 757 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 758 | }) | |
| 759 | o50 = Create("SpecialMesh",{
| |
| 760 | ["Parent"] = o49, | |
| 761 | ["Scale"] = Vector3.new(0.725000024, 0.310000002, 0.150000006), | |
| 762 | ["MeshType"] = Enum.MeshType.Brick, | |
| 763 | }) | |
| 764 | o51 = Create("Part",{
| |
| 765 | ["Name"] = "Face", | |
| 766 | ["Parent"] = o1, | |
| 767 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 768 | ["Position"] = Vector3.new(330.246674, 88.3685303, -126.40966), | |
| 769 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 770 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 771 | ["Velocity"] = Vector3.new(-9.12653828, 0, 13.4547977), | |
| 772 | ["CFrame"] = CFrame.new(330.246674, 88.3685303, -126.40966, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 773 | ["CanCollide"] = false, | |
| 774 | ["Locked"] = true, | |
| 775 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 776 | ["Size"] = Vector3.new(1, 1, 1), | |
| 777 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 778 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 779 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 780 | }) | |
| 781 | o52 = Create("SpecialMesh",{
| |
| 782 | ["Parent"] = o51, | |
| 783 | ["Scale"] = Vector3.new(1, 1, 0.00200000009), | |
| 784 | ["MeshType"] = Enum.MeshType.Brick, | |
| 785 | }) | |
| 786 | o53 = Create("Decal",{
| |
| 787 | ["Parent"] = o51, | |
| 788 | ["Texture"] = "http://www.roblox.com/asset/?id=8056256", | |
| 789 | }) | |
| 790 | o54 = Create("IntValue",{
| |
| 791 | ["Name"] = "Nom", | |
| 792 | ["Parent"] = o1, | |
| 793 | ["Value"] = 204, | |
| 794 | }) | |
| 795 | o55 = Create("LocalScript",{
| |
| 796 | ["Parent"] = o1, | |
| 797 | }) | |
| 798 | table.insert(cors,coroutine.create(function() | |
| 799 | wait() | |
| 800 | runDummyScript(function() | |
| 801 | --Saz | |
| 802 | --Based off of Mario's Castle Collab 1/2 | |
| 803 | ||
| 804 | --My finest creation | |
| 805 | ||
| 806 | wait(2) | |
| 807 | ||
| 808 | Tool=script.Parent | |
| 809 | Scaling=0 | |
| 810 | ||
| 811 | Chewing=false | |
| 812 | canScale=true | |
| 813 | ||
| 814 | OnlyEyes="http://www.roblox.com/asset/?id=98704326" | |
| 815 | MouthToo="http://www.roblox.com/asset/?id=8056256" | |
| 816 | ||
| 817 | BESTSIZE=0 | |
| 818 | ||
| 819 | permobjects={}
| |
| 820 | ||
| 821 | updateScaling=function() --updates the mouth. | |
| 822 | ||
| 823 | if canScale==false then return end | |
| 824 | ||
| 825 | Lol=Scaling/6 | |
| 826 | ||
| 827 | Tool.Handle2.Mesh.Scale=Vector3.new(1, 0.15, 0.75) + Vector3.new(Lol/10*2.5, 0, 0) | |
| 828 | Tool.Cheek6.Mesh.Scale=Vector3.new(0.85, 0.15, 0.6) + Vector3.new(Lol/10*2.5, 0, 0) | |
| 829 | ||
| 830 | Tool.Cheek1.Mesh.Scale=Vector3.new(0.15, 0.85, 0.75) + Vector3.new(0, Lol, 0) | |
| 831 | Tool.Handle.CheekWeld1.C0=CFrame.new(-.425,1.325,0) * CFrame.new(-Lol/20*2.5, Lol/2, 0) | |
| 832 | Tool.Cheek9.Mesh.Scale=Vector3.new(0.15, 0.7, 0.6) + Vector3.new(0, Lol, 0) | |
| 833 | Tool.Handle.CheekWeld9.C0=CFrame.new(-.4,1.25,0) * CFrame.new(-Lol/20*2.5, Lol/2, 0) | |
| 834 | ||
| 835 | Tool.Cheek2.Mesh.Scale=Vector3.new(0.15, 0.85, 0.75) + Vector3.new(0, Lol, 0) | |
| 836 | Tool.Handle.CheekWeld2.C0=CFrame.new(.425,1.325,0) * CFrame.new(Lol/20*2.5, Lol/2, 0) | |
| 837 | Tool.Cheek7.Mesh.Scale=Vector3.new(0.15, 0.7, 0.6) + Vector3.new(0, Lol, 0) | |
| 838 | Tool.Handle.CheekWeld7.C0=CFrame.new(.4,1.25,0) * CFrame.new(Lol/20*2.5, Lol/2, 0) | |
| 839 | ||
| 840 | ||
| 841 | Tool.Top.Mesh.Scale=Vector3.new(0.925, 0.15, 0.675) + Vector3.new(Lol/10*2.5, 0, 0) | |
| 842 | Tool.Handle.CheekWeldTop.C0=CFrame.new(0,1.675,-.0375) * CFrame.new(0, Lol, 0) | |
| 843 | Tool.Top2.Mesh.Scale=Vector3.new(0.9, 0.15, 0.65) + Vector3.new(Lol/10*2.5, 0, 0) | |
| 844 | Tool.Handle.CheekWeldTop2.C0=CFrame.new(0,1.65,-.0375) * CFrame.new(0, Lol, 0) | |
| 845 | ||
| 846 | Tool.Cheek3.Mesh.Scale=Vector3.new(0.75, 0.85, 0.15) + Vector3.new(Lol/10*2.5, Lol, 0) | |
| 847 | Tool.Handle.CheekWeld3.C0=CFrame.new(0,1.325,.3) * CFrame.new(0, Lol/2, 0) | |
| 848 | ||
| 849 | Tool.Cheek8.Mesh.Scale=Vector3.new(0.75, 0.84, 0.15) + Vector3.new(Lol/10*2.5, Lol, 0) | |
| 850 | Tool.Handle.CheekWeld8.C0=CFrame.new(0,1.325,.275) * CFrame.new(0, Lol/2, 0) | |
| 851 | ||
| 852 | ||
| 853 | Tool.Handle.FaceWeld.C0=CFrame.new(0,1.3,-.39) * CFrame.new(0, Lol/1.01, 0) | |
| 854 | ||
| 855 | Tool.Cheek4.Mesh.Scale=Vector3.new(0.75, 0.425, 0.15) + Vector3.new(Lol/10*2.5, Lol/40, 0) | |
| 856 | Tool.Handle.CheekWeld4.C0=CFrame.new(0,1.4,-.3) * CFrame.new(0, Lol, 0) | |
| 857 | ||
| 858 | Tool.Cheek10.Mesh.Scale=Vector3.new(1,1,1) + Vector3.new(Lol/10*2.5, Lol, BESTSIZE/10) | |
| 859 | Tool.Handle.CheekWeld10.C0=CFrame.new(0,1.25,.8) * CFrame.new(0, Lol/2, BESTSIZE/20) | |
| 860 | ||
| 861 | if Scaling>0 then | |
| 862 | Tool.Face.Decal.Texture=OnlyEyes | |
| 863 | Tool.Cheek5.Transparency=1 | |
| 864 | else | |
| 865 | Tool.Face.Decal.Texture=MouthToo | |
| 866 | Tool.Cheek5.Transparency=0 | |
| 867 | end | |
| 868 | ||
| 869 | if BESTSIZE>0 then | |
| 870 | Tool.Cheek10.Transparency=0 | |
| 871 | else | |
| 872 | Tool.Cheek10.Transparency=1 | |
| 873 | end | |
| 874 | ||
| 875 | end | |
| 876 | ||
| 877 | Chew=function() --nomnom | |
| 878 | ||
| 879 | Chewing=true | |
| 880 | ||
| 881 | start=0 | |
| 882 | Tool.Chew1.Transparency=0 | |
| 883 | Tool.Chew2.Transparency=0 | |
| 884 | ||
| 885 | ||
| 886 | for lol=1, 3 do | |
| 887 | ||
| 888 | Tool.Handle.NOM1:Play() | |
| 889 | Tool.Handle.NOM2:Play() | |
| 890 | ||
| 891 | if math.random(1,3)~=1 then | |
| 892 | ||
| 893 | Tool.Handle.NOM1.Pitch=.7625 + math.random(-700,150)/15000 | |
| 894 | Tool.Handle.NOM2.Pitch=1 + math.random(-700,150)/15000 | |
| 895 | ||
| 896 | else | |
| 897 | ||
| 898 | Tool.Handle.NOM1.Pitch=.8 | |
| 899 | Tool.Handle.NOM2.Pitch=.95 | |
| 900 | ||
| 901 | end | |
| 902 | ||
| 903 | for i=1, 6 do | |
| 904 | ||
| 905 | Scaling=0-i/3 | |
| 906 | ||
| 907 | Tool.Chew2.Mesh.Scale=Vector3.new(0.5, 0.65, 0.5) - Vector3.new(Scaling,Scaling/5,Scaling)/4 | |
| 908 | Tool.Handle.ChewWeld2.C0=CFrame.new(.5,1.15,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0, 0, -Scaling/150) | |
| 909 | ||
| 910 | Tool.Chew1.Mesh.Scale=Vector3.new(0.5, 0.65, 0.5) - Vector3.new(Scaling,Scaling/5,Scaling)/4 | |
| 911 | Tool.Handle.ChewWeld1.C0=CFrame.new(-.5,1.15,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0, 0, -Scaling/150) | |
| 912 | ||
| 913 | wait() | |
| 914 | end | |
| 915 | for i=1, 5 do | |
| 916 | Scaling=-(5/3)+i/3 | |
| 917 | ||
| 918 | Tool.Chew2.Mesh.Scale=Vector3.new(0.5, 0.65, 0.5) - Vector3.new(Scaling,Scaling/5,Scaling)/4 | |
| 919 | Tool.Handle.ChewWeld2.C0=CFrame.new(.5,1.15,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0, 0, -Scaling/150) | |
| 920 | ||
| 921 | Tool.Chew1.Mesh.Scale=Vector3.new(0.5, 0.65, 0.5) - Vector3.new(Scaling,Scaling/5,Scaling)/4 | |
| 922 | Tool.Handle.ChewWeld1.C0=CFrame.new(-.5,1.15,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0, 0, -Scaling/150) | |
| 923 | ||
| 924 | wait() | |
| 925 | end | |
| 926 | end | |
| 927 | Tool.Chew1.Transparency=1 | |
| 928 | Tool.Chew2.Transparency=1 | |
| 929 | ||
| 930 | if Tool.Nom.Value>300 then Tool.Nom.Value=300 Tool.Handle.FULL:Play() end | |
| 931 | ||
| 932 | Chewing=false | |
| 933 | ||
| 934 | end | |
| 935 | ||
| 936 | EatObject=function(Object) --Attempts to eat the object, annihilate it and gain charges. | |
| 937 | ||
| 938 | end | |
| 939 | Attackdeb=true | |
| 940 | ||
| 941 | GetNearParts=function(Model) | |
| 942 | local pen={}
| |
| 943 | for __,vv in pairs(Model:children()) do | |
| 944 | if vv.className=="Model" then | |
| 945 | for ___,vvv in pairs(GetNearParts(vv)) do | |
| 946 | table.insert(pen,vvv) | |
| 947 | end | |
| 948 | elseif vv:IsA("BasePart") then
| |
| 949 | table.insert(pen,vv) | |
| 950 | end | |
| 951 | end | |
| 952 | return pen | |
| 953 | end | |
| 954 | ||
| 955 | Attack=function() --Click and hold readies the noob; releasing swings it. | |
| 956 | ||
| 957 | if Tool.Nom.Value<300 then | |
| 958 | ||
| 959 | if Attackdeb==false then return end | |
| 960 | if Chewing==true then return end | |
| 961 | ||
| 962 | arm=Tool.Parent.Torso:FindFirstChild([[Right Shoulder]]) | |
| 963 | ||
| 964 | if arm==nil then print("FUUUUUUUUUU") return end
| |
| 965 | ||
| 966 | holdi=1 | |
| 967 | Waiting=true | |
| 968 | Attackdeb=false | |
| 969 | ||
| 970 | co=arm.C0 | |
| 971 | c1=arm.Part1["RightGrip"].C0 | |
| 972 | ||
| 973 | Tool.Handle.SAUCE2:Play() | |
| 974 | Tool.Handle.SAUCE1:Play() | |
| 975 | ||
| 976 | for i=1, 5 do | |
| 977 | ||
| 978 | Scaling=-i/2 | |
| 979 | ||
| 980 | wait() | |
| 981 | ||
| 982 | end | |
| 983 | ||
| 984 | Tool.Handle.OPEN1:Play() | |
| 985 | Tool.Handle.OPEN2:Play() | |
| 986 | Tool.Handle.OPEN3:Play() | |
| 987 | ||
| 988 | for i=1, 10 do --must be held for the full 20, or moot. | |
| 989 | if Waiting==false then break end | |
| 990 | ||
| 991 | Scaling=10*i | |
| 992 | ||
| 993 | arm.C0=arm.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/1.75/10) | |
| 994 | ||
| 995 | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(-math.pi/45*2,0,0) | |
| 996 | ||
| 997 | wait() | |
| 998 | ||
| 999 | holdi=i*2 | |
| 1000 | ||
| 1001 | end | |
| 1002 | ||
| 1003 | while Waiting==true do | |
| 1004 | wait() | |
| 1005 | end | |
| 1006 | ||
| 1007 | if holdi==20 then --fully charged | |
| 1008 | ||
| 1009 | Tool.Parent.Torso.Anchored=true | |
| 1010 | gg=Instance.new("BodyGyro") --no re
| |
| 1011 | gg.P=7000 | |
| 1012 | gg.D=500 | |
| 1013 | gg.maxTorque=Vector3.new(500000,500000,500000)*500000000000000000000000000000 | |
| 1014 | gg.cframe=Tool.Parent.Torso.CFrame | |
| 1015 | ||
| 1016 | gp=Instance.new("BodyPosition")
| |
| 1017 | gp.P=5000 | |
| 1018 | gp.maxForce=Vector3.new(50000,50000,50000)*500000000000 | |
| 1019 | gp.position=Tool.Parent.Torso.CFrame.p | |
| 1020 | gp.Parent=Tool.Parent.Torso | |
| 1021 | gg.Parent=Tool.Parent.Torso | |
| 1022 | ||
| 1023 | Tool.Handle.SWING:Play() | |
| 1024 | ||
| 1025 | didGrab=false | |
| 1026 | ||
| 1027 | objects={}
| |
| 1028 | players={}
| |
| 1029 | ||
| 1030 | for i=1, 6 do | |
| 1031 | arm.C0=arm.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/2.25/5) | |
| 1032 | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(-math.pi/60,0,0) | |
| 1033 | ||
| 1034 | dir=(Tool.Handle.Position-Tool.Handle2.Position).unit | |
| 1035 | for peni=-2, 2 do | |
| 1036 | hit,loc=workspace:FindPartOnRay(Ray.new(Tool.Handle2.Position+(Tool.Parent["Right Arm"].Position-Tool.Parent.Torso.Position).unit*peni+Tool.Handle.CFrame.lookVector*2.4,-dir*30),Tool.Parent) | |
| 1037 | if hit~=nil and #objects<=12 then | |
| 1038 | if hit.Parent~=nil then | |
| 1039 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 1040 | if h~=nil and hit.Parent~=Tool.Parent then | |
| 1041 | ||
| 1042 | h.Parent.Head.Transparency=1 | |
| 1043 | ||
| 1044 | table.insert(permobjects,hit:clone()) | |
| 1045 | table.insert(permobjects,h.Parent.Head:clone()) | |
| 1046 | ||
| 1047 | h.PlatformStand=true | |
| 1048 | table.insert(players,h.Parent) | |
| 1049 | ww=Instance.new("Weld")
| |
| 1050 | ww.Part0=Tool.Cheek3 | |
| 1051 | ww.C0=CFrame.new(0,1.5,1)*CFrame.fromEulerAnglesXYZ(math.pi/2,math.pi/2,0) | |
| 1052 | ww.Part1=h.Parent.Head | |
| 1053 | ww.Parent=ww.Part1 | |
| 1054 | ||
| 1055 | ww.Name="lolowned" | |
| 1056 | ||
| 1057 | Tool.Handle.GETOVERHERE:Play() | |
| 1058 | ||
| 1059 | if BESTSIZE < 8 then | |
| 1060 | BESTSIZE = 8 | |
| 1061 | end | |
| 1062 | ||
| 1063 | else | |
| 1064 | ||
| 1065 | for _,v in pairs(GetNearParts(hit.Parent)) do | |
| 1066 | if v:GetMass()<=180 and v.Parent~=Tool.Parent and v.Parent~=Tool and (v.Position-hit.Position).magnitude<=7 then | |
| 1067 | table.insert(objects,v) | |
| 1068 | ||
| 1069 | if BESTSIZE < v:GetMass() then | |
| 1070 | BESTSIZE = v:GetMass() | |
| 1071 | end | |
| 1072 | ||
| 1073 | table.insert(permobjects,v:clone()) | |
| 1074 | x=Instance.new("BodyForce") x.force=Vector3.new(0,v:GetMass(),0) x.Parent=v
| |
| 1075 | ||
| 1076 | for __,vv in pairs(v:children()) do | |
| 1077 | hasmesh=false | |
| 1078 | if vv:IsA("DataModelMesh") then
| |
| 1079 | vv.Scale=vv.Scale | |
| 1080 | hasmesh=true | |
| 1081 | print("LOL")
| |
| 1082 | end | |
| 1083 | if hasmesh==false then --give it one | |
| 1084 | m=Instance.new("SpecialMesh") m.MeshType="Brick" m.Scale=Vector3.new(v.Size.x,v.Size.y,v.Size.z) m.Parent=v
| |
| 1085 | end | |
| 1086 | end | |
| 1087 | ||
| 1088 | v.Size=Vector3.new(1,1,1) | |
| 1089 | ||
| 1090 | v:BreakJoints() | |
| 1091 | v.CanCollide=false | |
| 1092 | v.Anchored=false | |
| 1093 | ||
| 1094 | v:BreakJoints() | |
| 1095 | v.CanCollide=false | |
| 1096 | v.Anchored=false | |
| 1097 | ||
| 1098 | v.CFrame=Tool.Cheek3.CFrame | |
| 1099 | ||
| 1100 | ww=Instance.new("Weld")
| |
| 1101 | ww.Part0=Tool.Cheek3 | |
| 1102 | ww.C0=CFrame.new(math.random(-10,10)/100,math.random(-50,50)/10,math.random(-10,10)/10)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),0) | |
| 1103 | ww.Part1=v | |
| 1104 | ww.Parent=ww.Part1 | |
| 1105 | ||
| 1106 | ww.Name="lolowned" | |
| 1107 | ||
| 1108 | x=Instance.new("BodyForce") x.force=Vector3.new(0,v:GetMass()*186,0) x.Parent=v
| |
| 1109 | ||
| 1110 | ss=Tool.Handle.OWNED:clone() ss.Pitch=.7 - v:GetMass()/70 ss.Parent=v ss:Play() | |
| 1111 | ||
| 1112 | end | |
| 1113 | end | |
| 1114 | ||
| 1115 | end | |
| 1116 | else --single part | |
| 1117 | if hit:GetMass()<=220 then | |
| 1118 | ||
| 1119 | table.insert(permobjects,hit) | |
| 1120 | table.insert(objects,hit) | |
| 1121 | ||
| 1122 | hit:BreakJoints() | |
| 1123 | hit.CanCollide=false | |
| 1124 | hit.Anchored=false | |
| 1125 | ||
| 1126 | x=Instance.new("BodyForce") x.force=Vector3.new(0,hit:GetMass()*186,0) x.Parent=hit
| |
| 1127 | ||
| 1128 | hit.CFrame=Tool.Cheek3.CFrame | |
| 1129 | ||
| 1130 | ww=Instance.new("Weld")
| |
| 1131 | ww.Part0=Tool.Cheek3 | |
| 1132 | ww.C0=CFrame.new(math.random(-10,10)/100,math.random(-10,10)/10,math.random(-10,10)/10)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),0) | |
| 1133 | ww.Part1=hit | |
| 1134 | ww.Parent=ww.Part1 | |
| 1135 | ||
| 1136 | ww.Name="lolowned" | |
| 1137 | end | |
| 1138 | end | |
| 1139 | end | |
| 1140 | end | |
| 1141 | wait() | |
| 1142 | end | |
| 1143 | if #objects>0 or #players>0 then | |
| 1144 | Tool.Handle.NOM:Play() | |
| 1145 | end | |
| 1146 | wait(.2) | |
| 1147 | ||
| 1148 | for _,v in pairs(objects) do | |
| 1149 | ss=Tool.Handle.OWNED:clone() ss.Pitch=.6 - v:GetMass()/60 ss.Parent=v ss:Play() ss.Volume=ss.Volume+.2 | |
| 1150 | end | |
| 1151 | ||
| 1152 | for i=1, 3 do | |
| 1153 | ||
| 1154 | Tool.Parent.Torso.CFrame=gg.cframe | |
| 1155 | ||
| 1156 | BESTSIZE=BESTSIZE/3 | |
| 1157 | ||
| 1158 | for _,v in pairs(objects) do | |
| 1159 | hasmesh=false | |
| 1160 | for __,vv in pairs(v:children()) do | |
| 1161 | if vv:IsA("DataModelMesh") then
| |
| 1162 | vv.Scale=vv.Scale/2 | |
| 1163 | hasmesh=true | |
| 1164 | end | |
| 1165 | end | |
| 1166 | if hasmesh==false then --give it one | |
| 1167 | print("AAAAA")
| |
| 1168 | m=Instance.new("SpecialMesh") m.MeshType="Brick" m.Scale=Vector3.new(.9,.9,.9) m.Parent=v
| |
| 1169 | end | |
| 1170 | end | |
| 1171 | ||
| 1172 | for _,v in pairs(players) do | |
| 1173 | if v:FindFirstChild("Humanoid")~=nil then
| |
| 1174 | v.Humanoid.PlatformStand=true | |
| 1175 | end | |
| 1176 | end | |
| 1177 | ||
| 1178 | Scaling=Scaling-33.33 | |
| 1179 | ||
| 1180 | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(math.pi/16,0,0) | |
| 1181 | ||
| 1182 | wait() | |
| 1183 | end | |
| 1184 | ||
| 1185 | Tool.Parent.Torso.Anchored=false | |
| 1186 | ||
| 1187 | num=0 | |
| 1188 | if #objects>0 or #players>0 then | |
| 1189 | for _,v in pairs(objects) do | |
| 1190 | ||
| 1191 | ||
| 1192 | ||
| 1193 | num=num+(v:GetMass()*2) | |
| 1194 | v:Remove() --lolgone | |
| 1195 | end | |
| 1196 | for _,v in pairs(players) do | |
| 1197 | num=num+40 | |
| 1198 | v.Torso:BreakJoints() | |
| 1199 | for __,vv in pairs(v:children()) do | |
| 1200 | if vv.className=="Part" then | |
| 1201 | coroutine.resume(coroutine.create(function(p) p.Transparency=1 wait(.1) p:Remove() end),vv) | |
| 1202 | end | |
| 1203 | end | |
| 1204 | end | |
| 1205 | Tool.Nom.Value=Tool.Nom.Value+math.floor(num) | |
| 1206 | BESTSIZE=0 | |
| 1207 | Scaling=0 | |
| 1208 | ||
| 1209 | Chew() | |
| 1210 | ||
| 1211 | for i=1, holdi/2 do | |
| 1212 | arm.C0=arm.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/2.25/100/2) | |
| 1213 | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(math.pi/40,0,0) | |
| 1214 | ||
| 1215 | wait() | |
| 1216 | end | |
| 1217 | ||
| 1218 | arm.Part1["RightGrip"].C0=c1 | |
| 1219 | arm.C0=co | |
| 1220 | ||
| 1221 | end | |
| 1222 | BestSize=0 | |
| 1223 | print(num) | |
| 1224 | ||
| 1225 | Tool.Parent.Torso.Anchored=false | |
| 1226 | gp.Parent=nil | |
| 1227 | gg.Parent=nil | |
| 1228 | ||
| 1229 | else --nope | |
| 1230 | ||
| 1231 | for i=1, holdi do | |
| 1232 | arm.C0=arm.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/1.75/20) | |
| 1233 | Scaling=Scaling-5 | |
| 1234 | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(math.pi/45,0,0) | |
| 1235 | wait() | |
| 1236 | end | |
| 1237 | ||
| 1238 | end | |
| 1239 | arm.Part1["RightGrip"].C0=c1 | |
| 1240 | Attackdeb=true | |
| 1241 | arm.C0=co | |
| 1242 | Scaling=0 | |
| 1243 | ||
| 1244 | else | |
| 1245 | ||
| 1246 | Attackdeb=true | |
| 1247 | secondary() | |
| 1248 | ||
| 1249 | end | |
| 1250 | ||
| 1251 | end | |
| 1252 | ||
| 1253 | Tool.Activated:connect(Attack) | |
| 1254 | Tool.Deactivated:connect(function() Waiting=false end) | |
| 1255 | ||
| 1256 | secondary=function() | |
| 1257 | ||
| 1258 | if Chewing==true or Attackdeb==false or Tool.Nom.Value<50 or #permobjects<0 then return end | |
| 1259 | Attackdeb=false | |
| 1260 | ||
| 1261 | ||
| 1262 | gg=Instance.new("BodyGyro") --no re
| |
| 1263 | gg.P=7000 | |
| 1264 | gg.D=500 | |
| 1265 | gg.maxTorque=Vector3.new(500000,500000,500000)*500000000000000000000000000000 | |
| 1266 | gg.cframe=Tool.Parent.Torso.CFrame | |
| 1267 | ||
| 1268 | gp=Instance.new("BodyPosition")
| |
| 1269 | gp.P=5000 | |
| 1270 | gp.maxForce=Vector3.new(50000,50000,50000)*500000000000 | |
| 1271 | gp.position=Tool.Parent.Torso.CFrame.p | |
| 1272 | gp.Parent=Tool.Parent.Torso | |
| 1273 | gg.Parent=Tool.Parent.Torso | |
| 1274 | ||
| 1275 | ||
| 1276 | tofire={}
| |
| 1277 | x=Tool.Nom.Value/4 | |
| 1278 | if #permobjects<Tool.Nom.Value/3 then x=#permobjects end | |
| 1279 | while (#tofire<x)do | |
| 1280 | for _,v in pairs(permobjects) do | |
| 1281 | if math.random(1,6)==1 and v:FindFirstChild("AAAA")==nil then
| |
| 1282 | table.insert(tofire,v) | |
| 1283 | p=Instance.new("ObjectValue") p.Name="AAAA" p.Value=game.Players:GetPlayerFromCharacter(Tool.Parent) p.Parent=v
| |
| 1284 | end | |
| 1285 | end | |
| 1286 | end | |
| 1287 | ||
| 1288 | Tool.Handle.Startup:Play() | |
| 1289 | ||
| 1290 | lolpos=Tool.Parent.Humanoid.TargetPoint | |
| 1291 | ||
| 1292 | for i=1, 8 do | |
| 1293 | Scaling=Scaling+10 | |
| 1294 | wait() | |
| 1295 | end | |
| 1296 | ||
| 1297 | wait(.5) | |
| 1298 | ||
| 1299 | Tool.Handle.Startup:Stop() | |
| 1300 | Tool.Handle.Fire:Play() | |
| 1301 | ||
| 1302 | firing={}
| |
| 1303 | for _,v in pairs(tofire) do | |
| 1304 | ||
| 1305 | LOL=v:clone() | |
| 1306 | LOL.CFrame=Tool.Cheek3.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-5,5),0,math.random(-5,5)) | |
| 1307 | LOL.CanCollide=true | |
| 1308 | LOL.Anchored=false | |
| 1309 | LOL.Parent=workspace | |
| 1310 | vv=Instance.new("BodyVelocity")
| |
| 1311 | vv.Parent=LOL | |
| 1312 | vv.P=6000 | |
| 1313 | vv.maxForce=Vector3.new(50000000000,50000000000,50000000000)*5000 | |
| 1314 | vv.velocity=Tool.Handle.CFrame.lookVector*200+Vector3.new(math.random(-10,10),math.random(-5,5),math.random(-10,10)) | |
| 1315 | game:GetService("Debris"):AddItem(vv,.33)
| |
| 1316 | game:GetService("Debris"):AddItem(LOL,15)
| |
| 1317 | ||
| 1318 | wait(.075) | |
| 1319 | ||
| 1320 | end | |
| 1321 | ||
| 1322 | Tool.Handle.Fire:Stop() | |
| 1323 | ||
| 1324 | wait(.25) | |
| 1325 | ||
| 1326 | Tool.Handle.Winddown:Play() | |
| 1327 | ||
| 1328 | for i=1, 8 do | |
| 1329 | Scaling=Scaling-10 | |
| 1330 | wait() | |
| 1331 | end | |
| 1332 | ||
| 1333 | gp.Parent=nil | |
| 1334 | gg.Parent=nil | |
| 1335 | permobjects={}
| |
| 1336 | ||
| 1337 | Scaling=0 | |
| 1338 | ||
| 1339 | if Tool.Nom.Value==300 then --Yay | |
| 1340 | canScale=false | |
| 1341 | Noob=Instance.new("Model")
| |
| 1342 | Noob.Name="Tactical FUUUUUU" | |
| 1343 | for _,v in pairs(Tool:children()) do | |
| 1344 | lol=v:clone() if lol.className=="Part" then lol.CanCollide=false end lol.Parent=Noob | |
| 1345 | if v.className=="Part" then v.Transparency=1 end | |
| 1346 | end | |
| 1347 | ||
| 1348 | Noob.Parent=workspace | |
| 1349 | ||
| 1350 | wait(.1) | |
| 1351 | ||
| 1352 | smoke=Instance.new("Smoke")
| |
| 1353 | smoke.Color=Color3.new(.8,.8,.8) | |
| 1354 | smoke.RiseVelocity=-5 | |
| 1355 | smoke.Parent=Noob.Handle | |
| 1356 | smoke.Opacity=.4 | |
| 1357 | smoke.Size=2 | |
| 1358 | ||
| 1359 | smoke2=Instance.new("Fire")
| |
| 1360 | smoke2.Heat=-8 | |
| 1361 | smoke2.Parent=Noob.Handle | |
| 1362 | smoke2.Enabled=false | |
| 1363 | ||
| 1364 | Noob.Handle.InitialThrust:Play() | |
| 1365 | move=Instance.new("BodyVelocity")
| |
| 1366 | move.P=6000 | |
| 1367 | move.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 1368 | move.velocity=Vector3.new(0,-5,0) | |
| 1369 | move.Parent=smoke.Parent | |
| 1370 | ||
| 1371 | firecols={BrickColor:Red(),BrickColor.new("Bright orange"),BrickColor.new("Pastel yellow"),BrickColor.new("Bright yellow")}
| |
| 1372 | ||
| 1373 | for i=1, 130 do | |
| 1374 | wait(.03) | |
| 1375 | move.velocity=move.velocity+Vector3.new(0,.52*(i/5),0) | |
| 1376 | Noob.Handle.Thrusting.Pitch=1+i/50 | |
| 1377 | if i>10 then | |
| 1378 | smoke2.Enabled=true | |
| 1379 | ||
| 1380 | if i/2==math.floor(i/2) then | |
| 1381 | ||
| 1382 | local p=Instance.new("Part")
| |
| 1383 | p.Name="FadeTrail" | |
| 1384 | p.TopSurface=0 | |
| 1385 | p.BottomSurface=0 | |
| 1386 | p.BrickColor=firecols[math.random(1,4)] | |
| 1387 | p.formFactor="Symmetric" | |
| 1388 | p.Size=Vector3.new(1,1,1) | |
| 1389 | p.Anchored=true | |
| 1390 | p.CanCollide=false | |
| 1391 | p.CFrame=Noob.Handle.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 1392 | local mm=Instance.new("BlockMesh")
| |
| 1393 | mm.Parent=p | |
| 1394 | mm.Scale=Vector3.new(5,5,5) | |
| 1395 | p.Parent=Noob | |
| 1396 | coroutine.resume(coroutine.create(function(p) for i=1, 10 do p.CFrame=p.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/1000,math.random(-100,100)/1000,math.random(-100,100)/1000) p.Mesh.Scale=p.Mesh.Scale-Vector3.new(1/15,1/15,1/15) wait() end p.BrickColor=BrickColor.new("Medium stone grey") for i=1, 40 do p.Transparency=i/40 p.CFrame=p.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100)-Vector3.new(0,.1,0) p.Mesh.Scale=p.Mesh.Scale+Vector3.new(8/30,8/30,8/30) wait() end p:Remove() end),p)
| |
| 1397 | end | |
| 1398 | ||
| 1399 | end | |
| 1400 | if i/10==math.floor(i/10) then | |
| 1401 | Noob.Handle.Thrusting:Play() | |
| 1402 | end | |
| 1403 | ||
| 1404 | end | |
| 1405 | ||
| 1406 | Noob.Handle.CFrame=CFrame.new(lolpos+Vector3.new(math.random(-9,9)*160,1100,math.random(-9,9)*160),lolpos) | |
| 1407 | Noob.Handle.Anchored=true | |
| 1408 | ||
| 1409 | move.velocity=(Noob.Handle.Position-lolpos).unit*-320 | |
| 1410 | ||
| 1411 | wait(6) | |
| 1412 | ||
| 1413 | Tool.Script.DoGui.Value=true | |
| 1414 | ||
| 1415 | Tool.Ohgodno:Play() | |
| 1416 | ||
| 1417 | elap=0 | |
| 1418 | Noob.Handle.Anchored=false | |
| 1419 | ||
| 1420 | yeeh=false | |
| 1421 | ||
| 1422 | while (elap<300 and (Noob.Handle.Position-lolpos).magnitude>=30) do | |
| 1423 | wait(.03) | |
| 1424 | ||
| 1425 | if (Noob.Handle.Position-lolpos).magnitude<=300 and yeeh==false then yeeh=true Noob.Handle.wee:Play() Noob.Handle.KABOOOOM2:Play() end | |
| 1426 | ||
| 1427 | if elap/2==math.floor(elap/2) then | |
| 1428 | ||
| 1429 | local p=Instance.new("Part")
| |
| 1430 | p.Name="FadeTrail" | |
| 1431 | p.TopSurface=0 | |
| 1432 | p.BottomSurface=0 | |
| 1433 | p.BrickColor=firecols[math.random(1,4)] | |
| 1434 | p.formFactor="Symmetric" | |
| 1435 | p.Size=Vector3.new(1,1,1) | |
| 1436 | p.Anchored=true | |
| 1437 | p.CanCollide=false | |
| 1438 | p.CFrame=Noob.Handle.CFrame*CFrame.new(0,0,-1)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 1439 | local mm=Instance.new("BlockMesh")
| |
| 1440 | mm.Parent=p | |
| 1441 | mm.Scale=Vector3.new(8,8,8) | |
| 1442 | p.Parent=Noob | |
| 1443 | coroutine.resume(coroutine.create(function(p) for i=1, 10 do p.CFrame=p.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/1000,math.random(-100,100)/1000,math.random(-100,100)/1000) p.Mesh.Scale=p.Mesh.Scale-Vector3.new(1/15,1/15,1/15) wait() end p.BrickColor=BrickColor.new("Medium stone grey") for i=1, 10 do p.Transparency=i/10 p.CFrame=p.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100,math.random(-100,100)/100,math.random(-100,100)/100) p.Mesh.Scale=p.Mesh.Scale+Vector3.new(3/40,3/40,3/40) wait() end p:Remove() end),p)
| |
| 1444 | ||
| 1445 | end | |
| 1446 | ||
| 1447 | if elap/5==math.floor(elap/5) then | |
| 1448 | Noob.Handle.Thrusting:Play() | |
| 1449 | end | |
| 1450 | ||
| 1451 | elap=elap+1 | |
| 1452 | ||
| 1453 | end | |
| 1454 | ||
| 1455 | wait(.25) | |
| 1456 | ||
| 1457 | Tool.Script.DoGui.Value=false | |
| 1458 | ||
| 1459 | Tool.Ohgodno:Stop() | |
| 1460 | ||
| 1461 | Noob.Handle.CFrame=CFrame.new(lolpos) | |
| 1462 | Noob.Handle.Anchored=true | |
| 1463 | Noob.Handle.Transparency=1 | |
| 1464 | s=script.NuclearBomb:clone() | |
| 1465 | s.Disabled=false | |
| 1466 | s.Parent=Noob.Handle | |
| 1467 | ||
| 1468 | for _,v in pairs(Tool:children()) do | |
| 1469 | if v.className=="Part" and v.Name~="Face" and v.Name~="Cheek10" and string.sub(v.Name,1,4)~="Chew" then v.Transparency=0 end | |
| 1470 | end | |
| 1471 | ||
| 1472 | Tool.Ohgodno:Stop() | |
| 1473 | ||
| 1474 | wait(10) | |
| 1475 | ||
| 1476 | Noob:Remove() | |
| 1477 | ||
| 1478 | end | |
| 1479 | ||
| 1480 | canScale=true | |
| 1481 | ||
| 1482 | Tool.Nom.Value=0 | |
| 1483 | ||
| 1484 | Attackdeb=true | |
| 1485 | ||
| 1486 | end | |
| 1487 | ||
| 1488 | eql=function(mouse) | |
| 1489 | Tool.Handle.Equip:Play() | |
| 1490 | mouse.KeyDown:connect(function(key) if key=="z" then secondary() end end) | |
| 1491 | end | |
| 1492 | Tool.Equipped:connect(eql) | |
| 1493 | ||
| 1494 | c=-1 | |
| 1495 | while true do | |
| 1496 | if Tool.Handle:FindFirstChild("CheekWeld1")~=nil then
| |
| 1497 | updateScaling() | |
| 1498 | end | |
| 1499 | wait() | |
| 1500 | end | |
| 1501 | end,o55) | |
| 1502 | end)) | |
| 1503 | o56 = Create("ScreenGui",{
| |
| 1504 | ["Name"] = "DEATHGUI", | |
| 1505 | ["Parent"] = o55, | |
| 1506 | }) | |
| 1507 | o57 = Create("ImageLabel",{
| |
| 1508 | ["Parent"] = o56, | |
| 1509 | ["Transparency"] = 1, | |
| 1510 | ["Position"] = UDim2.new(0.3125,0,0.20000000298023,0), | |
| 1511 | ["Size"] = UDim2.new(0.050000000745058,0,0.050000000745058,0), | |
| 1512 | ["BackgroundTransparency"] = 1, | |
| 1513 | ["SizeConstraint"] = Enum.SizeConstraint.RelativeXX, | |
| 1514 | ["Image"] = "http://www.roblox.com/asset/?id=26533945", | |
| 1515 | }) | |
| 1516 | o58 = Create("Frame",{
| |
| 1517 | ["Parent"] = o56, | |
| 1518 | ["Transparency"] = 0.73750001192093, | |
| 1519 | ["Position"] = UDim2.new(-0.5,0,-0.5,0), | |
| 1520 | ["Size"] = UDim2.new(2,0,2,0), | |
| 1521 | ["BackgroundColor3"] = Color3.new(1, 0, 0), | |
| 1522 | ["BackgroundTransparency"] = 0.73750001192093, | |
| 1523 | ["ZIndex"] = 10, | |
| 1524 | }) | |
| 1525 | o59 = Create("TextLabel",{
| |
| 1526 | ["Parent"] = o56, | |
| 1527 | ["Position"] = UDim2.new(0.5,0,0.25,0), | |
| 1528 | ["Text"] = "WARNING: TACTICAL NOOB INBOUND", | |
| 1529 | ["Font"] = Enum.Font.ArialBold, | |
| 1530 | ["FontSize"] = Enum.FontSize.Size14, | |
| 1531 | ["TextColor3"] = Color3.new(1, 0, 0), | |
| 1532 | ["TextStrokeColor3"] = Color3.new(0.8, 0, 0), | |
| 1533 | ["TextStrokeTransparency"] = 0.94999998807907, | |
| 1534 | ["TextTransparency"] = 0.73750001192093, | |
| 1535 | }) | |
| 1536 | o60 = Create("ImageLabel",{
| |
| 1537 | ["Parent"] = o56, | |
| 1538 | ["Transparency"] = 1, | |
| 1539 | ["Position"] = UDim2.new(0.63749998807907,0,0.20000001788139,0), | |
| 1540 | ["Size"] = UDim2.new(0.050000000745058,0,0.050000000745058,0), | |
| 1541 | ["BackgroundTransparency"] = 1, | |
| 1542 | ["SizeConstraint"] = Enum.SizeConstraint.RelativeXX, | |
| 1543 | ["Image"] = "http://www.roblox.com/asset/?id=26533945", | |
| 1544 | }) | |
| 1545 | o61 = Create("Script",{
| |
| 1546 | ["Parent"] = o56, | |
| 1547 | ["Disabled"] = true, | |
| 1548 | }) | |
| 1549 | table.insert(cors,coroutine.create(function() | |
| 1550 | wait() | |
| 1551 | runDummyScript(function() | |
| 1552 | wait() | |
| 1553 | while true do | |
| 1554 | for i=1, 20 do | |
| 1555 | script.Parent.TextLabel.TextTransparency=.75-i/80 | |
| 1556 | script.Parent.TextLabel.TextStrokeTransparency=1-i/40 | |
| 1557 | script.Parent.Frame.BackgroundTransparency=.75-i/80 | |
| 1558 | wait() | |
| 1559 | end | |
| 1560 | for i=1, 20 do | |
| 1561 | script.Parent.TextLabel.TextTransparency=.5+i/80 | |
| 1562 | script.Parent.TextLabel.TextStrokeTransparency=i/20 | |
| 1563 | script.Parent.Frame.BackgroundTransparency=.5+i/80 | |
| 1564 | wait() | |
| 1565 | end | |
| 1566 | end | |
| 1567 | end,o61) | |
| 1568 | end)) | |
| 1569 | o62 = Create("Script",{
| |
| 1570 | ["Name"] = "NuclearBomb", | |
| 1571 | ["Parent"] = o55, | |
| 1572 | ["Disabled"] = true, | |
| 1573 | }) | |
| 1574 | table.insert(cors,coroutine.create(function() | |
| 1575 | wait() | |
| 1576 | runDummyScript(function() | |
| 1577 | wait(.2) | |
| 1578 | d=true | |
| 1579 | Asplode=function() | |
| 1580 | if d==false then return end | |
| 1581 | d=false | |
| 1582 | for _,v in pairs(game.Players:children()) do | |
| 1583 | if v.Character~=nil then | |
| 1584 | if v.Character:FindFirstChild("Torso")~=nil then
| |
| 1585 | if (v.Character.Torso.Position-script.Parent.Position).magnitude<=800 then | |
| 1586 | s=script.ScreenGui:clone() | |
| 1587 | s.Frame.Script.Disabled=false | |
| 1588 | s.Parent=v.PlayerGui | |
| 1589 | s=script.ScreenGui2:clone() | |
| 1590 | s.Frame.Script.Disabled=false | |
| 1591 | s.Parent=v.PlayerGui | |
| 1592 | end | |
| 1593 | end | |
| 1594 | end | |
| 1595 | end | |
| 1596 | ex=Instance.new("Explosion")
| |
| 1597 | ex.BlastRadius=40 | |
| 1598 | ex.BlastPressure=ex.BlastPressure*1.5 | |
| 1599 | ex.Position=script.Parent.Position | |
| 1600 | ex.Parent=workspace | |
| 1601 | p=Instance.new("Part")
| |
| 1602 | p.TopSurface=0 | |
| 1603 | p.BottomSurface=0 | |
| 1604 | p.formFactor="Symmetric" | |
| 1605 | p.BrickColor=BrickColor.new("Cool yellow")
| |
| 1606 | p.Size=Vector3.new(1,1,1) | |
| 1607 | p.Anchored=true | |
| 1608 | p.CanCollide=false | |
| 1609 | p.Name="Blast" | |
| 1610 | p.CFrame=CFrame.new(script.Parent.Position-Vector3.new(0,3,0)) | |
| 1611 | p.Parent=workspace | |
| 1612 | s=script.Asplosion:clone() | |
| 1613 | s.Disabled=false | |
| 1614 | s.Parent=p | |
| 1615 | m=Instance.new("SpecialMesh")
| |
| 1616 | m.MeshType="Sphere" | |
| 1617 | m.Scale=Vector3.new(5,5,5) | |
| 1618 | m.Parent=p | |
| 1619 | p.CanCollide=false | |
| 1620 | script.Parent.Transparency=1 | |
| 1621 | script.Parent.Anchored=true | |
| 1622 | end | |
| 1623 | Asplode() | |
| 1624 | ||
| 1625 | end,o62) | |
| 1626 | end)) | |
| 1627 | o63 = Create("Script",{
| |
| 1628 | ["Name"] = "Asplosion", | |
| 1629 | ["Parent"] = o62, | |
| 1630 | ["Disabled"] = true, | |
| 1631 | }) | |
| 1632 | table.insert(cors,coroutine.create(function() | |
| 1633 | wait() | |
| 1634 | runDummyScript(function() | |
| 1635 | wait(.05) | |
| 1636 | ||
| 1637 | s=Instance.new("Sound")
| |
| 1638 | s.SoundId="http://www.roblox.com/asset/?id=2101159" | |
| 1639 | s.Pitch=.37555 | |
| 1640 | s.Name="Kaboom" | |
| 1641 | s.Volume=1 | |
| 1642 | s.Parent=workspace | |
| 1643 | ||
| 1644 | wait(.05) | |
| 1645 | ||
| 1646 | s:Play() | |
| 1647 | ||
| 1648 | c=script.Parent.CFrame | |
| 1649 | ||
| 1650 | GetHumans=function() | |
| 1651 | Chars={}
| |
| 1652 | Things=workspace:GetChildren() | |
| 1653 | for ii,v in pairs(Things) do | |
| 1654 | if v.className=="Model" then | |
| 1655 | Human=v:FindFirstChild("Humanoid")
| |
| 1656 | PTorso=v:FindFirstChild("Torso")
| |
| 1657 | vv=game.Players:GetPlayerFromCharacter(v) | |
| 1658 | if Human~=nil and PTorso~=nil then | |
| 1659 | table.insert(Chars,PTorso) | |
| 1660 | end | |
| 1661 | end | |
| 1662 | end | |
| 1663 | return Chars | |
| 1664 | end | |
| 1665 | ||
| 1666 | for i=1, 70 do | |
| 1667 | ||
| 1668 | local p=Instance.new("Part")
| |
| 1669 | p2=Instance.new("Smoke")
| |
| 1670 | p2.Color=Color3.new(.75,.7554,.7895) | |
| 1671 | p2.Size=20 | |
| 1672 | p2.Opacity=.8 | |
| 1673 | p2.RiseVelocity=10 | |
| 1674 | p2.Parent=p | |
| 1675 | p.Name="FadeTrail" | |
| 1676 | p.TopSurface=0 | |
| 1677 | p.BottomSurface=0 | |
| 1678 | p.formFactor="Symmetric" | |
| 1679 | p.Size=Vector3.new(1,1,1) | |
| 1680 | p.Anchored=true | |
| 1681 | p.CanCollide=false | |
| 1682 | p.Transparency=1 | |
| 1683 | p.CFrame=CFrame.new(script.Parent.Position,script.Parent.Position+Vector3.new(math.cos(90/70*i),0,math.sin(90/70*i)))*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
| 1684 | p.Parent=workspace | |
| 1685 | coroutine.resume(coroutine.create(function(p) for i=1, 140 do p.CFrame=p.CFrame*CFrame.new(0,6,0) wait() end p.Smoke.Enabled=false wait(5) p:Remove() end),p) | |
| 1686 | game:GetService("Debris"):AddItem(p,25)
| |
| 1687 | ||
| 1688 | end | |
| 1689 | ||
| 1690 | cc=game.Lighting.Brightness | |
| 1691 | game.Lighting.Brightness=game.Lighting.Brightness+3 | |
| 1692 | ||
| 1693 | for i=1, 100 do | |
| 1694 | game.Lighting.Brightness=game.Lighting.Brightness-.01825 | |
| 1695 | script.Parent.Transparency=script.Parent.Transparency+1/100 | |
| 1696 | script.Parent.Size=script.Parent.Size+Vector3.new(4,4,4) | |
| 1697 | script.Parent.CFrame=c | |
| 1698 | ||
| 1699 | for _,v in pairs(game.Players:children()) do | |
| 1700 | s=script.LocalScript:clone() s.Disabled=false s.Parent=v.PlayerGui | |
| 1701 | end | |
| 1702 | ||
| 1703 | noobs=GetHumans() | |
| 1704 | ||
| 1705 | for _,v in pairs(noobs) do | |
| 1706 | ||
| 1707 | Dist=(v.Position-script.Parent.Position).magnitude | |
| 1708 | if Dist<script.Parent.Size.x*5 / 1.65 then | |
| 1709 | v:BreakJoints() | |
| 1710 | end | |
| 1711 | ||
| 1712 | Base=120 | |
| 1713 | Size=script.Parent.Size.x / 50 | |
| 1714 | Calc=(Base/Size - Dist/10) + 10 | |
| 1715 | if Calc<0 then Calc=1 end | |
| 1716 | ||
| 1717 | if i>=25 then | |
| 1718 | ||
| 1719 | for lolol,poo in pairs(v:children()) do | |
| 1720 | ||
| 1721 | vv=Instance.new("BodyVelocity")
| |
| 1722 | vv.P=4000 | |
| 1723 | vv.maxForce=Vector3.new(50000000000,0,50000000000) | |
| 1724 | vv.velocity=(v.Position-script.Parent.Position).unit*(Calc+6) | |
| 1725 | vv.Parent=poo | |
| 1726 | game:GetService("Debris"):AddItem(vv,.25)
| |
| 1727 | ||
| 1728 | end | |
| 1729 | ||
| 1730 | end | |
| 1731 | ||
| 1732 | end | |
| 1733 | ||
| 1734 | wait() | |
| 1735 | end | |
| 1736 | ||
| 1737 | game.Lighting.Brightness=cc | |
| 1738 | ||
| 1739 | wait(2) | |
| 1740 | ||
| 1741 | script.Parent.Parent=nil | |
| 1742 | ||
| 1743 | end,o63) | |
| 1744 | end)) | |
| 1745 | o64 = Create("LocalScript",{
| |
| 1746 | ["Parent"] = o63, | |
| 1747 | ["Disabled"] = true, | |
| 1748 | }) | |
| 1749 | table.insert(cors,coroutine.create(function() | |
| 1750 | wait() | |
| 1751 | runDummyScript(function() | |
| 1752 | wait(.05) | |
| 1753 | cam=workspace.CurrentCamera | |
| 1754 | cam.CoordinateFrame=cam.CoordinateFrame*CFrame.new(math.random(-50,50)/1000,math.random(-50,50)/100,math.random(-50,50)/100)*CFrame.fromEulerAnglesXYZ(math.random(-5,5)/10,math.random(-5,5)/10,math.random(-5,5)/10) | |
| 1755 | script:Remove() | |
| 1756 | end,o64) | |
| 1757 | end)) | |
| 1758 | o65 = Create("ScreenGui",{
| |
| 1759 | ["Parent"] = o62, | |
| 1760 | }) | |
| 1761 | o66 = Create("Frame",{
| |
| 1762 | ["Parent"] = o65, | |
| 1763 | ["Transparency"] = 1, | |
| 1764 | ["Position"] = UDim2.new(-0.5,0,-0.5,0), | |
| 1765 | ["Size"] = UDim2.new(3,0,3,0), | |
| 1766 | ["BackgroundColor3"] = Color3.new(1, 1, 0.941177), | |
| 1767 | ["BackgroundTransparency"] = 1, | |
| 1768 | ["BorderColor3"] = Color3.new(1, 1, 1), | |
| 1769 | }) | |
| 1770 | o67 = Create("Script",{
| |
| 1771 | ["Parent"] = o66, | |
| 1772 | ["Disabled"] = true, | |
| 1773 | }) | |
| 1774 | table.insert(cors,coroutine.create(function() | |
| 1775 | wait() | |
| 1776 | runDummyScript(function() | |
| 1777 | wait(.2) | |
| 1778 | ||
| 1779 | frame=script.Parent | |
| 1780 | for i=1, 10 do | |
| 1781 | frame.BackgroundTransparency=1-i*.1 | |
| 1782 | wait() | |
| 1783 | end | |
| 1784 | wait(.25) | |
| 1785 | for i=1, 200 do | |
| 1786 | frame.BackgroundTransparency=i/200 | |
| 1787 | wait() | |
| 1788 | end | |
| 1789 | script.Parent.Parent:Remove() | |
| 1790 | ||
| 1791 | end,o67) | |
| 1792 | end)) | |
| 1793 | o68 = Create("ScreenGui",{
| |
| 1794 | ["Name"] = "ScreenGui2", | |
| 1795 | ["Parent"] = o62, | |
| 1796 | }) | |
| 1797 | o69 = Create("Frame",{
| |
| 1798 | ["Parent"] = o68, | |
| 1799 | ["Transparency"] = 0.625, | |
| 1800 | ["Position"] = UDim2.new(-0.5,0,-0.5,0), | |
| 1801 | ["Size"] = UDim2.new(3,0,3,0), | |
| 1802 | ["BackgroundColor3"] = Color3.new(1, 1, 0.6), | |
| 1803 | ["BackgroundTransparency"] = 0.625, | |
| 1804 | ["BorderColor3"] = Color3.new(1, 1, 1), | |
| 1805 | }) | |
| 1806 | o70 = Create("Script",{
| |
| 1807 | ["Parent"] = o69, | |
| 1808 | ["Disabled"] = true, | |
| 1809 | }) | |
| 1810 | table.insert(cors,coroutine.create(function() | |
| 1811 | wait() | |
| 1812 | runDummyScript(function() | |
| 1813 | wait(.1) | |
| 1814 | for i=1, 100 do | |
| 1815 | wait() | |
| 1816 | end | |
| 1817 | script.Parent.Parent:Remove() | |
| 1818 | ||
| 1819 | end,o70) | |
| 1820 | end)) | |
| 1821 | o71 = Create("Part",{
| |
| 1822 | ["Name"] = "Cheek6", | |
| 1823 | ["Parent"] = o1, | |
| 1824 | ["BrickColor"] = BrickColor.new("Black"),
| |
| 1825 | ["Reflectance"] = 0.125, | |
| 1826 | ["Position"] = Vector3.new(330.481079, 87.9255371, -126.731323), | |
| 1827 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 1828 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 1829 | ["Velocity"] = Vector3.new(-9.18030548, 0, 13.4156132), | |
| 1830 | ["CFrame"] = CFrame.new(330.481079, 87.9255371, -126.731323, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 1831 | ["CanCollide"] = false, | |
| 1832 | ["Locked"] = true, | |
| 1833 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 1834 | ["Size"] = Vector3.new(1, 1, 1), | |
| 1835 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 1836 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 1837 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
| 1838 | }) | |
| 1839 | o72 = Create("SpecialMesh",{
| |
| 1840 | ["Parent"] = o71, | |
| 1841 | ["Scale"] = Vector3.new(0.850000024, 0.150000006, 0.600000024), | |
| 1842 | ["MeshType"] = Enum.MeshType.Brick, | |
| 1843 | }) | |
| 1844 | o73 = Create("Part",{
| |
| 1845 | ["Name"] = "Cheek7", | |
| 1846 | ["Parent"] = o1, | |
| 1847 | ["BrickColor"] = BrickColor.new("Black"),
| |
| 1848 | ["Reflectance"] = 0.125, | |
| 1849 | ["Position"] = Vector3.new(330.153656, 88.3255005, -126.961182), | |
| 1850 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 1851 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 1852 | ["Velocity"] = Vector3.new(-9.21872902, 0, 13.4703465), | |
| 1853 | ["CFrame"] = CFrame.new(330.153656, 88.3255005, -126.961182, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 1854 | ["CanCollide"] = false, | |
| 1855 | ["Locked"] = true, | |
| 1856 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 1857 | ["Size"] = Vector3.new(1, 1, 1), | |
| 1858 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 1859 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 1860 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
| 1861 | }) | |
| 1862 | o74 = Create("SpecialMesh",{
| |
| 1863 | ["Parent"] = o73, | |
| 1864 | ["Scale"] = Vector3.new(0.150000006, 0.699999988, 0.600000024), | |
| 1865 | ["MeshType"] = Enum.MeshType.Brick, | |
| 1866 | }) | |
| 1867 | o75 = Create("Part",{
| |
| 1868 | ["Name"] = "Cheek8", | |
| 1869 | ["Parent"] = o1, | |
| 1870 | ["BrickColor"] = BrickColor.new("Black"),
| |
| 1871 | ["Reflectance"] = 0.125, | |
| 1872 | ["Position"] = Vector3.new(330.638062, 88.4053955, -126.946655), | |
| 1873 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 1874 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 1875 | ["Velocity"] = Vector3.new(-9.21630001, 0, 13.3893719), | |
| 1876 | ["CFrame"] = CFrame.new(330.638062, 88.4053955, -126.946655, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 1877 | ["CanCollide"] = false, | |
| 1878 | ["Locked"] = true, | |
| 1879 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 1880 | ["Size"] = Vector3.new(1, 1, 1), | |
| 1881 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 1882 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 1883 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
| 1884 | }) | |
| 1885 | o76 = Create("SpecialMesh",{
| |
| 1886 | ["Parent"] = o75, | |
| 1887 | ["Scale"] = Vector3.new(0.75, 0.839999974, 0.150000006), | |
| 1888 | ["MeshType"] = Enum.MeshType.Brick, | |
| 1889 | }) | |
| 1890 | o77 = Create("Part",{
| |
| 1891 | ["Name"] = "Cheek9", | |
| 1892 | ["Parent"] = o1, | |
| 1893 | ["BrickColor"] = BrickColor.new("Black"),
| |
| 1894 | ["Reflectance"] = 0.125, | |
| 1895 | ["Position"] = Vector3.new(330.80011, 88.3255005, -126.489868), | |
| 1896 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 1897 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 1898 | ["Velocity"] = Vector3.new(-9.13994408, 0, 13.3622828), | |
| 1899 | ["CFrame"] = CFrame.new(330.80011, 88.3255005, -126.489868, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 1900 | ["CanCollide"] = false, | |
| 1901 | ["Locked"] = true, | |
| 1902 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 1903 | ["Size"] = Vector3.new(1, 1, 1), | |
| 1904 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 1905 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 1906 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
| 1907 | }) | |
| 1908 | o78 = Create("SpecialMesh",{
| |
| 1909 | ["Parent"] = o77, | |
| 1910 | ["Scale"] = Vector3.new(0.150000006, 0.699999988, 0.600000024), | |
| 1911 | ["MeshType"] = Enum.MeshType.Brick, | |
| 1912 | }) | |
| 1913 | o79 = Create("Part",{
| |
| 1914 | ["Name"] = "Top2", | |
| 1915 | ["Parent"] = o1, | |
| 1916 | ["BrickColor"] = BrickColor.new("Black"),
| |
| 1917 | ["Position"] = Vector3.new(330.450623, 88.7247314, -126.689453), | |
| 1918 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 1919 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 1920 | ["Velocity"] = Vector3.new(-9.17330647, 0, 13.4207077), | |
| 1921 | ["CFrame"] = CFrame.new(330.450623, 88.7247314, -126.689453, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 1922 | ["CanCollide"] = false, | |
| 1923 | ["Locked"] = true, | |
| 1924 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 1925 | ["Size"] = Vector3.new(1, 1, 1), | |
| 1926 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 1927 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 1928 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
| 1929 | }) | |
| 1930 | o80 = Create("SpecialMesh",{
| |
| 1931 | ["Parent"] = o79, | |
| 1932 | ["Scale"] = Vector3.new(0.899999976, 0.150000006, 0.649999976), | |
| 1933 | ["MeshType"] = Enum.MeshType.Brick, | |
| 1934 | }) | |
| 1935 | o81 = Create("Part",{
| |
| 1936 | ["Name"] = "Chew1", | |
| 1937 | ["Parent"] = o1, | |
| 1938 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 1939 | ["Transparency"] = 1, | |
| 1940 | ["Position"] = Vector3.new(330.881989, 88.2255249, -126.432495), | |
| 1941 | ["Rotation"] = Vector3.new(90.8242798, 0.600809634, -143.914261), | |
| 1942 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 1943 | ["Velocity"] = Vector3.new(-9.13035393, 0, 13.3485985), | |
| 1944 | ["CFrame"] = CFrame.new(330.881989, 88.2255249, -126.432495, -0.808091879, 0.588962913, 0.0104859145, -1.50948132e-014, 0.0178012121, -0.999841571, -0.589056253, -0.807963848, -0.0143850138), | |
| 1945 | ["CanCollide"] = false, | |
| 1946 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 1947 | ["Size"] = Vector3.new(1, 1, 1), | |
| 1948 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 1949 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 1950 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 1951 | }) | |
| 1952 | o82 = Create("CylinderMesh",{
| |
| 1953 | ["Parent"] = o81, | |
| 1954 | ["Scale"] = Vector3.new(0.5, 0.649999976, 0.5), | |
| 1955 | }) | |
| 1956 | o83 = Create("Part",{
| |
| 1957 | ["Name"] = "Chew2", | |
| 1958 | ["Parent"] = o1, | |
| 1959 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 1960 | ["Transparency"] = 1, | |
| 1961 | ["Position"] = Vector3.new(330.073883, 88.2255249, -127.021484), | |
| 1962 | ["Rotation"] = Vector3.new(90.8242798, 0.600809634, -143.914261), | |
| 1963 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 1964 | ["Velocity"] = Vector3.new(-9.2288084, 0, 13.4836798), | |
| 1965 | ["CFrame"] = CFrame.new(330.073883, 88.2255249, -127.021484, -0.808091879, 0.588962913, 0.0104859145, -1.50948132e-014, 0.0178012121, -0.999841571, -0.589056253, -0.807963848, -0.0143850138), | |
| 1966 | ["CanCollide"] = false, | |
| 1967 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 1968 | ["Size"] = Vector3.new(1, 1, 1), | |
| 1969 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 1970 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 1971 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 1972 | }) | |
| 1973 | o84 = Create("CylinderMesh",{
| |
| 1974 | ["Parent"] = o83, | |
| 1975 | ["Scale"] = Vector3.new(0.5, 0.649999976, 0.5), | |
| 1976 | }) | |
| 1977 | o85 = Create("Model",{
| |
| 1978 | ["Name"] = "CannonLol", | |
| 1979 | ["Parent"] = o1, | |
| 1980 | }) | |
| 1981 | o86 = Create("Part",{
| |
| 1982 | ["Name"] = "Handle3", | |
| 1983 | ["Parent"] = o85, | |
| 1984 | ["BrickColor"] = BrickColor.new("Really black"),
| |
| 1985 | ["Reflectance"] = 0.20000000298023, | |
| 1986 | ["Transparency"] = 1, | |
| 1987 | ["Position"] = Vector3.new(357.59201, 441.334045, 1019.901), | |
| 1988 | ["Rotation"] = Vector3.new(-89.9998016, 0.000384738727, -90.0294189), | |
| 1989 | ["RotVelocity"] = Vector3.new(-0.00269895676, -0.000197061745, 0.000686151907), | |
| 1990 | ["Velocity"] = Vector3.new(0.00399211096, 0.00265668612, -0.00679172343), | |
| 1991 | ["Anchored"] = true, | |
| 1992 | ["CFrame"] = CFrame.new(357.59201, 441.334045, 1019.901, -0.000513518928, 0.999999762, 6.71495764e-006, -3.53025621e-006, -6.71677162e-006, 1, 0.999999762, 0.000513518869, 3.53370501e-006), | |
| 1993 | ["CanCollide"] = false, | |
| 1994 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 1995 | ["Size"] = Vector3.new(4, 6, 4), | |
| 1996 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 1997 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 1998 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
| 1999 | }) | |
| 2000 | o87 = Create("CylinderMesh",{
| |
| 2001 | ["Parent"] = o86, | |
| 2002 | ["Scale"] = Vector3.new(1.04999995, 1.04999995, 1.04999995), | |
| 2003 | }) | |
| 2004 | o88 = Create("Part",{
| |
| 2005 | ["Name"] = "Handle", | |
| 2006 | ["Parent"] = o85, | |
| 2007 | ["Material"] = Enum.Material.DiamondPlate, | |
| 2008 | ["BrickColor"] = BrickColor.new("Black"),
| |
| 2009 | ["Reflectance"] = 0.20000000298023, | |
| 2010 | ["Transparency"] = 1, | |
| 2011 | ["Position"] = Vector3.new(357.600006, 438.594055, 1022.90002), | |
| 2012 | ["Rotation"] = Vector3.new(-180, 0, -180), | |
| 2013 | ["Anchored"] = true, | |
| 2014 | ["CFrame"] = CFrame.new(357.600006, 438.594055, 1022.90002, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
| 2015 | ["CanCollide"] = false, | |
| 2016 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 2017 | ["Size"] = Vector3.new(4, 4, 2), | |
| 2018 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
| 2019 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
| 2020 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
| 2021 | }) | |
| 2022 | o89 = Create("Part",{
| |
| 2023 | ["Name"] = "Handle", | |
| 2024 | ["Parent"] = o85, | |
| 2025 | ["Material"] = Enum.Material.DiamondPlate, | |
| 2026 | ["BrickColor"] = BrickColor.new("Black"),
| |
| 2027 | ["Reflectance"] = 0.20000000298023, | |
| 2028 | ["Transparency"] = 1, | |
| 2029 | ["Position"] = Vector3.new(357.600006, 441.585022, 1022.90503), | |
| 2030 | ["Rotation"] = Vector3.new(-179.90416, 0.00742864469, -179.999832), | |
| 2031 | ["RotVelocity"] = Vector3.new(-0.0330850519, -0.00169609871, -0.00513586681), | |
| 2032 | ["Velocity"] = Vector3.new(0.00120087306, -0.00596932694, 0.00861900207), | |
| 2033 | ["Anchored"] = true, | |
| 2034 | ["CFrame"] = CFrame.new(357.600006, 441.585022, 1022.90503, -0.999999762, 3.03301886e-006, 0.000129654305, 3.24990719e-006, 0.999998629, 0.00167285791, -0.000129649023, 0.00167285791, -0.999998331), | |
| 2035 | ["CanCollide"] = false, | |
| 2036 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 2037 | ["Size"] = Vector3.new(4, 2, 2), | |
| 2038 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 2039 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 2040 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
| 2041 | }) | |
| 2042 | o90 = Create("SpecialMesh",{
| |
| 2043 | ["Parent"] = o89, | |
| 2044 | ["MeshType"] = Enum.MeshType.Torso, | |
| 2045 | }) | |
| 2046 | o91 = Create("Part",{
| |
| 2047 | ["Name"] = "Handle", | |
| 2048 | ["Parent"] = o85, | |
| 2049 | ["Material"] = Enum.Material.DiamondPlate, | |
| 2050 | ["BrickColor"] = BrickColor.new("Black"),
| |
| 2051 | ["Reflectance"] = 0.20000000298023, | |
| 2052 | ["Transparency"] = 1, | |
| 2053 | ["Position"] = Vector3.new(357.600006, 438.594055, 1016.90002), | |
| 2054 | ["Rotation"] = Vector3.new(-180, 0, -180), | |
| 2055 | ["Anchored"] = true, | |
| 2056 | ["CFrame"] = CFrame.new(357.600006, 438.594055, 1016.90002, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
| 2057 | ["CanCollide"] = false, | |
| 2058 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 2059 | ["Size"] = Vector3.new(4, 4, 2), | |
| 2060 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
| 2061 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
| 2062 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
| 2063 | }) | |
| 2064 | o92 = Create("Part",{
| |
| 2065 | ["Name"] = "Handle2", | |
| 2066 | ["Parent"] = o85, | |
| 2067 | ["Material"] = Enum.Material.DiamondPlate, | |
| 2068 | ["BrickColor"] = BrickColor.new("Black"),
| |
| 2069 | ["Reflectance"] = 0.20000000298023, | |
| 2070 | ["Transparency"] = 1, | |
| 2071 | ["Position"] = Vector3.new(357.593994, 441.584045, 1016.901), | |
| 2072 | ["Rotation"] = Vector3.new(-179.999802, 0.0294249728, -179.999619), | |
| 2073 | ["RotVelocity"] = Vector3.new(-0.00269895676, -0.000197061745, 0.000686151907), | |
| 2074 | ["Velocity"] = Vector3.new(0.00441175839, -0.00544018392, -0.00746646244), | |
| 2075 | ["Anchored"] = true, | |
| 2076 | ["CFrame"] = CFrame.new(357.593994, 441.584045, 1016.901, -0.999999762, 6.71497992e-006, 0.000513562642, 6.71677162e-006, 1, 3.48654453e-006, -0.000513562583, 3.48999356e-006, -0.999999762), | |
| 2077 | ["CanCollide"] = false, | |
| 2078 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 2079 | ["Size"] = Vector3.new(4, 2, 2), | |
| 2080 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 2081 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 2082 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
| 2083 | }) | |
| 2084 | o93 = Create("SpecialMesh",{
| |
| 2085 | ["Parent"] = o92, | |
| 2086 | ["MeshType"] = Enum.MeshType.Torso, | |
| 2087 | }) | |
| 2088 | o94 = Create("Motor",{
| |
| 2089 | ["Parent"] = o92, | |
| 2090 | ["Part0"] = o92, | |
| 2091 | ["Part1"] = o86, | |
| 2092 | }) | |
| 2093 | o95 = Create("Part",{
| |
| 2094 | ["Name"] = "Handle4", | |
| 2095 | ["Parent"] = o85, | |
| 2096 | ["BrickColor"] = BrickColor.new("Really black"),
| |
| 2097 | ["Reflectance"] = 0.20000000298023, | |
| 2098 | ["Transparency"] = 1, | |
| 2099 | ["Position"] = Vector3.new(360.59201, 441.334045, 1019.90302), | |
| 2100 | ["Rotation"] = Vector3.new(-89.9998016, 0.000384738727, -90.0294189), | |
| 2101 | ["RotVelocity"] = Vector3.new(-0.00269895676, -0.000197061745, 0.000686151907), | |
| 2102 | ["Velocity"] = Vector3.new(0.00399211096, 0.00471514184, -0.00620053802), | |
| 2103 | ["Anchored"] = true, | |
| 2104 | ["CFrame"] = CFrame.new(360.59201, 441.334045, 1019.90302, -0.000513518928, 0.999999762, 6.71495764e-006, -3.53025621e-006, -6.71677162e-006, 1, 0.999999762, 0.000513518869, 3.53370501e-006), | |
| 2105 | ["CanCollide"] = false, | |
| 2106 | ["FormFactor"] = Enum.FormFactor.Plate, | |
| 2107 | ["Size"] = Vector3.new(4, 0.400000006, 4), | |
| 2108 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 2109 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 2110 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
| 2111 | }) | |
| 2112 | o96 = Create("SpecialMesh",{
| |
| 2113 | ["Parent"] = o95, | |
| 2114 | ["Scale"] = Vector3.new(1.05999994, 5.5, 1.05999994), | |
| 2115 | ["MeshType"] = Enum.MeshType.Sphere, | |
| 2116 | }) | |
| 2117 | o97 = Create("Part",{
| |
| 2118 | ["Name"] = "Handle6", | |
| 2119 | ["Parent"] = o85, | |
| 2120 | ["BrickColor"] = BrickColor.new("Really black"),
| |
| 2121 | ["Reflectance"] = 0.20000000298023, | |
| 2122 | ["Transparency"] = 1, | |
| 2123 | ["Position"] = Vector3.new(352.34201, 441.334045, 1019.89899), | |
| 2124 | ["Rotation"] = Vector3.new(-89.9998016, 0.000384738727, -90.0294189), | |
| 2125 | ["RotVelocity"] = Vector3.new(-0.00269895676, -0.000197061745, 0.000686151907), | |
| 2126 | ["Velocity"] = Vector3.new(0.00399211096, -0.000945611391, -0.00782629754), | |
| 2127 | ["Anchored"] = true, | |
| 2128 | ["CFrame"] = CFrame.new(352.34201, 441.334045, 1019.89899, -0.000513518928, 0.999999762, 6.71495764e-006, -3.53025621e-006, -6.71677162e-006, 1, 0.999999762, 0.000513518869, 3.53370501e-006), | |
| 2129 | ["CanCollide"] = false, | |
| 2130 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 2131 | ["Size"] = Vector3.new(6, 2, 6), | |
| 2132 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 2133 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 2134 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
| 2135 | }) | |
| 2136 | o98 = Create("CylinderMesh",{
| |
| 2137 | ["Parent"] = o97, | |
| 2138 | ["Scale"] = Vector3.new(0.899999976, 1.14999998, 0.899999976), | |
| 2139 | }) | |
| 2140 | o99 = Create("Part",{
| |
| 2141 | ["Name"] = "Handle5", | |
| 2142 | ["Parent"] = o85, | |
| 2143 | ["BrickColor"] = BrickColor.new("Really black"),
| |
| 2144 | ["Reflectance"] = 0.20000000298023, | |
| 2145 | ["Transparency"] = 1, | |
| 2146 | ["Position"] = Vector3.new(353.59201, 441.334045, 1019.89899), | |
| 2147 | ["Rotation"] = Vector3.new(-89.9998016, 0.000384738727, -90.0294189), | |
| 2148 | ["RotVelocity"] = Vector3.new(-0.00269895676, -0.000197061745, 0.000686151907), | |
| 2149 | ["Velocity"] = Vector3.new(0.00399211096, -8.79215077e-005, -0.00757997017), | |
| 2150 | ["Anchored"] = true, | |
| 2151 | ["CFrame"] = CFrame.new(353.59201, 441.334045, 1019.89899, -0.000513518928, 0.999999762, 6.71495764e-006, -3.53025621e-006, -6.71677162e-006, 1, 0.999999762, 0.000513518869, 3.53370501e-006), | |
| 2152 | ["CanCollide"] = false, | |
| 2153 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 2154 | ["Size"] = Vector3.new(4, 2, 4), | |
| 2155 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 2156 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 2157 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
| 2158 | }) | |
| 2159 | o100 = Create("CylinderMesh",{
| |
| 2160 | ["Parent"] = o99, | |
| 2161 | ["Scale"] = Vector3.new(1.14999998, 1.14999998, 1.14999998), | |
| 2162 | }) | |
| 2163 | o101 = Create("Part",{
| |
| 2164 | ["Name"] = "Handle8", | |
| 2165 | ["Parent"] = o85, | |
| 2166 | ["Material"] = Enum.Material.DiamondPlate, | |
| 2167 | ["Reflectance"] = 0.20000000298023, | |
| 2168 | ["Transparency"] = 1, | |
| 2169 | ["Position"] = Vector3.new(357.593994, 440.584045, 1015.70099), | |
| 2170 | ["Rotation"] = Vector3.new(90.0002594, -6.11382784e-005, 179.998169), | |
| 2171 | ["Anchored"] = true, | |
| 2172 | ["CFrame"] = CFrame.new(357.593994, 440.584045, 1015.70099, -0.999999821, -3.20675244e-005, -1.0670642e-006, 1.06691914e-006, 4.48937271e-006, -1, 3.20675717e-005, -0.999999821, -4.48933861e-006), | |
| 2173 | ["CanCollide"] = false, | |
| 2174 | ["FormFactor"] = Enum.FormFactor.Plate, | |
| 2175 | ["Size"] = Vector3.new(2, 0.400000006, 2), | |
| 2176 | ["BackSurface"] = Enum.SurfaceType.Weld, | |
| 2177 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
| 2178 | ["FrontSurface"] = Enum.SurfaceType.Weld, | |
| 2179 | ["LeftSurface"] = Enum.SurfaceType.Weld, | |
| 2180 | ["RightSurface"] = Enum.SurfaceType.Weld, | |
| 2181 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
| 2182 | }) | |
| 2183 | o102 = Create("SpecialMesh",{
| |
| 2184 | ["Parent"] = o101, | |
| 2185 | ["Scale"] = Vector3.new(1.05999994, 5.5, 1.05999994), | |
| 2186 | ["MeshType"] = Enum.MeshType.Sphere, | |
| 2187 | }) | |
| 2188 | o103 = Create("Part",{
| |
| 2189 | ["Name"] = "Handle8", | |
| 2190 | ["Parent"] = o85, | |
| 2191 | ["Material"] = Enum.Material.DiamondPlate, | |
| 2192 | ["Reflectance"] = 0.20000000298023, | |
| 2193 | ["Transparency"] = 1, | |
| 2194 | ["Position"] = Vector3.new(357.600006, 440.583069, 1024.10303), | |
| 2195 | ["Rotation"] = Vector3.new(90.0958481, -0.000173780791, -179.983185), | |
| 2196 | ["Anchored"] = true, | |
| 2197 | ["CFrame"] = CFrame.new(357.600006, 440.583069, 1024.10303, -0.999999821, 0.000293433928, -3.03304705e-006, 3.52491816e-006, 0.00167288422, -0.999998629, -0.00029342834, -0.999998391, -0.00167283218), | |
| 2198 | ["CanCollide"] = false, | |
| 2199 | ["FormFactor"] = Enum.FormFactor.Plate, | |
| 2200 | ["Size"] = Vector3.new(2, 0.400000006, 2), | |
| 2201 | ["BackSurface"] = Enum.SurfaceType.Weld, | |
| 2202 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
| 2203 | ["FrontSurface"] = Enum.SurfaceType.Weld, | |
| 2204 | ["LeftSurface"] = Enum.SurfaceType.Weld, | |
| 2205 | ["RightSurface"] = Enum.SurfaceType.Weld, | |
| 2206 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
| 2207 | }) | |
| 2208 | o104 = Create("SpecialMesh",{
| |
| 2209 | ["Parent"] = o103, | |
| 2210 | ["Scale"] = Vector3.new(1.05999994, 5.5, 1.05999994), | |
| 2211 | ["MeshType"] = Enum.MeshType.Sphere, | |
| 2212 | }) | |
| 2213 | o105 = Create("Script",{
| |
| 2214 | ["Parent"] = o85, | |
| 2215 | }) | |
| 2216 | table.insert(cors,coroutine.create(function() | |
| 2217 | wait() | |
| 2218 | runDummyScript(function() | |
| 2219 | wait() | |
| 2220 | ||
| 2221 | script.Parent:BreakJoints() | |
| 2222 | ||
| 2223 | lol=function() | |
| 2224 | ||
| 2225 | w=Instance.new("Motor")
| |
| 2226 | w.Part0=script.Parent.Handle2 | |
| 2227 | w.Part1=script.Parent.Handle3 | |
| 2228 | w.C0=CFrame.new(0,-.25,-3)*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,math.pi/2) | |
| 2229 | w.Parent=w.Part0 | |
| 2230 | ||
| 2231 | w=Instance.new("Weld")
| |
| 2232 | w.Part0=script.Parent.Handle3 | |
| 2233 | w.Part1=script.Parent.Handle4 | |
| 2234 | w.C0=CFrame.new(0,3,0) | |
| 2235 | w.Parent=w.Part0 | |
| 2236 | ||
| 2237 | w=Instance.new("Weld")
| |
| 2238 | w.Part0=script.Parent.Handle3 | |
| 2239 | w.Part1=script.Parent.Handle5 | |
| 2240 | w.C0=CFrame.new(0,-4,0) | |
| 2241 | w.Parent=w.Part0 | |
| 2242 | ||
| 2243 | w=Instance.new("Weld")
| |
| 2244 | w.Part0=script.Parent.Handle3 | |
| 2245 | w.Part1=script.Parent.Handle6 | |
| 2246 | w.C0=CFrame.new(0,-5.25,0) | |
| 2247 | w.Parent=w.Part0 | |
| 2248 | ||
| 2249 | end | |
| 2250 | ||
| 2251 | script.Parent.AncestryChanged:connect(lol) | |
| 2252 | end,o105) | |
| 2253 | end)) | |
| 2254 | o106 = Create("Part",{
| |
| 2255 | ["Name"] = "Base", | |
| 2256 | ["Parent"] = o85, | |
| 2257 | ["Material"] = Enum.Material.DiamondPlate, | |
| 2258 | ["BrickColor"] = BrickColor.new("Black"),
| |
| 2259 | ["Transparency"] = 1, | |
| 2260 | ["Position"] = Vector3.new(357.600006, 436.094055, 1019.90002), | |
| 2261 | ["Rotation"] = Vector3.new(-180, 0, -180), | |
| 2262 | ["Anchored"] = true, | |
| 2263 | ["CFrame"] = CFrame.new(357.600006, 436.094055, 1019.90002, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
| 2264 | ["CanCollide"] = false, | |
| 2265 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 2266 | ["Size"] = Vector3.new(6, 1, 8), | |
| 2267 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 2268 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
| 2269 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
| 2270 | }) | |
| 2271 | o107 = Create("Part",{
| |
| 2272 | ["Name"] = "Cheek10", | |
| 2273 | ["Parent"] = o1, | |
| 2274 | ["BrickColor"] = BrickColor.new("Bright yellow"),
| |
| 2275 | ["Transparency"] = 1, | |
| 2276 | ["Position"] = Vector3.new(330.948059, 88.3397217, -127.371948), | |
| 2277 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
| 2278 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
| 2279 | ["Velocity"] = Vector3.new(-9.28739166, 0, 13.3375549), | |
| 2280 | ["CFrame"] = CFrame.new(330.948059, 88.3397217, -127.371948, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
| 2281 | ["CanCollide"] = false, | |
| 2282 | ["Locked"] = true, | |
| 2283 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
| 2284 | ["Size"] = Vector3.new(1, 1, 1), | |
| 2285 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 2286 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 2287 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
| 2288 | }) | |
| 2289 | o108 = Create("SpecialMesh",{
| |
| 2290 | ["Parent"] = o107, | |
| 2291 | ["MeshType"] = Enum.MeshType.Brick, | |
| 2292 | }) | |
| 2293 | o109 = Create("Sound",{
| |
| 2294 | ["Name"] = "Ohgodno", | |
| 2295 | ["Parent"] = o1, | |
| 2296 | ["Pitch"] = 0.52999997138977, | |
| 2297 | ["SoundId"] = "http://www.roblox.com/asset/?id=28510547", | |
| 2298 | ["Volume"] = 1, | |
| 2299 | ["Looped"] = true, | |
| 2300 | }) | |
| 2301 | o110 = Create("Script",{
| |
| 2302 | ["Parent"] = o1, | |
| 2303 | }) | |
| 2304 | table.insert(cors,coroutine.create(function() | |
| 2305 | wait() | |
| 2306 | runDummyScript(function() | |
| 2307 | while true do --blargh | |
| 2308 | ||
| 2309 | ||
| 2310 | for _,v in pairs(game.Players:children()) do | |
| 2311 | if v:FindFirstChild("PlayerGui")~=nil then
| |
| 2312 | if script.DoGui.Value==true then | |
| 2313 | ||
| 2314 | if v.PlayerGui:FindFirstChild("DEATHGUI")==nil then
| |
| 2315 | s=script.Parent.LocalScript.DEATHGUI:clone() | |
| 2316 | s.Script.Disabled=false | |
| 2317 | s.Parent=v.PlayerGui | |
| 2318 | end | |
| 2319 | ||
| 2320 | else | |
| 2321 | ||
| 2322 | if v.PlayerGui:FindFirstChild("DEATHGUI")~=nil then
| |
| 2323 | v.PlayerGui.DEATHGUI:Remove() | |
| 2324 | end | |
| 2325 | ||
| 2326 | end | |
| 2327 | ||
| 2328 | end | |
| 2329 | end | |
| 2330 | ||
| 2331 | wait(.1) | |
| 2332 | ||
| 2333 | end | |
| 2334 | end,o110) | |
| 2335 | end)) | |
| 2336 | o111 = Create("BoolValue",{
| |
| 2337 | ["Name"] = "DoGui", | |
| 2338 | ["Parent"] = o110, | |
| 2339 | }) | |
| 2340 | ||
| 2341 | mas.Parent = workspace | |
| 2342 | mas:MakeJoints() | |
| 2343 | local mas1 = mas:GetChildren() | |
| 2344 | for i=1,#mas1 do | |
| 2345 | mas1[i].Parent = game.Players.LocalPlayer.Backpack | |
| 2346 | ypcall(function() mas1[i]:MakeJoints() end) | |
| 2347 | end | |
| 2348 | mas:Destroy() | |
| 2349 | for i=1,#cors do | |
| 2350 | coroutine.resume(cors[i]) | |
| 2351 | end | |
| 2352 | ||
| 2353 | ||
| 2354 | -- yoo waddup |