Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
- plr = owner
- gcstuff = Instance.new("Model")
- plrgui = plr.PlayerGui
- mouse = plr:GetMouse()
- char = plr.Character
- anim = char.Humanoid.Animator
- tors = char.Torso
- root = char.HumanoidRootPart
- rootj = root.RootJoint
- rootjnor = rootj.C0
- attack = false
- size = 1
- opened = false
- Debris = game:GetService("Debris")
- pose = "Idle"
- IT = Instance.new
- BrickC = BrickColor.new
- Cos = math.cos
- Acos = math.acos
- VT = Vector3.new
- CF = CFrame.new
- Rad = math.rad
- ray = Ray.new
- sine = 0
- gui = Instance.new("ScreenGui",script)
- gui.Name = "Menu"
- backg = Instance.new("Frame",gui)
- backg.BorderSizePixel = 0
- backg.Size = UDim2.new(0.4, 0, 0.8, 0)
- backg.AnchorPoint = Vector2.new(0.5,0.5)
- backg.Position = UDim2.new(0.5, 0, 0.5, 0)
- backg.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- raycast = function(pos, direct, range, decendants)
- return workspace:FindPartOnRay(ray(pos, direct.unit * range), decendants)
- end
- ezweld = function(p, a, b, cf)
- local weld = Instance.new("Weld",p)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = cf
- return weld
- end
- clerp = function(toclerp, cf, number)
- local joint = toclerp
- joint.C0 = joint.C0:Lerp(cf, number)
- end
- clerp2 = function(toclerp, cf)
- local joint = toclerp
- joint.C0 = cf
- end
- Swait,swait = function(number)
- if number == 0 or number == nil then
- game:GetService("RunService").Heartbeat:Wait()
- else
- for i = 1,number do
- game:GetService("RunService").Heartbeat:Wait()
- end
- end
- end
- NewSound = function(p, id, pit, vol, loop)
- local Sound = Instance.new("Sound",p)
- Sound.Pitch = pit
- Sound.Volume = vol
- Sound.SoundId = "rbxassetid://" ..id
- Sound.Looped = loop
- Sound:Play()
- return Sound
- end
- AddSphere = function(p, material, size, transparency, collide, color, weldto, weldc0)
- local Sphere = Instance.new("Part",p)
- Sphere.Shape = "Ball"
- Sphere.Size = Vector3.new(size, size, size)
- Sphere.Material = material
- Sphere.Transparency = transparency
- Sphere.CanCollide = collide
- Sphere.Anchored = false
- Sphere.BrickColor = BrickColor.new(color)
- local Mesh = Instance.new("SpecialMesh",Sphere)
- Mesh.MeshType = "Sphere"
- local Joint = ezweld(Sphere, Sphere, weldto, weldc0)
- return Sphere
- end
- --SphereEffect(char, "Neon", 1.6, 0, 2.22, 0.15, 1, "White", La1.Position)
- SphereEffect = function(p, material, size, transparency, endsize, speed, endtrans, color, pos)
- local Sphere = Instance.new("Part",p)
- Sphere.Shape = "Ball"
- Sphere.Size = Vector3.new(size, size, size)
- Sphere.Material = material
- Sphere.Transparency = transparency
- Sphere.CanCollide = false
- Sphere.Position = pos
- Sphere.Anchored = true
- Sphere.BrickColor = BrickColor.new(color)
- coroutine.resume(coroutine.create(function()
- for i = 1,25 do
- Swait()
- Sphere.Size = Sphere.Size + Vector3.new(speed, speed, speed)
- Sphere.Transparency = Sphere.Transparency + speed
- end
- Sphere:Destroy()
- end))
- end
- function GCBlock(size, cf)
- local Block = Instance.new("Part",gcstuff)
- Block.Size = size
- Block.BrickColor = BrickColor.new("Magenta")
- Block.CFrame = cf
- Block.CanCollide = false
- Block.Anchored = true
- end
- AddDecal = function(p, texture, trans, face)
- local Image = Instance.new("Decal",p)
- Image.Texture = "rbxassetid://" ..texture
- Image.Transparency = trans
- Image.Face = face
- return Image
- end
- function EditDecal(image, texture)
- local Image = image
- Image.Texture = "rbxassetid://" ..texture
- end
- EditSize = function(p, x, y, z)
- local Part = p
- if Part then
- Part.Parent = Part.Parent
- Part.Size = Vector3.new(x, y, z)
- end
- end
- AddSize = function(p, x, y, z)
- local Part = p
- if Part then
- Part.Parent = Part.Parent
- Part.Size = Part.Size + Vector3.new(x, y, z)
- end
- end
- Rotate = function(p, cf)
- local Part = p
- if Part then
- Part.Parent = Part.Parent
- Part.Orientation = cf
- end
- end
- Model = function(p, name)
- local NewModel = Instance.new("Model",p)
- NewModel.Name = name
- return NewModel
- end
- Invis = function(p)
- for _,v in pairs (p:children()) do
- if v:IsA("Part") or v:IsA("MeshPart") then
- v.Transparency = 1
- v.Name = v.Name
- v.Size = v.Size
- if v.Name == "Head" then
- for _,v in pairs (v:children()) do
- if v:IsA("Decal") then
- v.Name = "owned"
- v:Destroy()
- end
- end
- end
- end
- if v:IsA("Hat") or v:IsA("Accessory") then
- local Handle = v:FindFirstChild("Handle") -- Keeping the hat but hiding it from view
- if Handle then
- Handle.Name = "NotHandle"
- Handle.Size = Vector3.new(0.0001, 0.0001, 0.0001)
- Handle.Transparency = 1
- end
- end
- end
- end
- Invis(char)
- local TorsoM = Model(char, "TorsoModel")
- local Inside = AddSphere(TorsoM, "Neon", 3.6, 0, false, "Cyan", tors, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
- Inside.Name = "Inside"
- local Outside = AddSphere(TorsoM, "Glass", 4.5, 0.5, false, "Cyan", tors, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
- Outside.Name = "Outside"
- local Face = AddDecal(Outside, 2109783606, 0, "Front")
- local Ra = Model(nil, "RightArmModel")
- local Ra1 = AddSphere(Ra, "Neon", 1.2, 0, false, "Cyan", tors, CFrame.new(-3.5, 0.75, 0) * CFrame.Angles(0, 0, 0))
- Ra1.Name = "Inside"
- local Ra2 = AddSphere(Ra, "Glass", 1.9, 0.5, false, "Cyan", Ra1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
- Ra2.Name = "Outside"
- local La = Model(nil, "RightArmModel")
- local La1 = AddSphere(La, "Neon", 1.2, 0, false, "Cyan", tors, CFrame.new(3.5, 0.75, 0) * CFrame.Angles(0, 0, 0))
- La1.Name = "Inside"
- local La2 = AddSphere(La, "Glass", 1.9, 0.5, false, "Cyan", La1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
- La2.Name = "Outside"
- local DistAway = 6.5
- local Up = -3
- local Back = 3
- local SBoi = Model(nil, "ShadowBoi")
- local TorsoM2 = Model(SBoi, "TorsoModel")
- local Inside2 = AddSphere(TorsoM2, "Neon", 3.6, 0.5, false, "Cyan", tors, CFrame.new(0 + DistAway, 0 + Up, -Back) * CFrame.Angles(0, 0, 0))
- Inside2.Name = "Inside"
- local Outside2 = AddSphere(TorsoM2, "SmoothPlastic", 4.5, 0.75, false, "Cyan", tors, CFrame.new(0 + DistAway, 0 + Up, -Back) * CFrame.Angles(0, 0, 0))
- Outside2.Name = "Outside"
- local Face2 = AddDecal(Outside2, 2752846625, 0, "Front")
- local RaM = Model(SBoi, "RightArmModel")
- local Ra3 = AddSphere(RaM, "Neon", 1.2, 0.5, false, "Cyan", tors, CFrame.new(-3.5 + DistAway, 0.75 + Up, -Back) * CFrame.Angles(0, 0, 0))
- Ra3.Name = "Inside"
- local Ra4 = AddSphere(RaM, "SmoothPlastic", 1.9, 0.75, false, "Cyan", Ra3, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
- Ra4.Name = "Outside"
- local LaM = Model(SBoi, "RightArmModel")
- local La3 = AddSphere(LaM, "Neon", 1.2, 0.5, false, "Cyan", tors, CFrame.new(3.5 + DistAway, 0.75 + Up, -Back) * CFrame.Angles(0, 0, 0))
- La3.Name = "Inside"
- local La4 = AddSphere(LaM, "SmoothPlastic", 1.9, 0.75, false, "Cyan", La3, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
- La4.Name = "Outside"
- local rs = Ra1.Weld
- local ls = La1.Weld
- local rsnor = rs.C0
- local lsnor = ls.C0
- local MainTheme = NewSound(Inside, 3478149670, 1, 4, true)
- textc = Instance.new("TextLabel",gui)
- textc.Size = UDim2.new(1.1, 0, 0.06, 0)
- textc.Text = "Choose a Color"
- textc.TextScaled = true
- textc.BackgroundTransparency = 1
- textc.TextColor3 = Color3.new(1, 1, 1)
- textc.Position = UDim2.new(-0.11, 0, 0.125, 0)
- normalc = Instance.new("ImageButton",gui)
- normalc.BorderSizePixel = 0
- normalc.Size = UDim2.new(0.03, 0, 0.055, 0)
- normalc.Position = UDim2.new(0.35, 0, 0.2, 0)
- normalc.Image = "http://www.roblox.com/asset/?id=232918622"
- normalc.ImageColor3 = Color3.new(0.25098, 0.92549, 1)
- normalc.BackgroundTransparency = 1
- normalc.MouseButton1Click:Connect(function()
- for _,v in pairs (TorsoM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cyan")
- end
- end
- for _,v in pairs (Ra:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cyan")
- end
- end
- for _,v in pairs (La:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cyan")
- end
- end
- for _,v in pairs (TorsoM2:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cyan")
- end
- end
- for _,v in pairs (RaM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cyan")
- end
- end
- for _,v in pairs (LaM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cyan")
- end
- end
- end)
- yellowc = Instance.new("ImageButton",gui)
- yellowc.BorderSizePixel = 0
- yellowc.Size = UDim2.new(0.03, 0, 0.055, 0)
- yellowc.Position = UDim2.new(0.4, 0, 0.2, 0)
- yellowc.Image = "http://www.roblox.com/asset/?id=232918622"
- yellowc.ImageColor3 = Color3.new(1, 1, 0)
- yellowc.BackgroundTransparency = 1
- yellowc.MouseButton1Click:Connect(function()
- for _,v in pairs (TorsoM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Olive")
- end
- end
- for _,v in pairs (Ra:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Olive")
- end
- end
- for _,v in pairs (La:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Olive")
- end
- end
- for _,v in pairs (TorsoM2:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Olive")
- end
- end
- for _,v in pairs (RaM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Olive")
- end
- end
- for _,v in pairs (LaM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Olive")
- end
- end
- end)
- redc = Instance.new("ImageButton",gui)
- redc.BorderSizePixel = 0
- redc.Size = UDim2.new(0.03, 0, 0.055, 0)
- redc.Position = UDim2.new(0.45, 0, 0.2, 0)
- redc.Image = "http://www.roblox.com/asset/?id=232918622"
- redc.ImageColor3 = Color3.new(1, 0, 0)
- redc.BackgroundTransparency = 1
- redc.MouseButton1Click:Connect(function()
- for _,v in pairs (TorsoM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Bright red")
- end
- end
- for _,v in pairs (Ra:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Bright red")
- end
- end
- for _,v in pairs (La:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Bright red")
- end
- end
- for _,v in pairs (TorsoM2:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Bright red")
- end
- end
- for _,v in pairs (RaM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Bright red")
- end
- end
- for _,v in pairs (LaM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Bright red")
- end
- end
- end)
- greenc = Instance.new("ImageButton",gui)
- greenc.BorderSizePixel = 0
- greenc.Size = UDim2.new(0.03, 0, 0.055, 0)
- greenc.Position = UDim2.new(0.5, 0, 0.2, 0)
- greenc.Image = "http://www.roblox.com/asset/?id=232918622"
- greenc.ImageColor3 = Color3.new(0.14902, 0.6, 0.0352941)
- greenc.BackgroundTransparency = 1
- greenc.MouseButton1Click:Connect(function()
- for _,v in pairs (TorsoM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Shamrock")
- end
- end
- for _,v in pairs (Ra:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Shamrock")
- end
- end
- for _,v in pairs (La:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Shamrock")
- end
- end
- for _,v in pairs (TorsoM2:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Shamrock")
- end
- end
- for _,v in pairs (RaM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Shamrock")
- end
- end
- for _,v in pairs (LaM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Shamrock")
- end
- end
- end)
- shadowc = Instance.new("ImageButton",gui)
- shadowc.BorderSizePixel = 0
- shadowc.Size = UDim2.new(0.03, 0, 0.055, 0)
- shadowc.Position = UDim2.new(0.55, 0, 0.2, 0)
- shadowc.Image = "http://www.roblox.com/asset/?id=232918622"
- shadowc.ImageColor3 = Color3.new(0.568627, 0.207843, 0.6)
- shadowc.BackgroundTransparency = 1
- shadowc.MouseButton1Click:Connect(function()
- for _,v in pairs (TorsoM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cyan")
- end
- end
- for _,v in pairs (Ra:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cyan")
- end
- end
- for _,v in pairs (La:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cyan")
- end
- end
- for _,v in pairs (TorsoM:GetChildren()) do
- if v:IsA("Part") and v.Name == "Outside" then
- v.BrickColor = BrickColor.new("Really red")
- end
- end
- for _,v in pairs (Ra:GetChildren()) do
- if v:IsA("Part") and v.Name == "Outside" then
- v.BrickColor = BrickColor.new("Really red")
- end
- end
- for _,v in pairs (La:GetChildren()) do
- if v:IsA("Part") and v.Name == "Outside" then
- v.BrickColor = BrickColor.new("Really red")
- end
- end
- for _,v in pairs (TorsoM2:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cyan")
- end
- end
- for _,v in pairs (RaM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cyan")
- end
- end
- for _,v in pairs (LaM:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cyan")
- end
- end
- for _,v in pairs (TorsoM2:GetChildren()) do
- if v:IsA("Part") and v.Name == "Outside" then
- v.BrickColor = BrickColor.new("Really red")
- end
- end
- for _,v in pairs (RaM:GetChildren()) do
- if v:IsA("Part") and v.Name == "Outside" then
- v.BrickColor = BrickColor.new("Really red")
- end
- end
- for _,v in pairs (LaM:GetChildren()) do
- if v:IsA("Part") and v.Name == "Outside" then
- v.BrickColor = BrickColor.new("Really red")
- end
- end
- end)
- texts = Instance.new("TextLabel",gui)
- texts.Size = UDim2.new(1.1, 0, 0.06, 0)
- texts.Text = "Choose a Shape"
- texts.TextScaled = true
- texts.BackgroundTransparency = 1
- texts.TextColor3 = Color3.new(1, 1, 1)
- texts.Position = UDim2.new(-0.1, 0, 0.26, 0)
- balls = Instance.new("ImageButton",gui)
- balls.BorderSizePixel = 0
- balls.Size = UDim2.new(0.03, 0, 0.055, 0)
- balls.Position = UDim2.new(0.35, 0, 0.33, 0)
- balls.Image = "http://www.roblox.com/asset/?id=232918622"
- balls.BackgroundTransparency = 1
- balls.MouseButton1Click:Connect(function()
- for _,v in pairs (TorsoM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Sphere"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (Ra:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Sphere"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (La:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Sphere"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (TorsoM2:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Sphere"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (RaM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Sphere"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (LaM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Sphere"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- end)
- sqrs = Instance.new("ImageButton",gui)
- sqrs.BorderSizePixel = 0
- sqrs.Size = UDim2.new(0.03, 0, 0.055, 0)
- sqrs.Position = UDim2.new(0.4, 0, 0.33, 0)
- sqrs.BackgroundColor3 = Color3.new(1, 1, 1)
- --sqrs.Image = "http://www.roblox.com/asset/?id=232918622"
- sqrs.BackgroundTransparency = 0
- sqrs.MouseButton1Click:Connect(function()
- for _,v in pairs (TorsoM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Brick"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (Ra:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Brick"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (La:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Brick"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (TorsoM2:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Brick"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (RaM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Brick"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (LaM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Brick"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- end)
- wdges = Instance.new("ImageButton",gui)
- wdges.BorderSizePixel = 0
- wdges.Size = UDim2.new(0.03, 0, 0.055, 0)
- wdges.Position = UDim2.new(0.45, 0, 0.33, 0)
- wdges.BackgroundColor3 = Color3.new(1, 1, 1)
- wdges.Image = "http://www.roblox.com/asset/?id=427534899"
- wdges.BackgroundTransparency = 1
- wdges.MouseButton1Click:Connect(function()
- for _,v in pairs (TorsoM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Wedge"
- if mesh.Parent.Name == "Inside" then
- mesh.Offset = Vector3.new(0, 0, 0.25)
- end
- end
- end
- end
- for _,v in pairs (Ra:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Wedge"
- if mesh.Parent.Name == "Inside" then
- mesh.Offset = Vector3.new(0, 0, 0.25)
- end
- end
- end
- end
- for _,v in pairs (La:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Wedge"
- if mesh.Parent.Name == "Inside" then
- mesh.Offset = Vector3.new(0, 0, 0.25)
- end
- end
- end
- end
- for _,v in pairs (TorsoM2:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Wedge"
- if mesh.Parent.Name == "Inside" then
- mesh.Offset = Vector3.new(0, 0, 0.25)
- end
- end
- end
- end
- for _,v in pairs (RaM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Wedge"
- if mesh.Parent.Name == "Inside" then
- mesh.Offset = Vector3.new(0, 0, 0.25)
- end
- end
- end
- end
- for _,v in pairs (LaM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Wedge"
- if mesh.Parent.Name == "Inside" then
- mesh.Offset = Vector3.new(0, 0, 0.25)
- end
- end
- end
- end
- end)
- clyds = Instance.new("ImageButton",gui)
- clyds.BorderSizePixel = 0
- clyds.Size = UDim2.new(0.03, 0, 0.055, 0)
- clyds.Position = UDim2.new(0.5, 0, 0.33, 0)
- clyds.BackgroundColor3 = Color3.new(1, 1, 1)
- clyds.Image = "http://www.roblox.com/asset/?id=125608048"
- clyds.BackgroundTransparency = 1
- clyds.MouseButton1Click:Connect(function()
- for _,v in pairs (TorsoM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Cylinder"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (Ra:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Cylinder"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (La:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Cylinder"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (TorsoM2:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Cylinder"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (RaM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Cylinder"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (LaM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Cylinder"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- end)
- heads = Instance.new("ImageButton",gui)
- heads.BorderSizePixel = 0
- heads.Size = UDim2.new(0.03, 0, 0.055, 0)
- heads.Position = UDim2.new(0.55, 0, 0.33, 0)
- heads.BackgroundColor3 = Color3.new(1, 1, 1)
- heads.Image = "http://www.roblox.com/asset/?id=4287273997"
- heads.BackgroundTransparency = 1
- heads.MouseButton1Click:Connect(function()
- for _,v in pairs (TorsoM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Head"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (Ra:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Head"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (La:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Head"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (TorsoM2:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Head"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (RaM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Head"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- for _,v in pairs (LaM:GetChildren()) do
- if v:IsA("Part") then
- local mesh = v:FindFirstChildOfClass("SpecialMesh")
- if mesh then
- mesh.MeshType = "Head"
- mesh.Offset = Vector3.new(0, 0, 0)
- end
- end
- end
- end)
- function Hamburger()
- attack = true
- for i = 1,35 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(ls, lsnor * CFrame.new(0, -2, 0), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
- end
- local Burger = Instance.new("Part",char)
- Burger.Size = Vector3.new(0.1, 0.1, 0.1)
- Burger.Anchored = false
- Burger.CanCollide = false
- local MeshB = Instance.new("SpecialMesh",Burger)
- MeshB.MeshId = "rbxassetid://16646125"
- MeshB.TextureId = "rbxassetid://16432575"
- local WeldB = ezweld(char, Burger, La1, CFrame.new(-1.25, 0, 0) * CFrame.Angles(0, Rad(-90), 0))
- local Audio = NewSound(Inside, 3217252760, 1, 10, false)
- SphereEffect(char, "Neon", 1.6, 0, 3.32, 0.3, 1, "White", La1.Position)
- for i = 1,35 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, 2), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
- end
- Debris:AddItem(Audio, 0)
- Debris:AddItem(Burger, 0)
- attack = false
- end
- function CoolBananas()
- attack = true
- root.Anchored = true
- local Audio = NewSound(Inside, 2843742891, 1, 10, false)
- EditDecal(Face, 15431991)
- local Banana = Instance.new("Part",char)
- Banana.Size = Vector3.new(0.1, 0.1, 0.1)
- Banana.Anchored = false
- Banana.CanCollide = false
- local MeshB = Instance.new("SpecialMesh",Banana)
- MeshB.MeshId = "rbxassetid://923469152"
- MeshB.TextureId = "rbxassetid://923469157"
- MeshB.Scale = Vector3.new(2.5, 1.75, 1.75)
- local WeldB = ezweld(char, Banana, La1, CFrame.new(-1.5, -0.5, 0) * CFrame.Angles(0, 0, 0))
- for i = 1,65 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(2, 0.25, 2), 0.15)
- clerp(ls, lsnor * CFrame.new(-2, 0.25, 2), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
- end
- local Gameboy = Instance.new("Part",char)
- Gameboy.CFrame = root.CFrame * CFrame.new(-4.5, 2.25, 0)
- Gameboy.Orientation = root.Orientation + Vector3.new(0, -90, 0)
- Gameboy.Size = Vector3.new(9, 1, 2)
- Gameboy.Anchored = true
- Gameboy.CanCollide = false
- local DecalG = AddDecal(Gameboy, 3373061124, 0, "Front")
- EditDecal(Face, 216279270)
- for i = 1,35 do
- Swait()
- if Gameboy.Size.y < 12 then
- Gameboy.Size = Gameboy.Size + Vector3.new(0, 1, 0)
- Gameboy.Position = Gameboy.Position + Vector3.new(0, 0, 0)
- end
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(2, 0.25, 2), 0.15)
- clerp(ls, lsnor * CFrame.new(-2, 0.25, 2), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, Rad(90)), 0.15)
- end
- EditDecal(Face, 2267180499)
- for i = 1,35 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, -2, 2), 0.15)
- clerp(ls, lsnor * CFrame.new(0, -2, 2), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, Rad(90)), 0.15)
- end
- for i = 1,90 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, -2, 2), 0.15)
- clerp(ls, lsnor * CFrame.new(0, -2, 2), 0.15)
- clerp(rootj, rootjnor * CFrame.new(-100, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, Rad(-90)), 0.02)
- end
- Debris:AddItem(Audio, 0)
- Debris:AddItem(Banana, 0)
- Debris:AddItem(Gameboy, 0)
- EditDecal(Face, 2109783606)
- root.Anchored = false
- attack = false
- end
- function MrKrabs()
- attack = true
- local Audio = NewSound(Inside, 345287845, 1, 10, false)
- EditDecal(Face, 65390912)
- for i = 1,55 + 45 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(3, 0, 2.5), 0.15)
- clerp(ls, lsnor * CFrame.new(-3, 0, 2.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, -1), 0.15)
- end
- for i = 1,35 + 5 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(3, -2, 2.5), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, 2.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, 0), 0.15)
- end
- EditDecal(Face, 62715613)
- for i = 1,25 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(1.5, 0.5, 2.5), 0.15)
- clerp(ls, lsnor * CFrame.new(-1.5, 0.5, 2.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, 0), 0.15)
- end
- EditDecal(Face, 1364114735)
- for i = 1,125 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, 0.5, -0.5), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0.5, -0.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(-0.5, 0, 0), 0.15)
- end
- EditDecal(Face, 2109783606)
- attack = false
- end
- function Yee()
- attack = true
- MainTheme.Volume = 0.5
- local Audio = NewSound(Inside, 195587721, 1, 10, false)
- Audio.TimePosition = 6.36
- EditDecal(Face, 1155975348)
- for i = 1,60 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, -2, -0.5), 0.15)
- clerp(ls, lsnor * CFrame.new(0, -2, -0.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
- end
- EditDecal(Face, 2109783606)
- MainTheme.Volume = 4
- attack = false
- end
- angery = false
- function Angery()
- if angery == false then
- angery = false
- attack = true
- EditDecal(Face, 15324447)
- for i = 1,50 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(3, 0, 2.5), 0.15)
- clerp(ls, lsnor * CFrame.new(-3, 0, 2.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0.5, 0, 0), 0.15)
- end
- NewSound(tors, 363808674, 1, 10, false)
- for i = 1,50 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(3, -4, -0.5), 0.15)
- clerp(ls, lsnor * CFrame.new(-3, -4, -0.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(-0.5, 0, 0), 0.15)
- end
- SBoi.Parent = char
- EditDecal(Face, 398670843)
- NewSound(tors, 847061203, 1, 10, false)
- for i = 1,50 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, 0, -2.5), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, 2.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, 0), 0.15)
- end
- attack = false
- angery = true
- else
- EditDecal(Face, 2109783606)
- angery = false
- EditDecal(Face, 2109783606)
- end
- end
- function Beans()
- attack = true
- MainTheme.Volume = 4
- EditDecal(Face, 141728515)
- local Beans = Instance.new("Part",char)
- Beans.Size = Vector3.new(0.83, 1.12, 0.8)
- Beans.CanCollide = false
- local Mesh = Instance.new("SpecialMesh",Beans)
- Mesh.Scale = Vector3.new(2.5, 2.5, 2.5)
- Mesh.MeshId = "http://www.roblox.com/asset/?id=103919751"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=3883608865"
- local Weld = ezweld(char, Beans, Ra1, CFrame.new(0, 2.5, 0))
- for i = 1,100 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(-1, 0.5, 1.5) * CFrame.Angles(0, 0, Rad(90)), 0.15)
- clerp(ls, lsnor * CFrame.new(-2, 0, 2.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(15), 0, Rad(45)), 0.15)
- end
- EditDecal(Face, 209714802)
- for i = 1,75 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, 0.5, 3.5) * CFrame.Angles(0, 0, Rad(90)), 0.15)
- clerp(ls, lsnor * CFrame.new(-1.5, 0, 2.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, Rad(0)), 0.15)
- end
- EditDecal(Face, 321234100)
- local Audio = NewSound(Inside, 2020952099, 1, 10, false)
- repeat
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, -0.25, 3), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, Rad(0)), 0.15)
- until Audio.Playing == false
- Debris:AddItem(Audio, 0)
- Debris:AddItem(Beans, 0)
- EditDecal(Face, 2109783606)
- MainTheme.Volume = 4
- attack = false
- end
- function Gamecube()
- attack = true
- for i = 1,15 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0.5, 0, 0), 0.15)
- end
- for i = 1,55 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 9 + 0.5 * Cos(sine / 12)) * CFrame.Angles(-0.5, 0, 0), 0.15)
- end
- Ra.Parent = nil
- La.Parent = nil
- for _,v in pairs (TorsoM:children()) do
- if v:IsA("Part") then
- v.Size = v.Size - Vector3.new(1.7, 1.7, 1.7)
- end
- end
- local Main = Instance.new("Part",gcstuff)
- Main.Transparency = 0.5
- Main.CanCollide = false
- Main.Material = "Glass"
- Main.Anchored = true
- Main.Size = Vector3.new(6, 6, 6)
- Main.Position = Vector3.new(root.Position.x, 4.5, root.Position.z)
- Main.Orientation = root.Orientation + Vector3.new(0, -60, 15)
- Main.BrickColor = BrickColor.new("Hot pink")
- for i = 1,45 do
- Swait()
- Ra.Parent = nil
- La.Parent = nil
- clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(rootj, rootjnor * CFrame.new(2.4, 0.25, 5.75) * CFrame.Angles(0, 0, 0), 0.15)
- Main.Orientation = Main.Orientation:Lerp(Vector3.new(root.Orientation.x, 0, root.Orientation.z), 0.2)
- end
- local CFT = TorsoM.Inside.CFrame
- GCBlock(Vector3.new(1.5, 1, 1.5), CFrame.new(CFT.x, CFT.y - 0.5, CFT.z))
- for i = 1,25 do
- Swait()
- Ra.Parent = nil
- La.Parent = nil
- clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(rootj, rootjnor * CFrame.new(2.6, 2.34, 5.75) * CFrame.Angles(0, 0, 0), 0.15)
- Main.Orientation = Main.Orientation:Lerp(Vector3.new(root.Orientation.x, 0, root.Orientation.z), 0.15)
- end
- local CFT = TorsoM.Inside.CFrame
- GCBlock(Vector3.new(1.5, 1, 1.5), CFrame.new(CFT.x, CFT.y - 0.5, CFT.z))
- for i = 1,25 do
- Swait()
- Ra.Parent = nil
- La.Parent = nil
- clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0.87, 2.34, 5.75) * CFrame.Angles(0, 0, 0), 0.15)
- Main.Orientation = Main.Orientation:Lerp(Vector3.new(root.Orientation.x, 0, root.Orientation.z), 0.15)
- end
- gcstuff:ClearAllChildren()
- for _,v in pairs (TorsoM:children()) do
- if v:IsA("Part") then
- v.Size = v.Size + Vector3.new(1.7, 1.7, 1.7)
- end
- end
- attack = false
- end
- function CastProperRay(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
- return raycast(StartPos, DIRECTION, Distance, Ignore)
- end
- hold = false
- function BOOMer()
- attack = true
- local gun = Instance.new("Part", char)
- gun.CanCollide = false
- gun.Size = Vector3.new(1, 1, 2)
- gun.BrickColor = BrickColor.new("Black")
- local weld = ezweld(char, gun, Ra1, CFrame.new(0.5, -0.8, 0.75))
- local handle = Instance.new("Part", char)
- handle.CanCollide = false
- handle.Size = Vector3.new(1, 1.25, 1)
- handle.BrickColor = BrickColor.new("Black")
- local weld2 = ezweld(char, handle, gun, CFrame.new(0, 0.75, -0.5))
- hold = true
- EditDecal(Face, 164202174)
- for i = 1,50 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(3, 0, 2.75), 0.15)
- clerp(ls, lsnor * CFrame.new(-3, 0, 2.75), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, 0), 0.15)
- end
- --[[
- NewSound(tors, 573314737, 1, 10, false)
- local FIREFROM = gun.CFrame * CFrame.new(0, 0, -1).p
- local HIT,POS = CastProperRay(FIREFROM,mouse.Hit.p,1000,char)
- if HIT then
- local dud = HIT.Parent
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 20
- end
- end
- end
- end
- local DISTANCE = (POS - FIREFROM).Magnitude
- local blt = Instance.new("Part", char)
- blt.CanCollide = false
- blt.Size = Vector3.new(0.25, 0.25, 1)
- blt.Material = "Neon"
- blt.BrickColor = BrickColor.new("New Yeller")
- blt.CFrame = CFrame.new(FIREFROM,POS)*CFrame.new(0,0,-DISTANCE/2)
- blt.Anchored = true
- local mesh = Instance.new("SpecialMesh", blt)
- mesh.MeshType = "Brick"
- mesh.Scale = Vector3.new(1, 1, DISTANCE)
- for i = 1,25 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(3, 0, 2.75), 0.15)
- clerp(ls, lsnor * CFrame.new(-3, 0, 2.75), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(-90), 0, 0), 0.15)
- end
- blt:remove()
- for i = 1,50 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(3, 0, 2.75), 0.15)
- clerp(ls, lsnor * CFrame.new(-3, 0, 2.75), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, 0), 0.15)
- end
- ]]--
- repeat
- EditDecal(Face, 66329844)
- NewSound(tors, 573314737, 1, 10, false)
- local FIREFROM = gun.CFrame * CFrame.new(0, 0, -1).p
- local HIT,POS = CastProperRay(FIREFROM,mouse.Hit.p,1000,char)
- if HIT then
- local dud = HIT.Parent
- if dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") then
- v.Health = v.Health - 20
- end
- end
- end
- end
- local DISTANCE = (POS - FIREFROM).Magnitude
- local blt = Instance.new("Part", char)
- blt.CanCollide = false
- blt.Size = Vector3.new(0.25, 0.25, 1)
- blt.Material = "Neon"
- blt.BrickColor = BrickColor.new("New Yeller")
- blt.CFrame = CFrame.new(FIREFROM,POS)*CFrame.new(0,0,-DISTANCE/2)
- blt.Anchored = true
- local mesh = Instance.new("SpecialMesh", blt)
- mesh.MeshType = "Brick"
- mesh.Scale = Vector3.new(1, 1, DISTANCE)
- for i = 1,25 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(3, 0, 2.75), 0.15)
- clerp(ls, lsnor * CFrame.new(-3, 0, 2.75), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(-90), 0, 0), 0.15)
- end
- blt:remove()
- for i = 1,50 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(3, 0, 2.75), 0.15)
- clerp(ls, lsnor * CFrame.new(-3, 0, 2.75), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, 0), 0.15)
- end
- until hold == false
- hold = false
- weld2:remove()
- handle:remove()
- weld:remove()
- gun:remove()
- attack = false
- end
- local cam = workspace.CurrentCamera
- local a = math.huge
- function WiiNotFit()
- attack = true
- local ball = Instance.new("Part", char)
- ball.CanCollide = false
- ball.Shape = "Ball"
- ball.Material = "SmoothPlastic"
- ball.Size = Vector3.new(2, 2, 2)
- ball.BrickColor = BrickColor.new("Black")
- local weld = ezweld(char, ball, La1, CFrame.new(0, 0.95, 0))
- EditDecal(Face, 168332209)
- for i = 1,50 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, -1.25), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, 0), 0.15)
- end
- ball.CanCollide = true
- weld:remove()
- local bv = Instance.new("BodyVelocity", ball)
- bv.MaxForce = Vector3.new(a, a, a)
- bv.Velocity = ball.CFrame.lookVector * 100 + Vector3.new(0, 15, 0)
- Debris:AddItem(bv, 0.1)
- Debris:AddItem(ball, 6)
- local smack = false
- ball.Touched:connect(function(hit)
- local dud = hit.Parent
- if dud and dud ~= char then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") and smack == false then
- smack = true
- v.Health = v.Health - 50
- ball.Parent = nil
- attack = true
- for i = 1,100 do
- EditDecal(Face, 7074712)
- if smack == true then
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, -2.5, 0), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 1.25, 0), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, 0), 0.15)
- end
- end
- attack = false
- smack = false
- end
- end
- end
- end)
- for i = 1,25 do
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(0, 1, 0) * CFrame.Angles(Rad(90), 0, 0), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, 0.75), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, 0), 0.15)
- end
- EditDecal(Face, 2222767231)
- for i = 1,300 do
- if smack == false then
- Swait()
- Ra.Parent = char
- La.Parent = char
- clerp(rs, rsnor * CFrame.new(3, 0, 2.5), 0.15)
- clerp(ls, lsnor * CFrame.new(-3, 0, 2.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0.25, 0, 0), 0.15)
- end
- end
- if attack == true and smack == false then
- attack = false
- end
- end
- mouse.KeyDown:connect(function(key)
- key=key:lower()
- if key == "q" and attack == false then
- Angery()
- end
- if key == "l" then
- if opened then
- opened = false
- gui.Parent = nil
- else
- opened = true
- gui.Parent = plrgui
- end
- end
- if angery == false then
- if key == "e" and attack == false then
- Hamburger()
- end
- if key == "r" and attack == false then
- MrKrabs()
- end
- if key == "t" and attack == false then
- CoolBananas()
- end
- if key == "y" and attack == false then
- Yee()
- end
- if key == "u" and attack == false then
- Gamecube()
- end
- if key == "f" and attack == false then
- Beans()
- end
- elseif angery == true then
- if key == "e" and attack == false then
- BOOMer()
- end
- if key == "r" and attack == false then
- WiiNotFit()
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "e" then
- hold = false
- end
- end)
- while true do
- Swait()
- if attack == false then
- SBoi.Parent = nil
- end
- if attack == false and angery == true then
- EditDecal(Face, 8560915)
- end
- sine = sine + 1
- gcstuff.Parent = char
- anim.Parent = nil
- torsvel = (root.Velocity * VT(1, 0, 1)).magnitude
- torsverticalvel = root.Velocity.y
- hitfloor = raycast(root.Position, (CF(root.Position, root.Position + VT(0, -1, 0))).lookVector, 4*size, char)
- if torsvel < 1 and hitfloor ~= nil then
- pose = "Idle"
- if attack == false and angery == false then
- Ra.Parent = nil
- La.Parent = nil
- SBoi.Parent = nil
- clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
- elseif attack == false and angery == true then
- Ra.Parent = char
- La.Parent = char
- SBoi.Parent = nil
- clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
- end
- elseif torsvel > 1 and hitfloor ~= nil then
- pose = "Walk"
- if attack == false then
- Ra.Parent = char
- La.Parent = char
- SBoi.Parent = nil
- clerp(rs, rsnor * CFrame.new(0.5, -0.5, -2.5), 0.15)
- clerp(ls, lsnor * CFrame.new(-0.5, -0.5, -2.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
- end
- elseif torsverticalvel > 1 and hitfloor == nil then
- pose = "Jump"
- if attack == false then
- Ra.Parent = char
- La.Parent = char
- SBoi.Parent = nil
- clerp(rs, rsnor * CFrame.new(0, -0.5, -1.5), 0.15)
- clerp(ls, lsnor * CFrame.new(0, -0.5, -1.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0 * Cos(sine / 12)) * CFrame.Angles(-0.5, 0, 0), 0.15)
- end
- elseif torsverticalvel < 1 and hitfloor == nil then
- pose = "Fall"
- if attack == false then
- Ra.Parent = char
- La.Parent = char
- SBoi.Parent = nil
- clerp(rs, rsnor * CFrame.new(0, -0.5, -1.5), 0.15)
- clerp(ls, lsnor * CFrame.new(0, -0.5, -1.5), 0.15)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0 * Cos(sine / 12)) * CFrame.Angles(-0.5, 0, 0), 0.15)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement