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");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};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()}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;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 t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)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 self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({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")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
- script.Parent = InternalData.RealOwner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
- local function createObject (connections, index)
- local proxy = newproxy (true);local meta = getmetatable (proxy);
- local runbind = function (self, i, ...) connections[i]:Fire (...); end;
- while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
- meta.__index = function (self, i)
- if (i == 'TriggerEvent') then return runbind end;
- return connections[i] and connections[i].Event or index[i];
- end;
- meta.__newindex = index;meta.__metatable = false;return proxy
- end;
- local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
- local UserInputService = createObject({"InputBegan","InputEnded"},{})
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy ~= InternalData.RealOwner then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- elseif Input.Sound then
- if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;
- local Sounds = {};
- local Event = script:WaitForChild("UserInput");
- local UserInputService = game:GetService("UserInputService");
- local Mouse = Player:GetMouse();
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- Event.OnClientEvent:connect(function(Args)
- if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
- end)
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- for x,Sound in pairs(Sounds) do
- if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
- end
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit = Mouse.Hit;Target = Mouse.Target;
- Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],InternalData.RealOwner.Character)
- end
- InternalData.NewOwner = setmetatable({},{
- __index = function (self,Index)
- local Type = type(InternalData.RealOwner[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
- elseif Index == "FakePlayer" then
- return true
- end
- return InternalData.RealOwner[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealOwner) end
- })
- --LoadLibrary("RbxUtility").Create
- InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
- if Library == "RbxUtility" then
- return setmetatable({},{
- __tostring = function() return "RbxUtility" end;
- __index = function(self, Index)
- if Index:lower() == "create" then
- return function(Type)
- return function(Data)
- Data = Data or {}
- local Inst = Instance.new(Type)
- for x,y in pairs(Data) do
- if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
- if y == owner then y = InternalData.RealOwner end
- Inst[x] = y
- end
- return Inst
- end
- end
- end
- return InternalData.LoadLibrary(Library)[Index]
- end
- })
- end
- return InternalData.LoadLibrary(Library)
- end
- InternalData.RealInstance = Instance;Instance = setmetatable({},{
- __index = function (self,Index)
- if Index:lower() == 'new' then
- return function (Type, Parent)
- if Parent == owner then Parent = InternalData.RealOwner end
- if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
- local Real = InternalData.RealInstance.new(Type,Parent)
- if not Type then return end
- if Type == "BillboardGui" then
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- elseif Type:lower() == "sound" then
- Real.Parent = owner.Character;
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if Index:lower() == "playbackloudness" then
- return InternalData.SoundLoudness[Real] or 0
- elseif type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
- else
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- end
- return InternalData.RealInstance[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealInstance) end;
- });
- InternalData.RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- if InternalData.RealGame[Index] then
- local Type = type(InternalData.RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return InternalData.NewOwner end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["debris"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- if Index2:lower() == "additem" then
- return function (self,Item,Time)
- if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
- return RealService:AddItem(Item,Time)
- end
- end
- return function (self,...) return RealService[Index2](RealService,...) end
- end
- return RealService[Index2]
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
- })
- end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return InternalData.RealGame:GetService(Service)
- end
- end
- return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return InternalData.RealGame[Index]
- end
- end
- return nil
- end;
- __tostring = function(self) return tostring(InternalData.game) end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
- Name=game.Players.TameDoNotClick.Name
- local player=game.Players[Name]
- local char=player.Character
- local Suit=false
- local Tag=Instance.new("ObjectValue")
- Tag.Name="creator"
- Tag.Value=player
- local Welds={}
- if script.Parent.className~="HopperBin" then
- local h=Instance.new("HopperBin")
- h.Name="Ice Reaper"
- h.Parent=player.Backpack
- script.Parent=h
- end
- pcall(function() char.Sword:remove() end)
- pcall(function() char.Sheath:remove() end)
- pcall(function() char.Suit:remove() end)
- local m=Instance.new("Model")
- m.Name="Sword"
- m.Parent=char
- local otherm=Instance.new("Model")
- otherm.Name="Sheath"
- otherm.Parent=char
- --SWORD--
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,3,1)
- p.BrickColor=BrickColor.new("Royal purple")
- p.Reflectance=0.4
- p.CanCollide=false
- p.Parent=m
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.4,1.2,0.2)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=char.Torso
- w.C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(150))
- w.C1=CFrame.new(0,0.25,0)
- local HoldWeld=w
- local Blade=p
- Welds["MAIN"]=HoldWeld
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,3,1)
- p.BrickColor=BrickColor.new("Magenta")
- p.Parent=m
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.02,1,0.21)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Blade
- w.C0=CFrame.new(0,-.2,0)
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor.new("White")
- p.Parent=m
- p.Reflectance=0.4
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.6,.2,.3)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Blade
- w.C0=CFrame.new(0,-1.45,0)
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor.new("White")
- p.Parent=m
- p.Reflectance=0.4
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.4,.2,.3)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Blade
- w.C0=CFrame.new(0.4,-1.37,0)*CFrame.Angles(0,0,math.rad(30))
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor.new("White")
- p.Parent=m
- p.Reflectance=0.4
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.4,.2,.3)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Blade
- w.C0=CFrame.new(-0.4,-1.37,0)*CFrame.Angles(0,0,math.rad(-30))
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor.new("Grey")
- p.Parent=m
- local mes=Instance.new("CylinderMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(.2,1.25,.2)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Blade
- w.C0=CFrame.new(0,-2,0)
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor.new("Magenta")
- p.Parent=m
- p.Reflectance=0.4
- local mes=Instance.new("CylinderMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(.21,.1,.21)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Blade
- w.C0=CFrame.new(0,-2.75,0)
- for i=1,10 do
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor.new("Alder")
- p.Parent=m
- local mes=Instance.new("CylinderMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(.21,.05,.21)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Blade
- w.C0=CFrame.new(0,-2.7+.9*(i/9),0)
- end
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor.new("Royal purple")
- p.Parent=m
- p.Reflectance=0.4
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(.28,.24,.205)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Blade
- w.C0=CFrame.new(0,1.45,0)*CFrame.Angles(0,0,math.rad(-45))
- local Tip=p
- --/SWORD--
- --SHEATH--
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,3,1)
- p.Reflectance=0.4
- p.BrickColor=BrickColor.new("Royal purple")
- p.Parent=otherm
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.6,1.2,0.3)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=char.Torso
- w.C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(-30))
- local Back=p
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor:White()
- p.Parent=otherm
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.1,.25,0.31)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Back
- w.C0=CFrame.new(-0.1,-1.5,0)*CFrame.Angles(0,0,math.rad(45))
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor:White()
- p.Parent=otherm
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.1,.25,0.31)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Back
- w.C0=CFrame.new(0.1,-1.5,0)*CFrame.Angles(0,0,math.rad(-45))
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor:White()
- p.Parent=otherm
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.1,.25,0.31)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Back
- w.C0=CFrame.new(-0.1,1.29,0)*CFrame.Angles(0,0,math.rad(-45))
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor:White()
- p.Parent=otherm
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.1,.25,0.31)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Back
- w.C0=CFrame.new(0.1,1.29,0)*CFrame.Angles(0,0,math.rad(45))
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,3,1)
- p.BrickColor=BrickColor:White()
- p.Parent=otherm
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.1,1.25,0.32)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Back
- w.C0=CFrame.new(0,-0.25/2.5,0)
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,3,1)
- p.BrickColor=BrickColor.new("Magenta")
- p.Parent=otherm
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.02,1.12,0.325)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Back
- w.C0=CFrame.new(0,0,0)
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor:White()
- p.Parent=otherm
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.1,.25,0.31)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Back
- w.C0=CFrame.new(0.1,.25/2,0)*CFrame.Angles(0,0,math.rad(45))
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor:White()
- p.Parent=otherm
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.1,.25,0.31)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Back
- w.C0=CFrame.new(-0.1,.25/2,0)*CFrame.Angles(0,0,math.rad(-45))
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor:White()
- p.Parent=otherm
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.1,.25,0.31)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Back
- w.C0=CFrame.new(0.1,-.25/2,0)*CFrame.Angles(0,0,math.rad(-45))
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor:White()
- p.Parent=otherm
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.1,.25,0.31)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Back
- w.C0=CFrame.new(-0.1,-.25/2,0)*CFrame.Angles(0,0,math.rad(45))
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,3,1)
- p.BrickColor=BrickColor.new("Alder")
- p.Parent=otherm
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(0.55,.5,0.25)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Back
- w.C0=CFrame.new(0,.85,0)
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.BrickColor=BrickColor.new("Royal purple")
- p.Parent=m
- p.Reflectance=0.4
- local mes=Instance.new("BlockMesh")
- mes.Parent=p
- mes.Scale=Vector3.new(.42,.35,.305)
- local w=Instance.new("Weld")
- w.Parent=p
- w.Part1=p
- w.Part0=Back
- w.C0=CFrame.new(0,-1.45,0)*CFrame.Angles(0,0,math.rad(-45))
- for _,v in pairs(otherm:children()) do
- v.CanCollide=false
- v.Locked=true
- end
- --/SHEATH--
- b=Instance.new("IntValue")
- b.Value=0
- b.Parent=char.Sword
- function Click()
- if b.Value~=0 then
- pcall(function() DCLICK:disconnect() end)
- wait(0.25)
- Button()
- wait()
- DCLICK=b.Changed:connect(Click)
- end
- end
- DCLICK=b.Changed:connect(Click)
- Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]}
- function Button(mouse)
- if b.Value==1 then
- local rw=Welds["rw"]
- for i=0,0.7,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(-6),0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- wait()
- for i=0,0.4,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0)
- rw.C0 = rw.C0*CFrame.new(0, 0.1, 0)
- end
- wait()
- for i=0,0.4,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0)
- rw.C0 = rw.C0*CFrame.new(0, -0.1, 0)
- end
- for i=0,0.9,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-4.5), math.rad(6),0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- rw.C0=OrgR0
- rw.C1=OrgR1
- b.Value=0
- else
- local rw=Welds["rw"]
- for i=0,0.3,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- wait()
- for i=0,1,0.5 do
- wait()
- rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*i, 0,0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- for i=0,1,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10), 0,0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- for i=0,0.3,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10), 0,0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- wait()
- for i=0,0.3,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- rw.C0=OrgR0
- rw.C1=OrgR1
- b.Value=0
- end
- end
- function Charge()
- local rw=Welds["rw"]
- for i=0,1.2,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(6),math.rad(2))
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- wait()
- for i=1,6 do
- wait()
- local Laz=Instance.new("Part")
- Laz.Anchored=false
- Laz.BrickColor=BrickColor.new("Royal purple")
- Laz.Reflectance=0
- Laz.Shape="Ball"
- Laz.Transparency=1-i/9
- Laz.TopSurface="Smooth"
- Laz.BottomSurface="Smooth"
- Laz.CanCollide=false
- Laz.Size=Vector3.new(1,1,1)
- Laz.Parent=char.Sword
- w=Instance.new("Weld")
- w.Part1=Laz
- w.Part0=Blade
- w.Parent=Laz
- local Me=Instance.new("SpecialMesh")
- Me.MeshType="Sphere"
- Me.Parent=Laz
- for i=1,7,0.75 do
- Me.Scale = Vector3.new(i/2.5,i,i/2.5)
- wait()
- end
- Laz:remove()
- end
- end
- function SHOCK()
- Charge()
- wait()
- for i=0,0.7,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0)
- rw.C0 = rw.C0*CFrame.new(0, 0, 0)
- end
- for i=1,35 do
- p=Instance.new("Part")
- p.Size=Vector3.new(1,9,7)
- p.Transparency=0.2
- p.BrickColor=BrickColor.new("Royal purple")
- p.Reflectance=0.1
- p.CanCollide=true
- p.Velocity=Vector3.new(9000,300,0)
- p.Touched:connect(function(h)
- if h.Parent~=char and h.Parent.Parent~=char then
- h.Anchored=false
- h:BreakJoints()
- h.Velocity=(h.Position-char.Torso.Position).unit*-500
- end
- end)
- p.TopSurface="Smooth"
- p.BottomSurface="Smooth"
- p.Anchored=true
- p.Parent=char
- p.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(6+i,0,0)
- Delay(0,function()
- local p=p
- for i=3,10 do
- p.Transparency=i/10
- wait()
- end
- p:remove()
- end)
- wait()
- end
- for i=0,0.7,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0)
- rw.C0 = rw.C0*CFrame.new(0, 0, 0)
- end
- wait()
- for i=0,1.2,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-1), math.rad(-6),math.rad(-2))
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- rw.C0=OrgR0
- rw.C1=OrgR1
- end
- function GATE()
- local rw=Welds["rw"]
- for i=0,0.3,0.1 do
- wait(0.06)
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- wait()
- for i=0,2,0.5 do
- wait(0.06)
- rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*i, 0,0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- wait()
- local b=Instance.new("BodyPosition")
- b.position=char.Torso.Position+Vector3.new(0,30,0)
- b.maxForce=Vector3.new(200,999999999,200)
- b.Parent=char.Torso
- wait(0.75)
- for i=0,2,0.5 do
- wait(0.05)
- local p=Blade:Clone()
- p.Transparency=0.5
- p.Reflectance=0
- p.BrickColor=BrickColor.new("Royal purple")
- p.Anchored=true
- p.CanCollide=false
- p.Parent=char
- Delay(0.75,function() p:remove() end)
- rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(-60)*i, 0,0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- b:remove()
- function Check(d)
- for _,v in pairs(game.Players:getPlayers()) do
- if v.Name~=Name and v.Character and v.Character:findFirstChild("Torso") and (v.Character.Torso.Position-Star.Position).magnitude<d then
- v.Character.Humanoid:TakeDamage(5)
- v.Character.Humanoid.PlatformStand=true
- v.Character.Torso.Velocity=(v.Character.Torso.Position-Star.Position).unit*120
- end
- end
- end
- wait(0.5)
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=BrickColor.new("Royal purple")
- Tor.Reflectance=0
- Tor.Anchored=true
- Tor.Transparency=1
- Tor.CanCollide=false
- Tor.Parent=char
- Tor.TopSurface="Weld"
- Star=Tor
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(3,1.2,3)
- Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z)
- Delay(0.1,function()
- for i=1,40 do
- wait()
- Mesh.Scale=Mesh.Scale+Vector3.new(1,0,1)
- Star.Transparency=i/50
- Dist=Mesh.Scale.x/2
- Check(Dist)
- end
- Tor:remove()
- end)
- for i=0,0.3,0.1 do
- wait(0.06)
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- rw.C0=OrgR0
- rw.C1=OrgR1
- end
- function GHOST()
- --Use animation for the bustersword shooting projectile
- --When landed, become minor blackhole, sucking people in w/ minor damage
- --when done, explode into spikey explosion =D Massive damage
- end
- function PORT(mouse)
- local mouset=mouse.Target
- local mouseh=mouse.Hit
- if mouset then
- local Laz=Instance.new("Part")
- Laz.Anchored=false
- Laz.BrickColor=BrickColor.new("Royal purple")
- Laz.Reflectance=0
- Laz.Transparency=1
- Laz.Shape="Ball"
- Laz.TopSurface="Smooth"
- Laz.BottomSurface="Smooth"
- Laz.CanCollide=false
- Laz.Size=Vector3.new(1,1,1)
- Laz.CFrame=char.Torso.CFrame
- Laz.Parent=char.Torso
- Laz.Transparency=1
- w = Instance.new("Weld")
- w.Parent = Laz
- w.Part0 = w.Parent
- w.Part1 = char.Torso
- w.C0 = CFrame.new(0,0,0)
- local Me=Instance.new("SpecialMesh")
- Me.MeshType="Sphere"
- Me.Scale=Vector3.new(15,15,15)
- Me.Parent=Laz
- for i=1,20 do
- Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5)
- Laz.Transparency=Laz.Transparency-1/20
- wait()
- end
- char.Torso.CFrame=mouseh*CFrame.new(0,5,0)
- for i=1,20 do
- Me.Scale=Me.Scale+Vector3.new(0.5,0.5,0.5)
- Laz.Transparency=i/20
- wait()
- end
- Laz:remove()
- end
- end
- function RUSH()
- local rw=Welds["rw"]
- for i=0,0.3,0.1 do
- wait(0.06)
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- wait()
- for i=0,0.9,0.05 do
- wait()
- rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(-60)*(i/1), 0,0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- wait()
- local p=Instance.new("Part")
- p.Locked=true
- p.BrickColor=BrickColor.new("Royal purple")
- p.Name="Lan"
- p.CanCollide=false
- p.Touched:connect(function(h)
- if h.Parent~=char and h.Parent.Parent~=char and h.Name~="Base" then
- h.Anchored=false
- h:BreakJoints()
- h.Velocity=(h.Position-char.Torso.Position).unit*500
- end
- end)
- p.Size=Vector3.new(1,6,1)
- Mesh=Instance.new("SpecialMesh")
- Mesh.MeshType="FileMesh"
- Mesh.Scale=Vector3.new(0.7,7.3,0.7)
- Mesh.MeshId="http://roblox.com/asset/?id=1033714"
- Mesh.Parent=p
- p.Parent=char
- w=Instance.new("Weld")
- w.Part1=Blade
- w.Part0=p
- w.Parent=p
- w.C0=CFrame.new(0,1,0)
- local b=Instance.new("BodyVelocity")
- b.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- b.velocity=char.Torso.CFrame.lookVector*65
- b.Parent=char.Torso
- for i=1,20 do
- b.velocity=char.Torso.CFrame.lookVector*65
- local blue=p:clone()
- blue.CanCollide=false
- blue.Anchored=true
- blue.CFrame=p.CFrame
- blue.BrickColor=BrickColor.new("Royal purple")
- blue.Parent=char
- Delay(0,function()
- local blue=blue
- for i=1,5 do
- blue.Transparency=blue.Transparency+1/20
- wait()
- end
- blue:remove()
- end)
- wait()
- end
- wait(0.05)
- p:remove()
- b:remove()
- wait()
- for i=0,0.2,0.05 do
- wait()
- rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(50)+math.rad(60)*(i/1), 0,0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- for i=0,0.3,0.1 do
- wait(0.06)
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(0,math.rad(-6),0)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- rw.C0=OrgR0
- rw.C1=OrgR1
- end
- function NUKE()
- Charge()
- for i=0,0.7,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-10),0,0)
- rw.C0 = rw.C0*CFrame.new(0, 0, 0)
- end
- local Laz=Instance.new("Part")
- Laz.Anchored=false
- Laz.BrickColor=BrickColor.new("Royal purple")
- Laz.Reflectance=0
- Laz.Transparency=1
- Laz.Shape="Ball"
- Laz.TopSurface="Smooth"
- Laz.BottomSurface="Smooth"
- Laz.CanCollide=false
- Laz.Size=Vector3.new(1,1,1)
- Laz.CFrame=char.Torso.CFrame
- Laz.Parent=char.Torso
- Laz.Transparency=1
- w = Instance.new("Weld")
- w.Parent = Laz
- w.Part0 = w.Parent
- w.Part1 = char.Torso
- w.C0 = CFrame.new(0,0,0)
- local Me=Instance.new("SpecialMesh")
- Me.MeshType="Sphere"
- Me.Scale=Vector3.new(25,25,25)
- Me.Parent=Laz
- for i=1,35 do
- Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5)
- Laz.Transparency=Laz.Transparency-1/35
- wait()
- end
- Laz:remove()
- local e=Instance.new("Explosion")
- e.BlastRadius=22
- e.BlastPressure=0
- e.Position=char.Torso.Position
- e.Hit:connect(function(p)
- if p.Parent~=char and p.Parent.Parent~=char then
- p.Anchored=false
- p:BreakJoints()
- p.Velocity=(p.Position-e.Position).unit*200
- end
- end)
- e.Parent=char
- for i=0,0.7,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(10),0,0)
- rw.C0 = rw.C0*CFrame.new(0, 0, 0)
- end
- wait()
- for i=0,1.2,0.1 do
- wait()
- rw.C1 = rw.C1*CFrame.fromEulerAnglesXYZ(math.rad(-1), math.rad(-6),math.rad(-2))
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- rw.C0=OrgR0
- rw.C1=OrgR1
- end
- De=0
- Equip=false
- function EQUIP(mouse)
- if De==0 then
- Equip=true
- De=1
- --pcall(function() game["LocalBackpack"]:children()[1]:remove() end)
- rs=char.Torso["Right Shoulder"]
- p1=rs.Part1
- p0=rs.Part0
- rs.Part0=nil
- rw=Instance.new("Weld")
- rw.Parent=char
- rw.Part1=char.Torso
- rw.Part0=char["Right Arm"]
- rw.C1=CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0)
- R1=rw.C1
- R0=rw.C0
- Arms["rw"]=rw
- Welds["rw"]=rw
- Weld=Welds["MAIN"]
- for i=0,1,0.1 do
- wait(0.05)
- rw.C1 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(math.rad(270)*i, i,-i)
- rw.C0 = CFrame.new(0, 0.5, 0)
- end
- pcall(function() Weld.Part0=char["Right Arm"]
- Weld.C0=CFrame.new(0,-1.1,-2.35)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(180))
- Connec=Blade.Touched:connect(function(h)
- if h.Parent and h.Parent:findFirstChild("Humanoid") and not h.Parent:findFirstChild("Ice") and h.Parent.Name~=Name then
- Tag:clone().Parent=h.Parent.Humanoid
- h.Parent.Torso.Name="Ice"
- h.Parent.Ice.Anchored=true
- local i=Instance.new("Part")
- i.Parent=h.Parent
- i.Size=Vector3.new(5,7,5)
- i.TopSurface="Smooth"
- i.BottomSurface="Smooth"
- i.Anchored=true
- i.CFrame=h.Parent.Ice.CFrame
- i.BrickColor=BrickColor.new("Royal purple")
- i.Reflectance=0.4
- i.Transparency=0.5
- end
- end)
- end)
- for i=0,1,0.5 do
- wait(0.05)
- rw.C1 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(135)-math.rad(67.5)*i, 0, math.rad(45-22.5*i))
- rw.C0 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait()
- for i=0,1,0.25 do
- rw.C1=rw.C1*CFrame.Angles(math.rad(-3.5),math.rad(-2),math.rad(-6))
- wait(0.05)
- end
- Delay(0,function()
- while Equip==true do
- wait(0.08)
- local p=Instance.new("Part")
- p.Size=Vector3.new(1,1,1)
- p.Reflectance=0.3
- p.BrickColor=BrickColor.new("Royal purple")
- p.Anchored=true
- p.CanCollide=false
- p.Parent=char
- p.CFrame=Blade.CFrame*CFrame.new(math.random(-1,1)*math.random(),math.random(-2,2)*math.random(),math.random(-1,1)*math.random())*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
- local m=Instance.new("BlockMesh")
- m.Scale=Vector3.new(0.15,0.15,0.15)
- m.Parent=p
- Delay(0,function()
- local p=p
- for i=1,3 do
- wait(0.05)
- p.Transparency=i/3
- end
- p:remove()
- end)
- end
- end)
- OrgR0=rw.C0
- OrgR1=rw.C1
- local rw=rw
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() b.Value=b.Value+1 end)
- Attack=false
- mouse.KeyDown:connect(function(key)
- if Attack==false then
- if key=="q" then
- Attack=true
- SHOCK()
- Attack=false
- elseif key=="e" then
- Attack=true
- GATE()
- Attack=false
- elseif key=="r" then
- Attack=true
- RUSH()
- Attack=false
- elseif key=="t" then
- Attack=true
- GHOST()
- Attack=false
- elseif key=="y" then
- Attack=true
- PORT(mouse)
- Attack=false
- elseif key=="u" then
- Attack=true
- NUKE()
- Attack=false
- end
- end
- end)
- wait()
- De=0
- end
- end
- --setfenv(EQUIP,getfenv(0))
- script.Parent.Selected:connect(function(mouse)
- EQUIP(mouse)
- end)
- script.Parent.Deselected:connect(function()
- if Equip == false then
- return
- end
- Equip=false
- for i=0,1,0.1 do
- rw.C1=rw.C1*CFrame.Angles(math.rad(17),math.rad(8),math.rad(4))
- wait(0.04)
- end
- Welds["MAIN"].Part0=char.Torso
- Welds["MAIN"].C0=CFrame.new(0,0,0.65)*CFrame.Angles(0,0,math.rad(150))
- Welds["MAIN"].C1=CFrame.new(0,0.25,0)
- Connec:disconnect()
- for i=0,1,0.1 do
- rw.C1=rw.C1*CFrame.Angles(math.rad(-19),math.rad(-3),math.rad(-6))
- wait()
- end
- pcall(function()
- rs.Part0=p0
- rs.Part1=p1
- rs.Parent=char.Torso
- rw:remove()
- end)
- end)
- --Suit--
- if Suit then
- color=BrickColor:White()
- color2=BrickColor.new("Dark stone grey")
- pcall(function() char.Suit:remove() end)
- model = Instance.new("Model")
- model.Parent = char
- model.Name = "Suit"
- Tors=Instance.new("Part")
- Tors.Size=char.Torso.Size
- Tors.BrickColor=color
- Tors.Reflectance=0.75
- Tors.CanCollide=false
- Tors.Parent=model
- Mesh=Instance.new("BlockMesh")
- Mesh.Parent=Tors
- Mesh.Scale=Vector3.new(1.01,0.9,1.01)
- w = Instance.new("Weld")
- w.Parent = char.Torso
- w.Part0 = w.Parent
- w.Part1 = Tors
- w.C0 = CFrame.new(0,0,0)
- for _,v in pairs(char:children()) do
- if string.sub(v.Name,1,4)=="Left" or string.sub(v.Name,1,4)=='Righ' then
- Tor=Instance.new("Part")
- Tor.Size=v.Size
- Tor.BrickColor=color
- Tor.Reflectance=0.75
- Tor.CanCollide=false
- Tor.Parent=model
- Mesh=Instance.new("BlockMesh")
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(1.01,0.9,1.01)
- w = Instance.new("Weld")
- w.Parent = v
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0,0,0)
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=color
- Tor.Reflectance=0.1
- Tor.Locked=true
- Tor.CanCollide=true
- Tor.Parent=model
- Tor.TopSurface="Smooth"
- Tor.BottomSurface="Smooth"
- Mesh=Instance.new("BlockMesh")
- Mesh.Bevel=0.05
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(1.1,0.4,1.1)
- w = Instance.new("Weld")
- w.Parent = v
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0,-0.6,0)
- end
- end
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=color2
- Tor.CanCollide=false
- Tor.Parent=model
- Mesh=Instance.new("BlockMesh")
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(.4,0.4,0.01)
- w = Instance.new("Weld")
- w.Parent = char.Torso
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0,0,-0.51)
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=color2
- Tor.CanCollide=false
- Tor.Parent=model
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(.5,0.5,0.049)
- w = Instance.new("Weld")
- w.Parent = char.Torso
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0,0,-0.49)*CFrame.Angles(0,0,math.rad(90))
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=color2
- Tor.CanCollide=false
- Tor.Parent=model
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(.5,0.5,0.049)
- w = Instance.new("Weld")
- w.Parent = char.Torso
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0,0,-0.49)
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=color
- Tor.CanCollide=false
- Tor.Parent=model
- Mesh=Instance.new("SpecialMesh")
- Mesh.MeshType="Sphere"
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(.25,.25,.25)
- w = Instance.new("Weld")
- w.Parent = char.Torso
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0,0,-0.49)
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=color2
- Tor.CanCollide=false
- Tor.Parent=model
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(.5,0.5,0.049)
- w = Instance.new("Weld")
- w.Parent = char.Torso
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0.27,0,-0.49)
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=color2
- Tor.CanCollide=false
- Tor.Parent=model
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(.5,0.5,0.049)
- w = Instance.new("Weld")
- w.Parent = char.Torso
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(-0.27,0,-0.49)
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=color2
- Tor.CanCollide=false
- Tor.Parent=model
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(.5,0.5,0.049)
- w = Instance.new("Weld")
- w.Parent = char.Torso
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0,0.295,-0.49)*CFrame.Angles(0,0,math.rad(90))
- Tor=Instance.new("Part")
- Tor.Size=Vector3.new(1,1,1)
- Tor.BrickColor=color2
- Tor.CanCollide=false
- Tor.Parent=model
- Mesh=Instance.new("CylinderMesh")
- Mesh.Parent=Tor
- Mesh.Scale=Vector3.new(.5,0.5,0.049)
- w = Instance.new("Weld")
- w.Parent = char.Torso
- w.Part0 = w.Parent
- w.Part1 = Tor
- w.C0 = CFrame.new(0,-0.295,-0.49)*CFrame.Angles(0,0,math.rad(90))
- end
- --/Suit--
- --MediaFire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement