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 | ||
| 153 | ||
| 154 | --[[ by iliketrainsornot ]]-- | |
| 155 | ||
| 156 | - | warn("*squeak*")
|
| 156 | + | warn("aww hell naww")
|
| 157 | - | print("this cancer/cute overload is made by iliketrainsornot/edited by samuelrichter66")
|
| 157 | + | print("this cancer/wtf is made by iliketrainsornot/edited by samuelrichter66")
|
| 158 | plr = game:GetService("Players").LocalPlayer
| |
| 159 | char = plr.Character | |
| 160 | Instance.new("ForceField",char).Visible = false
| |
| 161 | hed = char.Head | |
| 162 | torso = char.Torso | |
| 163 | mouse = plr:GetMouse() | |
| 164 | rarm = char["Right Arm"] | |
| 165 | larm = char["Left Arm"] | |
| 166 | rleg = char["Right Leg"] | |
| 167 | lleg = char["Left Leg"] | |
| 168 | rarm.Transparency = 1 | |
| 169 | larm.Transparency = 1 | |
| 170 | lleg.Transparency = 1 | |
| 171 | rleg.Transparency = 1 | |
| 172 | torso.Transparency = 1 | |
| 173 | activ = false | |
| 174 | sound = false | |
| 175 | Create = LoadLibrary("RbxUtility").Create
| |
| 176 | char.Animate:Destroy() | |
| 177 | hum = char:FindFirstChildOfClass("Humanoid")
| |
| 178 | hum.Animator:Destroy() | |
| 179 | hum.MaxHealth = math.huge | |
| 180 | hum.Health = math.huge | |
| 181 | hum.Name = "despacito" | |
| 182 | hum.JumpPower = 125 | |
| 183 | hum.WalkSpeed = 65 | |
| 184 | for _,c in pairs(char:GetChildren()) do | |
| 185 | if (c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "ShirtGraphic") and c.Name ~= "Cloth" then | |
| 186 | c:Remove() | |
| 187 | end | |
| 188 | end | |
| 189 | - | hed:FindFirstChildOfClass("SpecialMesh").MeshId = "http://www.roblox.com/asset/?id=1929105842"
|
| 189 | + | hed:FindFirstChildOfClass("SpecialMesh").MeshId = "http://www.roblox.com/asset/?id=3061647517"
|
| 190 | - | hed:FindFirstChildOfClass("SpecialMesh").TextureId = "http://www.roblox.com/asset/?id=1929112626"
|
| 190 | + | hed:FindFirstChildOfClass("SpecialMesh").TextureId = "http://www.roblox.com/asset/?id=3061648071"
|
| 191 | hed.face:Destroy() | |
| 192 | - | hed:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.82, 0.75, 1.02)
|
| 192 | + | hed:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(10, 10, 10)
|
| 193 | - | hed:FindFirstChildOfClass("SpecialMesh").Offset = Vector3.new(0,3.5,0)
|
| 193 | + | hed:FindFirstChildOfClass("SpecialMesh").Offset = Vector3.new(0, 8, 0)
|
| 194 | weld = Instance.new("Weld",hed)
| |
| 195 | weld.Part0 = hed | |
| 196 | weld.Part1 = torso | |
| 197 | weld.C0 = CFrame.Angles(math.rad(-180), math.rad(-90), math.rad(0)) | |
| 198 | weld.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 199 | despacitotext = Instance.new("Part",hed)
| |
| 200 | despacitotext.Name = "hedgehog" | |
| 201 | despacitotext.Size = Vector3.new(6.5,3,5.5) | |
| 202 | despacitotext.Transparency = 1 | |
| 203 | despacitotext.CanCollide = false | |
| 204 | weld.Part0 = despacitotext | |
| 205 | weld.Part1 = hed | |
| 206 | surfacegui = Instance.new("SurfaceGui",despacitotext)
| |
| 207 | text = Instance.new("TextLabel",surfacegui)
| |
| 208 | text.Size = UDim2.new(1,0,1,0) | |
| 209 | text.TextSize = 150 | |
| 210 | text.Font = Enum.Font.Legacy | |
| 211 | text.BackgroundTransparency = 1 | |
| 212 | surfacegui.AlwaysOnTop = true | |
| 213 | text.TextStrokeColor3 = Color3.fromRGB(255,0,0) | |
| 214 | text.TextStrokeTransparency = 0 | |
| 215 | text.TextColor3 = Color3.fromRGB(0,0,0) | |
| 216 | text.Text = "despacito" | |
| 217 | despacito = Instance.new("Sound",char)
| |
| 218 | - | despacito.SoundId = "rbxassetid://383427920" |
| 218 | + | despacito.SoundId = "rbxassetid://2119565742" |
| 219 | despacito.Volume = 0.1 | |
| 220 | despacito.EmitterSize = 1 | |
| 221 | despacito:Play() | |
| 222 | despacito.Name = "despacito" | |
| 223 | local seffect = Instance.new("ReverbSoundEffect",despacito)
| |
| 224 | char.ChildRemoved:connect(function(h) | |
| 225 | if h == despacito then | |
| 226 | despacito = Instance.new("Sound",char)
| |
| 227 | - | despacito.SoundId = "rbxassetid://383427920" |
| 227 | + | despacito.SoundId = "rbxassetid://2119565742" |
| 228 | despacito.Volume = 0.1 | |
| 229 | despacito.EmitterSize = 1 | |
| 230 | despacito:Play() | |
| 231 | despacito.Name = "despacito" | |
| 232 | despacito.TimePosition = despacito.TimePosition | |
| 233 | local seffect = Instance.new("ReverbSoundEffect",despacito)
| |
| 234 | end | |
| 235 | end) | |
| 236 | function RemoveOutlines(part) | |
| 237 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 238 | end | |
| 239 | CFuncs = {
| |
| 240 | Part = {
| |
| 241 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 242 | local Part = Create("Part")({
| |
| 243 | Parent = Parent, | |
| 244 | Reflectance = Reflectance, | |
| 245 | Transparency = Transparency, | |
| 246 | CanCollide = false, | |
| 247 | Locked = true, | |
| 248 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 249 | Name = Name, | |
| 250 | Size = Size, | |
| 251 | Material = Material | |
| 252 | }) | |
| 253 | RemoveOutlines(Part) | |
| 254 | if Size == Vector3.new() then | |
| 255 | Part.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 256 | else | |
| 257 | Part.Size = Size | |
| 258 | end | |
| 259 | return Part | |
| 260 | end | |
| 261 | }, | |
| 262 | Mesh = {
| |
| 263 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 264 | local Msh = Create(Mesh)({
| |
| 265 | Parent = Part, | |
| 266 | Offset = OffSet, | |
| 267 | Scale = Scale | |
| 268 | }) | |
| 269 | if Mesh == "SpecialMesh" then | |
| 270 | Msh.MeshType = MeshType | |
| 271 | Msh.MeshId = MeshId | |
| 272 | end | |
| 273 | return Msh | |
| 274 | end | |
| 275 | }, | |
| 276 | Weld = {
| |
| 277 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 278 | local Weld = Create("Weld")({
| |
| 279 | Parent = Parent, | |
| 280 | Part0 = Part0, | |
| 281 | Part1 = Part1, | |
| 282 | C0 = C0, | |
| 283 | C1 = C1 | |
| 284 | }) | |
| 285 | return Weld | |
| 286 | end | |
| 287 | }, | |
| 288 | Sound = {
| |
| 289 | Create = function(id, par, vol, pit) | |
| 290 | local Sound = Create("Sound")({
| |
| 291 | Volume = vol, | |
| 292 | Pitch = pit or 1, | |
| 293 | SoundId = "rbxassetid://" .. id, | |
| 294 | Parent = par or workspace | |
| 295 | }) | |
| 296 | Sound:play() | |
| 297 | return Sound | |
| 298 | end | |
| 299 | }, | |
| 300 | Decal = {
| |
| 301 | Create = function(Color, Texture, Transparency, Name, Parent) | |
| 302 | local Decal = Create("Decal")({
| |
| 303 | Color3 = Color, | |
| 304 | Texture = "rbxassetid://" .. Texture, | |
| 305 | Transparency = Transparency, | |
| 306 | Name = Name, | |
| 307 | Parent = Parent | |
| 308 | }) | |
| 309 | return Decal | |
| 310 | end | |
| 311 | }, | |
| 312 | BillboardGui = {
| |
| 313 | Create = function(Parent, Image, Position, Size) | |
| 314 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
| |
| 315 | BillPar.CFrame = CFrame.new(Position) | |
| 316 | local Bill = Create("BillboardGui")({
| |
| 317 | Parent = BillPar, | |
| 318 | Adornee = BillPar, | |
| 319 | Size = UDim2.new(1, 0, 1, 0), | |
| 320 | SizeOffset = Vector2.new(Size, Size) | |
| 321 | }) | |
| 322 | local d = Create("ImageLabel", Bill)({
| |
| 323 | Parent = Bill, | |
| 324 | BackgroundTransparency = 1, | |
| 325 | Size = UDim2.new(1, 0, 1, 0), | |
| 326 | Image = "rbxassetid://" .. Image | |
| 327 | }) | |
| 328 | return BillPar | |
| 329 | end | |
| 330 | }, | |
| 331 | ParticleEmitter = {
| |
| 332 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 333 | local Particle = Create("ParticleEmitter")({
| |
| 334 | Parent = Parent, | |
| 335 | Color = ColorSequence.new(Color1, Color2), | |
| 336 | LightEmission = LightEmission, | |
| 337 | Size = Size, | |
| 338 | Texture = Texture, | |
| 339 | Transparency = Transparency, | |
| 340 | ZOffset = ZOffset, | |
| 341 | Acceleration = Accel, | |
| 342 | Drag = Drag, | |
| 343 | LockedToPart = LockedToPart, | |
| 344 | VelocityInheritance = VelocityInheritance, | |
| 345 | EmissionDirection = EmissionDirection, | |
| 346 | Enabled = Enabled, | |
| 347 | Lifetime = LifeTime, | |
| 348 | Rate = Rate, | |
| 349 | Rotation = Rotation, | |
| 350 | RotSpeed = RotSpeed, | |
| 351 | Speed = Speed, | |
| 352 | VelocitySpread = VelocitySpread | |
| 353 | }) | |
| 354 | return Particle | |
| 355 | end | |
| 356 | }, | |
| 357 | CreateTemplate = {}
| |
| 358 | } | |
| 359 | function text(Pos, Text, Time, Color) | |
| 360 | local Rate = 0.03333333333333333 | |
| 361 | local Pos = Pos or Vector3.new(0, 0, 0) | |
| 362 | local Text = Text or "" | |
| 363 | local Time = Time or 2 | |
| 364 | local Color = Color or Color3.new(1, 0, 1) | |
| 365 | local EffectPart = CFuncs.Part.Create(hed, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 366 | EffectPart.Anchored = true | |
| 367 | local BillboardGui = Create("BillboardGui")({
| |
| 368 | Size = UDim2.new(3, 0, 3, 0), | |
| 369 | Adornee = EffectPart, | |
| 370 | Parent = EffectPart | |
| 371 | }) | |
| 372 | local TextLabel = Create("TextLabel")({
| |
| 373 | BackgroundTransparency = 1, | |
| 374 | Size = UDim2.new(1, 0, 1, 0), | |
| 375 | TextSize = 55, | |
| 376 | Text = Text, | |
| 377 | Font = Enum.Font.Cartoon, | |
| 378 | TextColor3 = Color3.fromRGB(255,255,255), | |
| 379 | TextScaled = false, | |
| 380 | Parent = BillboardGui | |
| 381 | }) | |
| 382 | game.Debris:AddItem(EffectPart, Time) | |
| 383 | EffectPart.Parent = game:GetService("Workspace")
| |
| 384 | delay(0, function() | |
| 385 | local Frames = Time / Rate | |
| 386 | for Frame = 1, Frames do | |
| 387 | wait(Rate) | |
| 388 | local Percent = Frame / Frames | |
| 389 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 390 | TextLabel.TextTransparency = Percent | |
| 391 | end | |
| 392 | if EffectPart and EffectPart.Parent then | |
| 393 | EffectPart:Destroy() | |
| 394 | end | |
| 395 | end) | |
| 396 | end | |
| 397 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 398 | ArtificialHB.Name = "ArtificialHB" | |
| 399 | ||
| 400 | script:WaitForChild("ArtificialHB")
| |
| 401 | Frame_Speed = 1 / 60 | |
| 402 | frame = Frame_Speed | |
| 403 | tf = 0 | |
| 404 | allowframeloss = false | |
| 405 | tossremainder = false | |
| 406 | lastframe = tick() | |
| 407 | script.ArtificialHB:Fire() | |
| 408 | ||
| 409 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 410 | tf = tf + s | |
| 411 | if tf >= frame then | |
| 412 | if allowframeloss then | |
| 413 | script.ArtificialHB:Fire() | |
| 414 | lastframe = tick() | |
| 415 | else | |
| 416 | for i = 1, math.floor(tf / frame) do | |
| 417 | script.ArtificialHB:Fire() | |
| 418 | end | |
| 419 | lastframe = tick() | |
| 420 | end | |
| 421 | if tossremainder then | |
| 422 | tf = 0 | |
| 423 | else | |
| 424 | tf = tf - frame * math.floor(tf / frame) | |
| 425 | end | |
| 426 | end | |
| 427 | end) | |
| 428 | ||
| 429 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 430 | --coroutine.resume(coroutine.create(function() | |
| 431 | local NEWSOUND = Instance.new("Sound", PARENT)
| |
| 432 | NEWSOUND.Volume = VOLUME | |
| 433 | NEWSOUND.Pitch = PITCH | |
| 434 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 435 | NEWSOUND:play() | |
| 436 | game:GetService("Debris"):AddItem(NEWSOUND, 100)
| |
| 437 | return NEWSOUND | |
| 438 | --end)) | |
| 439 | end | |
| 440 | function Swait(NUMBER) | |
| 441 | if NUMBER == 0 or NUMBER == nil then | |
| 442 | ArtificialHB.Event:wait() | |
| 443 | else | |
| 444 | for i = 1, NUMBER do | |
| 445 | ArtificialHB.Event:wait() | |
| 446 | end | |
| 447 | end | |
| 448 | end | |
| 449 | function itstimetostop() | |
| 450 | sound = true | |
| 451 | local snd = Instance.new("Sound",char)
| |
| 452 | snd.SoundId = "rbxassetid://358468903" | |
| 453 | snd.Volume = 0.1 | |
| 454 | snd.TimePosition = 0.25 | |
| 455 | snd.EmitterSize = 5 | |
| 456 | snd:Play() | |
| 457 | - | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ITS TIME TO STOP", 2, Color3.fromRGB(255,255,255)) |
| 457 | + | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "DOWNLOAD vlc MEDIA PLAYER", 2, Color3.fromRGB(255,255,255)) |
| 458 | wait(2) | |
| 459 | - | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ITS TIME TO STOP OKAY", 2, Color3.fromRGB(255,255,255)) |
| 459 | + | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "FOR FREE OR...", 2, Color3.fromRGB(255,255,255)) |
| 460 | wait(2.6) | |
| 461 | - | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "NO MORE", 2, Color3.fromRGB(255,255,255)) |
| 461 | + | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ILL FORCE YOU TO WATCH UGANDA KNUCKLE", 2, Color3.fromRGB(255,255,255)) |
| 462 | sound = false | |
| 463 | end | |
| 464 | function youbetterstop() | |
| 465 | sound = true | |
| 466 | local snd = Instance.new("Sound",char)
| |
| 467 | snd.SoundId = "rbxassetid://1246891273" | |
| 468 | snd.Volume = 0.1 | |
| 469 | snd.TimePosition = 1.2 | |
| 470 | snd:Play() | |
| 471 | snd.EmitterSize = 1 | |
| 472 | - | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "youbetterstop.mp3", 5.2, Color3.fromRGB(255,255,255)) |
| 472 | + | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "YOU FA'S GOT", 5.2, Color3.fromRGB(255,255,255)) |
| 473 | wait(5.2) | |
| 474 | sound = false | |
| 475 | end | |
| 476 | function ecksdee() | |
| 477 | sound = true | |
| 478 | local snd = Instance.new("Sound",char)
| |
| 479 | snd.SoundId = "rbxassetid://1486343908" | |
| 480 | snd.Volume = 0.1 | |
| 481 | snd:Play() | |
| 482 | snd.EmitterSize = 3 | |
| 483 | - | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ecks", 1, Color3.fromRGB(255,255,255)) |
| 483 | + | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "haha", 1, Color3.fromRGB(255,255,255)) |
| 484 | wait(0.95) | |
| 485 | - | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "dee", 1, Color3.fromRGB(255,255,255)) |
| 485 | + | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "yes", 1, Color3.fromRGB(255,255,255)) |
| 486 | sound = false | |
| 487 | end | |
| 488 | function lukatthisdude() | |
| 489 | sound = true | |
| 490 | local snd = Instance.new("Sound",char)
| |
| 491 | snd.SoundId = "rbxassetid://525498255" | |
| 492 | snd.Volume = 0.1 | |
| 493 | snd:Play() | |
| 494 | snd.EmitterSize = 3.5 | |
| 495 | - | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "lookatthisdude.mp3", 27, Color3.fromRGB(255,255,255)) |
| 495 | + | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "WHEEZE", 27, Color3.fromRGB(255,255,255)) |
| 496 | wait(27) | |
| 497 | sound = false | |
| 498 | end | |
| 499 | function stopdespacito() | |
| 500 | if despacito.Playing == true then | |
| 501 | despacito:Pause() | |
| 502 | elseif despacito.Playing == false then | |
| 503 | despacito:Play() | |
| 504 | end | |
| 505 | end | |
| 506 | function bruh() | |
| 507 | sound = true | |
| 508 | local snd = Instance.new("Sound",char)
| |
| 509 | snd.SoundId = "rbxassetid://170040190" | |
| 510 | snd.Volume = 0.1 | |
| 511 | snd:Play() | |
| 512 | snd.EmitterSize = 3 | |
| 513 | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "bRUH", 1.7, Color3.fromRGB(255,255,255)) | |
| 514 | wait(1.7) | |
| 515 | sound = false | |
| 516 | end | |
| 517 | SHIELD = false | |
| 518 | function shield() | |
| 519 | IT = Instance.new | |
| 520 | VT = Vector3.new | |
| 521 | RootPart = char.HumanoidRootPart | |
| 522 | CF = CFrame.new | |
| 523 | if SHIELD == false then | |
| 524 | SHIELD = true | |
| 525 | - | warn("YO TENGO")
|
| 525 | + | warn("fuk u")
|
| 526 | coroutine.resume(coroutine.create(function() | |
| 527 | local yotengo = IT("Part",char)
| |
| 528 | yotengo.Size = VT(5,12,0) | |
| 529 | yotengo.CFrame = RootPart.CFrame * CF(0,3,-7) | |
| 530 | yotengo.Anchored = true | |
| 531 | local mesh = IT("SpecialMesh",yotengo)
| |
| 532 | mesh.MeshType = "FileMesh" | |
| 533 | - | mesh.MeshId = "http://www.roblox.com/asset/?id=444051415" |
| 533 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=3061647517" |
| 534 | - | mesh.TextureId = "http://www.roblox.com/asset/?id=444051418" |
| 534 | + | mesh.TextureId = "http://www.roblox.com/asset/?id=3061648071" |
| 535 | mesh.Scale = VT(3,3,3) | |
| 536 | - | CreateSound("1045722646", yotengo, 50, 1)
|
| 536 | + | CreateSound("1212241248", yotengo, 50, 1)
|
| 537 | local woosh = yotengo.Touched:Connect(function(hit) | |
| 538 | if hit.Parent.ClassName == "Model" then | |
| 539 | hit.Parent:BreakJoints() | |
| 540 | - | CreateSound("978878312", hit, 2, 1)
|
| 540 | + | CreateSound("919941001", hit, 2, 1)
|
| 541 | elseif hit.ClassName == "Part" and hit.Anchored == false then | |
| 542 | hit:remove() | |
| 543 | end | |
| 544 | end) | |
| 545 | woosh:disconnect() | |
| 546 | - | CreateSound("1045722646", yotengo, 50, 1)
|
| 546 | + | CreateSound("919941001", yotengo, 50, 1)
|
| 547 | yotengo.Anchored = false | |
| 548 | local bv = Instance.new("BodyVelocity")
| |
| 549 | bv.maxForce = Vector3.new(4e9, 4e9, 4e9) | |
| 550 | bv.velocity = RootPart.CFrame.lookVector*300 | |
| 551 | bv.Parent = yotengo | |
| 552 | bv.Name = "speedy" | |
| 553 | local paw = yotengo.Touched:Connect(function(hit) | |
| 554 | if hit.Parent.ClassName == "Model" then | |
| 555 | yotengo:remove() | |
| 556 | hit.Parent:BreakJoints() | |
| 557 | wait(0.1) | |
| 558 | hit.Parent:ClearAllChildren() | |
| 559 | end | |
| 560 | end) | |
| 561 | end)) | |
| 562 | elseif SHIELD == true then | |
| 563 | SHIELD = false | |
| 564 | end | |
| 565 | end | |
| 566 | mouse.KeyDown:connect(function(k) | |
| 567 | if k == "z" and sound == false then | |
| 568 | itstimetostop() | |
| 569 | elseif k == "x" and sound == false then | |
| 570 | youbetterstop() | |
| 571 | elseif k == "c" and sound == false then | |
| 572 | ecksdee() | |
| 573 | elseif k == "v" and sound == false then | |
| 574 | lukatthisdude() | |
| 575 | elseif k == "b" then | |
| 576 | stopdespacito() | |
| 577 | elseif k == "n" and sound == false then | |
| 578 | bruh() | |
| 579 | elseif k == "q" and sound == true then | |
| 580 | print("sounds delay resetted!")
| |
| 581 | sound = false | |
| 582 | elseif k == "f" then | |
| 583 | shield() | |
| 584 | end | |
| 585 | end) |