SHOW:
|
|
- or go back to the newest paste.
| 1 | --just put this on the top of a script and boom 89% works | |
| 2 | --note this does not work on big scripts | |
| 3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 4 | local Player,game,owner = owner,game | |
| 5 | local RealPlayer = Player | |
| 6 | do | |
| 7 | local rp = RealPlayer | |
| 8 | script.Parent = rp.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | ||
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local function fakeEvent() | |
| 16 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 17 | t.connect = t.Connect | |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | --Creating fake input objects with fake variables | |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent then | |
| 34 | for _,f in pairs(t.Functions) do | |
| 35 | f(...) | |
| 36 | end | |
| 37 | end | |
| 38 | end | |
| 39 | m.TrigEvent = te | |
| 40 | UIS.TrigEvent = te | |
| 41 | ||
| 42 | Event.OnServerEvent:Connect(function(plr,io) | |
| 43 | if plr~=rp then return end | |
| 44 | m.Target = io.Target | |
| 45 | m.Hit = io.Hit | |
| 46 | if not io.isMouse then | |
| 47 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 48 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 49 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 50 | end | |
| 51 | for _,t in pairs(CAS.Actions) do | |
| 52 | for _,k in pairs(t.Keys) do | |
| 53 | if k==io.KeyCode then | |
| 54 | t.Function(t.Name,io.UserInputState,io) | |
| 55 | end | |
| 56 | end | |
| 57 | end | |
| 58 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 59 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 60 | end | |
| 61 | end) | |
| 62 | Event.Parent = NLS([==[ | |
| 63 | local Player = game:GetService("Players").LocalPlayer
| |
| 64 | local Event = script:WaitForChild("UserInput_Event")
| |
| 65 | ||
| 66 | local Mouse = Player:GetMouse() | |
| 67 | local UIS = game:GetService("UserInputService")
| |
| 68 | local input = function(io,a) | |
| 69 | if a then return end | |
| 70 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 71 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 72 | end | |
| 73 | UIS.InputBegan:Connect(input) | |
| 74 | UIS.InputEnded:Connect(input) | |
| 75 | ||
| 76 | local h,t | |
| 77 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 78 | --If player is not moving their mouse, client won't fire events | |
| 79 | while wait(1/30) do | |
| 80 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 81 | h,t=Mouse.Hit,Mouse.Target | |
| 82 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 83 | end | |
| 84 | end]==],Player.Character) | |
| 85 | ||
| 86 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 87 | --Real game object | |
| 88 | local _rg = game | |
| 89 | ||
| 90 | --Metatable for fake service | |
| 91 | local fsmt = {
| |
| 92 | __index = function(self,k) | |
| 93 | local s = rawget(self,"_RealService") | |
| 94 | if s then return s[k] end | |
| 95 | end, | |
| 96 | __newindex = function(self,k,v) | |
| 97 | local s = rawget(self,"_RealService") | |
| 98 | if s then s[k]=v end | |
| 99 | end, | |
| 100 | __call = function(self,...) | |
| 101 | local s = rawget(self,"_RealService") | |
| 102 | if s then return s(...) end | |
| 103 | end | |
| 104 | } | |
| 105 | local function FakeService(t,RealService) | |
| 106 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 107 | return setmetatable(t,fsmt) | |
| 108 | end | |
| 109 | ||
| 110 | --Fake game object | |
| 111 | local g = {
| |
| 112 | GetService = function(self,s) | |
| 113 | return self[s] | |
| 114 | end, | |
| 115 | Players = FakeService({
| |
| 116 | - | music.SoundId = "http://www.roblox.com/asset/?id=364338573" |
| 116 | + | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
|
| 117 | },"Players"), | |
| 118 | - | music.Volume = 10 |
| 118 | + | UserInputService = FakeService(UIS,"UserInputService"), |
| 119 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 120 | } | |
| 121 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 122 | g.service = g.GetService | |
| 123 | ||
| 124 | g.RunService = FakeService({
| |
| 125 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 126 | BindToRenderStep = function(self,name,_,fun) | |
| 127 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 128 | end, | |
| 129 | UnbindFromRenderStep = function(self,name) | |
| 130 | self._btrs[name]:Disconnect() | |
| 131 | end, | |
| 132 | },"RunService") | |
| 133 | ||
| 134 | setmetatable(g,{
| |
| 135 | __index=function(self,s) | |
| 136 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
| 137 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
| 138 | end, | |
| 139 | __newindex = fsmt.__newindex, | |
| 140 | __call = fsmt.__call | |
| 141 | }) | |
| 142 | --Changing owner to fake player object to support owner:GetMouse() | |
| 143 | game,owner = g,g.Players.LocalPlayer | |
| 144 | end | |
| 145 | ||
| 146 | ||
| 147 | ||
| 148 | ||
| 149 | --made by coolallball :> | |
| 150 | ||
| 151 | local p = game.Players.LocalPlayer | |
| 152 | local char = p.Character | |
| 153 | local mouse = p:GetMouse() | |
| 154 | local larm = char["Left Arm"] | |
| 155 | local rarm = char["Right Arm"] | |
| 156 | local lleg = char["Left Leg"] | |
| 157 | local rleg = char["Right Leg"] | |
| 158 | local hed = char.Head | |
| 159 | - | music.SoundId = "http://www.roblox.com/asset/?id=364338573" |
| 159 | + | |
| 160 | local hum = char.Humanoid | |
| 161 | local root = char.HumanoidRootPart | |
| 162 | local tool = script.Parent | |
| 163 | chat = game:GetService("Chat")
| |
| 164 | LS = torso["Left Shoulder"] | |
| 165 | LH = torso["Left Hip"] | |
| 166 | RS = torso["Right Shoulder"] | |
| 167 | RH = torso["Right Hip"] | |
| 168 | Neck = torso.Neck | |
| 169 | RootPart = char.HumanoidRootPart | |
| 170 | RootJoint = RootPart.RootJoint | |
| 171 | ismad = false | |
| 172 | miku = false | |
| 173 | leeking = true | |
| 174 | wait(.2) | |
| 175 | ||
| 176 | RS.C0 = RS.C0*CFrame.fromEulerAnglesXYZ(0,0,(math.rad(90))) | |
| 177 | ||
| 178 | ||
| 179 | ||
| 180 | local leekmain = Instance.new("Part", char)
| |
| 181 | leekmain.BrickColor = BrickColor.new("Pearl")
| |
| 182 | leekmain.Size = Vector3.new(2,.2,2) | |
| 183 | leekmain.Shape = "Cylinder" | |
| 184 | leekmain.BottomSurface = Enum.SurfaceType.Smooth | |
| 185 | leekmain.TopSurface = Enum.SurfaceType.Smooth | |
| 186 | leekmain.Anchored = false | |
| 187 | leekmain.CanCollide = false | |
| 188 | ||
| 189 | ||
| 190 | local leekgreen1 = Instance.new("Part", char)
| |
| 191 | leekgreen1.Size = Vector3.new(.25,1,.25) | |
| 192 | leekgreen1.BrickColor = BrickColor.new("Sea green")
| |
| 193 | leekgreen1.Anchored = false | |
| 194 | leekgreen1.CanCollide = false | |
| 195 | leekgreen1.TopSurface = Enum.SurfaceType.Smooth | |
| 196 | leekgreen1.BottomSurface = Enum.SurfaceType.Smooth | |
| 197 | leekgreen1.CFrame = torso.CFrame | |
| 198 | local leekgreen2 = leekgreen1:Clone() | |
| 199 | leekgreen2.BrickColor = BrickColor.new("Sea green")
| |
| 200 | leekgreen2.Parent = char | |
| 201 | leekgreen1.CFrame = leekmain.CFrame*CFrame.new(0,1.13,.2) | |
| 202 | leekgreen1.CFrame = leekgreen1.CFrame*CFrame.Angles(math.rad(45),0,0) | |
| 203 | leekgreen2.CFrame = leekmain.CFrame*CFrame.new(0,1.13,-.2) | |
| 204 | leekgreen2.CFrame = leekgreen2.CFrame*CFrame.Angles(math.rad(-45),0,0) | |
| 205 | leekmain.CFrame = leekmain.CFrame*CFrame.Angles(0,0,(math.rad(0))) | |
| 206 | ||
| 207 | ||
| 208 | local leekmarm = Instance.new("Weld", char["Right Arm"])
| |
| 209 | leekmarm.Part0 = char["Right Arm"] | |
| 210 | leekmarm.Part1 = leekmain | |
| 211 | ||
| 212 | local leek1arm=Instance.new("Weld", char["Right Arm"])
| |
| 213 | leek1arm.Part0 = leekmain | |
| 214 | leek1arm.Part1 = leekgreen1 | |
| 215 | ||
| 216 | local leek2arm = Instance.new("Weld", char["Right Arm"])
| |
| 217 | leek2arm.Part0 = leekmain | |
| 218 | leek2arm.Part1 = leekgreen2 | |
| 219 | ||
| 220 | leekmarm.C0 = CFrame.new(0,-1,-.2)*CFrame.Angles(0,(math.rad(90)),0) | |
| 221 | - | music.SoundId = "http://www.roblox.com/asset/?id=364338573" |
| 221 | + | |
| 222 | leek2arm.C0 = CFrame.new(1.13,0,-.3)*CFrame.Angles(0,(math.rad(45)),(math.rad(90))) | |
| 223 | wait() | |
| 224 | spawn(function() | |
| 225 | ||
| 226 | while true do | |
| 227 | for i =1,5 do | |
| 228 | wait() | |
| 229 | leekmarm.C0 = leekmarm.C0*CFrame.Angles(0,(math.rad(18)),0) | |
| 230 | end | |
| 231 | end | |
| 232 | end) | |
| 233 | ||
| 234 | ||
| 235 | ||
| 236 | local function trail() | |
| 237 | local trail = Instance.new("Part", leekgreen2)
| |
| 238 | trail.Size = Vector3.new(0,0,.4) | |
| 239 | trail.Transparency = .5 | |
| 240 | trail.Anchored = true | |
| 241 | trail.CFrame = leekgreen2.CFrame*CFrame.new(0,-.5,0) | |
| 242 | trail.CanCollide = false | |
| 243 | ||
| 244 | for i =0,5,.2 do | |
| 245 | trail.Transparency = i | |
| 246 | wait() | |
| 247 | end | |
| 248 | trail:Destroy() | |
| 249 | end | |
| 250 | spawn(function() | |
| 251 | while leeking == true do | |
| 252 | ||
| 253 | ||
| 254 | ||
| 255 | spawn(function() | |
| 256 | trail() | |
| 257 | end) | |
| 258 | ||
| 259 | wait() | |
| 260 | end | |
| 261 | end) | |
| 262 | ||
| 263 | music = Instance.new("Sound", char)
| |
| 264 | music.SoundId = "http://www.roblox.com/asset/?id=414208389" | |
| 265 | music.Looped = true | |
| 266 | music.Volume = 1 | |
| 267 | music:Play() | |
| 268 | ||
| 269 | ||
| 270 | ||
| 271 | ||
| 272 | ||
| 273 | mouse.KeyDown:connect(function(key) | |
| 274 | if key == "x" then | |
| 275 | if ismad == false then | |
| 276 | ||
| 277 | ismad = true | |
| 278 | music:Stop() | |
| 279 | music.SoundId = "http://www.roblox.com/asset/?id=511750393" | |
| 280 | music:Play() | |
| 281 | ||
| 282 | local ball = Instance.new("Part", workspace)
| |
| 283 | ball.Shape = "Ball" | |
| 284 | ball.Anchored = true | |
| 285 | ball.CanCollide = false | |
| 286 | ball.Size = Vector3.new(1,1,1) | |
| 287 | ball.CFrame = torso.CFrame | |
| 288 | ball.BrickColor = BrickColor.new("Really red")
| |
| 289 | ball.Material = "Neon" | |
| 290 | leekmain.BrickColor = BrickColor.new("Really black")
| |
| 291 | leekgreen1.BrickColor = BrickColor.new("Really red")
| |
| 292 | leekgreen2.BrickColor = BrickColor.new("Really red")
| |
| 293 | leekgreen1.Material = "Neon" | |
| 294 | leekgreen2.Material = "Neon" | |
| 295 | for i = 0,1,0.05 do | |
| 296 | ball.Size = ball.Size+Vector3.new(0.5,0.5,0.5) | |
| 297 | ball.Transparency = i | |
| 298 | ball.CFrame = torso.CFrame | |
| 299 | wait() | |
| 300 | end | |
| 301 | ball:Destroy() | |
| 302 | ||
| 303 | ||
| 304 | elseif ismad == true then | |
| 305 | ismad = false | |
| 306 | music:Stop() | |
| 307 | music.SoundId = "http://www.roblox.com/asset/?id=414208389" | |
| 308 | music:Play() | |
| 309 | ||
| 310 | local ball = Instance.new("Part", workspace)
| |
| 311 | ball.Shape = "Ball" | |
| 312 | ball.Anchored = true | |
| 313 | ball.CanCollide = false | |
| 314 | ball.Size = Vector3.new(1,1,1) | |
| 315 | ball.CFrame = torso.CFrame | |
| 316 | ball.BrickColor = BrickColor.new("Lime green")
| |
| 317 | ball.Material = "Neon" | |
| 318 | leekmain.BrickColor = BrickColor.new("Pearl")
| |
| 319 | leekgreen1.BrickColor = BrickColor.new("Sea green")
| |
| 320 | leekgreen2.BrickColor = BrickColor.new("Sea green")
| |
| 321 | leekgreen1.Material = "SmoothPlastic" | |
| 322 | leekgreen2.Material = "SmoothPlastic" | |
| 323 | for i = 0,1,0.05 do | |
| 324 | ball.Size = ball.Size+Vector3.new(0.5,0.5,0.5) | |
| 325 | ball.Transparency = i | |
| 326 | ball.CFrame = torso.CFrame | |
| 327 | wait() | |
| 328 | end | |
| 329 | ball:Destroy() | |
| 330 | end | |
| 331 | end | |
| 332 | end) | |
| 333 | ||
| 334 | ||
| 335 | mouse.KeyDown:connect(function(key) | |
| 336 | if key == "c" then | |
| 337 | if miku == false then | |
| 338 | miku = true | |
| 339 | ||
| 340 | music:Stop() | |
| 341 | music.SoundId = "http://www.roblox.com/asset/?id=534723482" | |
| 342 | music:Play() | |
| 343 | ||
| 344 | local ball = Instance.new("Part", workspace)
| |
| 345 | ball.Shape = "Ball" | |
| 346 | ball.Anchored = true | |
| 347 | ball.CanCollide = false | |
| 348 | ball.Size = Vector3.new(1,1,1) | |
| 349 | ball.CFrame = torso.CFrame | |
| 350 | - | music.SoundId = "http://www.roblox.com/asset/?id=364338573" |
| 350 | + | |
| 351 | ball.Material = "Neon" | |
| 352 | leekmain.BrickColor = BrickColor.new("Really black")
| |
| 353 | leekgreen1.BrickColor = BrickColor.new("Cyan")
| |
| 354 | leekgreen2.BrickColor = BrickColor.new("Cyan")
| |
| 355 | leekgreen1.Material = "Neon" | |
| 356 | leekgreen2.Material = "Neon" | |
| 357 | for i = 0,1,0.05 do | |
| 358 | ball.Size = ball.Size+Vector3.new(0.5,0.5,0.5) | |
| 359 | ball.Transparency = i | |
| 360 | ball.CFrame = torso.CFrame | |
| 361 | wait() | |
| 362 | end | |
| 363 | ball:Destroy() | |
| 364 | ||
| 365 | ||
| 366 | elseif miku == true then | |
| 367 | miku = false | |
| 368 | music:Stop() | |
| 369 | music.SoundId = "http://www.roblox.com/asset/?id=414208389" | |
| 370 | music:Play() | |
| 371 | ||
| 372 | local ball = Instance.new("Part", workspace)
| |
| 373 | ball.Shape = "Ball" | |
| 374 | ball.Anchored = true | |
| 375 | ball.CanCollide = false | |
| 376 | ball.Size = Vector3.new(1,1,1) | |
| 377 | ball.CFrame = torso.CFrame | |
| 378 | ball.BrickColor = BrickColor.new("Lime green")
| |
| 379 | ball.Material = "Neon" | |
| 380 | leekmain.BrickColor = BrickColor.new("Pearl")
| |
| 381 | leekgreen1.BrickColor = BrickColor.new("Sea green")
| |
| 382 | leekgreen2.BrickColor = BrickColor.new("Sea green")
| |
| 383 | leekgreen1.Material = "SmoothPlastic" | |
| 384 | leekgreen2.Material = "SmoothPlastic" | |
| 385 | for i = 0,1,0.05 do | |
| 386 | ball.Size = ball.Size+Vector3.new(0.5,0.5,0.5) | |
| 387 | ball.Transparency = i | |
| 388 | ball.CFrame = torso.CFrame | |
| 389 | wait() | |
| 390 | end | |
| 391 | ball:Destroy() | |
| 392 | ||
| 393 | ||
| 394 | end | |
| 395 | end | |
| 396 | end) | |
| 397 | ||
| 398 | mouse.KeyDown:connect(function(key) | |
| 399 | if key == "l" then | |
| 400 | music:Stop() | |
| 401 | local function rising() | |
| 402 | local holder = Instance.new("Part", char)
| |
| 403 | holder.Size = Vector3.new(1,1,1) | |
| 404 | holder.CFrame = torso.CFrame | |
| 405 | holder.Transparency = .5 | |
| 406 | holder.Anchored = true | |
| 407 | holder.CanCollide = false | |
| 408 | holder.BrickColor = BrickColor.new("Br. yellowish orange")
| |
| 409 | holder.Material = "Neon" | |
| 410 | holder.TopSurface = Enum.SurfaceType.Smooth | |
| 411 | holder.BottomSurface = Enum.SurfaceType.Smooth | |
| 412 | holder.CFrame = holder.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10))*CFrame.new(math.random(3),math.random(3),math.random(3)) | |
| 413 | local fire = Instance.new("Fire", holder)
| |
| 414 | fire.Color = Color3.new(236/255, 193/255, 36/255) | |
| 415 | fire.SecondaryColor = Color3.new(236/255, 193/255, 36/255) | |
| 416 | fire.Size = 1 | |
| 417 | ||
| 418 | for i = 1,10,.1 do | |
| 419 | holder.CFrame = holder.CFrame*CFrame.new(0,.5,0) | |
| 420 | wait() | |
| 421 | end | |
| 422 | ||
| 423 | fire:Destroy() | |
| 424 | holder:Destroy() | |
| 425 | end | |
| 426 | spawn(function() | |
| 427 | rising() | |
| 428 | end) | |
| 429 | spawn(function() | |
| 430 | rising() | |
| 431 | end) | |
| 432 | spawn(function() | |
| 433 | rising() | |
| 434 | end) | |
| 435 | spawn(function() | |
| 436 | rising() | |
| 437 | end) | |
| 438 | spawn(function() | |
| 439 | rising() | |
| 440 | end) | |
| 441 | spawn(function() | |
| 442 | rising() | |
| 443 | end) | |
| 444 | spawn(function() | |
| 445 | rising() | |
| 446 | end) | |
| 447 | spawn(function() | |
| 448 | rising() | |
| 449 | end) | |
| 450 | spawn(function() | |
| 451 | rising() | |
| 452 | end) | |
| 453 | spawn(function() | |
| 454 | rising() | |
| 455 | end) | |
| 456 | spawn(function() | |
| 457 | rising() | |
| 458 | end) | |
| 459 | spawn(function() | |
| 460 | rising() | |
| 461 | end) | |
| 462 | spawn(function() | |
| 463 | rising() | |
| 464 | end) | |
| 465 | spawn(function() | |
| 466 | rising() | |
| 467 | end) | |
| 468 | ||
| 469 | ||
| 470 | local ball = Instance.new("Part", workspace)
| |
| 471 | ball.Shape = "Ball" | |
| 472 | ball.Anchored = true | |
| 473 | ball.CanCollide = false | |
| 474 | ball.Size = Vector3.new(1,1,1) | |
| 475 | ball.CFrame = torso.CFrame | |
| 476 | ball.BrickColor = BrickColor.new("Br. yellowish orange")
| |
| 477 | ball.Material = "Neon" | |
| 478 | leekmain.BrickColor = BrickColor.new("Pearl")
| |
| 479 | leekgreen1.BrickColor = BrickColor.new("Br. yellowish orange")
| |
| 480 | leekgreen2.BrickColor = BrickColor.new("Br. yellowish orange")
| |
| 481 | leekgreen1.Material = "Neon" | |
| 482 | leekgreen2.Material = "Neon" | |
| 483 | for i = 0,1,0.05 do | |
| 484 | ball.Size = ball.Size+Vector3.new(0.5,0.5,0.5) | |
| 485 | ball.Transparency = i | |
| 486 | ball.CFrame = torso.CFrame | |
| 487 | wait() | |
| 488 | end | |
| 489 | ball:Destroy() | |
| 490 | ||
| 491 | music.SoundId = "http://www.roblox.com/asset/?id=345379968" | |
| 492 | music:Play() | |
| 493 | end | |
| 494 | end) | |
| 495 | mouse.KeyDown:connect(function(key) | |
| 496 | if key == "p" and miku == false and ismad == false then | |
| 497 | music:Stop() | |
| 498 | music.SoundId = "http://www.roblox.com/asset/?id=414208389" | |
| 499 | music:Play() | |
| 500 | chat:Chat(char.Head,"Yaa tsu tsup ari dik ari dol lan") | |
| 501 | wait(2.5) | |
| 502 | chat:Chat(char.Head,"dit ari diddle lan") | |
| 503 | wait(2.1) | |
| 504 | chat:Chat(char.Head,"dits dan doh") | |
| 505 | end | |
| 506 | end) | |
| 507 | ||
| 508 | ||
| 509 | mouse.KeyDown:connect(function(key) | |
| 510 | if key == "v" then | |
| 511 | leeking = false | |
| 512 | --transform | |
| 513 | hum.WalkSpeed = 0 | |
| 514 | RS.C0 = RS.C0*CFrame.fromEulerAnglesXYZ((math.rad(-90)),0,0) | |
| 515 | LS.C0 = LS.C0*CFrame.fromEulerAnglesXYZ(0,0,(math.rad(-90))) | |
| 516 | LS.C0 = LS.C0*CFrame.fromEulerAnglesXYZ((math.rad(-90)),0,0) | |
| 517 | music:Stop() | |
| 518 | wait(.5) | |
| 519 | leekgreen1:Destroy() | |
| 520 | leekgreen2:Destroy() | |
| 521 | leekmain:Destroy() | |
| 522 | leekmarm:Destroy() | |
| 523 | leek1arm:Destroy() | |
| 524 | leek2arm:Destroy() | |
| 525 | local fhx = Instance.new("Part", char)
| |
| 526 | fhx.Size = Vector3.new(0,0,0) | |
| 527 | fhx.Anchored = false | |
| 528 | fhx.CanCollide = false | |
| 529 | fhx.Transparency = 1 | |
| 530 | local whx = Instance.new("Weld", char["Right Arm"])
| |
| 531 | whx.Part0 = fhx | |
| 532 | whx.Part1 = char["Right Arm"] | |
| 533 | whx.C0 = whx.C0*CFrame.new(0,1,0) | |
| 534 | ||
| 535 | local function fx() | |
| 536 | local fx1 = Instance.new("Part", whx)
| |
| 537 | fx1.Size = Vector3.new(2,2,2) | |
| 538 | fx1.CFrame = fhx.CFrame | |
| 539 | fx1.Anchored = true | |
| 540 | fx1.CanCollide = false | |
| 541 | fx1.Material = "Neon" | |
| 542 | fx1.BrickColor = BrickColor.new("Lime green")
| |
| 543 | ||
| 544 | local fx2 = Instance.new("Part", whx)
| |
| 545 | fx2.Size = Vector3.new(2,2,2) | |
| 546 | fx2.CFrame = fhx.CFrame | |
| 547 | fx2.Anchored = true | |
| 548 | fx2.CanCollide = false | |
| 549 | fx2.Material = "Neon" | |
| 550 | fx2.BrickColor = BrickColor.new("Really black")
| |
| 551 | ||
| 552 | fx2.CFrame = fx2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10)) | |
| 553 | fx1.CFrame = fx1.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10)) | |
| 554 | ||
| 555 | spawn(function() | |
| 556 | for i =0,5,.2 do | |
| 557 | fx2.Size = fx2.Size+Vector3.new(.2,.2,.2) | |
| 558 | fx2.CFrame = fx2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10)) | |
| 559 | fx2.Transparency = i | |
| 560 | ||
| 561 | wait() | |
| 562 | end | |
| 563 | fx2:Destroy() | |
| 564 | end) | |
| 565 | spawn(function() | |
| 566 | for i =0,5,.2 do | |
| 567 | fx1.Size = fx1.Size+Vector3.new(.2,.2,.2) | |
| 568 | fx1.CFrame = fx1.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10)) | |
| 569 | fx1.Transparency = i | |
| 570 | ||
| 571 | wait() | |
| 572 | end | |
| 573 | fx1:Destroy() | |
| 574 | end) | |
| 575 | end | |
| 576 | ||
| 577 | ||
| 578 | ||
| 579 | ||
| 580 | ||
| 581 | ||
| 582 | ||
| 583 | ||
| 584 | ||
| 585 | ||
| 586 | for i = 1,10,.5 do | |
| 587 | wait(.1) | |
| 588 | fx() | |
| 589 | end | |
| 590 | ||
| 591 | local bp = Instance.new("BodyPosition",torso)
| |
| 592 | bp.position = torso.Position+Vector3.new(0,10,0) | |
| 593 | bp.maxForce = Vector3.new(100000000, 100000000, 100000000) | |
| 594 | ||
| 595 | local function fx3() | |
| 596 | local rh1 = Instance.new("Part", char)
| |
| 597 | rh1.Size = Vector3.new(0,0,0) | |
| 598 | rh1.CFrame = torso.CFrame | |
| 599 | rh1.Transparency = .5 | |
| 600 | rh1.CanCollide = false | |
| 601 | rh1.BrickColor = BrickColor.new("Lime green")
| |
| 602 | rh1.Anchored = true | |
| 603 | local rh2 = rh1:Clone() | |
| 604 | rh2.Parent = char | |
| 605 | rh2.BrickColor = BrickColor.new("Really black")
| |
| 606 | local rng = Instance.new("SpecialMesh", rh1)
| |
| 607 | rng.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 608 | rng.Scale = Vector3.new(3,3,3) | |
| 609 | local rng2 = rng:Clone() | |
| 610 | rng2.Parent = rh2 | |
| 611 | rh1.CFrame = rh1.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10)) | |
| 612 | rh2.CFrame = rh2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10)) | |
| 613 | for i =1,10,.5 do | |
| 614 | rng.Scale = rng.Scale+Vector3.new(2,2,2) | |
| 615 | rng2.Scale = rng.Scale+Vector3.new(2,2,2) | |
| 616 | wait() | |
| 617 | end | |
| 618 | rh1:Destroy() | |
| 619 | rh2:Destroy() | |
| 620 | end | |
| 621 | ||
| 622 | local function fx2() | |
| 623 | local fx1 = Instance.new("Part", whx)
| |
| 624 | fx1.Size = Vector3.new(6,6,6) | |
| 625 | fx1.CFrame = torso.CFrame | |
| 626 | fx1.Anchored = true | |
| 627 | fx1.CanCollide = false | |
| 628 | fx1.Material = "Neon" | |
| 629 | fx1.BrickColor = BrickColor.new("Lime green")
| |
| 630 | ||
| 631 | local fx2 = Instance.new("Part", whx)
| |
| 632 | fx2.Size = Vector3.new(6,6,6) | |
| 633 | fx2.CFrame = torso.CFrame | |
| 634 | fx2.Anchored = true | |
| 635 | fx2.CanCollide = false | |
| 636 | fx2.Material = "Neon" | |
| 637 | fx2.BrickColor = BrickColor.new("Really black")
| |
| 638 | ||
| 639 | fx2.CFrame = fx2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10)) | |
| 640 | fx1.CFrame = fx1.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10)) | |
| 641 | ||
| 642 | spawn(function() | |
| 643 | for i =0,5,.2 do | |
| 644 | fx2.Size = fx2.Size+Vector3.new(.2,.2,.2) | |
| 645 | fx2.CFrame = fx2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10)) | |
| 646 | ||
| 647 | fx2.Transparency = i | |
| 648 | ||
| 649 | wait() | |
| 650 | end | |
| 651 | fx2:Destroy() | |
| 652 | end) | |
| 653 | spawn(function() | |
| 654 | for i =0,5,.2 do | |
| 655 | fx1.Size = fx1.Size+Vector3.new(.2,.2,.2) | |
| 656 | fx1.CFrame = fx1.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10)) | |
| 657 | fx1.Transparency = i | |
| 658 | ||
| 659 | wait() | |
| 660 | end | |
| 661 | fx1:Destroy() | |
| 662 | end) | |
| 663 | end | |
| 664 | ||
| 665 | ||
| 666 | wait(.5) | |
| 667 | ||
| 668 | spawn(function() | |
| 669 | for i = 1,10,.25 do | |
| 670 | wait(.2) | |
| 671 | fx2() | |
| 672 | end | |
| 673 | end) | |
| 674 | ||
| 675 | local groundprt = Instance.new("Part", char)
| |
| 676 | groundprt.Anchored = true | |
| 677 | groundprt.CanCollide = false | |
| 678 | groundprt.BrickColor = BrickColor.new("Lime green")
| |
| 679 | groundprt.Transparency = 0.5 | |
| 680 | groundprt.CFrame = torso.CFrame | |
| 681 | ||
| 682 | groundprt.CFrame =groundprt.CFrame*CFrame.new(0,-2.5,0) | |
| 683 | local crown = Instance.new("SpecialMesh", groundprt)
| |
| 684 | crown.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 685 | crown.Scale = Vector3.new(20,2,20) | |
| 686 | spawn(function() | |
| 687 | ||
| 688 | wait() | |
| 689 | for i =1,20,.1 do | |
| 690 | ||
| 691 | groundprt.CFrame = groundprt.CFrame * CFrame.Angles(0,-math.rad(15 + i),0) | |
| 692 | wait() | |
| 693 | end | |
| 694 | groundprt:Destroy() | |
| 695 | ||
| 696 | end) | |
| 697 | ||
| 698 | ||
| 699 | for i =1,10 do | |
| 700 | fx3() | |
| 701 | wait() | |
| 702 | end | |
| 703 | ||
| 704 | ||
| 705 | ||
| 706 | local sphere = Instance.new("Part", char)
| |
| 707 | sphere.CFrame = torso.CFrame | |
| 708 | ||
| 709 | sphere.Anchored = true | |
| 710 | sphere.CanCollide = false | |
| 711 | sphere.Transparency = .2 | |
| 712 | sphere.Size = Vector3.new(30,30,30) | |
| 713 | sphere.Shape = "Ball" | |
| 714 | sphere.TopSurface = Enum.SurfaceType.Smooth | |
| 715 | sphere.BottomSurface = Enum.SurfaceType.Smooth | |
| 716 | sphere.BrickColor = BrickColor.new("Lime green")
| |
| 717 | ||
| 718 | LS.C0 = LS.C0*CFrame.fromEulerAnglesXYZ((math.rad(90)),0,0) | |
| 719 | LS.C0 = LS.C0*CFrame.fromEulerAnglesXYZ(0,0,(math.rad(90))) | |
| 720 | RS.C0 = RS.C0*CFrame.fromEulerAnglesXYZ((math.rad(90)),0,0) | |
| 721 | RS.C0 = RS.C0*CFrame.fromEulerAnglesXYZ(0,0,(math.rad(-90))) | |
| 722 | ||
| 723 | --sumon | |
| 724 | ||
| 725 | ||
| 726 | ||
| 727 | ||
| 728 | ||
| 729 | for i =1,10,.2 do | |
| 730 | sphere.Size = sphere.Size+Vector3.new(2,2,2) | |
| 731 | sphere.CFrame = torso.CFrame | |
| 732 | wait() | |
| 733 | end | |
| 734 | bp.Parent = nil | |
| 735 | bp:Destroy() | |
| 736 | sphere:Destroy() | |
| 737 | ||
| 738 | ||
| 739 | ||
| 740 | ||
| 741 | ||
| 742 | hum.WalkSpeed = 20 | |
| 743 | end | |
| 744 | end) | |
| 745 | ||
| 746 | ||
| 747 | ||
| 748 | ||
| 749 | mouse.KeyDown:connect(function(key) | |
| 750 | if key == "m" then | |
| 751 | game.Players.LocalPlayer.Character.Animate:Destroy() | |
| 752 | --LS.C0 = LS.C0*CFrame.fromEulerAnglesXYZ((math.rad(90)),0,0) | |
| 753 | --LS.C0 = LS.C0*CFrame.fromEulerAnglesXYZ(0,0,(math.rad(90))) | |
| 754 | --RS.C0 = RS.C0*CFrame.fromEulerAnglesXYZ((math.rad(90)),0,0) | |
| 755 | leekgreen1:Destroy() | |
| 756 | leekgreen2:Destroy() | |
| 757 | leekmain:Destroy() | |
| 758 | leekmarm:Destroy() | |
| 759 | leek1arm:Destroy() | |
| 760 | leek2arm:Destroy() | |
| 761 | RS.C0 = RS.C0*CFrame.fromEulerAnglesXYZ(0,0,(math.rad(-90))) | |
| 762 | music:Stop() | |
| 763 | ||
| 764 | ------------------------------------------------------------ | |
| 765 | ||
| 766 | LS.C0 = LS.C0*CFrame.fromEulerAnglesXYZ(0,0,(math.rad(-180))) | |
| 767 | ||
| 768 | RS.C0 = RS.C0*CFrame.fromEulerAnglesXYZ(0,0,(math.rad(180))) | |
| 769 | ||
| 770 | local leekmain = Instance.new("Part", char)
| |
| 771 | leekmain.BrickColor = BrickColor.new("Pearl")
| |
| 772 | leekmain.Size = Vector3.new(20,2,20) | |
| 773 | leekmain.Shape = "Cylinder" | |
| 774 | leekmain.BottomSurface = Enum.SurfaceType.Smooth | |
| 775 | leekmain.TopSurface = Enum.SurfaceType.Smooth | |
| 776 | leekmain.Anchored = false | |
| 777 | leekmain.CanCollide = false | |
| 778 | ||
| 779 | ||
| 780 | local leekgreen1 = Instance.new("Part", char)
| |
| 781 | leekgreen1.Size = Vector3.new(2.5,10,2.5) | |
| 782 | leekgreen1.BrickColor = BrickColor.new("Sea green")
| |
| 783 | leekgreen1.Anchored = false | |
| 784 | leekgreen1.CanCollide = false | |
| 785 | leekgreen1.TopSurface = Enum.SurfaceType.Smooth | |
| 786 | leekgreen1.BottomSurface = Enum.SurfaceType.Smooth | |
| 787 | leekgreen1.CFrame = torso.CFrame | |
| 788 | local leekgreen2 = leekgreen1:Clone() | |
| 789 | leekgreen2.Parent = char | |
| 790 | leekgreen1.CFrame = leekmain.CFrame*CFrame.new(0,1.13,.2) | |
| 791 | leekgreen1.CFrame = leekgreen1.CFrame*CFrame.Angles(math.rad(45),0,0) | |
| 792 | leekgreen2.CFrame = leekmain.CFrame*CFrame.new(0,1.13,-.2) | |
| 793 | leekgreen2.CFrame = leekgreen2.CFrame*CFrame.Angles(math.rad(-45),0,0) | |
| 794 | leekmain.CFrame = leekmain.CFrame*CFrame.Angles(0,0,(math.rad(0))) | |
| 795 | ||
| 796 | ||
| 797 | local leekmarm = Instance.new("Weld", char["Right Arm"])
| |
| 798 | leekmarm.Part0 = char["Right Arm"] | |
| 799 | leekmarm.Part1 = leekmain | |
| 800 | ||
| 801 | local leek1arm=Instance.new("Weld", char["Right Arm"])
| |
| 802 | leek1arm.Part0 = leekmain | |
| 803 | leek1arm.Part1 = leekgreen1 | |
| 804 | ||
| 805 | local leek2arm = Instance.new("Weld", char["Right Arm"])
| |
| 806 | leek2arm.Part0 = leekmain | |
| 807 | leek2arm.Part1 = leekgreen2 | |
| 808 | ||
| 809 | leekmarm.C0 = CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
| 810 | leek1arm.C0 = CFrame.new(1.13,-2,.3)*CFrame.Angles(0,(math.rad(-45)),(math.rad(90))) | |
| 811 | leek2arm.C0 = CFrame.new(1.13,-2,-.3)*CFrame.Angles(0,(math.rad(45)),(math.rad(90))) | |
| 812 | ||
| 813 | ||
| 814 | --leekmain.Size = leekmain.Size+Vector3.new(10,1,10) | |
| 815 | end | |
| 816 | end) |