SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 3 | do | |
| 4 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 5 | script.Parent = Player.Character | |
| 6 | - | local you = game.Workspace["MasterdMayonase"] |
| 6 | + | |
| 7 | - | local mouse = game.Players.LocalPlayer:GetMouse() |
| 7 | + | --RemoteEvent for communicating |
| 8 | local Event = Instance.new("RemoteEvent")
| |
| 9 | Event.Name = "UserInput_Event" | |
| 10 | ||
| 11 | --Fake event to make stuff like Mouse.KeyDown work | |
| 12 | local function fakeEvent() | |
| 13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 14 | t.connect = t.Connect | |
| 15 | return t | |
| 16 | end | |
| 17 | ||
| 18 | --Creating fake input objects with fake variables | |
| 19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 23 | end} | |
| 24 | --Merged 2 functions into one by checking amount of arguments | |
| 25 | CAS.UnbindAction = CAS.BindAction | |
| 26 | ||
| 27 | --This function will trigger the events that have been :Connect()'ed | |
| 28 | local function te(self,ev,...) | |
| 29 | local t = m[ev] | |
| 30 | if t and t._fakeEvent and t.Function then | |
| 31 | t.Function(...) | |
| 32 | end | |
| 33 | end | |
| 34 | m.TrigEvent = te | |
| 35 | UIS.TrigEvent = te | |
| 36 | ||
| 37 | Event.OnServerEvent:Connect(function(plr,io) | |
| 38 | if plr~=Player then return end | |
| 39 | if io.isMouse then | |
| 40 | m.Target = io.Target | |
| 41 | m.Hit = io.Hit | |
| 42 | else | |
| 43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 46 | end | |
| 47 | for _,t in pairs(CAS.Actions) do | |
| 48 | for _,k in pairs(t.Keys) do | |
| 49 | if k==io.KeyCode then | |
| 50 | t.Function(t.Name,io.UserInputState,io) | |
| 51 | end | |
| 52 | end | |
| 53 | end | |
| 54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 56 | end | |
| 57 | end) | |
| 58 | Event.Parent = NLS([==[ | |
| 59 | local Player = game:GetService("Players").LocalPlayer
| |
| 60 | local Event = script:WaitForChild("UserInput_Event")
| |
| 61 | ||
| 62 | local UIS = game:GetService("UserInputService")
| |
| 63 | local input = function(io,a) | |
| 64 | if a then return end | |
| 65 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 67 | end | |
| 68 | UIS.InputBegan:Connect(input) | |
| 69 | UIS.InputEnded:Connect(input) | |
| 70 | ||
| 71 | local Mouse = Player:GetMouse() | |
| 72 | local h,t | |
| 73 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 74 | --If player is not moving their mouse, client won't fire events | |
| 75 | while wait(1/30) do | |
| 76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 77 | h,t=Mouse.Hit,Mouse.Target | |
| 78 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 79 | end | |
| 80 | end]==],Player.Character) | |
| 81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 82 | end | |
| 83 | --Dio Brando script by: MasterdMayonase | |
| 84 | --Thanks devapainpath for his clothing | |
| 85 | --Ver[1.0] | |
| 86 | --Replace XTheShowcaserX with your name. | |
| 87 | --Chances | |
| 88 | local you = game.Workspace["sanicisdabomb"] | |
| 89 | local mouse = owner | |
| 90 | local color = BrickColor.new("Dark stone grey")
| |
| 91 | local msg = game:GetService("Chat")
| |
| 92 | local busy = false | |
| 93 | --________________________________________________________________-- | |
| 94 | --------------------------------------------------------------------l | |
| 95 | --------------------------------------------------------------------l | |
| 96 | ---------DO NOT MESS WITH ANYTHING BELOW----------------------------l | |
| 97 | --------------------------------------------------------------------l | |
| 98 | --------------------------------------------------------------------] | |
| 99 | c = you:GetChildren() | |
| 100 | for i = 1, #c do | |
| 101 | if c[i].ClassName == "Shirt" or c[i].ClassName == "Pants" or c[i].ClassName == "CharacterMesh" then | |
| 102 | c[i]:Remove() | |
| 103 | end end | |
| 104 | shirt = Instance.new("Shirt")
| |
| 105 | shirt.Parent = you | |
| 106 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=517319506" | |
| 107 | pants = Instance.new("Pants")
| |
| 108 | pants.Parent = you | |
| 109 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=772991112" | |
| 110 | -- | |
| 111 | bowl = Instance.new("Part")
| |
| 112 | Instance.new("SpecialMesh").Parent = bowl
| |
| 113 | bowl.Mesh.MeshType = "FileMesh" | |
| 114 | bowl.Mesh.MeshId = "http://www.roblox.com/asset/?id=19380188" | |
| 115 | bowl.BrickColor = BrickColor.new("New Yeller")
| |
| 116 | bowl.Mesh.Scale = Vector3.new(1.5, 1.4, 1.5) | |
| 117 | bowl.Parent = you | |
| 118 | ||
| 119 | bowl2 = Instance.new("Part")
| |
| 120 | Instance.new("SpecialMesh").Parent = bowl2
| |
| 121 | bowl2.Mesh.MeshType = "FileMesh" | |
| 122 | bowl2.Mesh.MeshId = "http://www.roblox.com/asset/?id=19380188" | |
| 123 | bowl2.BrickColor = BrickColor.new("New Yeller")
| |
| 124 | bowl2.Mesh.Scale = Vector3.new(1.4, 1.4, 1.4) | |
| 125 | bowl2.Parent = you | |
| 126 | -- | |
| 127 | collar = Instance.new("Weld")
| |
| 128 | collar.Parent = you.Torso | |
| 129 | collar.Part0 = bowl | |
| 130 | collar.Part1 = you.Torso | |
| 131 | collar.C0 = collar.C0*CFrame.Angles(0, 0, 3.15) | |
| 132 | collar.C0 = collar.C0*CFrame.new(0, -0.6, 0) | |
| 133 | ||
| 134 | collar2 = Instance.new("Weld")
| |
| 135 | collar2.Parent = you.Torso | |
| 136 | collar2.Part0 = bowl2 | |
| 137 | collar2.Part1 = you.Torso | |
| 138 | collar2.C0 = collar2.C0*CFrame.Angles(0, 0, 3.15) | |
| 139 | collar2.C0 = collar2.C0*CFrame.new(0, -0.6, 0) | |
| 140 | ------------------------------------------------------------- | |
| 141 | ------------------------------------------------------------- | |
| 142 | -----------Most Critical part of the script------------------ | |
| 143 | ------------------------------------------------------------- | |
| 144 | ------------------------------------------------------------- | |
| 145 | function kf(key) | |
| 146 | key:lower() | |
| 147 | if key == "f" then | |
| 148 | if not busy then | |
| 149 | busy = true | |
| 150 | m = Instance.new("Message")
| |
| 151 | m2 = Instance.new("Message")
| |
| 152 | m3 = Instance.new("Message")
| |
| 153 | m4 = Instance.new("Message")
| |
| 154 | ||
| 155 | m.Text = "Now this world" | |
| 156 | m2.Text = "Shall know" | |
| 157 | m3.Text = "Pain" | |
| 158 | for i = 1, 1 do | |
| 159 | bodyvelocity1 = Instance.new("BodyVelocity")
| |
| 160 | bodyvelocity1.maxForce = Vector3.new(99999999999999999999, 999999999999999999999, 39) | |
| 161 | bodyvelocity1.velocity = Vector3.new(0, 3, 0) | |
| 162 | bodyvelocity1.Parent = you.Torso | |
| 163 | m.Parent = game.Workspace | |
| 164 | wait(1) | |
| 165 | m:Remove() | |
| 166 | m2.Parent = game.Workspace | |
| 167 | wait(1) | |
| 168 | m2:Remove() | |
| 169 | m3.Parent = game.Workspace | |
| 170 | wait(1) | |
| 171 | m3:Remove() | |
| 172 | wait(3) | |
| 173 | Instance.new("ForceField").Parent = you
| |
| 174 | you.Head.Anchored = true | |
| 175 | delete = you.Torso:GetChildren() | |
| 176 | for rep1 = 1, #delete do | |
| 177 | if delete[rep1].Name == "BodyVelocity" then | |
| 178 | delete[rep1]:Remove() | |
| 179 | msg:Chat(you.Head, "Shirai Tensei!", Enum.ChatColor.Red) | |
| 180 | m3.Parent = game.Workspace | |
| 181 | push = Instance.new("Part")
| |
| 182 | push.Parent = you | |
| 183 | push.Name = "Ulmighty" | |
| 184 | push.Size = Vector3.new(300, 300, 300) | |
| 185 | push.Anchored = true | |
| 186 | push.CanCollide = false | |
| 187 | push.TopSurface = "Smooth" | |
| 188 | push.BottomSurface = "Smooth" | |
| 189 | push.BrickColor = BrickColor.new("Dark stone grey")
| |
| 190 | push.Reflectance = 0.3 | |
| 191 | push.Transparency = 0.3 | |
| 192 | push.CFrame = you.Torso.CFrame*CFrame.new(0, -3, 0) | |
| 193 | function OnTouched(Victim) | |
| 194 | boom = Instance.new("Explosion")
| |
| 195 | boom.Name = "Die" | |
| 196 | boom.ExplosionType = "CratersAndDebris" | |
| 197 | boom:Clone().Parent = Victim | |
| 198 | Victim.Die.Position = Victim.Position | |
| 199 | Victim.Anchored = false | |
| 200 | end | |
| 201 | push.Touched:connect(OnTouched) | |
| 202 | Instance.new("SpecialMesh").Parent = push
| |
| 203 | push.Mesh.MeshType = "Sphere" | |
| 204 | push.Mesh.Scale = Vector3.new(0.1, 0.1, 0.1) | |
| 205 | wait(0.05) | |
| 206 | push.Mesh.Scale = Vector3.new(0.2, 0.2, 0.2) | |
| 207 | wait(0.05) | |
| 208 | push.Mesh.Scale = Vector3.new(0.3, 0.3, 0.3) | |
| 209 | wait(0.05) | |
| 210 | push.Mesh.Scale = Vector3.new(0.4, 0.4, 0.4) | |
| 211 | wait(0.05) | |
| 212 | push.Mesh.Scale = Vector3.new(0.5, 0.5, 0.5) | |
| 213 | wait(0.05) | |
| 214 | push.Mesh.Scale = Vector3.new(0.6, 0.6, 0.6) | |
| 215 | wait(0.05) | |
| 216 | push.Mesh.Scale = Vector3.new(0.7, 0.7, 0.7) | |
| 217 | wait(0.05) | |
| 218 | push.Mesh.Scale = Vector3.new(0.8, 0.8, 0.8) | |
| 219 | wait(0.05) | |
| 220 | push.Mesh.Scale = Vector3.new(0.9, 0.9, 0.9) | |
| 221 | wait(0.05) | |
| 222 | push.Mesh.Scale = Vector3.new(1, 1, 1) | |
| 223 | wait(1) | |
| 224 | push.Transparency = 0.4 | |
| 225 | wait(0.05) | |
| 226 | push.Transparency = 0.5 | |
| 227 | wait(0.05) | |
| 228 | push.Transparency = 0.6 | |
| 229 | wait(0.05) | |
| 230 | push.Transparency = 0.7 | |
| 231 | wait(0.05) | |
| 232 | push.Transparency = 0.8 | |
| 233 | wait(0.05) | |
| 234 | push.Transparency = 0.9 | |
| 235 | wait(0.05) | |
| 236 | push.Transparency = 1 | |
| 237 | push:Remove() | |
| 238 | end | |
| 239 | end | |
| 240 | end | |
| 241 | wait(0.1) | |
| 242 | you.Head.Anchored = false | |
| 243 | you.ForceField:Remove() | |
| 244 | busy = false | |
| 245 | end | |
| 246 | end | |
| 247 | end | |
| 248 | mouse.KeyDown:connect(kf) | |
| 249 | ||
| 250 | function kg(key) | |
| 251 | key:lower() | |
| 252 | if key == "g" | |
| 253 | then if busy == false then | |
| 254 | busy = true | |
| 255 | you.Archivable = true | |
| 256 | you.Humanoid.WalkSpeed = 0 | |
| 257 | msg:Chat(you.Head, "BBOSS style: Path throw!", Enum.ChatColor.Blue) | |
| 258 | you.Animate.Disabled = true | |
| 259 | you.Torso["Left Shoulder"].DesiredAngle = -2 | |
| 260 | wait(1) | |
| 261 | you.Animate.Disabled = false | |
| 262 | path = you:Clone() | |
| 263 | path.Parent = game.Workspace | |
| 264 | path.Torso.CFrame = you.Torso.CFrame*CFrame.new(0, 0, -5) | |
| 265 | path.Humanoid.Jump = true | |
| 266 | wait(0.5) | |
| 267 | force = Instance.new("BodyVelocity")
| |
| 268 | force.Parent = path.Torso | |
| 269 | force.maxForce = Vector3.new(999999999999999999, 399, 3999999) | |
| 270 | force.velocity = path.Torso.CFrame.lookVector*30 | |
| 271 | wait(3) | |
| 272 | Instance.new("Explosion").Parent = path.Torso
| |
| 273 | path.Torso.Explosion.Position = path.Torso.Position | |
| 274 | path.Torso.Explosion.BlastRadius = 3 | |
| 275 | wait(0.5) | |
| 276 | path:Remove() | |
| 277 | you.Humanoid.WalkSpeed = 16 | |
| 278 | busy = false | |
| 279 | end | |
| 280 | end | |
| 281 | end | |
| 282 | mouse.KeyDown:connect(kg) | |
| 283 | ||
| 284 | function kj(key) | |
| 285 | key:lower() | |
| 286 | if key == "j" | |
| 287 | then if busy == false then | |
| 288 | busy = true | |
| 289 | you.Humanoid.WalkSpeed = 0 | |
| 290 | you.Animate.Disabled = true | |
| 291 | msg:Chat(you.Head, "BBOSS style: Universal Push!", Enum.ChatColor.Blue) | |
| 292 | you.Torso["Left Shoulder"].DesiredAngle = -2 | |
| 293 | you.Torso["Right Shoulder"].DesiredAngle = 2 | |
| 294 | tensai = Instance.new("Part")
| |
| 295 | tensai.Parent = you | |
| 296 | tensai.CFrame = you.Torso.CFrame*CFrame.new(0, 1, -90) | |
| 297 | tensai.Anchored = false | |
| 298 | tensai.CanCollide = false | |
| 299 | tensai.Size = Vector3.new(65, 30, 9) | |
| 300 | tensai.Transparency = 1 | |
| 301 | push = Instance.new("BodyVelocity")
| |
| 302 | push.maxForce = Vector3.new(3,3999999,39999999) | |
| 303 | up = Instance.new("BodyVelocity")
| |
| 304 | up.maxForce = Vector3.new(3,3999999,39999999) | |
| 305 | up.velocity = tensai.CFrame.lookVector*-40 | |
| 306 | push.velocity = you.Torso.CFrame.lookVector*-40 | |
| 307 | push.Parent = tensai | |
| 308 | function pp(part) | |
| 309 | up:clone().Parent = part | |
| 310 | wait(2) | |
| 311 | part.BodyVelocity:Remove() | |
| 312 | end | |
| 313 | tensai.Touched:connect(pp) | |
| 314 | wait(1.8) | |
| 315 | tensai:Remove() | |
| 316 | you.Animate.Disabled = false | |
| 317 | you.Humanoid.WalkSpeed = 16 | |
| 318 | busy = false | |
| 319 | end | |
| 320 | end | |
| 321 | end | |
| 322 | mouse.KeyDown:connect(kj) | |
| 323 | ||
| 324 | function kk(key) | |
| 325 | key:lower() | |
| 326 | if key == "k" | |
| 327 | then if busy == false then | |
| 328 | busy = true | |
| 329 | you.Humanoid.WalkSpeed = 0 | |
| 330 | you.Animate.Disabled = true | |
| 331 | msg:Chat(you.Head, "BBOSS style: Universal Pull!", Enum.ChatColor.Blue) | |
| 332 | you.Torso["Left Shoulder"].DesiredAngle = -2 | |
| 333 | you.Torso["Right Shoulder"].DesiredAngle = 2 | |
| 334 | tensai = Instance.new("Part")
| |
| 335 | tensai.Parent = you | |
| 336 | tensai.CFrame = you.Torso.CFrame*CFrame.new(0, 1, -90) | |
| 337 | tensai.Anchored = false | |
| 338 | tensai.CanCollide = false | |
| 339 | tensai.Size = Vector3.new(65, 30, 9) | |
| 340 | tensai.Transparency = 1 | |
| 341 | push = Instance.new("BodyVelocity")
| |
| 342 | push.maxForce = Vector3.new(3,3,3) | |
| 343 | push.velocity = you.Torso.CFrame.lookVector*-40 | |
| 344 | push.Parent = tensai | |
| 345 | up = Instance.new("BodyVelocity")
| |
| 346 | up.maxForce = Vector3.new(3,3,3) | |
| 347 | up.velocity = tensai.CFrame.lookVector*40 | |
| 348 | function pp(part) | |
| 349 | up:clone().Parent = part | |
| 350 | wait(2) | |
| 351 | part.BodyVelocity:Remove() | |
| 352 | end | |
| 353 | tensai.Touched:connect(pp) | |
| 354 | wait(1.8) | |
| 355 | tensai:Remove() | |
| 356 | you.Animate.Disabled = false | |
| 357 | you.Humanoid.WalkSpeed = 16 | |
| 358 | busy = false | |
| 359 | end | |
| 360 | end | |
| 361 | end | |
| 362 | mouse.KeyDown:connect(kk) | |
| 363 | ||
| 364 | function ll(key) | |
| 365 | key:lower() | |
| 366 | if key == "l" | |
| 367 | then if busy == false then | |
| 368 | busy = true | |
| 369 | you.Humanoid.WalkSpeed = 0 | |
| 370 | you.Animate.Disabled = true | |
| 371 | msg:Chat(you.Head, "BBOSS style: Summonning!", Enum.ChatColor.Red) | |
| 372 | push = Instance.new("BodyVelocity")
| |
| 373 | push.maxForce = Vector3.new(3,3,3) | |
| 374 | push.velocity = you.Torso.CFrame.lookVector*-80 | |
| 375 | push.Parent = you.Head | |
| 376 | wten = Instance.new("Weld")
| |
| 377 | tensai = Instance.new("Part")
| |
| 378 | tensai.Parent = game.Workspace | |
| 379 | tensai.Anchored = false | |
| 380 | tensai.CanCollide = false | |
| 381 | tensai.Size = Vector3.new(12, 9.6, 39) | |
| 382 | tensai.Transparency = 0 | |
| 383 | wten.Parent = you.Torso | |
| 384 | wten.Part1 = you.Torso | |
| 385 | wten.Part0 = tensai | |
| 386 | wten.C0 = wten.C0*CFrame.new(0, 1, 0) | |
| 387 | wten.C1 = wten.C1*CFrame.new(0, -8, 0) | |
| 388 | lobby = Instance.new("SpecialMesh")
| |
| 389 | lobby.MeshType = "FileMesh" | |
| 390 | lobby.MeshId = "http://www.roblox.com/asset/?id=15158219" | |
| 391 | lobby.Parent = tensai | |
| 392 | lobby.TextureId = "http://www.roblox.com/asset/?id=15158208" | |
| 393 | lobby.Scale = Vector3.new(3, 3, 3) | |
| 394 | ||
| 395 | function pp(part) | |
| 396 | push:clone().Parent = part | |
| 397 | wait(1) | |
| 398 | part.BodyVelocity:Remove() | |
| 399 | end | |
| 400 | tensai.Touched:connect(pp) | |
| 401 | wait(3) | |
| 402 | wten:Remove() | |
| 403 | tensai:Remove() | |
| 404 | push:Remove() | |
| 405 | you.Animate.Disabled = false | |
| 406 | you.Humanoid.WalkSpeed = 16 | |
| 407 | busy = false | |
| 408 | end | |
| 409 | end | |
| 410 | end | |
| 411 | mouse.KeyDown:connect(ll) |